optabs.c (expand_binop): Don't create a broadcast vector with a source element wider...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 3 Sep 2015 13:52:17 +0000 (13:52 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 3 Sep 2015 13:52:17 +0000 (13:52 +0000)
commit5179d2a2137d80c429ecd01dd0aeab415ffd299e
tree0dacf1cdc1177d00d75d9e223e6b76bc69512a66
parent4413ddbcb262f848946b4d71bbaafe2ee02417e0
optabs.c (expand_binop): Don't create a broadcast vector with a source element wider than the inner mode.

[gcc]

2015-09-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* optabs.c (expand_binop): Don't create a broadcast vector with a
source element wider than the inner mode.

[gcc/testsuite]

2015-09-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/vec-shift.c: New test.

From-SVN: r227444
gcc/ChangeLog
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/vec-shift.c [new file with mode: 0644]