]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: sve: Rename aarch64_bic to standard pattern, andn
authorAndrew Pinski <quic_apinski@quicinc.com>
Mon, 22 Jul 2024 22:39:37 +0000 (15:39 -0700)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 28 Jul 2024 17:06:01 +0000 (19:06 +0200)
commit9699dc4b4292a634e18fad2f323dcd34c292171b
treeff0cc9f752fbf68359d7421326b7c2712092206f
parentecbfaf0056d5932634e0bf15c60d2790a77f7016
aarch64: sve: Rename aarch64_bic to standard pattern, andn

Now there is an optab for bic, andn since r15-1890-gf379596e0ba99d.
This moves aarch64_bic for sve over to use it instead.

Note unlike the simd bic patterns, the operands were already
in the order that was expected for the optab so no swapping
was needed.

Built and tested on aarch64-linux-gnu with no regressions.

gcc/ChangeLog:

* config/aarch64/aarch64-sve-builtins-base.cc (svbic_impl::expand): Update
to use andn optab instead of using code_for_aarch64_bic.
* config/aarch64/aarch64-sve.md (@aarch64_bic<mode>): Rename to ...
(andn<mode>3): This.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/config/aarch64/aarch64-sve-builtins-base.cc
gcc/config/aarch64/aarch64-sve.md