Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/init-repeat-sequence-11.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-march=rv64gcv_zvl1024b -mabi=lp64d -fno-schedule-insns -fno-schedule-insns2" } */
3 /* { dg-final { check-function-bodies "**" "" } } */
4
5 typedef double vnx32df __attribute__ ((vector_size (32 * 8)));
6
7 /*
8 ** f_vnx32df:
9 ** vsetvli\s+[axt][0-9]+\s*,zero,\s*e64,\s*m2,\s*ta,\s*ma
10 ** ...
11 ** vfmv\.v\.f\s+v[0-9]+,\s*[af]+[0-9]+
12 ** ...
13 ** vmv\.s\.x\s+v0,\s*[axt][0-9]+
14 ** vfmerge\.vfm\s+v[0-9]+,\s*v[0-9]+,\s*[af]+[0-9]+,\s*v0
15 ** vs2r\.v\s+v[0-9]+,\s*0\([axt][0-9]+\)
16 ** ret
17 */
18 __attribute__ ((noipa)) void
19 f_vnx32df (double a, double b, double *out)
20 {
21 vnx32df v = {
22 a, b, a, b, a, b, a, b, a, b, a, b, a, b, a, b,
23 a, b, a, b, a, b, a, b, a, b, a, b, a, b, a, b,
24 };
25 *(vnx32df *) out = v;
26 }