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
This commit is contained in:
Richard Biener 2016-02-08 09:09:22 +00:00 committed by Richard Biener
parent e8dfe49e7d
commit 43f4a281a3
4 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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>
PR tree-optimization/65917

View File

@ -1889,10 +1889,11 @@ ira_setup_alts (rtx_insn *insn, HARD_REG_SET &alts)
}
if (commutative < 0)
break;
if (curr_swapped)
break;
/* Swap forth and back to avoid changing recog_data. */
std::swap (recog_data.operand[commutative],
recog_data.operand[commutative + 1]);
if (curr_swapped)
break;
}
}

View File

@ -1,3 +1,8 @@
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>
PR tree-optimization/68541

View File

@ -14,4 +14,4 @@ int f(int i)
}
/* { dg-final { scan-assembler "a\\+1" } } */
/* { dg-final { scan-assembler "b\\+1" } } */
/* { dg-final { scan-assembler "b\\+1" { xfail *-*-* } } } */