Commit 43f4a281 by Richard Biener Committed by Richard Biener

re PR target/69274 (435.gromacs performance regression after r231814 on x86 Haswell and bdver2)

2016-02-08   Richard Biener  <rguenther@suse.de>

	PR rtl-optimization/69274
	* ira.c (ira_setup_alts): Do not change recog_data.operand
	order.

	* gcc.target/i386/addr-sel-1.c: XFAIL.

From-SVN: r233209
parent e8dfe49e
2016-02-08 Richard Biener <rguenther@suse.de>
PR rtl-optimization/69274
* ira.c (ira_setup_alts): Do not change recog_data.operand
order.
2016-02-08 Jeff Law <law@redhat.com> 2016-02-08 Jeff Law <law@redhat.com>
PR tree-optimization/65917 PR tree-optimization/65917
......
...@@ -1889,10 +1889,11 @@ ira_setup_alts (rtx_insn *insn, HARD_REG_SET &alts) ...@@ -1889,10 +1889,11 @@ ira_setup_alts (rtx_insn *insn, HARD_REG_SET &alts)
} }
if (commutative < 0) if (commutative < 0)
break; break;
if (curr_swapped) /* Swap forth and back to avoid changing recog_data. */
break;
std::swap (recog_data.operand[commutative], std::swap (recog_data.operand[commutative],
recog_data.operand[commutative + 1]); recog_data.operand[commutative + 1]);
if (curr_swapped)
break;
} }
} }
......
2016-02-08 Richard Biener <rguenther@suse.de>
PR rtl-optimization/69274
* gcc.target/i386/addr-sel-1.c: XFAIL.
2016-02-08 Jeff Law <law@redhat.com> 2016-02-08 Jeff Law <law@redhat.com>
PR tree-optimization/68541 PR tree-optimization/68541
......
...@@ -14,4 +14,4 @@ int f(int i) ...@@ -14,4 +14,4 @@ int f(int i)
} }
/* { dg-final { scan-assembler "a\\+1" } } */ /* { dg-final { scan-assembler "a\\+1" } } */
/* { dg-final { scan-assembler "b\\+1" } } */ /* { dg-final { scan-assembler "b\\+1" { xfail *-*-* } } } */
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