News: 0001532382

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

GCC 15 Now Enables AArch64 Early Scheduling For -O3/-Ofast Modes

([Arm] 107 Minutes Ago Early Schedule)


The GCC "-fschedule-insns" option allows for reordering of instructions to eliminate execution stalls when required data is unavailable. This early scheduling option can be beneficial for systems with slow floating point performance or costly memory load instructions. With the upcoming GCC 15 release, AArch64 will be enabling this early scheduling optimization at the -O3 optimization level and higher.

The early scheduling option had been disabled at all optimization levels on AArch64 (and x86) since it can be costly in terms of compile-time overhead. But with the upcoming GCC 15.1 release, this early scheduling is now being enabled for -O3 and higher (-Ofast).

The [1]commit making the change on Thursday explained:

"AArch64: Enable early scheduling for -O3 and higher

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."

The change to the GNU Compiler Collection was made by longtime Arm engineer Wilco Dijkstra.

The [2]GCC 15 stable compiler release should be out within the next month or two.



[1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f870302515d5fcf7355f0108c3ead0038ff326fd

[2] https://www.phoronix.com/search/GCC+15



vladpetric

spicfoo

vladpetric

<knghtbrd> Solver_: add users who should be messing with sound to group
audio.. Make sure the devices are all group audio (ls -l
/dev/dsp will give you the fastest indication if it's probably
set right) and build a kernel with sound support for your card
<knghtbrd> OR optionally install alsa source and build modules for that
with make-kpkg
<knghtbrd> OR (not recommended) get and install evil OSS/Linux evil
non-free evil binary only evil drivers---but those are evil.
And did I mention that it's not recommended?