diff options
author | Maciej W. Rozycki <macro@embecosm.com> | 2023-11-23 16:13:58 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@embecosm.com> | 2023-11-23 16:13:58 +0000 |
commit | 6ab2ae97fcf10590f23c6f631ed9afe7698cd243 (patch) | |
tree | 68a54ebce124efcd750fe3fffb595e46d5249c1f | |
parent | a74b9be0bb2879d87a43e78ec8db133c8f64faac (diff) | |
download | gcc-6ab2ae97fcf10590f23c6f631ed9afe7698cd243.zip gcc-6ab2ae97fcf10590f23c6f631ed9afe7698cd243.tar.gz gcc-6ab2ae97fcf10590f23c6f631ed9afe7698cd243.tar.bz2 |
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'.
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/ccmp_1.c | 4 |
1 files 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 fd38b2c..9b68c07 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 } } */ |