Lines Matching refs:t
31 # define SKIP_SIGN_MISMATCH(t) SKIP(t, "Clang 11 unwanted libcalls") argument
33 # define SKIP_SIGN_MISMATCH(t) do { } while (0) argument
42 # define SKIP_64_ON_32(t) SKIP(t, "Clang 13 unwanted libcalls") argument
44 # define SKIP_64_ON_32(t) do { } while (0) argument
47 #define DEFINE_TEST_ARRAY_TYPED(t1, t2, t) \ argument
48 static const struct test_ ## t1 ## _ ## t2 ## __ ## t { \
51 t sum, diff, prod; \
53 } t1 ## _ ## t2 ## __ ## t ## _tests[]
55 #define DEFINE_TEST_ARRAY(t) DEFINE_TEST_ARRAY_TYPED(t, t, t) argument
252 #define check_one_op(t, fmt, op, sym, a, b, r, of) do { \ argument
256 t _r; \
261 a, b, of ? "" : " not", #t); \
264 a, b, r, _r, #t); \
271 #define DEFINE_TEST_FUNC_TYPED(n, t, fmt) \ argument
274 check_one_op(t, fmt, add, "+", p->a, p->b, p->sum, p->s_of); \
275 check_one_op(t, fmt, add, "+", p->b, p->a, p->sum, p->s_of); \
276 check_one_op(t, fmt, sub, "-", p->a, p->b, p->diff, p->d_of); \
277 check_one_op(t, fmt, mul, "*", p->a, p->b, p->prod, p->p_of); \
278 check_one_op(t, fmt, mul, "*", p->b, p->a, p->prod, p->p_of); \
284 SKIP_64_ON_32(__same_type(t, u64)); \
285 SKIP_64_ON_32(__same_type(t, s64)); \
296 #define DEFINE_TEST_FUNC(t, fmt) \ argument
297 DEFINE_TEST_FUNC_TYPED(t ## _ ## t ## __ ## t, t, fmt)
336 #define TEST_ONE_SHIFT(a, s, t, expect, of) do { \ argument
339 t __e = (expect); \
340 t __d; \
345 #t, #a, #s, of ? "" : " not"); \
349 #t, #a, #s, #expect); \
350 if ((t)-1 < 0) \
981 # define TEST_SAME_TYPE64(base, t, m) TEST_SAME_TYPE(base, t, m) in same_type_test() argument
983 # define TEST_SAME_TYPE64(base, t, m) do { } while (0) in same_type_test() argument