GCC 15 Merges Support For Intel APX NF

Written by Michael Larabel in Intel on 3 June 2024 at 06:22 AM EDT. 6 Comments
INTEL
The latest feature work around Intel's Advanced Performance Extensions (APX) that is merged for the in-development GCC 15 compiler is supporting APX NF functionality for suppressing the update of status flags on arithmetic operations.

APX NF is for suppressing the updating of status flags with various operations. The APX NF is short for "No Flags" and can be used with the instructions: INC, DEC, NEG, ADD, SUB, AND, OR, XOR, SAL, SAR, SHL, SHR, ROL, ROR, SHLD, SHRD, IMUL, IDIV, MUL, DIV, LZCNT, TZCNT and POPCNT. The EVEX.NF mode for APX is part of the ISA improvements presented by the Advanced Performance Extensions and avoiding the status flags writes can be to a performance advantage.

APX NF documentation


As of today in GCC 15 Git, APX NF is merged with supporting the "No Flags" mode for the common instructions where supported.

APX NF support merged to GCC Git


Intel's compiler engineers have been very busy preparing Advanced Performance Extensions support for both the GCC and LLVM/Clang compilers. Intel APX is quite exciting with also adding more general purpose registers, optimized register state save/restores, a new 64-bit absolute direct jump instruction, and other new capabilities.
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