]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add support for -mcpu=grace
authorKyrylo Tkachov <ktkachov@nvidia.com>
Wed, 19 Jun 2024 09:26:02 +0000 (14:56 +0530)
committerKyrylo Tkachov <ktkachov@nvidia.com>
Thu, 27 Jun 2024 08:26:52 +0000 (10:26 +0200)
commit25cb13649b1765a21f21907f2d7a0aa2135accb5
treed91e977a135c034d78f4854f191ee1172415e967
parent4f8dc81c175513132992a43e033404962c80b408
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