aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/mpc.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/mpc.md')
-rw-r--r--gcc/config/rs6000/mpc.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/mpc.md b/gcc/config/rs6000/mpc.md
index ffcb7a7..2f11a86 100644
--- a/gcc/config/rs6000/mpc.md
+++ b/gcc/config/rs6000/mpc.md
@@ -42,7 +42,7 @@
(define_insn_reservation "mpccore-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" "mpccore"))
"iu_mpc")
@@ -69,8 +69,8 @@
"mciu_mpc*6")
(define_insn_reservation "mpccore-compare" 3
- (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" "mpccore"))
"iu_mpc,nothing,bpu_mpc")