From: sje Date: Tue, 3 Mar 2015 00:07:19 +0000 (+0000) Subject: 2015-03-02 Steve Ellcey X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95802f13ffaa19007749a17b72add3031c1ed548;p=thirdparty%2Fgcc.git 2015-03-02 Steve Ellcey PR target/58158 * config/mips/mips.md (movcc): Change ISA_HAS_SEL check to !ISA_HAS_FP_CONDMOVE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221128 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index acfb16c525e2..09ebb7ea35fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-03-02 Steve Ellcey + + PR target/58158 + * config/mips/mips.md (movcc): Change ISA_HAS_SEL check to + !ISA_HAS_FP_CONDMOVE. + 2015-03-02 Aldy Hernandez * config/i386/i386.md (*udivmod4_pow2): Remove diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 2fb278650ca9..3672c0bded03 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -7150,7 +7150,8 @@ (match_operand:GPR 3 "reg_or_0_operand")))] "ISA_HAS_CONDMOVE || ISA_HAS_SEL" { - if (ISA_HAS_SEL && !INTEGRAL_MODE_P (GET_MODE (XEXP (operands[1], 0)))) + if (!ISA_HAS_FP_CONDMOVE + && !INTEGRAL_MODE_P (GET_MODE (XEXP (operands[1], 0)))) FAIL; mips_expand_conditional_move (operands);