Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/strided/strided_ld_st-1-i16.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv -mabi=lp64d -mno-vector-strict-align -fno-vect-cost-model -fdump-tree-optimized" } */
3
4 #include "strided_ld_st.h"
5
6 DEF_STRIDED_LD_ST_FORM_1(int16_t)
7
8 /* { dg-final { scan-tree-dump-times ".MASK_LEN_STRIDED_LOAD " 2 "optimized" { target {
9 any-opts "-O3"
10 no-opts "-mrvv-vector-bits=zvl"
11 } } } } */
12 /* { dg-final { scan-tree-dump-times ".MASK_LEN_STRIDED_STORE " 2 "optimized" { target {
13 any-opts "-O3"
14 no-opts "-mrvv-vector-bits=zvl"
15 } } } } */
16
17 /* { dg-final { scan-tree-dump-times ".MASK_LEN_STRIDED_LOAD " 1 "optimized" { target {
18 any-opts "-O2"
19 no-opts "-mrvv-vector-bits=zvl"
20 } } } } */
21 /* { dg-final { scan-tree-dump-times ".MASK_LEN_STRIDED_STORE " 1 "optimized" { target {
22 any-opts "-O2"
23 no-opts "-mrvv-vector-bits=zvl"
24 } } } } */
25
26 /* { dg-final { scan-assembler-times {vlse16.v} 1 { target {
27 no-opts "-mrvv-vector-bits=zvl"
28 } } } } */
29 /* { dg-final { scan-assembler-times {vsse16.v} 1 { target {
30 no-opts "-mrvv-vector-bits=zvl"
31 } } } } */