From 943c15ed46ebccfa84d56f0a19fffe9a8449eb35 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 10 Nov 2004 21:57:14 +0000 Subject: rs6000.md (define_attr "type"): Add two and three. * config/rs6000/rs6000.md (define_attr "type"): Add two and three. Change multi-instruction sequences to new attribute. * config/rs6000/{40x.md,440.md,603.md,6xx.md, 7450.md,7xx.md,8540.md,mpc.md,power4.md,power5.md, rios1.md,rios2.md,rs64.md}: Add descriptions for two and three. From-SVN: r90456 --- gcc/config/rs6000/40x.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/config/rs6000/40x.md') diff --git a/gcc/config/rs6000/40x.md b/gcc/config/rs6000/40x.md index d8b35f461a0..9e51bea096f 100644 --- a/gcc/config/rs6000/40x.md +++ b/gcc/config/rs6000/40x.md @@ -41,6 +41,16 @@ (eq_attr "cpu" "ppc403,ppc405")) "iu_40x") +(define_insn_reservation "ppc403-two" 1 + (and (eq_attr "type" "two") + (eq_attr "cpu" "ppc403,ppc405")) + "iu_40x,iu_40x") + +(define_insn_reservation "ppc403-three" 1 + (and (eq_attr "type" "three") + (eq_attr "cpu" "ppc403,ppc405")) + "iu_40x,iu_40x,iu_40x") + (define_insn_reservation "ppc403-compare" 3 (and (eq_attr "type" "cmp,fast_compare,compare,delayed_compare") (eq_attr "cpu" "ppc403,ppc405")) -- cgit v1.2.1