[gcc r16-794] [testsuite] [aarch64] match alt cache clear names in sme nonlocal_goto tests
Alexandre Oliva
aoliva@gcc.gnu.org
Wed May 21 09:28:21 GMT 2025
https://gcc.gnu.org/g:4b75decf5297838ef9ddfb842da0117adbe3f975
commit r16-794-g4b75decf5297838ef9ddfb842da0117adbe3f975
Author: Alexandre Oliva <oliva@adacore.com>
Date: Wed May 21 06:20:22 2025 -0300
[testsuite] [aarch64] match alt cache clear names in sme nonlocal_goto tests
vxworks calls cacheTextUpdate instead of __clear_cache.
Adjust the sme/nonlocal_goto_*.c tests for inexact matches.
for gcc/testsuite/ChangeLog
* gcc.target/aarch64/sme/nonlocal_goto_1.c: Match
vxworks cache-clearing function as well.
* gcc.target/aarch64/sme/nonlocal_goto_2.c: Likewise.
* gcc.target/aarch64/sme/nonlocal_goto_3.c: Likewise.
Diff:
---
gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_1.c | 2 +-
gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_2.c | 2 +-
gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_3.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_1.c b/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_1.c
index 4e3869fcc9ee..572c17a06d7c 100644
--- a/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_1.c
@@ -13,7 +13,7 @@ void run(void (*)());
** ldr x16, \1
** tbz x16, 0, .*
** smstop sm
-** bl __clear_cache
+** bl [^\n]*[cC]ache[^\n]*
** ldr x16, \1
** tbz x16, 0, .*
** smstart sm
diff --git a/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_2.c b/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_2.c
index 2a2db72c3a08..721a2b789863 100644
--- a/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_2.c
+++ b/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_2.c
@@ -7,7 +7,7 @@ void run(void (*)());
** foo:
** ...
** smstop sm
-** bl __clear_cache
+** bl [^\n]*[cC]ache[^\n]*
** smstart sm
** add x0, .*
** smstop sm
diff --git a/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_3.c b/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_3.c
index 022b04052c54..25db9283b169 100644
--- a/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_3.c
+++ b/gcc/testsuite/gcc.target/aarch64/sme/nonlocal_goto_3.c
@@ -9,7 +9,7 @@ void run(void (*)());
** smstart sm
** ...
** smstop sm
-** bl __clear_cache
+** bl [^\n]*[cC]ache[^\n]*
** smstart sm
** add x0, .*
** smstop sm
More information about the Gcc-cvs
mailing list