[PATCH][AARCH64]Define vec_shr as an unspec, use shl for big-endian.
authorRenlin Li <renlin.li@arm.com>
Thu, 30 Apr 2015 15:52:24 +0000 (15:52 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Thu, 30 Apr 2015 15:52:24 +0000 (15:52 +0000)
commit9c004c58b3aba3c2ffa55ad31d35c8be0b6b5df4
tree2807c966466738b7b2ad1b459adf49963129c870
parente2165bd7d51059cb68a75f808f0ee31251268536
[PATCH][AARCH64]Define vec_shr as an unspec, use shl for big-endian.

gcc/

2015-04-30  Renlin Li  <renlin.li@arm.com>

* config/aarch64/aarch64-simd.md (vec_shr): Defined as an unspec.
* config/aarch64/iterators.md (unspec): Add UNSPEC_VEC_SHR.

gcc/testsuite/

2015-04-30  Renlin Li  <renlin.li@arm.com>
    Alan Lawrence  <alan.lawrence@arm.com>

* gcc.target/aarch64/vect-reduc-or_1.c: New.

From-SVN: r222635
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/iterators.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/vect-reduc-or_1.c [new file with mode: 0644]