From: Steve Ellcey Date: Tue, 3 Mar 2015 00:07:19 +0000 (+0000) Subject: re PR target/58158 (ICE with conditional moves on GPRs with a floating point conditio... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7096a06885f16413b4710a58f15f8f25de29bb00;p=gcc.git re PR target/58158 (ICE with conditional moves on GPRs with a floating point conditional on mipsel with loongson2f) 2015-03-02 Steve Ellcey PR target/58158 * config/mips/mips.md (movcc): Change ISA_HAS_SEL check to !ISA_HAS_FP_CONDMOVE. From-SVN: r221128 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index acfb16c525e..09ebb7ea35f 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 2fb278650ca..3672c0bded0 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);