summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/power7.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/power7.md')
-rw-r--r--gcc/config/rs6000/power7.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/rs6000/power7.md b/gcc/config/rs6000/power7.md
index d6ddc2434c6..5527829b84f 100644
--- a/gcc/config/rs6000/power7.md
+++ b/gcc/config/rs6000/power7.md
@@ -219,12 +219,14 @@
"DU2F_power7,FXU_power7,nothing*3,FXU_power7")
(define_insn_reservation "power7-idiv" 36
- (and (eq_attr "type" "idiv")
+ (and (eq_attr "type" "div")
+ (eq_attr "size" "32")
(eq_attr "cpu" "power7"))
"DU2F_power7,iu1_power7*36|iu2_power7*36")
(define_insn_reservation "power7-ldiv" 68
- (and (eq_attr "type" "ldiv")
+ (and (eq_attr "type" "div")
+ (eq_attr "size" "64")
(eq_attr "cpu" "power7"))
"DU2F_power7,iu1_power7*68|iu2_power7*68")