diff options
author | Spencer Abson <spencer.abson@arm.com> | 2025-07-31 10:01:01 +0000 |
---|---|---|
committer | Spencer Abson <spencer.abson@arm.com> | 2025-07-31 10:08:18 +0000 |
commit | 9793ffce9332349441b5c83f8c1809ac4264a0f2 (patch) | |
tree | f9862e90169e9eccfaaedcada3376a24f68c6ac1 /gcc/rust/parse/rust-parse-impl.h | |
parent | 6e6cc1deb9bf7ca7deac066f26c134b57ee50587 (diff) | |
download | gcc-9793ffce9332349441b5c83f8c1809ac4264a0f2.zip gcc-9793ffce9332349441b5c83f8c1809ac4264a0f2.tar.gz gcc-9793ffce9332349441b5c83f8c1809ac4264a0f2.tar.bz2 |
aarch64: testsuite: Fix do-assemble tests for SME
GCC doesn't support SME without SVE2, so the -march=armv8-a+<ext> argument to
check_no_compiler_messages causes aarch64_asm_<ext>_ok to return zero for SME
and any <ext> that implies it. This patch changes the baseline architecure to
armv9-a for these extensions.
The tests for ACLE SME2 intrinsics that require FEAT_FAMINMAX were configured
to do-assemble if aarch64_asm_sme2_ok returned 1 (by default), but they really
need to check if +faminmax is supported too. The fix above exposed this, so
we also fix the do-assemble/do-compile choice for those tests here.
gcc/testsuite/ChangeLog:
* gcc.target/aarch64/sme2/acle-asm/amax_f16_x2.c: Gate do-assemble on
assembler support for +faminmax and +sme2.
* gcc.target/aarch64/sme2/acle-asm/amax_f16_x4.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amax_f32_x2.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amax_f32_x4.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amax_f64_x2.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amax_f64_x4.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amin_f16_x2.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amin_f16_x4.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amin_f32_x2.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amin_f32_x4.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amin_f64_x2.c: Likewise.
* gcc.target/aarch64/sme2/acle-asm/amin_f64_x4.c: Likewise.
* lib/target-supports.exp: Split the extensions that require SME into
a separate set, and use armv9-a as their baseline.
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions