public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5788] AArch64/testsuite: Use non-capturing parentheses with ccmp_1.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:6ab2ae97fcf10590f23c6f631ed9afe7698cd243

commit r14-5788-g6ab2ae97fcf10590f23c6f631ed9afe7698cd243
Author: Maciej W. Rozycki <macro@embecosm.com>
Date:   Thu Nov 23 16:13:58 2023 +0000

    AArch64/testsuite: Use non-capturing parentheses with ccmp_1.c
    
    Use non-capturing parentheses for the subexpressions used with
    `scan-assembler-times', to avoid a quirk with double-counting.
    
            gcc/testsuite/
            * gcc.target/aarch64/ccmp_1.c: Use non-capturing parentheses
            with `scan-assembler-times'.

Diff:
---
 gcc/testsuite/gcc.target/aarch64/ccmp_1.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/ccmp_1.c b/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
index fd38b2cfdb8..9b68c070f9d 100644
--- a/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
@@ -86,8 +86,8 @@ f13 (int a, int b)
 /* { dg-final { scan-assembler "cmp\t(.)+35" } } */
 
 /* { dg-final { scan-assembler-times "\tcmp\tw\[0-9\]+, 0" 4 } } */
-/* { dg-final { scan-assembler-times "fcmpe\t(.)+0\\.0" 2 } } */
-/* { dg-final { scan-assembler-times "fcmp\t(.)+0\\.0" 2 } } */
+/* { dg-final { scan-assembler-times "fcmpe\t(?:.)+0\\.0" 1 } } */
+/* { dg-final { scan-assembler-times "fcmp\t(?:.)+0\\.0" 1 } } */
 
 /* { dg-final { scan-assembler "adds\t" } } */
 /* { dg-final { scan-assembler-times "\tccmp\t" 11 } } */

^ 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-5788] AArch64/testsuite: Use non-capturing parentheses with ccmp_1.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).