]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Fix init-2.c assembly check
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Tue, 14 Nov 2023 03:21:16 +0000 (11:21 +0800)
committerPan Li <pan2.li@intel.com>
Tue, 14 Nov 2023 03:22:16 +0000 (11:22 +0800)
Notice the assembly check of init-2.c is wrong.

Committed.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/vls/init-2.c: Fix vid.v check.

gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/init-2.c

index f27c395441b25adb135688cc07e510f4083789bd..ae31e227ad1d53be18a192f79652a7535882c460 100644 (file)
@@ -45,4 +45,4 @@ DEF_INIT (v128uhi, uint16_t, 128, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
          113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
          127)
 
-/* { dg-final { scan-assembler-times {vid\.vx} 494 } } */
+/* { dg-final { scan-assembler-times {vid\.v} 14 } } */