re PR target/61542 ([4.8/4.9/trunk] vect-nop-move.c fails on powerpc64le-unknown-linux-gnu)

2014-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	PR target/61542
	* config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
	extraction other than index 3.

From-SVN: r212047
This commit is contained in:
Bill Schmidt 2014-06-26 18:47:52 +00:00 committed by William Schmidt
parent b3fb198ded
commit 6a7424669d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2014-06-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/61542
* config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
extraction other than index 3.
2014-06-26 Teresa Johnson <tejohnson@google.com>
* c-family/c-common.h (get_dump_info): Declare.

View File

@ -1667,7 +1667,7 @@
{
if (GET_CODE (op3) == SCRATCH)
op3 = gen_reg_rtx (V4SFmode);
emit_insn (gen_vsx_xxsldwi_v4sf (op3, op1, op1, op2));
emit_insn (gen_vsx_xxsldwi_v4sf (op3, op1, op1, GEN_INT (ele)));
tmp = op3;
}
emit_insn (gen_vsx_xscvspdp_scalar2 (op0, tmp));