rs6000-c.c (altivec_overloaded_builtins): Change behavior of vec_packsu (vector unsig...
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Wed, 20 Jun 2018 20:06:51 +0000 (20:06 +0000)
committerKelvin Nilsen <kelvin@gcc.gnu.org>
Wed, 20 Jun 2018 20:06:51 +0000 (20:06 +0000)
commitd8e7bf49a8c27e168f64edcaf5ea308b21340e73
tree573b8645a01de889f7a8989373c8dd207d3a9855
parente70359b3de997b4c582345ab7da8cccb253cc6d9
rs6000-c.c (altivec_overloaded_builtins): Change behavior of vec_packsu (vector unsigned long long...

gcc/ChangeLog:

2018-06-20  Kelvin Nilsen  <kelvin@gcc.gnu.org>

* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Change
behavior of vec_packsu (vector unsigned long long, vector unsigned
long long) to match behavior of vec_packs with same signature.

gcc/testsuite/ChangeLog:

2018-06-20  Kelvin Nilsen  <kelvin@gcc.gnu.org>

* gcc.target/powerpc/builtins-1.c: Adjust dg directives to scan
for vpkudus in place of vpksdus.
* gcc.target/powerpc/builtins-3-p8.c: Likewise.

From-SVN: r261819
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-1.c
gcc/testsuite/gcc.target/powerpc/builtins-3-p8.c