Debian Codegraph @

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

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-march=rv64gcv -mabi=lp64d -fno-schedule-insns -fno-schedule-insns2" } */
3 /* { dg-final { check-function-bodies "**" "" } } */
4
5 typedef double vnx16df __attribute__ ((vector_size (16 * 8)));
6
7 /*
8 ** f_vnx16df:
9 ** vsetivli\s+zero,\s*16,\s*e64,\s*m8,\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 ** vs8r\.v\s+v[0-9]+,\s*0\([axt][0-9]+\)
16 ** ret
17 */
18 __attribute__ ((noipa)) void
19 f_vnx16df (double a, double b, double *out)
20 {
21 vnx16df v = {
22 a, b, a, b, a, b, a, b, a, b, a, b, a, b, a, b,
23 };
24 *(vnx16df *) out = v;
25 }