predicates.md (promotable_binary_operator): Add minus to the list of promotable operators.

* config/i386/predicates.md (promotable_binary_operator): Add minus
        to the list of promotable operators.

From-SVN: r180783
This commit is contained in:
Teresa Johnson 2011-11-02 17:37:20 +00:00 committed by Teresa Johnson
parent c417a082ea
commit 67266ebb9b
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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"))))