summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rios1.md
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2004-11-10 21:57:14 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2004-11-10 16:57:14 -0500
commit943c15ed46ebccfa84d56f0a19fffe9a8449eb35 (patch)
tree113f4145c1ea91456f26bfeb989b16ed4c0d5230 /gcc/config/rs6000/rios1.md
parent8b41b1b24fa17fc41a28c4466b1dcd8d9fdcb170 (diff)
downloadgcc-943c15ed46ebccfa84d56f0a19fffe9a8449eb35.tar.gz
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
Diffstat (limited to 'gcc/config/rs6000/rios1.md')
-rw-r--r--gcc/config/rs6000/rios1.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rios1.md b/gcc/config/rs6000/rios1.md
index 5e77a67fe2c..d36e99f327c 100644
--- a/gcc/config/rs6000/rios1.md
+++ b/gcc/config/rs6000/rios1.md
@@ -55,6 +55,16 @@
(eq_attr "cpu" "rios1,ppc601"))
"iu_rios1")
+(define_insn_reservation "rios1-two" 1
+ (and (eq_attr "type" "two")
+ (eq_attr "cpu" "rios1,ppc601"))
+ "iu_rios1,iu_rios1")
+
+(define_insn_reservation "rios1-three" 1
+ (and (eq_attr "type" "three")
+ (eq_attr "cpu" "rios1,ppc601"))
+ "iu_rios1,iu_rios1,iu_rios1")
+
(define_insn_reservation "rios1-imul" 5
(and (eq_attr "type" "imul,imul_compare")
(eq_attr "cpu" "rios1"))