This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Aaron Sawdey was running tests on the Power9 simulator, and he noticed that the XXSPLTW to splat the SFmode value into the vector accessed the wrong element. When I added the more general code for vector splat for power9, I called an insn that reversed the element numbers on little endian, when I should have called the direct function, since the XSCVDPSPN instruction leaves the converted value in real element 0 in the hardware. I did a bootstrap and make check with no regressions, can I check this into the trunk? And can I back port the patch to GCC 6.2 after a burn-in period? [gcc] 2016-06-30 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/71720 * config/rs6000/vsx.md (vsx_splat_v4sf_internal): When splitting the insns, use vsx_xxspltw_v4sf_direct which does not check for little endian. [gcc/testsuite] 2016-06-30 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/71720 * gcc.target/powerpc/pr71720.c: New test. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797
Attachment:
pr71720.patch01b
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |