2 20100416-1.c from the execute part of the gcc torture tests.
8 movegt(int x
, int y
, long long a
)
12 for (i
= 0; i
< y
; i
++)
14 if (a
>= (long long) 0xf000000000000000LL
)
22 #ifndef __SDCC_pdk14 // Lack of memory
28 { 0xf000000000000000LL
, -1 },
29 { 0xefffffffffffffffLL
, 1 },
30 { 0xf000000000000001LL
, -1 },
31 { 0x0000000000000000LL
, -1 },
32 { 0x8000000000000000LL
, 1 },
37 testTortureExecute (void)
39 #ifndef __SDCC_pdk14 // Lack of memory
41 for (i
= 0; i
< sizeof (tests
) / sizeof (tests
[0]); i
++)
43 if (movegt (-1, 1, tests
[i
].val
) != tests
[i
].ret
)