]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Add one more ASM check in PR113112-1.c
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Mon, 25 Dec 2023 06:19:52 +0000 (14:19 +0800)
committerPan Li <pan2.li@intel.com>
Mon, 25 Dec 2023 06:36:44 +0000 (14:36 +0800)
gcc/testsuite/ChangeLog:

* gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c: Add one more ASM check.

gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/pr113112-1.c

index a44a1c041af8931141582c38cc77a46ae6ef651c..31b41ba707e63558638d46531d8c16ca41ea7238 100644 (file)
@@ -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" } } */