diff options
author | segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-23 16:43:31 +0000 |
---|---|---|
committer | segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-23 16:43:31 +0000 |
commit | 7f15413b4d7f06fb190be78f05f975262440befb (patch) | |
tree | b64e69b5b6c038c38b447795ab9f31c4b5d3ff66 /gcc/config/rs6000/6xx.md | |
parent | 7d307a6aea683889259b036216e134ef23738ccb (diff) | |
download | gcc-7f15413b4d7f06fb190be78f05f975262440befb.tar.gz |
rs6000: Make all add instructions one type
They are currently just "integer", but the dot version is fast_compare.
This makes them all "add". Later we should introduce attributes to
distinguish e.g. addc and adde (which aren't currently handled as
separate instructions at all, only in groups).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/6xx.md')
-rw-r--r-- | gcc/config/rs6000/6xx.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/6xx.md b/gcc/config/rs6000/6xx.md index 6d4ccb7c0d8..fc9d857c0d6 100644 --- a/gcc/config/rs6000/6xx.md +++ b/gcc/config/rs6000/6xx.md @@ -74,7 +74,7 @@ (define_insn_reservation "ppc604-integer" 1 (and (ior (eq_attr "type" "integer,insert,trap,cntlz,exts,isel") - (and (eq_attr "type" "shift") + (and (eq_attr "type" "add,shift") (eq_attr "dot" "no"))) (eq_attr "cpu" "ppc604,ppc604e,ppc620,ppc630")) "iu1_6xx|iu2_6xx") @@ -148,7 +148,7 @@ (define_insn_reservation "ppc604-compare" 3 (and (ior (eq_attr "type" "cmp,fast_compare,compare") - (and (eq_attr "type" "shift") + (and (eq_attr "type" "add,shift") (eq_attr "dot" "yes"))) (eq_attr "cpu" "ppc604,ppc604e,ppc620,ppc630")) "(iu1_6xx|iu2_6xx)") |