gcc/testsuite/gcc.target/riscv/rvv/autovec/sat/vec_sat_u_trunc-run-3-u32.c
raw| 1 | /* { dg-do run { target { riscv_v } } } */ |
| 2 | /* { dg-additional-options "-std=c99" } */ |
| 3 | |
| 4 | #include "vec_sat_arith.h" |
| 5 | #include "vec_sat_data.h" |
| 6 | |
| 7 | #define T1 uint16_t |
| 8 | #define T2 uint64_t |
| 9 | |
| 10 | DEF_VEC_SAT_U_TRUNC_FMT_2_WRAP(T1, T2) |
| 11 | |
| 12 | #define T TEST_UNARY_STRUCT_DECL(T1, T2) |
| 13 | #define DATA TEST_UNARY_DATA_WRAP(T1, T2) |
| 14 | #define RUN_UNARY(out, in, N) RUN_VEC_SAT_U_TRUNC_FMT_2_WRAP(T1, T2, out, in, N) |
| 15 | |
| 16 | #include "vec_sat_unary_vv_run.h" |