Get the latest tech news

GCC 15 Adds NVIDIA Grace CPU Support With "-mcpu=grace" Option


NVIDIA has upstreamed a patch to the GCC 15 compiler for adding the '-mcpu=grace' option to make it easier to target NVIDIA Grace AArch64 CPU cores from this open-source compiler.

This patch in GCC 15 Git as of today now allows for enabling all of the NVIDIA Grace CPU ISA capabilities. So the GCC compiler has already worked on these AArch64 cores, but without any explicit "-mcpu=" option to precisely match the processor capabilities and thus developers/users needing to resort to the more generic -mcpu=neoverse-v2 or rely on manually passing all the compiler feature options. For those that missed my previous (remote) testing of the Grace CPUs, see the GH200 articles for benchmarks and more.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of option

option

Photo of gcc

gcc

Photo of -mcpu =

-mcpu =

Related news:

News photo

How GCC and Clang handle statically known undefined behaviour

News photo

GCC 12.4 Compiler Released With 84+ Bugs Fixed

News photo

Zhaoxin "Shijidadao" x86_64 CPU Support Merged Into The GCC 15 Compiler