diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2014-05-23 18:39:42 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2014-05-23 18:39:42 +0200 |
commit | 441e02a5c44543f0afba3549b9939e54bafcff11 (patch) | |
tree | 644c325d467970b746fbf036a3cb795b69d108fe /gcc/config/rs6000/7xx.md | |
parent | 58ee9e663594196b2b76669df15e12c1aeff53bf (diff) | |
download | gcc-441e02a5c44543f0afba3549b9939e54bafcff11.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.
From-SVN: r210869
Diffstat (limited to 'gcc/config/rs6000/7xx.md')
-rw-r--r-- | gcc/config/rs6000/7xx.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/7xx.md b/gcc/config/rs6000/7xx.md index 332a663f360..67f3d11c1fd 100644 --- a/gcc/config/rs6000/7xx.md +++ b/gcc/config/rs6000/7xx.md @@ -95,7 +95,7 @@ "ppc750_du,iu1_7xx") (define_insn_reservation "ppc750-idiv" 19 - (and (eq_attr "type" "idiv") + (and (eq_attr "type" "div") (eq_attr "cpu" "ppc750,ppc7400")) "ppc750_du,iu1_7xx*19") |