Commit 08e39a54 by Segher Boessenkool Committed by Segher Boessenkool

combine.c (try_combine): Do not allow combining a PARALLEL I2 with a register…

combine.c (try_combine): Do not allow combining a PARALLEL I2 with a register move I3 if that I2 is an asm.

	* combine.c (try_combine): Do not allow combining a PARALLEL I2
	with a register move I3 if that I2 is an asm.

From-SVN: r218623
parent 26a4d424
2014-12-11 Segher Boessenkool <segher@kernel.crashing.org>
* combine.c (try_combine): Do not allow combining a PARALLEL I2
with a register move I3 if that I2 is an asm.
2014-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2014-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm_neon.h (vrndqn_f32): Rename to... * config/arm/arm_neon.h (vrndqn_f32): Rename to...
...@@ -2716,6 +2716,13 @@ try_combine (rtx_insn *i3, rtx_insn *i2, rtx_insn *i1, rtx_insn *i0, ...@@ -2716,6 +2716,13 @@ try_combine (rtx_insn *i3, rtx_insn *i2, rtx_insn *i1, rtx_insn *i0,
SET_DEST (XVECEXP (p2, 0, i)))) SET_DEST (XVECEXP (p2, 0, i))))
break; break;
/* Make sure this PARALLEL is not an asm. We do not allow combining
that usually (see can_combine_p), so do not here either. */
for (i = 0; i < XVECLEN (p2, 0); i++)
if (GET_CODE (XVECEXP (p2, 0, i)) == SET
&& GET_CODE (SET_SRC (XVECEXP (p2, 0, i))) == ASM_OPERANDS)
break;
if (i == XVECLEN (p2, 0)) if (i == XVECLEN (p2, 0))
for (i = 0; i < XVECLEN (p2, 0); i++) for (i = 0; i < XVECLEN (p2, 0); i++)
if (GET_CODE (XVECEXP (p2, 0, i)) == SET if (GET_CODE (XVECEXP (p2, 0, i)) == SET
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment