Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/vreinterpet-fixed.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv -mabi=lp64d -mrvv-vector-bits=zvl -O3" } */
3
4 #include "riscv_vector.h"
5
6 void test_vreinterpret_v_b64_i8m1 (uint8_t *in, int8_t *out)
7 {
8 vbool64_t vmask = __riscv_vlm_v_b64 (in, 2);
9 vint8m1_t vout = __riscv_vreinterpret_v_b64_i8m1 (vmask);
10 __riscv_vse8_v_i8m1(out, vout, 16);
11 }