Commit 24d2e5eb by Bill Schmidt Committed by William Schmidt

altivec.md (mulv8hi3): Adjust for little endian.

2013-10-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/altivec.md (mulv8hi3): Adjust for little endian.

From-SVN: r203980
parent 5e40da4f
2013-10-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/altivec.md (mulv8hi3): Adjust for little endian.
2013-10-23 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/58775
......@@ -681,7 +681,10 @@
emit_insn (gen_altivec_vmrghw (high, even, odd));
emit_insn (gen_altivec_vmrglw (low, even, odd));
emit_insn (gen_altivec_vpkuwum (operands[0], high, low));
if (BYTES_BIG_ENDIAN)
emit_insn (gen_altivec_vpkuwum (operands[0], high, low));
else
emit_insn (gen_altivec_vpkuwum (operands[0], low, high));
DONE;
}")
......
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