diff options
author | tejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-02 17:37:20 +0000 |
---|---|---|
committer | tejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-02 17:37:20 +0000 |
commit | 10aab13c0047bd74358b9d286c06e5e534f66be6 (patch) | |
tree | ba4285fa8a7355287878212f15e840b0abcf43fb /gcc | |
parent | e564a982a448a2cc275327794fce11c2df9b254a (diff) | |
download | gcc-10aab13c0047bd74358b9d286c06e5e534f66be6.tar.gz |
* config/i386/predicates.md (promotable_binary_operator): Add minus
to the list of promotable operators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/predicates.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 817abbde214..70ae866463f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-02 Teresa Johnson <tejohnson@google.com> + + * config/i386/predicates.md (promotable_binary_operator): Add minus + to the list of promotable operators. + 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * gthr-single.h, gthr.h: Move to ../libgcc. diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index 48e110ad164..3745b497c19 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -1162,7 +1162,7 @@ ;; Return true if OP is a binary operator that can be promoted to wider mode. (define_predicate "promotable_binary_operator" - (ior (match_code "plus,and,ior,xor,ashift") + (ior (match_code "plus,minus,and,ior,xor,ashift") (and (match_code "mult") (match_test "TARGET_TUNE_PROMOTE_HIMODE_IMUL")))) |