]> git.ipfire.org Git - thirdparty/gcc.git/commit
AArch64: add new tuning param and attribute for enabling conditional early clobber
authorTamar Christina <tamar.christina@arm.com>
Wed, 5 Jun 2024 18:31:11 +0000 (19:31 +0100)
committerTamar Christina <tamar.christina@arm.com>
Wed, 5 Jun 2024 18:31:11 +0000 (19:31 +0100)
commit35f17c680ca650f8658994f857358e5a529c0b93
tree511a1c7391458205ba5d91d36d7aaf412d3fc71c
parentfd4898891ae0c73d6b7aa433cd1ef4539aaa2457
AArch64: add new tuning param and attribute for enabling conditional early clobber

This adds a new tuning parameter AARCH64_EXTRA_TUNE_AVOID_PRED_RMW for AArch64 to
allow us to conditionally enable the early clobber alternatives based on the
tuning models.

gcc/ChangeLog:

* config/aarch64/aarch64-tuning-flags.def
(AVOID_PRED_RMW): New.
* config/aarch64/aarch64.h (TARGET_SVE_PRED_CLOBBER): New.
* config/aarch64/aarch64.md (pred_clobber): New.
(arch_enabled): Use it.
gcc/config/aarch64/aarch64-tuning-flags.def
gcc/config/aarch64/aarch64.h
gcc/config/aarch64/aarch64.md