Intel Preps GCC Compiler For New AMX & ISA Features Ahead Of Diamond Rapids

Written by Michael Larabel in Intel on 22 October 2024 at 08:00 AM EDT. 8 Comments
INTEL
Intel's compiler engineers today posted a number of feature patches for the GNU Compiler Collection (GCC) for enabling new ISA features to be found with next-generation Xeon "Diamond Rapids" processors. Excitingly a number of new Advanced Matrix Extensions (AMX) features are coming with next-gen Intel Xeon.

The patches posted today by Intel's Haochen Jiang for the GCC compiler are SM4 EVEX instructions, AMX-AVX512, AMX-TF32, AMX-TRANSPOSE, AMX-FP8, MOVRS, and AMX-MOVRS. All of these are now confirmed features with Diamond Rapids processors and also reflected within new ISA programming reference guides.

Diamond Rapids ISA features


Diamond Rapids is bringing a number of additions particularly around AMX that has already proven quite beneficial for various AI workloads since its introduction back in Sapphire Rapids. With Diamond Rapids, AMX is seeing a number of new capabilities added, including for FP8 tiles and for converting FP32 elements to BF16, among other additions. The new MOVRS instructions are for move read-shared value.

This set of 7 patches posted this morning plumb in the new ISA features for the additional AMX instructions, SM4 EVEX extension, and MOVRS/PREFETCHRST2. The new ISA features for Diamond Rapids are documented in this updated PRM.

Intel's plan is for getting these patches plus a "-march=diamondrapids" target added in time for the GCC 15 compiler debuting as stable in early 2025. Kudos to Intel for their continued timely upstreaming of new CPU ISA features and new CPU family targets well in advance of product launches so that there can be stable, upstream compiler support for new CPUs ahead of the processors actually shipping to customers. Intel does a great job here with their timely upstreaming open-source work. Over in kernel space the Intel software engineers have also been busy adding in a variety of other new features and IDs needed for Xeon Diamond Rapids.

Intel Diamond Rapids as the successor to Xeon 6 Granite Rapids is expected to be out around late 2025.
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