Intel Adds "Emerald Rapids" Support To The GCC 13 Compiler
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.
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.
Add A Comment