GNU Binutils Prepares For Intel FRED/LKGS

Written by Michael Larabel in GNU on 23 May 2023 at 05:43 AM EDT. 6 Comments
The GNU Assembler "Gas" as part of the GNU Binutils collection has landed support for Intel FRED and LKGS instructions.

Intel's Flexible Return and Event Delivery (FRED) overhauls how transitions are to happen between privilege levels / CPU rings. FRED aims to lower latency transitions between privilege levels. Developed as part of FRED but can also be used independent of FRED is the LKGS instruction for managing the state of the GS segment register in a more fleixble manner.

The Linux kernel has been seeing preparations for FRED and LKGS while now Binutils/Gas as part of the GNU compiler toolchain has seen its additions for handling these new instructions coming with forthcoming Intel processors.

Complementing the LKGS support in Linux 6.3 is now having LKGS instruction support and FRED instructions within Binutils Git. Intel engineer Jun Zhang landed the necessary changes on the assembler side. In turn this will be part of the Binutils 2.41 release due out in August. This forthcoming release also has AMX-COMPLEX support and other additions for future Intel CPUs.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week