]> git.ipfire.org Git - thirdparty/gcc.git/commit
AArch64: Enable early scheduling for -O3 and higher (PR118351)
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Mon, 3 Mar 2025 16:47:32 +0000 (16:47 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Thu, 6 Mar 2025 17:37:07 +0000 (17:37 +0000)
commitf870302515d5fcf7355f0108c3ead0038ff326fd
treedfd4cf54c1e1d6400a46e3dba4b32ebff0e9c2d1
parent179e01085b0aed111ef1f7908c4b87c800f880e9
AArch64: Enable early scheduling for -O3 and higher (PR118351)

Enable the early scheduler on AArch64 for O3/Ofast.  This means GCC15 benefits
from much faster build times with -O2, but avoids the regressions in lbm which
is very sensitive to minor scheduling changes due to long FMA chains.

gcc:
PR target/118351
PR other/38768
* common/config/aarch64/aarch64-common.cc: Enable early scheduling with
-O3 and higher.
* doc/invoke.texi (-fschedule-insns): Update comment.
gcc/common/config/aarch64/aarch64-common.cc
gcc/doc/invoke.texi