Commit 8f7fd2da by Harsha Jagasia Committed by Sebastian Pop

re PR target/42664 (ICE on compilation of polyhedron benchmarks with -mfma4)

Fix PR42664.

2010-01-16  Harsha Jagasia  <harsha.jagasia@amd.com>

	PR target/42664
	* config/i386/i386.c (ix86_fixup_binary_operands):
	Revert FMA4 fixup of operands.

From-SVN: r155964
parent 2fdb618d
2010-01-16 Harsha Jagasia <harsha.jagasia@amd.com>
PR target/42664
* config/i386/i386.c (ix86_fixup_binary_operands):
Revert FMA4 fixup of operands.
2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR gcc/42525
......
......@@ -13387,16 +13387,6 @@ ix86_fixup_binary_operands (enum rtx_code code, enum machine_mode mode,
if (MEM_P (src1) && !rtx_equal_p (dst, src1))
src1 = force_reg (mode, src1);
/* In order for the multiply-add patterns to get matched, we need
to aid combine by forcing all operands into registers to start. */
if (optimize && TARGET_FMA4)
{
if (MEM_P (src2))
src2 = force_reg (GET_MODE (src2), src2);
else if (MEM_P (src1))
src1 = force_reg (GET_MODE (src1), src1);
}
operands[1] = src1;
operands[2] = src2;
return dst;
......
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