altivec.md: Fix argument swizzle in vec_doublel support...

gcc/ChangeLog:

2017-06-07  Carl Love  <cel@us.ibm.com>

	* config/rs6000/altivec.md: Fix argument swizzle in vec_doublel
	support, Generate	doublehv for signed int/float for BE case only.

From-SVN: r248996
This commit is contained in:
Carl Love 2017-06-07 21:59:06 +00:00 committed by Carl Love
parent a4fe64ee20
commit 618f988cb2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2017-06-07 Carl Love <cel@us.ibm.com>
* config/rs6000/altivec.md: Fix argument swizzle in vec_doublel
support, Generate doublehv for signed int/float for BE case only.
2017-06-07 Alexander Monakov <amonakov@ispras.ru>
* doc/invoke.texi (mcx16): Rewrite.

View File

@ -3003,8 +3003,8 @@
operands[1], rtx_val));
rtx_val = GEN_INT (8);
emit_insn (gen_vsx_xxsldwi_<mode> (rtx_tmp, operands[1],
rtx_tmp, rtx_val));
emit_insn (gen_vsx_xxsldwi_<mode> (rtx_tmp, rtx_tmp,
operands[1],rtx_val));
emit_insn (gen_vsx_xvcv<VS_sxwsp>dp (operands[0], rtx_tmp));
}
else