]> git.ipfire.org Git - thirdparty/gcc.git/commit
AArch64: convert several predicate patterns to new compact syntax
authorTamar Christina <tamar.christina@arm.com>
Wed, 5 Jun 2024 18:30:39 +0000 (19:30 +0100)
committerTamar Christina <tamar.christina@arm.com>
Wed, 5 Jun 2024 18:30:39 +0000 (19:30 +0100)
commitfd4898891ae0c73d6b7aa433cd1ef4539aaa2457
tree2158ad5f6b6031c96e968c2f4d1f60844f771174
parent804c0f35a6b1d75bafc550b4b42155744d77f990
AArch64: convert several predicate patterns to new compact syntax

This converts the single alternative patterns to the new compact syntax such
that when I add the new alternatives it's clearer what's being changed.

Note that this will spew out a bunch of warnings from geninsn as it'll warn that
@ is useless for a single alternative pattern.  These are not fatal so won't
break the build and are only temporary.

No change in functionality is expected with this patch.

gcc/ChangeLog:

* config/aarch64/aarch64-sve.md (and<mode>3,
@aarch64_pred_<optab><mode>_z, *<optab><mode>3_cc,
*<optab><mode>3_ptest, aarch64_pred_<nlogical><mode>_z,
*<nlogical><mode>3_cc, *<nlogical><mode>3_ptest,
aarch64_pred_<logical_nn><mode>_z, *<logical_nn><mode>3_cc,
*<logical_nn><mode>3_ptest, *cmp<cmp_op><mode>_ptest,
@aarch64_pred_cmp<cmp_op><mode>_wide,
*aarch64_pred_cmp<cmp_op><mode>_wide_cc,
*aarch64_pred_cmp<cmp_op><mode>_wide_ptest, *aarch64_brk<brk_op>_cc,
*aarch64_brk<brk_op>_ptest, @aarch64_brk<brk_op>,
*aarch64_brk<brk_op>_cc, *aarch64_brk<brk_op>_ptest, aarch64_rdffr_z,
*aarch64_rdffr_z_ptest, *aarch64_rdffr_ptest, *aarch64_rdffr_z_cc,
*aarch64_rdffr_cc): Convert to compact syntax.
* config/aarch64/aarch64-sve2.md
(@aarch64_pred_<sve_int_op><mode>): Likewise.
gcc/config/aarch64/aarch64-sve.md
gcc/config/aarch64/aarch64-sve2.md