aarch64: Add support for unpacked SVE conditional BIC
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 11 Jan 2021 18:03:25 +0000 (18:03 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 11 Jan 2021 18:03:25 +0000 (18:03 +0000)
commit37426e0f060447cf059f3846275a157084dfdfe5
tree2597cf4a2205d06db9700db73fc1e7d660540a8e
parent7446de5a2af0610d1e12b6583fbfb23e25fa3e1d
aarch64: Add support for unpacked SVE conditional BIC

This patch adds support for unpacked conditional BIC.  The type suffix
could be taken from the element size or the container size, so the
patch continues to use the element size.  This is consistent with
the existing support for unconditional BIC.

gcc/
* config/aarch64/aarch64-sve.md (*cond_bic<mode>_2): Extend from
SVE_FULL_I to SVE_I.
(*cond_bic<mode>_any): Likewise.

gcc/testsuite/
* g++.target/aarch64/sve/cond_bic_1.C: New test.
* g++.target/aarch64/sve/cond_bic_2.C: Likewise.
* g++.target/aarch64/sve/cond_bic_3.C: Likewise.
* g++.target/aarch64/sve/cond_bic_4.C: Likewise.
gcc/config/aarch64/aarch64-sve.md
gcc/testsuite/g++.target/aarch64/sve/cond_bic_1.C [new file with mode: 0644]
gcc/testsuite/g++.target/aarch64/sve/cond_bic_2.C [new file with mode: 0644]
gcc/testsuite/g++.target/aarch64/sve/cond_bic_3.C [new file with mode: 0644]
gcc/testsuite/g++.target/aarch64/sve/cond_bic_4.C [new file with mode: 0644]