summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/7xx.md
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2014-05-23 18:45:11 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2014-05-23 18:45:11 +0200
commit73c076c8a2b46d1f87c64a92bf1e7edfe0b6e076 (patch)
tree1d9879d9a796dd6a703aef72869a9072d53c1e66 /gcc/config/rs6000/7xx.md
parent0cbb4f589777eef7dd63d5c7132642b0dfb54cfa (diff)
downloadgcc-73c076c8a2b46d1f87c64a92bf1e7edfe0b6e076.tar.gz
rs6000: Make all logical instructions one type
They are currently just "integer", but the dot version is fast_compare. This makes them all "logical". From-SVN: r210872
Diffstat (limited to 'gcc/config/rs6000/7xx.md')
-rw-r--r--gcc/config/rs6000/7xx.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/7xx.md b/gcc/config/rs6000/7xx.md
index 89de8df7b56..aba4a770ec3 100644
--- a/gcc/config/rs6000/7xx.md
+++ b/gcc/config/rs6000/7xx.md
@@ -62,7 +62,7 @@
(define_insn_reservation "ppc750-integer" 1
(and (ior (eq_attr "type" "integer,insert,trap,cntlz,exts,isel")
- (and (eq_attr "type" "add,shift")
+ (and (eq_attr "type" "add,logical,shift")
(eq_attr "dot" "no")))
(eq_attr "cpu" "ppc750,ppc7400"))
"ppc750_du,iu1_7xx|iu2_7xx")
@@ -101,8 +101,8 @@
"ppc750_du,iu1_7xx*19")
(define_insn_reservation "ppc750-compare" 2
- (and (ior (eq_attr "type" "cmp,fast_compare,compare")
- (and (eq_attr "type" "add,shift")
+ (and (ior (eq_attr "type" "cmp,compare")
+ (and (eq_attr "type" "add,logical,shift")
(eq_attr "dot" "yes")))
(eq_attr "cpu" "ppc750,ppc7400"))
"ppc750_du,(iu1_7xx|iu2_7xx)")