mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
RISC-V: Fix asm checks regression due to recent middle-end change
The recent middle-end change result in some asm check failures. This patch would like to fix the asm check by adjust the times. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/vls/shift-1.c: Fix asm check count. * gcc.target/riscv/rvv/autovec/vls/shift-2.c: Ditto. * gcc.target/riscv/rvv/autovec/vls/shift-3.c: Ditto. Signed-off-by: Pan Li <pan2.li@intel.com>
This commit is contained in:
parent
3359942417
commit
de4c9a27ba
@ -53,5 +53,5 @@ DEF_OP_VV (shift, 128, int64_t, >>)
|
||||
DEF_OP_VV (shift, 256, int64_t, >>)
|
||||
DEF_OP_VV (shift, 512, int64_t, >>)
|
||||
|
||||
/* { dg-final { scan-assembler-times {vsra\.vv\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 39 } } */
|
||||
/* { dg-final { scan-assembler-times {vsra\.vv\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 42 } } */
|
||||
/* { dg-final { scan-assembler-not {csrr} } } */
|
||||
|
@ -53,5 +53,5 @@ DEF_OP_VV (shift, 128, uint64_t, >>)
|
||||
DEF_OP_VV (shift, 256, uint64_t, >>)
|
||||
DEF_OP_VV (shift, 512, uint64_t, >>)
|
||||
|
||||
/* { dg-final { scan-assembler-times {vsrl\.vv\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 39 } } */
|
||||
/* { dg-final { scan-assembler-times {vsrl\.vv\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 42 } } */
|
||||
/* { dg-final { scan-assembler-not {csrr} } } */
|
||||
|
@ -53,5 +53,5 @@ DEF_OP_VV (shift, 128, int64_t, <<)
|
||||
DEF_OP_VV (shift, 256, int64_t, <<)
|
||||
DEF_OP_VV (shift, 512, int64_t, <<)
|
||||
|
||||
/* { dg-final { scan-assembler-times {vsll\.vv\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 46 } } */
|
||||
/* { dg-final { scan-assembler-times {vsll\.vv\s+v[0-9]+,\s*v[0-9]+,\s*v[0-9]+} 47 } } */
|
||||
/* { dg-final { scan-assembler-not {csrr} } } */
|
||||
|
Loading…
Reference in New Issue
Block a user