Debian Codegraph @

gcc/testsuite/gcc.target/riscv/sat/sat_s_add-run-3-i16.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 int16_t
8 #define T2 uint16_t
9
10 DEF_SAT_S_ADD_FMT_3_WRAP(T1, T2, INT16_MIN, INT16_MAX)
11
12 #define DATA TEST_BINARY_DATA_WRAP(T1, ssadd)
13 #define T TEST_BINARY_STRUCT_DECL(T1, ssadd)
14 #define RUN_BINARY(x, y) RUN_SAT_S_ADD_FMT_3_WRAP(T1, x, y)
15
16 #include "scalar_sat_binary_run_xxx.h"