diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2014-05-23 18:45:11 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2014-05-23 18:45:11 +0200 |
commit | 73c076c8a2b46d1f87c64a92bf1e7edfe0b6e076 (patch) | |
tree | 1d9879d9a796dd6a703aef72869a9072d53c1e66 /gcc/config/rs6000/440.md | |
parent | 0cbb4f589777eef7dd63d5c7132642b0dfb54cfa (diff) | |
download | gcc-73c076c8a2b46d1f87c64a92bf1e7edfe0b6e076.zip gcc-73c076c8a2b46d1f87c64a92bf1e7edfe0b6e076.tar.gz gcc-73c076c8a2b46d1f87c64a92bf1e7edfe0b6e076.tar.bz2 |
rs6000: Make all logical instructions one type
They are currently just "integer", but the dot version is fast_compare.
This makes them all "logical".
From-SVN: r210872
Diffstat (limited to 'gcc/config/rs6000/440.md')
-rw-r--r-- | gcc/config/rs6000/440.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/440.md b/gcc/config/rs6000/440.md index 23f69b1..bc8da3e 100644 --- a/gcc/config/rs6000/440.md +++ b/gcc/config/rs6000/440.md @@ -54,7 +54,7 @@ (define_insn_reservation "ppc440-integer" 1 (and (ior (eq_attr "type" "integer,insert,shift,trap,cntlz,exts,isel") - (and (eq_attr "type" "add") + (and (eq_attr "type" "add,logical") (eq_attr "dot" "no"))) (eq_attr "cpu" "ppc440")) "ppc440_issue,ppc440_i_pipe|ppc440_j_pipe") @@ -95,8 +95,8 @@ "ppc440_issue,ppc440_i_pipe") (define_insn_reservation "ppc440-compare" 2 - (and (ior (eq_attr "type" "cmp,fast_compare,compare,cr_logical,delayed_cr,mfcr") - (and (eq_attr "type" "add") + (and (ior (eq_attr "type" "cmp,compare,cr_logical,delayed_cr,mfcr") + (and (eq_attr "type" "add,logical") (eq_attr "dot" "yes"))) (eq_attr "cpu" "ppc440")) "ppc440_issue,ppc440_i_pipe") |