[PATCH v2 4/5] aarch64: Add `aarch64_comparison_operator_cc`

Karl Meakin via Sourceware Forge forge-bot@forge-test.rdfm.org
Fri Oct 17 13:32:59 GMT 2025


From: Karl Meakin <karl.meakin@arm.com>

Deduplicate the checks against `ccmode` by extracting to a new
predicate.

gcc/ChangeLog:

	* config/aarch64/aarch64.md(mov<ALLI_GPF:mode>cc): Use new predicate.
	(mov<GPF:mode><GPI:mode>cc): Likewise.
	(<neg_not_op><mode>cc): Likewise.
	* config/aarch64/predicates.md (aarch64_comparison_operator_cc):
	New predicate.
---
 gcc/config/aarch64/aarch64.md    | 24 ++++++------------------
 gcc/config/aarch64/predicates.md | 15 +++++++++++++++
 2 files changed, 21 insertions(+), 18 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0004-aarch64-Add-aarch64_comparison_operator_cc.patch
Type: text/x-patch
Size: 3529 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/test-list/attachments/20251017/7dec1d19/attachment-0001.bin>


More information about the Test-list mailing list