Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/pr112597-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv32gcv_zvl256b -mabi=ilp32d -O3 -mrvv-vector-bits=zvl" } */
3
4 #include <stdint-gcc.h>
5
6 typedef int64_t vnx2di __attribute__ ((vector_size (16)));
7
8 __attribute__ ((noipa)) void
9 f_vnx2di (int64_t a, int64_t b, int64_t *out)
10 {
11 vnx2di v = {a, b};
12 *(vnx2di *) out = v;
13 }