re PR target/81833 (PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 5 Sep 2017 19:41:55 +0000 (19:41 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Tue, 5 Sep 2017 19:41:55 +0000 (19:41 +0000)
commit55b2ce1c919ae1a5460f8bfd105f64155853d701
treead2c38fccd0db73de054ee8975fbf8d7f37788a6
parente5fc06a3d339c7db391f199c51354f61a033b555
re PR target/81833 (PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1)

[gcc]

2017-09-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/81833
* config/rs6000/altivec.md (altivec_vsum2sws): Convert from a
define_insn to a define_expand.
(altivec_vsum2sws_direct): New define_insn.
(altivec_vsumsws): Convert from a define_insn to a define_expand.

[gcc/testsuite]

2017-09-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/81833
* gcc.target/powerpc/pr81833-1.c: New file.
* gcc.target/powerpc/pr81833-2.c: New file.

From-SVN: r251723
gcc/ChangeLog
gcc/config/rs6000/altivec.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr81833-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr81833-2.c [new file with mode: 0644]