Debian Codegraph @

gcc/testsuite/gcc.target/riscv/sat/sat_s_trunc-run-3-i16-to-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 int16_t
9
10 DEF_SAT_S_TRUNC_FMT_3_WRAP(T1, T2, INT8_MIN, INT8_MAX)
11
12 #define DATA TEST_UNARY_DATA_WRAP(T1, T2)
13 #define T TEST_UNARY_STRUCT_DECL(T1, T2)
14 #define RUN_UNARY(x) RUN_SAT_S_TRUNC_FMT_3_WRAP(T1, T2, x)
15
16 #include "scalar_sat_unary.h"