summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/a2.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/a2.md')
-rw-r--r--gcc/config/rs6000/a2.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/rs6000/a2.md b/gcc/config/rs6000/a2.md
index 7cab4d38931..52dbbd4735d 100644
--- a/gcc/config/rs6000/a2.md
+++ b/gcc/config/rs6000/a2.md
@@ -62,12 +62,14 @@
;; D.4.9
(define_insn_reservation "ppca2-idiv" 32
- (and (eq_attr "type" "idiv")
+ (and (eq_attr "type" "div")
+ (eq_attr "size" "32")
(eq_attr "cpu" "ppca2"))
"mult*32")
(define_insn_reservation "ppca2-ldiv" 65
- (and (eq_attr "type" "ldiv")
+ (and (eq_attr "type" "div")
+ (eq_attr "size" "64")
(eq_attr "cpu" "ppca2"))
"mult*65")