re PR target/58158 (ICE with conditional moves on GPRs with a floating point conditional on mipsel with loongson2f)

2015-03-02  Steve Ellcey  <sellcey@imgtec.com>

	PR target/58158
	* config/mips/mips.md (mov<mode>cc): Change ISA_HAS_SEL check to
	!ISA_HAS_FP_CONDMOVE.

From-SVN: r221128
This commit is contained in:
Steve Ellcey 2015-03-03 00:07:19 +00:00 committed by Steve Ellcey
parent 29e27c0bf3
commit 7096a06885
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2015-03-02 Steve Ellcey <sellcey@imgtec.com>
PR target/58158
* config/mips/mips.md (mov<mode>cc): Change ISA_HAS_SEL check to
!ISA_HAS_FP_CONDMOVE.
2015-03-02 Aldy Hernandez <aldyh@redhat.com>
* config/i386/i386.md (*udivmod<mode>4_pow2): Remove

View File

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