Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/xtheadvector/prefix.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv32gc_xtheadvector -mabi=ilp32 -O0" } */
3
4 #include "riscv_vector.h"
5
6 vint32m1_t
7 prefix (vint32m1_t vx, vint32m1_t vy, size_t vl)
8 {
9 return __riscv_vadd_vv_i32m1 (vx, vy, vl);
10 }
11
12 /* { dg-final { scan-assembler {\mth\.vadd\.vv\M} } } */