gcc/testsuite/gcc.target/riscv/sat/sat_s_sub-run-1-i8.c
raw| 1 | /* { dg-do run { target { riscv_v } } } */ |
| 2 | /* { dg-additional-options "-std=c99" } */ |
| 3 | |
| 4 | #include "sat_arith.h" |
| 5 | #include "sat_arith_data.h" |
| 6 | |
| 7 | #define T1 int8_t |
| 8 | #define T2 uint8_t |
| 9 | |
| 10 | DEF_SAT_S_SUB_FMT_1_WRAP(T1, T2, INT8_MIN, INT8_MAX) |
| 11 | |
| 12 | #define DATA TEST_BINARY_DATA_WRAP(T1, sssub) |
| 13 | #define T TEST_BINARY_STRUCT_DECL(T1, sssub) |
| 14 | #define RUN_BINARY(x, y) RUN_SAT_S_SUB_FMT_1_WRAP(T1, x, y) |
| 15 | |
| 16 | #include "scalar_sat_binary_run_xxx.h" |