[Bug target/71805] incorrect code for test pr45752.c with -mcpu=power9
meissner at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 12 17:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71805
--- Comment #4 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Tue Jul 12 17:42:04 2016
New Revision: 238256
URL: https://gcc.gnu.org/viewcvs?rev=238256&root=gcc&view=rev
Log:
[gcc]
2016-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/71805
* config/rs6000/altivec.md (altivec_vperm_<mode>_internal):
The xxperm and xxpermr instructions require that the 2nd input
operand overlap with the output operand, and not the 1st.
(altivec_vperm_v8hiv16qi): Likewise.
(altivec_vperm_<mode>_uns_internal): Likewise.
(altivec_vpermr_<mode>_internal): Likewise.
(vperm_v8hiv4si): Likewise.
(vperm_v16qiv8hi): Likewise.
[gcc/testsuite]
2016-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/71805
* gcc.target/powerpc/pr71805.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/powerpc/pr71805.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/altivec.md
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list