summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/8540.md
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-10 21:57:14 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-10 21:57:14 +0000
commitc86a5c897eb027976f443f1d4c39049da58a2d9d (patch)
tree113f4145c1ea91456f26bfeb989b16ed4c0d5230 /gcc/config/rs6000/8540.md
parentea19fd8ff89999515576589b5abd0c17c86516a9 (diff)
downloadgcc-c86a5c897eb027976f443f1d4c39049da58a2d9d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90456 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/8540.md')
-rw-r--r--gcc/config/rs6000/8540.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/rs6000/8540.md b/gcc/config/rs6000/8540.md
index 20d50f42b03..408fd24d4ef 100644
--- a/gcc/config/rs6000/8540.md
+++ b/gcc/config/rs6000/8540.md
@@ -89,6 +89,19 @@
(eq_attr "cpu" "ppc8540"))
"ppc8540_decode,ppc8540_issue+ppc8540_su_stage0+ppc8540_retire")
+(define_insn_reservation "ppc8540_two" 1
+ (and (eq_attr "type" "two")
+ (eq_attr "cpu" "ppc8540"))
+ "ppc8540_decode,ppc8540_issue+ppc8540_su_stage0+ppc8540_retire,\
+ ppc8540_issue+ppc8540_su_stage0+ppc8540_retire")
+
+(define_insn_reservation "ppc8540_three" 1
+ (and (eq_attr "type" "three")
+ (eq_attr "cpu" "ppc8540"))
+ "ppc8540_decode,ppc8540_issue+ppc8540_su_stage0+ppc8540_retire,\
+ ppc8540_issue+ppc8540_su_stage0+ppc8540_retire,\
+ ppc8540_issue+ppc8540_su_stage0+ppc8540_retire")
+
;; Branch. Actually this latency time is not used by the scheduler.
(define_insn_reservation "ppc8540_branch" 1
(and (eq_attr "type" "jmpreg,branch")