summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/476.md
diff options
context:
space:
mode:
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-23 16:39:42 +0000
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-23 16:39:42 +0000
commit90e4483f4e6b64239bdff4c1c83d8550f367153e (patch)
tree644c325d467970b746fbf036a3cb795b69d108fe /gcc/config/rs6000/476.md
parentb6786e1446e2c12ca233191409fb36d60e5887a5 (diff)
downloadgcc-90e4483f4e6b64239bdff4c1c83d8550f367153e.tar.gz
rs6000: Make all divide instructions one type
This uses the attribute "size" to specify the differences: idiv -> div size=32 ldiv -> div size=64 It could use "dot" as well, but the current code doesn't handle that. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210869 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/476.md')
-rw-r--r--gcc/config/rs6000/476.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/476.md b/gcc/config/rs6000/476.md
index 403752a9d62..5acd6682a1d 100644
--- a/gcc/config/rs6000/476.md
+++ b/gcc/config/rs6000/476.md
@@ -88,7 +88,7 @@
ppc476_i_pipe")
(define_insn_reservation "ppc476-idiv" 11
- (and (eq_attr "type" "idiv")
+ (and (eq_attr "type" "div")
(eq_attr "cpu" "ppc476"))
"ppc476_issue,\
ppc476_i_pipe*11")