* config/rs6000/altivec.md (mulv8hi3): Adjust for little endian.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203980
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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;
}")