Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv-nofm.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-std=c99 -fno-vect-cost-model -march=rv32gcv_zvfh -mabi=ilp32d -mrvv-vector-bits=scalable -fdump-tree-optimized-details" } */
3
4 #include "vdiv-template.h"
5
6 /* { dg-final { scan-assembler-times {\tvdiv\.vv} 5 } } */
7 /* { dg-final { scan-assembler-times {\tvdiv\.vx} 3 } } */
8 /* { dg-final { scan-assembler-times {\tvdivu\.vv} 5 } } */
9 /* { dg-final { scan-assembler-times {\tvdivu\.vx} 3 } } */
10
11 /* { dg-final { scan-assembler-times {\tvfdiv\.vv} 3 } } */
12 /* { dg-final { scan-assembler-times {\tvfdiv\.vf} 3 } } */
13
14 /* { dg-final { scan-tree-dump-times "\.COND_LEN_DIV" 16 "optimized" } } */
15 /* { dg-final { scan-tree-dump-times "\.COND_LEN_RDIV" 6 "optimized" } } */
16 /* { dg-final { scan-assembler-not {\tvmv1r\.v} } } */
17 /* { dg-final { scan-assembler-not {\tvmv2r\.v} } } */
18 /* { dg-final { scan-assembler-not {\tvmv4r\.v} } } */
19 /* { dg-final { scan-assembler-not {\tvmv8r\.v} } } */
20 /* { dg-final { scan-assembler-not {\tvmv\.v\.v} } } */
21 /* { dg-final { scan-assembler-not {\tvmv\.v\.i} } } */