re PR target/84220 (rs6000 builtin __builtin_vec_sld() ICEs on invalid 3rd argument)
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Wed, 14 Feb 2018 15:32:02 +0000 (15:32 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Wed, 14 Feb 2018 15:32:02 +0000 (15:32 +0000)
commit911b141ba1426041f949952eb52aa76ebe608344
treea672909200281bb3e835dcfb589ecfa841f00654
parentf8de876d8c7323cbf4c51cbe38e7ea2ac2b4e4e2
re PR target/84220 (rs6000 builtin __builtin_vec_sld() ICEs on invalid 3rd argument)

[gcc]

2018-02-14  Will Schmidt  <will_schmidt@vnet.ibm.com>

PR target/84220
* config/rs6000/rs6000-c.c: Update definitions for
ALTIVEC_BUILTIN_VEC_SLD, ALTIVEC_BUILTIN_VEC_SLDW,
ALTIVEC_BUILTIN_VEC_XXPERMDI builtins.

[testsuite]

2018-02-14  Will Schmidt  <will_schmidt@vnet.ibm.com>

PR target/84220
* gcc.target/powerpc/pr84220-sld.c: New test.
* gcc.target/powerpc/pr84220-sld2.c: New test.
* gcc.target/powerpc/pr84220-sldw.c: New test.
* gcc.target/powerpc/pr84220-xxperm.c: New test.
* gcc.target/powerpc/pr84220-xxsld.c: New test.

From-SVN: r257662
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr84220-sld.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr84220-sld2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr84220-sldw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr84220-xxperm.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr84220-xxsld.c [new file with mode: 0644]