Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/base/intrinsic_required_ext-9.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gc -mabi=lp64d -O3" } */
3
4 #include "riscv_vector.h"
5
6 vuint32m1_t
7 __attribute__((target("arch=+v")))
8 test_1 (vuint32m1_t op_1, size_t vl)
9 {
10 return __riscv_vsm4k_vi_u32m1 (op_1, 0, vl); /* { dg-error {built-in function '__riscv_vsm4k_vi_u32m1\(op_1, 0, vl\)' requires the 'zvksed' ISA extension} } */
11 }