diff mbox series

Committed: Tighten regexps in gcc.target/riscv/_Float16-zhinx-1.c .

Message ID CAMqJFCrSp3DKxH3cz5VrKnN73A3mRp0j8n8zwz2PVfJTsjar=Q@mail.gmail.com
State New
Headers show
Series Committed: Tighten regexps in gcc.target/riscv/_Float16-zhinx-1.c . | expand

Commit Message

Joern Rennecke July 18, 2023, 4:05 a.m. UTC
Committed as obvious.
commit 6bab2772dbc42ce7a1b29b03ae84e6e434e23c4e
Author: Joern Rennecke <joern.rennecke@embecosm.com>
Date:   Tue Jul 18 04:28:55 2023 +0100

    Tighten regexps in gcc.target/riscv/_Float16-zhinx-1.c .
    
    The original "mv" regexp would match
    .ascii  "\254\254\375\002e2N6\013\231,\354NDmvVP0]\304\312F!biZ\025\211"
    in the .gnu.lto_foo1.0.32528183c9deec41 section.
    
    gcc/testsuite/
            * gcc.target/riscv/_Float16-zhinx-1.c: Tighten regexps.
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/riscv/_Float16-zhinx-1.c b/gcc/testsuite/gcc.target/riscv/_Float16-zhinx-1.c
index 90172b57e05..67826171bfb 100644
--- a/gcc/testsuite/gcc.target/riscv/_Float16-zhinx-1.c
+++ b/gcc/testsuite/gcc.target/riscv/_Float16-zhinx-1.c
@@ -6,5 +6,5 @@  _Float16 foo1 (_Float16 a, _Float16 b)
     return b;
 }
 
-/* { dg-final { scan-assembler-not "fmv.h" } } */
-/* { dg-final { scan-assembler-times "mv" 1 } } */
+/* { dg-final { scan-assembler-not {\mfmv\.h\M} } } */
+/* { dg-final { scan-assembler-times {\mmv\M} 1 } } */