[gcc r14-6828] RISC-V: Add one more ASM check in PR113112-1.c

Pan Li panli@gcc.gnu.org
Mon Dec 25 06:37:04 GMT 2023


https://gcc.gnu.org/g:0beeddd6b1b1cb41104c4df925323e8fc0437ba8

commit r14-6828-g0beeddd6b1b1cb41104c4df925323e8fc0437ba8
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Mon Dec 25 14:19:52 2023 +0800

    RISC-V: Add one more ASM check in PR113112-1.c
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c: Add one more ASM check.

Diff:
---
 gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c b/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c
index a44a1c041af..31b41ba707e 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c
@@ -20,6 +20,7 @@ foo (int n){
   return 0;
 }
 
+/* { dg-final { scan-assembler {e32,m4} } } */
 /* { dg-final { scan-assembler-not {jr} } } */
 /* { dg-final { scan-assembler-times {ret} 1 } } */
 /* { dg-final { scan-tree-dump "Maximum lmul = 8" "vect" } } */


More information about the Gcc-cvs mailing list