GNU Assembler Patches Sent Out For Optimizing The Intel Jump Conditional Code Erratum

Written by Michael Larabel in GNU on 13 November 2019 at 02:40 AM EST. 16 Comments
GNU
Now that Intel lifted its embargo on the "Jump Conditional Code" erratum affecting Skylake through Cascade Lake processors, while Intel's own Clear Linux was first to carry these patches they have now been sent out on the Binutils mailing list for trying to get the JCC optimization patches into the upstream Binutils/GAS code-base.

Well known Intel compiler toolchain expert H.J. Lu sent out the five patches on Tuesday for optimizing around the JCC Erratum. The GNU Assembler (GAS) patches aim to mitigate the performance by aligning branches within 32-byte boundaries for various instructions. The behavior is activated via the -mbranches-within-32B-boundaries command line switch.

The patches in total are over three thousand lines, including the addition of new test cases. If these patches are punctually accepted into the code-base, they will become part of the GNU Binutils 2.34 release in 2020 aside from getting picked up by the likes of Clear Linux and any other distributions wanting to deliver this mitigated support early to help offset the performance impact of Intel's new microcode updates.

For those wondering about the behavior if running a patched GNU Assembler with the 32B-boundaries option, I'll have those results out in the coming days along with more JCC Erratum benchmarks. If you missed the tests from yesterday see Benchmarks Of JCC Erratum: A New Intel CPU Bug With Performance Implications On Skylake Through Cascade Lake and The Gaming Performance Impact From The Intel JCC Erratum Microcode Update.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week