add a thp-based huge page alloc fallback
[pcsx_rearmed.git] / deps / lightning / check / ldst.inc
CommitLineData
4a71579b
PC
1#if __WORDSIZE == 64
2# define L0 0x8000000000000001
3# define LL0 L0
4# define LC0 0xffffffffffffff81
5# define LS0 0xffffffffffff8001
6# define LI0 0xffffffff80000001
7# define L1 0x8000000000000000
8# define LL1 L1
9# define LC1 0xffffffffffffff80
10# define LS1 0xffffffffffff8000
11# define LI1 0xffffffff80000000
12# define L2 0x7fffffffffffffff
13# define LL2 L2
14# define LC2 0x000000000000007f
15# define LS2 0x0000000000007fff
16# define LI2 0x000000007fffffff
17# define L3 0xffffffffffffffff
18# define LL3 L3
19# define LC3 0xffffffffffffffff
20# define LS3 0xffffffffffffffff
21# define LI3 0xffffffffffffffff
22# define XC LC0
23# define XS LS0
24# define XI LI0
25#else
26# define XC IC0
27# define XS IS0
28# define XI II0
29#endif
30#define I0 0x80000001
31#define II0 I0
32#define IC0 0xffffff81
33#define IS0 0xffff8001
34#define I1 0x80000000
35#define II1 I1
36#define IC1 0xffffff80
37#define IS1 0xffff8000
38#define I2 0x7fffffff
39#define II2 I2
40#define IC2 0x0000007f
41#define IS2 0x00007fff
42#define I3 0xffffffff
43#define II3 I3
44#define IC3 0xffffffff
45#define IS3 0xffffffff
46#define S0 0x8001
47#define S1 0x8000
48#define S2 0x7fff
49#define S3 0xffff
50#define C0 0x81
51#define C1 0x80
52#define C2 0x7f
53#define C3 0xff
54#define F0 0.25
55#define F1 0.75
56#define F2 -0.25
57#define F3 -0.75
58#define D0 0.25
59#define D1 0.75
60#define D2 -0.25
61#define D3 -0.75
62
63.data 512
64ok:
65.c "ok\n"
66.align 8
67t0:
68c0:
69.c 0
70uc0:
71.c 0
72s0:
73.s 0
74us0:
75.s 0
76.align 4
77i0:
78.i 0
79#if __WORDSIZE == 64
80ui0:
81.i 0
82.align 8
83l0:
84.l 0
85#endif
86f0:
87.f 0
88.align 8
89d0:
90.d 0
91
92. $($offc = c0 - t0)
93. $($offuc = uc0 - t0)
94. $($offs = s0 - t0)
95. $($offus = us0 - t0)
96. $($offi = i0 - t0)
97#if __WORDSIZE == 64
98. $($offui = ui0 - t0)
99. $($offl = l0 - t0)
100#endif
101. $($offf = f0 - t0)
102. $($offd = d0 - t0)