rs6000-c.c (altivec_overloaded_builtins): Change behavior of vec_pack (vector double...
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Fri, 22 Jun 2018 22:28:49 +0000 (22:28 +0000)
committerKelvin Nilsen <kelvin@gcc.gnu.org>
Fri, 22 Jun 2018 22:28:49 +0000 (22:28 +0000)
commit9395b1d99fd7463173e031ce35f53138b061efef
tree017462dce7a11c3989488d16aeb0af2478a949fb
parente56f662950ce31be414d64699b369ad9a5aca556
rs6000-c.c (altivec_overloaded_builtins): Change behavior of vec_pack (vector double...

gcc/ChangeLog:

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

* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Change
behavior of vec_pack (vector double, vector double) to match
behavior of vec_float2 (vector double, vector double).

gcc/testsuite/ChangeLog:

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

* gcc.target/powerpc/builtins-3-p8.c (test_pack_float): Remove
this test.
* gcc.target/powerpc/builtins-9.c: New test.
* gcc.target/powerpc/fold-vec-pack-double.c: Modify dg directives
to expect different code generation on big-endian vs.
little-endian targets.

From-SVN: r261974
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-3-p8.c
gcc/testsuite/gcc.target/powerpc/builtins-9.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-pack-double.c