re PR target/78007 (Important loop from 482.sphinx3 is not vectorized)
authorRichard Biener <rguenther@suse.de>
Wed, 9 Nov 2016 08:19:05 +0000 (08:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 9 Nov 2016 08:19:05 +0000 (08:19 +0000)
commit37b141851078b5119156780c2d897639d483625b
tree8c86fe39b152e2019d30e175460e35da8ced0a77
parent5b3fa6a166eb8027b6e77343a347929767da329d
re PR target/78007 (Important loop from 482.sphinx3  is not vectorized)

2016-11-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/78007
* tree-vect-stmts.c (vectorizable_bswap): New function.
(vectorizable_call): Call vectorizable_bswap for
BUILT_IN_BSWAP{16,32,64} if arguments are not promoted.

* gcc.dg/vect/vect-bswap32.c: Adjust.
* gcc.dg/vect/vect-bswap64.c: Likewise.

From-SVN: r241992
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-bswap32.c
gcc/testsuite/gcc.dg/vect/vect-bswap64.c
gcc/tree-vect-stmts.c