gcc/testsuite/gcc.target/riscv/rvv/base/target_attribute_v_with_intrinsic-52.c
raw| 1 | /* Test that we do not have error when compile */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-march=rv64gc -mabi=lp64d -O3" } */ |
| 4 | |
| 5 | #include "riscv_vector.h" |
| 6 | |
| 7 | vuint32m2_t |
| 8 | __attribute__((target("arch=+zvksed"))) |
| 9 | test_1 (vuint32m2_t a, vuint32m2_t b, size_t vl) |
| 10 | { |
| 11 | return __riscv_vsm4r_vv_u32m2 (a, b, vl); |
| 12 | } |