mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
RISC-V: Reconcile the existing test for vdivu.vx combine
Some existing vdiv related test need some adjust for the asm check due to cost model. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv-nofm.c: Adjust the asm check for vdivu. * gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c: Ditto. * gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv-nofm.c: Ditto. * gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c: Ditto. Signed-off-by: Pan Li <pan2.li@intel.com>
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
/* { dg-final { scan-assembler-times {\tvdiv\.vv} 8 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvdiv\.vx} } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 5 } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vx} 3 } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 8 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvdivu\.vx} } } */
|
||||
|
||||
/* { dg-final { scan-assembler-times {\tvfdiv\.vv} 6 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvfdiv\.vf} } } */
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
/* { dg-final { scan-assembler-times {\tvdiv\.vv} 8 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvdiv\.vx} } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 5 } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vx} 3 } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 8 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvdivu\.vx} } } */
|
||||
|
||||
/* Division by constant is done by calculating a reciprocal and
|
||||
then multiplying. Hence we do not expect 6 vfdivs. */
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
/* { dg-final { scan-assembler-times {\tvdiv\.vv} 8 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvdiv\.vx} } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 4 } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vx} 4 } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 8 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvdivu\.vx} } } */
|
||||
|
||||
/* { dg-final { scan-assembler-times {\tvfdiv\.vv} 6 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvfdiv\.vf} } } */
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
/* { dg-final { scan-assembler-times {\tvdiv\.vv} 8 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvdiv\.vx} } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 4 } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vx} 4 } } */
|
||||
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 8 } } */
|
||||
/* { dg-final { scan-assembler-not {\tvdivu\.vx} } } */
|
||||
|
||||
/* Division by constant is done by calculating a reciprocal and
|
||||
then multiplying. Hence we do not expect 6 vfdivs. */
|
||||
|
||||
Reference in New Issue
Block a user