]> git.ipfire.org Git - thirdparty/gcc.git/commit
[aarch64] Add support for -mcpu=grace
authorKyrylo Tkachov <ktkachov@nvidia.com>
Wed, 26 Jun 2024 07:42:11 +0000 (09:42 +0200)
committerKyrylo Tkachov <ktkachov@nvidia.com>
Wed, 26 Jun 2024 07:46:17 +0000 (09:46 +0200)
commit7fada36c77829a197f63dde0d48ca33139105202
tree15b63b44c5d9a0a6d0814bfef99ae40484a132c9
parentf4e847ba69a36d433d68cc2b41068cd59ffa1cd3
[aarch64] Add support for -mcpu=grace

This adds support for the NVIDIA Grace CPU to aarch64.
We reuse the tuning decisions for the Neoverse V2 core, but include a
number of architecture features that are not enabled by default in
-mcpu=neoverse-v2.

This allows Grace users to more simply target the CPU with -mcpu=grace
rather than remembering what extensions to tag on top of
-mcpu=neoverse-v2.

Bootstrapped and tested on aarch64-none-linux-gnu.
gcc/

* config/aarch64/aarch64-cores.def (grace): New entry.
* config/aarch64/aarch64-tune.md: Regenerate.
* doc/invoke.texi (AArch64 Options): Document the above.

Signed-off-by: Kyrylo Tkachov <ktkachov@nvidia.com>
gcc/config/aarch64/aarch64-cores.def
gcc/config/aarch64/aarch64-tune.md
gcc/doc/invoke.texi