Merged today for the LLVM/Clang compiler is -mcpu=gb10 support for catering to NVIDIA’s forthcoming Grace Blackwell GB10 Superchip.
The NVIDIA GB10 superchip coming in devices like the ASUS Ascent GX10 AI supercomputer, DGX Spark, and other devices for developers / data scientists / researchers now has optimized support available within the LLVM Clang C/C++ compiler.
This patch was merged to LLVM Git today for LLVM/Clang 21 in enabling -mcpu=gb10 support for the NVIDIA GB10 Grace Blackwell Superchip. The patch sums up:
[AArch64] Add support for -mcpu=gb10. (#146515)
This patch adds support for -mcpu=gb10 (NVIDIA GB10). This is a big.LITTLE cluster of Cortex-X925 and Cortex-A725 cores. The appropriate MIDR numbers are added to detect them in -mcpu=native.
We did not add an -mcpu=cortex-x925.cortex-a725 option because GB10 does include the crypto instructions which we want on by default, and the current convention is to not enable such extensions for Arm Cortex cores in -mcpu where they are optional in the IP.
The NVIDIA GB10 consists of 20 Arm cores between ten Cortex-X925 cores and ten smaller Cortex-A725 cores.
LLVM 21 stable release is expected around September.