add a thp-based huge page alloc fallback
[pcsx_rearmed.git] / deps / lightning / check / alu_or.tst
1 #include "alu.inc"
2
3 .code
4         prolog
5
6 #define OR(N, I0, I1, V)        ALU(N, , or, I0, I1, V)
7
8         OR(0,   0x7fffffff, 1,          0x7fffffff)
9         OR(1,   1,          0x7fffffff, 0x7fffffff)
10         OR(2,   0x80000000, 1,          0x80000001)
11         OR(3,   1,          0x80000000, 0x80000001)
12         OR(4,   0x7fffffff, 0x80000000, 0xffffffff)
13         OR(5,   0x80000000, 0x7fffffff, 0xffffffff)
14         OR(6,   0x7fffffff, 0xffffffff, 0xffffffff)
15         OR(7,   0xffffffff, 0x7fffffff, 0xffffffff)
16         OR(8,   0xffffffff, 0xffffffff, 0xffffffff)
17         OR(9,   0x7fffffff, 0,          0x7fffffff)
18         OR(10,  0,          0x7fffffff, 0x7fffffff)
19 #if __WORDSIZE == 64
20         OR(11,  0x7fffffffffffffff, 1,                  0x7fffffffffffffff)
21         OR(12,  1,                  0x7fffffffffffffff, 0x7fffffffffffffff)
22         OR(13,  0x8000000000000000, 1,                  0x8000000000000001)
23         OR(14,  1,                  0x8000000000000000, 0x8000000000000001)
24         OR(15,  0x7fffffffffffffff, 0x8000000000000000, 0xffffffffffffffff)
25         OR(16,  0x8000000000000000, 0x7fffffffffffffff, 0xffffffffffffffff)
26         OR(17,  0x7fffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff)
27         OR(18,  0xffffffffffffffff, 0x7fffffffffffffff, 0xffffffffffffffff)
28         OR(19,  0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff)
29 #endif
30
31         prepare
32                 pushargi ok
33                 ellipsis
34         finishi @printf
35         ret
36         epilog