diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-12-05 10:11:23 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-12-05 10:11:23 +0000 |
commit | 7e04bd1fadf3410c3d24b56f650a52ff53d01a3c (patch) | |
tree | 28925aca580cc86943ee78c5b54b060afcdcef6f /gcc/gimple-loop-interchange.cc | |
parent | 2c9a54b4238308b127c3b60b01a591363131e7db (diff) | |
download | gcc-7e04bd1fadf3410c3d24b56f650a52ff53d01a3c.zip gcc-7e04bd1fadf3410c3d24b56f650a52ff53d01a3c.tar.gz gcc-7e04bd1fadf3410c3d24b56f650a52ff53d01a3c.tar.bz2 |
aarch64: Add +sme
This patch adds the +sme ISA feature and requires it to be present
when compiling arm_streaming code. (arm_streaming_compatible code
does not necessarily assume the presence of SME. It just has to
work when SME is present and streaming mode is enabled.)
gcc/
* doc/invoke.texi: Document SME.
* doc/sourcebuild.texi: Document aarch64_sve.
* config/aarch64/aarch64-option-extensions.def (sme): Define.
* config/aarch64/aarch64.h (AARCH64_ISA_SME): New macro.
(TARGET_SME): Likewise.
* config/aarch64/aarch64.cc (aarch64_override_options_internal):
Ensure that SME is present when compiling streaming code.
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_aarch64_sme): New
target test.
* gcc.target/aarch64/sme/aarch64-sme.exp: Force SME to be enabled
if it isn't by default.
* g++.target/aarch64/sme/aarch64-sme.exp: Likewise.
* gcc.target/aarch64/sme/streaming_mode_3.c: New test.
Diffstat (limited to 'gcc/gimple-loop-interchange.cc')
0 files changed, 0 insertions, 0 deletions