From: Teresa Johnson Date: Wed, 2 Nov 2011 17:37:20 +0000 (+0000) Subject: predicates.md (promotable_binary_operator): Add minus to the list of promotable opera... X-Git-Tag: releases/gcc-4.7.0~2626 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67266ebb9b34398ab59bf9de847dee120e9fb8f6;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 817abbde2143..70ae866463f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-02 Teresa Johnson + + * config/i386/predicates.md (promotable_binary_operator): Add minus + to the list of promotable operators. + 2011-11-02 Rainer Orth * gthr-single.h, gthr.h: Move to ../libgcc. diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index 48e110ad1643..3745b497c192 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"))))