https://gcc.gnu.org/g:e7dcba03064011c65f3a87c1e89bdd281909b279

commit r17-445-ge7dcba03064011c65f3a87c1e89bdd281909b279
Author: Tamar Christina <[email protected]>
Date:   Mon May 11 15:58:52 2026 +0100

    AArch64: Turn on GPR narrowing pass by default
    
    This turns on the GPR narrowing pass for all AArch64 targets.
    
    gcc/ChangeLog:
    
            * config/aarch64/aarch64-tuning-flags.def
            (AARCH64_EXTRA_TUNE_BASE): Add AARCH64_EXTRA_TUNE_NARROW_GP_WRITES.

Diff:
---
 gcc/config/aarch64/aarch64-tuning-flags.def | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/aarch64-tuning-flags.def 
b/gcc/config/aarch64/aarch64-tuning-flags.def
index 882daa4b4312..058dadecccaa 100644
--- a/gcc/config/aarch64/aarch64-tuning-flags.def
+++ b/gcc/config/aarch64/aarch64-tuning-flags.def
@@ -67,7 +67,8 @@ AARCH64_EXTRA_TUNING_OPTION ("cheap_fpmr_write", 
CHEAP_FPMR_WRITE)
 
 /* Baseline tuning settings suitable for all modern cores.  */
 #define AARCH64_EXTRA_TUNE_BASE (AARCH64_EXTRA_TUNE_CHEAP_SHIFT_EXTEND \
-                                | AARCH64_EXTRA_TUNE_FULLY_PIPELINED_FMA)
+                                | AARCH64_EXTRA_TUNE_FULLY_PIPELINED_FMA \
+                                | AARCH64_EXTRA_TUNE_NARROW_GP_WRITES)
 
 /* Enables dispatch scheduling.  */
 AARCH64_EXTRA_TUNING_OPTION ("dispatch_sched", DISPATCH_SCHED)

Reply via email to