public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6275] RISC-V: Make the test condition more strict for gcc.target/riscv/_Float16-zhinxmin-1.c
@ 2023-02-22 12:20 Kito Cheng
  0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2023-02-22 12:20 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c57fbdd6f11de2916fd0df6553e35117d3d12c5a

commit r13-6275-gc57fbdd6f11de2916fd0df6553e35117d3d12c5a
Author: Kito Cheng <kito.cheng@sifive.com>
Date:   Wed Feb 22 17:16:20 2023 +0800

    RISC-V: Make the test condition more strict for gcc.target/riscv/_Float16-zhinxmin-1.c
    
    LTO might generate random string for the section name, which might contain `mv`,
    then might cause random false alarm.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/riscv/_Float16-zhinxmin-1.c: Tweak test
            condition.

Diff:
---
 gcc/testsuite/gcc.target/riscv/_Float16-zhinxmin-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/riscv/_Float16-zhinxmin-1.c b/gcc/testsuite/gcc.target/riscv/_Float16-zhinxmin-1.c
index 0070ebf616c..fa049db5b93 100644
--- a/gcc/testsuite/gcc.target/riscv/_Float16-zhinxmin-1.c
+++ b/gcc/testsuite/gcc.target/riscv/_Float16-zhinxmin-1.c
@@ -5,6 +5,6 @@ _Float16 foo1 (_Float16 a, _Float16 b)
 {
     /* { dg-final { scan-assembler-not "fmv.h" } } */
     /* { dg-final { scan-assembler-not "fmv.s" } } */
-    /* { dg-final { scan-assembler-times "mv" 1 } } */
+    /* { dg-final { scan-assembler-times "mv\ta0" 1 } } */
     return b;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-22 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22 12:20 [gcc r13-6275] RISC-V: Make the test condition more strict for gcc.target/riscv/_Float16-zhinxmin-1.c Kito Cheng

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).