[Bug target/83677] PPC: The xxpermr instruction is not generated correctly

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 14 17:48:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83677

--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Sun Jan 14 17:47:30 2018
New Revision: 256670

URL: https://gcc.gnu.org/viewcvs?rev=256670&root=gcc&view=rev
Log:
[gcc]

2018-01-14  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        Backport from mainline
        2018-01-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        PR target/83677
        * config/rs6000/altivec.md (*altivec_vpermr_<mode>_internal):
        Reverse order of second and third operands in first alternative.
        * config/rs6000/rs6000.c (rs6000_expand_vector_set): Reverse order
        of first and second elements in UNSPEC_VPERMR vector.
        (altivec_expand_vec_perm_le): Likewise.

[gcc/testsuite]

2018-01-14  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        Backport from mainline
        2018-01-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        PR target/83677
        * gcc.target/powerpc/pr83677.c: New file.


Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr83677.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/rs6000/altivec.md
    branches/gcc-7-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list