]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: testsuite: Fix do-assemble tests for SME
authorSpencer Abson <spencer.abson@arm.com>
Thu, 31 Jul 2025 13:53:08 +0000 (13:53 +0000)
committerSpencer Abson <spencer.abson@arm.com>
Thu, 31 Jul 2025 14:21:07 +0000 (14:21 +0000)
commit9e84a4552dd90ad2d15bd56ea168d945b4b71b98
treeef20d6849e542343e95ed4a6650767a0386cfa94
parent121235441d072c2f5fd4d2cc0c342d45d6ac481f
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.

gcc/testsuite/ChangeLog:

* lib/target-supports.exp: Split the extensions that require SME into
a separate set, and use armv9-a as their baseline.

(cherry picked from commit 9793ffce9332349441b5c83f8c1809ac4264a0f2)
gcc/testsuite/lib/target-supports.exp