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
This commit is contained in:
parent
5e40da4f64
commit
24d2e5ebfd
@ -1,3 +1,7 @@
|
||||
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;
|
||||
}")
|
||||
|
Loading…
Reference in New Issue
Block a user