public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5787] ARM/testsuite: Use non-capturing parentheses with pr53447-5.c
@ 2023-11-23 16:16 Maciej W. Rozycki
0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2023-11-23 16:16 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a74b9be0bb2879d87a43e78ec8db133c8f64faac
commit r14-5787-ga74b9be0bb2879d87a43e78ec8db133c8f64faac
Author: Maciej W. Rozycki <macro@embecosm.com>
Date: Thu Nov 23 16:13:58 2023 +0000
ARM/testsuite: Use non-capturing parentheses with pr53447-5.c
Use non-capturing parentheses for the subexpressions used with
`scan-assembler-times', to avoid a quirk with double-counting.
gcc/testsuite/
* gcc.target/arm/pr53447-5.c: Use non-capturing parentheses with
`scan-assembler-times'.
Diff:
---
gcc/testsuite/gcc.target/arm/pr53447-5.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/gcc/testsuite/gcc.target/arm/pr53447-5.c b/gcc/testsuite/gcc.target/arm/pr53447-5.c
index da91811710a..e4283613411 100644
--- a/gcc/testsuite/gcc.target/arm/pr53447-5.c
+++ b/gcc/testsuite/gcc.target/arm/pr53447-5.c
@@ -15,8 +15,6 @@ void foo(long long* p)
p[9] -= p[10];
}
-/* We accept neon instructions vldr.64 and vstr.64 as well.
- Note: DejaGnu counts patterns with alternatives twice,
- so actually there are only 10 loads and 9 stores. */
-/* { dg-final { scan-assembler-times "(ldrd|vldr\\.64)" 20 } } */
-/* { dg-final { scan-assembler-times "(strd|vstr\\.64)" 18 } } */
+/* We accept neon instructions vldr.64 and vstr.64 as well. */
+/* { dg-final { scan-assembler-times "(?:ldrd|vldr\\.64)" 10 } } */
+/* { dg-final { scan-assembler-times "(?:strd|vstr\\.64)" 9 } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-23 16:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-23 16:16 [gcc r14-5787] ARM/testsuite: Use non-capturing parentheses with pr53447-5.c Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).