[AArch64][SVE2] Support for EOR3 and variants of BSL

Programming / Compilers / GCC - rsandifo [138bc75d-0d04-0410-961f-82ee72b054a4] - 17 October 2019 13:23 EDT

2019-10-17 Yuliang Wang

gcc/
- config/aarch64/aarch64-sve2.md (aarch64_sve2_eor3) (aarch64_sve2_nor, aarch64_sve2_nand) (aarch64_sve2_bsl, aarch64_sve2_nbsl) (aarch64_sve2_bsl1n, aarch64_sve2_bsl2n): New combine patterns.
- config/aarch64/iterators.md (BSL_DUP): New int iterator for the above. (bsl_1st, bsl_2nd, bsl_dup, bsl_mov): Attributes for the above.

gcc/testsuite/
- gcc.target/aarch64/sve2/eor3_1.c: New test.
- gcc.target/aarch64/sve2/nlogic_1.c: As above.
- gcc.target/aarch64/sve2/nlogic_2.c: As above.
- gcc.target/aarch64/sve2/bitsel_1.c: As above.
- gcc.target/aarch64/sve2/bitsel_2.c: As above.
- gcc.target/aarch64/sve2/bitsel_3.c: As above.
- gcc.target/aarch64/sve2/bitsel_4.c: As above.

06aa6e8dbc5 [AArch64][SVE2] Support for EOR3 and variants of BSL
gcc/ChangeLog | 11 ++
gcc/config/aarch64/aarch64-sve2.md | 184 +++++++++++++++++++++++
gcc/config/aarch64/iterators.md | 14 ++
gcc/testsuite/ChangeLog | 10 ++
gcc/testsuite/gcc.target/aarch64/sve2/bitsel_1.c | 32 ++++
gcc/testsuite/gcc.target/aarch64/sve2/bitsel_2.c | 14 ++
gcc/testsuite/gcc.target/aarch64/sve2/bitsel_3.c | 13 ++
gcc/testsuite/gcc.target/aarch64/sve2/bitsel_4.c | 14 ++
gcc/testsuite/gcc.target/aarch64/sve2/eor3_1.c | 12 ++
gcc/testsuite/gcc.target/aarch64/sve2/nlogic_1.c | 33 ++++
gcc/testsuite/gcc.target/aarch64/sve2/nlogic_2.c | 14 ++
11 files changed, 351 insertions(+)

Upstream: gcc.gnu.org


  • Share