summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/7450.md
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2014-05-23 18:43:31 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2014-05-23 18:43:31 +0200
commit0cbb4f589777eef7dd63d5c7132642b0dfb54cfa (patch)
treeb64e69b5b6c038c38b447795ab9f31c4b5d3ff66 /gcc/config/rs6000/7450.md
parent892e7fa695536ae398afc23664ee30df3f59a5d3 (diff)
downloadgcc-0cbb4f589777eef7dd63d5c7132642b0dfb54cfa.tar.gz
rs6000: Make all add instructions one type
They are currently just "integer", but the dot version is fast_compare. This makes them all "add". Later we should introduce attributes to distinguish e.g. addc and adde (which aren't currently handled as separate instructions at all, only in groups). From-SVN: r210871
Diffstat (limited to 'gcc/config/rs6000/7450.md')
-rw-r--r--gcc/config/rs6000/7450.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/7450.md b/gcc/config/rs6000/7450.md
index 39815e96d76..3c75d05c931 100644
--- a/gcc/config/rs6000/7450.md
+++ b/gcc/config/rs6000/7450.md
@@ -74,7 +74,7 @@
(define_insn_reservation "ppc7450-integer" 1
(and (ior (eq_attr "type" "integer,insert,trap,cntlz,exts,isel")
- (and (eq_attr "type" "shift")
+ (and (eq_attr "type" "add,shift")
(eq_attr "dot" "no")))
(eq_attr "cpu" "ppc7450"))
"ppc7450_du,iu1_7450|iu2_7450|iu3_7450")
@@ -109,7 +109,7 @@
(define_insn_reservation "ppc7450-compare" 2
(and (ior (eq_attr "type" "cmp,fast_compare,compare")
- (and (eq_attr "type" "shift")
+ (and (eq_attr "type" "add,shift")
(eq_attr "dot" "yes")))
(eq_attr "cpu" "ppc7450"))
"ppc7450_du,(iu1_7450|iu2_7450|iu3_7450)")