rs6000-c.c: Map ALTIVEC_BUILTIN_VEC_UNPACKH for float argument to VSX_BUILTIN_DOUBLEH...
authorCarl Love <cel@us.ibm.com>
Thu, 5 Jul 2018 14:48:51 +0000 (14:48 +0000)
committerCarl Love <carll@gcc.gnu.org>
Thu, 5 Jul 2018 14:48:51 +0000 (14:48 +0000)
commit5a1b56cc9843425557fc9ccbcf99aabfc7028123
treead3635734ba09ec9cfce08bc8ca651bf947dd178
parent715fcd73b66c639d9e0e3f3ef9c6ff9d621d7131
rs6000-c.c: Map ALTIVEC_BUILTIN_VEC_UNPACKH for float argument to VSX_BUILTIN_DOUBLEH_V4SF.

gcc/ChangeLog:

2018-07-05  Carl Love  <cel@us.ibm.com>

* config/rs6000/rs6000-c.c: Map ALTIVEC_BUILTIN_VEC_UNPACKH for
float argument to VSX_BUILTIN_DOUBLEH_V4SF.
Map ALTIVEC_BUILTIN_VEC_UNPACKL for float argument to
VSX_BUILTIN_DOUBLEL_V4SF.

gcc/testsuite/ChangeLog:

2018-07-05  Carl Love  <cel@us.ibm.com>
* gcc.target/altivec-1-runnable.c: New test file.
* gcc.target/altivec-2-runnable.c: New test file.
* gcc.target/vsx-7.c (main2): Change expected expected instruction
for tests.

From-SVN: r262439
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/altivec-2-runnable.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/vsx-7.c