Debian Codegraph @

gcc/testsuite/gcc.target/riscv/sat/sat_s_trunc-run-7-i64-to-i32.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 int32_t
8 #define T2 int64_t
9
10 DEF_SAT_S_TRUNC_FMT_7_WRAP(T1, T2, INT32_MIN, INT32_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_7_WRAP(T1, T2, x)
15
16 #include "scalar_sat_unary.h"