Intel Adds "Emerald Rapids" Support To The GCC 13 Compiler

Written by Michael Larabel in Intel on 4 January 2023 at 06:19 AM EST. Add A Comment
Since GCC 11 there has been support for AMX and the upcoming Sapphire Rapids CPU features, which has been further improved in the open-source compiler over the past two years. GCC 13 meanwhile as the next GNU Compiler Collection release is bringing Meteor Lake and Sierra Forest, Grand Ridge, and Granite Rapids. Basic enablement of Intel's Emerald Rapids meanwhile was merged yesterday for GCC 13 too.

Emerald Rapids is expected as the successor to 4th Gen Xeon Scalable "Sapphire Rapids" processors that are officially launching next week as Intel previously confirmed. Meanwhile Granite Rapids and Sierra Forest are successors to Emerald Rapids. With GCC 13 already having Granite Rapids and Sierra Forest targets added, it was presumably just an oversight that Emerald Rapids wasn't added sooner considering that it will be here sooner and is just a small upgrade over Sapphire Rapids.

With the initial Emerald Rapids GCC support that was merged yesterday it just adds the new model ID for Emerald Rapids (0xcf) for easy detection and then sets Emerald Rapids to follow the same compiler paths as Sapphire Rapids.

At least for now there are no indications from the GCC patch of any instruction differences over Sapphire Rapids or any other changes (or tuning) from the compiler side, but we'll see if any follow-up patches come over the weeks/months ahead that set "-march=emeraldrapids" further apart from the -march=sapphirerapids targeting.

GCC 13 is the next annual major feature release for this open-source compiler that is expected to debut in the usual March~April timeframe. Besides enabling the various new Intel CPU cores expected over the next two years, on the AMD side it adds (belated) support for Zen 4 with the "znver4" target.
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