]> git.ipfire.org Git - thirdparty/gcc.git/commit
AArch64: Add SME LUTv2 architecture extension
authorKarl Meakin <karl.meakin@arm.com>
Thu, 18 Sep 2025 14:15:45 +0000 (15:15 +0100)
committerTamar Christina <tamar.christina@arm.com>
Thu, 18 Sep 2025 14:15:45 +0000 (15:15 +0100)
commit45ddf553534e2235545e0e9019dfe3d58eb25612
tree793d8b1eef3ba8323febd6c08179d63369346c4b
parent80e85c627a38e2206a970cc1630d958e45cdfdf5
AArch64: Add SME LUTv2 architecture extension

Add the SME LUTv2 architecture extension. Users can enable the extension
by adding `+sme-lutv2` to `-march` or `-mcpu`, and test for its presence
with the `__ARM_FEATURE_SME_LUTv2` macro. The intrinsics will be added
in the next commit.

gcc/ChangeLog:

* config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): Conditonally define
`__ARM_FEATURE_SME_LUTv2" macro.
* config/aarch64/aarch64-option-extensions.def (AARCH64_OPT_EXTENSION("sme-lutv2")): New
optional architecture extension.
* config/aarch64/aarch64.h (TARGET_SME_LUTv2): New macro.
* doc/invoke.texi: Document `+sme-lutv2` flag.
gcc/config/aarch64/aarch64-c.cc
gcc/config/aarch64/aarch64-option-extensions.def
gcc/config/aarch64/aarch64.h
gcc/doc/invoke.texi