1 typedef unsigned long long ull
;
6 X( 1), X( 2), X( 3), X( 4), X( 5), X( 6), X( 7), X( 8), X( 9), X(10), \
7 X(11), X(12), X(13), X(14), X(15), X(16), X(17), X(18), X(19), X(20), \
8 X(21), X(22), X(23), X(24), X(25), X(26), X(27), X(28), X(29), X(30)
10 #define DECLARE(INDEX) x##INDEX
11 #define COPYIN(INDEX) x##INDEX = gvol[INDEX]
12 #define COPYOUT(INDEX) gvol[INDEX] = x##INDEX
14 #define BUILD_TEST(NAME, N) \
15 ull __attribute__((noinline)) \
20 int MULTI (DECLARE); \
28 #define RUN_TEST(NAME, N) \
29 if (NAME (3, ~0ULL) != N * 3 - 1) \
31 if (NAME (3, 0xffffffffULL) \
32 != N * 3 + 0xffffffffULL) \
35 #define DO_TESTS(DO_TEST) \
50 ull
neg (ull x
) { return -x
; }
57 if (neg (gull
) != -100ULL)