re PR target/88839 ([SVE] Poor implementation of blend-like permutes)
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Wed, 21 Aug 2019 20:41:41 +0000 (20:41 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Wed, 21 Aug 2019 20:41:41 +0000 (20:41 +0000)
commit9556ef20164e69d094f5a3e1af262dbb45ed8e3a
tree685e02f687be4a31b0203722d3cf1553525b691a
parent846f78d414101dbd33ff9c370d379bae73ae0efa
re PR target/88839 ([SVE] Poor implementation of blend-like permutes)

2019-08-22  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
    Richard Sandiford  <richard.sandiford@arm.com>

PR target/88839
* config/aarch64/aarch64.c (aarch64_evpc_sel): New function.
(aarch64_expand_vec_perm_const_1): Call aarch64_evpc_sel.

testsuite/
* gcc.target/aarch64/sve/sel_1.c: New test.
* gcc.target/aarch64/sve/sel_2.c: Likewise.
* gcc.target/aarch64/sve/sel_3.c: Likewise.
* gcc.target/aarch64/sve/sel_4.c: Likewise.
* gcc.target/aarch64/sve/sel_5.c: Likewise.
* gcc.target/aarch64/sve/sel_6.c: Likewise.

Co-Authored-By: Richard Sandiford <richard.sandiford@arm.com>
From-SVN: r274810
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/sel_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/sel_2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/sel_3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/sel_4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/sel_5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/sel_6.c [new file with mode: 0644]