Auto-detect target arch via cross-compiler. Drop TARGET=arch.
[luajit-2.0.git] / src / buildvm_x64.h
blob55b22b2e842e6fc5758a412c79e8ac94cc497325
1 /*
2 ** This file has been pre-processed with DynASM.
3 ** http://luajit.org/dynasm.html
4 ** DynASM version 1.3.0, DynASM x64 version 1.3.0
5 ** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
6 */
8 #if DASM_VERSION != 10300
9 #error "Version mismatch between DynASM and included encoding engine"
10 #endif
12 #define DASM_SECTION_CODE_OP 0
13 #define DASM_SECTION_CODE_SUB 1
14 #define DASM_MAXSECTION 2
15 static const unsigned char build_actionlist[16378] = {
16 254,1,248,10,252,247,195,237,15,132,244,11,131,227,252,248,41,218,72,141,
17 76,25,252,248,139,90,252,252,199,68,10,4,237,248,12,131,192,1,137,68,36,4,
18 252,247,195,237,15,132,244,13,248,14,129,252,243,239,252,247,195,237,15,133,
19 244,10,65,199,134,233,237,131,227,252,248,41,211,252,247,219,131,232,1,15,
20 132,244,248,248,1,72,139,44,10,72,137,106,252,248,131,194,8,131,232,1,15,
21 133,244,1,248,2,255,139,108,36,24,137,157,233,248,3,139,68,36,4,139,76,36,
22 16,248,4,57,193,15,133,244,252,248,5,131,252,234,8,137,149,233,248,15,72,
23 139,76,36,32,72,137,141,233,49,192,248,16,72,131,196,40,65,94,65,95,91,93,
24 195,248,6,15,130,244,253,59,149,233,15,135,244,254,199,66,252,252,237,131,
25 194,8,131,192,1,252,233,244,4,248,7,255,133,201,15,132,244,5,41,193,141,20,
26 202,252,233,244,5,248,8,137,149,233,137,68,36,4,137,206,137,252,239,232,251,
27 1,0,139,149,233,252,233,244,3,248,17,137,252,240,72,137,252,252,248,18,139,
28 108,36,24,139,173,233,199,133,233,237,252,233,244,16,248,19,139,124,36,24,
29 137,198,72,131,196,40,65,94,65,95,91,93,252,233,251,1,1,248,20,72,129,231,
30 239,72,137,252,252,248,21,255,139,108,36,24,72,199,193,252,248,252,255,252,
31 255,252,255,184,237,139,149,233,68,139,181,233,65,129,198,239,139,90,252,
32 252,199,66,252,252,237,65,199,134,233,237,252,233,244,12,248,22,190,237,252,
33 233,244,248,248,23,131,232,8,252,233,244,247,248,24,141,68,194,252,248,248,
34 1,15,182,139,233,131,195,4,137,149,233,255,137,133,233,137,92,36,28,137,206,
35 248,2,137,252,239,232,251,1,0,139,149,233,139,133,233,139,106,252,248,41,
36 208,193,232,3,131,192,1,139,157,233,139,11,15,182,252,233,15,182,205,131,
37 195,4,65,252,255,36,252,238,248,25,85,83,65,87,65,86,72,131,252,236,40,137,
38 252,253,137,124,36,24,137,252,241,187,237,49,192,76,141,188,253,36,233,68,
39 139,181,233,65,129,198,239,76,137,189,233,137,68,36,28,72,137,68,36,32,137,
40 68,36,16,137,68,36,20,56,133,233,15,132,244,249,65,199,134,233,237,136,133,
41 233,139,149,233,139,133,233,41,200,193,232,3,131,192,1,41,209,139,90,252,
42 252,137,68,36,4,252,247,195,237,255,15,132,244,13,252,233,244,14,248,26,85,
43 83,65,87,65,86,72,131,252,236,40,187,237,137,76,36,20,252,233,244,247,248,
44 27,85,83,65,87,65,86,72,131,252,236,40,187,237,248,1,137,84,36,16,137,252,
45 253,137,124,36,24,137,252,241,76,139,189,233,76,137,124,36,32,137,108,36,
46 28,72,137,165,233,248,2,68,139,181,233,65,129,198,239,248,3,65,199,134,233,
47 237,139,149,233,255,1,203,41,211,139,133,233,41,200,193,232,3,131,192,1,248,
48 28,139,105,252,248,129,121,253,252,252,239,15,133,244,29,248,30,137,202,137,
49 90,252,252,139,157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,
50 255,36,252,238,248,31,85,83,65,87,65,86,72,131,252,236,40,137,252,253,137,
51 124,36,24,137,108,36,28,68,139,189,233,68,43,189,233,199,68,36,20,0,0,0,0,
52 68,137,124,36,16,76,139,189,233,76,137,124,36,32,72,137,165,233,252,255,209,
53 133,192,15,132,244,15,137,193,187,237,252,233,244,2,248,11,1,209,131,227,
54 252,248,137,213,41,218,199,68,193,252,252,237,137,200,139,93,252,244,72,99,
55 77,252,240,255,131,252,249,1,15,134,244,247,255,76,141,61,245,76,1,252,249,
56 255,68,139,122,252,248,69,139,191,233,69,139,191,233,252,255,225,255,248,
57 1,15,132,244,32,41,213,193,252,237,3,141,69,252,255,252,233,244,33,255,248,
58 34,15,182,75,252,255,131,252,237,16,141,12,202,41,252,233,15,132,244,35,252,
59 247,217,193,252,233,3,139,124,36,24,137,151,233,137,202,72,139,8,72,137,77,
60 0,137,252,238,252,233,244,36,248,37,137,4,36,199,68,36,4,237,72,141,4,36,
61 128,123,252,252,235,15,133,244,247,65,141,142,233,137,41,199,65,4,237,137,
62 205,252,233,244,248,248,38,15,182,67,252,254,255,199,68,36,4,237,137,4,36,
63 255,252,242,15,42,192,252,242,15,17,4,36,255,72,141,4,36,252,233,244,247,
64 248,39,15,182,67,252,254,141,4,194,248,1,15,182,107,252,255,141,44,252,234,
65 248,2,139,124,36,24,137,151,233,137,252,238,72,137,194,137,252,253,137,92,
66 36,28,232,251,1,2,139,149,233,133,192,15,132,244,249,248,35,15,182,75,252,
67 253,72,139,40,72,137,44,202,139,3,15,182,204,15,182,232,131,195,4,193,232,
68 16,65,252,255,36,252,238,248,3,139,141,233,137,89,252,244,141,153,233,41,
69 211,139,105,252,248,184,237,252,233,244,30,248,40,137,4,36,199,68,36,4,237,
70 72,141,4,36,128,123,252,252,235,15,133,244,247,255,65,141,142,233,137,41,
71 199,65,4,237,137,205,252,233,244,248,248,41,15,182,67,252,254,255,72,141,
72 4,36,252,233,244,247,248,42,15,182,67,252,254,141,4,194,248,1,15,182,107,
73 252,255,141,44,252,234,248,2,139,124,36,24,137,151,233,137,252,238,72,137,
74 194,137,252,253,137,92,36,28,232,251,1,3,139,149,233,133,192,15,132,244,249,
75 15,182,75,252,253,72,139,44,202,72,137,40,248,43,139,3,15,182,204,15,182,
76 232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,139,141,233,137,89,252,
77 244,15,182,67,252,253,72,139,44,194,72,137,105,16,141,153,233,41,211,139,
78 105,252,248,184,237,252,233,244,30,248,44,139,108,36,24,137,149,233,141,52,
79 202,141,20,194,137,252,239,15,182,75,252,252,137,92,36,28,232,251,1,4,248,
80 3,139,149,233,255,131,252,248,1,15,135,244,45,248,4,141,91,4,15,130,244,252,
81 248,5,15,183,67,252,254,141,156,253,131,233,248,6,139,3,15,182,204,15,182,
82 232,131,195,4,193,232,16,65,252,255,36,252,238,248,46,131,195,4,129,120,253,
83 4,239,15,130,244,5,252,233,244,6,248,47,129,120,253,4,239,252,233,244,4,248,
84 48,131,252,235,4,137,206,137,252,233,139,108,36,24,137,149,233,255,137,194,
85 137,252,239,137,92,36,28,232,251,1,5,252,233,244,3,248,49,255,131,252,235,
86 4,139,108,36,24,137,149,233,137,252,239,139,115,252,252,137,92,36,28,232,
87 251,1,6,252,233,244,3,255,248,50,255,15,182,107,252,255,255,248,51,65,141,
88 4,199,252,233,244,247,248,52,255,248,53,65,141,4,199,141,44,252,234,149,252,
89 233,244,248,248,54,141,4,194,137,197,252,233,244,248,248,55,255,248,56,141,
90 4,194,248,1,141,44,252,234,248,2,141,12,202,68,15,182,67,252,252,137,206,
91 137,193,139,124,36,24,137,151,233,137,252,234,137,252,253,137,92,36,28,232,
92 251,1,7,139,149,233,133,192,15,132,244,43,248,45,137,193,41,208,137,89,252,
93 244,141,152,233,184,237,252,233,244,28,248,57,139,108,36,24,137,149,233,141,
94 52,194,137,252,239,137,92,36,28,232,251,1,8,139,149,233,255,133,192,15,133,
95 244,45,15,183,67,252,254,139,60,194,252,233,244,58,255,252,233,244,45,255,
96 248,59,141,76,202,8,248,29,137,76,36,4,137,4,36,131,252,233,8,139,108,36,
97 24,137,149,233,137,206,141,20,193,137,252,239,137,92,36,28,232,251,1,9,139,
98 149,233,139,76,36,4,139,4,36,139,105,252,248,131,192,1,65,57,215,15,132,244,
99 60,137,202,137,90,252,252,139,157,233,139,11,15,182,252,233,15,182,205,131,
100 195,4,65,252,255,36,252,238,248,61,139,108,36,24,137,149,233,137,206,137,
101 252,239,137,92,36,28,232,251,1,10,139,149,233,139,67,252,252,15,182,204,15,
102 182,232,193,232,16,65,252,255,164,253,252,238,233,248,62,129,252,248,239,
103 15,130,244,63,139,106,4,129,252,253,239,15,131,244,63,139,90,252,252,137,
104 68,36,4,137,106,252,252,139,42,137,106,252,248,131,232,2,15,132,244,248,255,
105 137,209,248,1,131,193,8,72,139,41,72,137,105,252,248,131,232,1,15,133,244,
106 1,248,2,139,68,36,4,252,233,244,64,248,65,129,252,248,239,15,130,244,63,139,
107 106,4,137,252,233,193,252,249,15,131,252,249,252,254,15,132,244,249,184,237,
108 252,247,213,57,232,255,15,71,197,255,15,134,244,247,137,232,248,1,255,248,
109 2,139,106,252,248,139,132,253,197,233,139,90,252,252,199,66,252,252,237,137,
110 66,252,248,252,233,244,66,248,3,184,237,252,233,244,2,248,67,129,252,248,
111 239,15,130,244,63,139,106,4,139,90,252,252,129,252,253,239,15,133,244,252,
112 248,1,139,42,139,173,233,248,2,133,252,237,199,66,252,252,237,255,15,132,
113 244,66,65,139,134,233,199,66,252,252,237,137,106,252,248,139,141,233,35,136,
114 233,105,201,239,3,141,233,248,3,129,185,233,239,15,133,244,250,57,129,233,
115 15,132,244,251,248,4,139,137,233,133,201,15,133,244,3,255,252,233,244,66,
116 248,5,139,105,4,129,252,253,239,15,132,244,66,139,1,137,106,252,252,137,66,
117 252,248,252,233,244,66,248,6,129,252,253,239,15,132,244,1,129,252,253,239,
118 15,135,244,254,129,252,253,239,15,134,244,253,189,237,252,233,244,254,248,
119 7,255,189,237,248,8,252,247,213,65,139,172,253,174,233,252,233,244,2,248,
120 68,129,252,248,239,15,130,244,63,129,122,253,4,239,15,133,244,63,139,42,131,
121 189,233,0,15,133,244,63,129,122,253,12,239,15,133,244,63,139,66,8,137,133,
122 233,139,90,252,252,199,66,252,252,237,255,137,106,252,248,252,246,133,233,
123 235,15,132,244,247,128,165,233,235,65,139,134,233,65,137,174,233,137,133,
124 233,248,1,252,233,244,66,248,69,129,252,248,239,15,130,244,63,129,122,253,
125 4,239,15,133,244,63,137,213,139,50,141,82,8,139,124,36,24,232,251,1,11,137,
126 252,234,72,139,40,139,90,252,252,72,137,106,252,248,252,233,244,66,248,70,
127 255,129,252,248,239,15,133,244,63,129,122,253,4,239,255,15,133,244,247,139,
128 42,252,233,244,71,248,1,15,135,244,63,255,15,131,244,63,255,252,242,15,16,
129 2,252,233,244,72,255,221,2,252,233,244,73,255,248,74,129,252,248,239,15,130,
130 244,63,139,90,252,252,129,122,253,4,239,15,133,244,249,139,2,248,2,199,66,
131 252,252,237,137,66,252,248,252,233,244,66,248,3,129,122,253,4,239,15,135,
132 244,63,65,131,190,233,0,15,133,244,63,65,139,174,233,65,59,174,233,255,15,
133 130,244,247,232,244,75,248,1,139,108,36,24,137,149,233,137,92,36,28,137,214,
134 137,252,239,255,232,251,1,12,255,232,251,1,13,255,139,149,233,252,233,244,
135 2,248,76,129,252,248,239,15,130,244,63,15,132,244,248,248,1,129,122,253,4,
136 239,15,133,244,63,139,108,36,24,137,149,233,137,149,233,139,90,252,252,139,
137 50,141,82,8,137,252,239,137,92,36,28,232,251,1,14,139,149,233,133,192,15,
138 132,244,249,72,139,106,8,72,139,66,16,72,137,106,252,248,72,137,2,248,77,
139 184,237,255,252,233,244,78,248,2,199,66,12,237,252,233,244,1,248,3,199,66,
140 252,252,237,252,233,244,66,248,79,129,252,248,239,15,130,244,63,139,42,129,
141 122,253,4,239,15,133,244,63,255,131,189,233,0,15,133,244,63,255,139,106,252,
142 248,139,133,233,139,90,252,252,199,66,252,252,237,137,66,252,248,199,66,12,
143 237,184,237,252,233,244,78,248,80,129,252,248,239,15,130,244,63,129,122,253,
144 4,239,15,133,244,63,129,122,253,12,239,255,139,90,252,252,255,139,66,8,131,
145 192,1,199,66,252,252,237,137,66,252,248,255,252,242,15,16,66,8,72,189,237,
146 237,102,72,15,110,205,252,242,15,88,193,252,242,15,45,192,252,242,15,17,66,
147 252,248,255,139,42,59,133,233,15,131,244,248,193,224,3,3,133,233,248,1,129,
148 120,253,4,239,15,132,244,81,72,139,40,72,137,42,252,233,244,77,248,2,131,
149 189,233,0,15,132,244,81,137,252,239,137,213,137,198,232,251,1,15,137,252,
150 234,133,192,15,133,244,1,248,81,184,237,252,233,244,78,248,82,255,139,106,
151 252,248,139,133,233,139,90,252,252,199,66,252,252,237,137,66,252,248,255,
152 199,66,12,237,199,66,8,0,0,0,0,255,15,87,192,252,242,15,17,66,8,255,217,252,
153 238,221,90,8,255,184,237,252,233,244,78,248,83,129,252,248,239,15,130,244,
154 63,141,74,8,131,232,1,187,237,248,1,65,15,182,174,233,193,252,237,235,131,
155 229,1,1,252,235,252,233,244,28,248,84,129,252,248,239,15,130,244,63,129,122,
156 253,12,239,15,133,244,63,255,139,106,4,137,106,12,199,66,4,237,139,42,139,
157 90,8,137,106,8,137,26,141,74,16,131,232,2,187,237,252,233,244,1,248,85,129,
158 252,248,239,15,130,244,63,139,42,139,90,252,252,137,92,36,28,137,44,36,129,
159 122,253,4,239,15,133,244,63,72,131,189,233,0,15,133,244,63,128,189,233,235,
160 15,135,244,63,139,141,233,15,132,244,247,255,59,141,233,15,132,244,63,248,
161 1,141,92,193,252,240,59,157,233,15,135,244,63,137,157,233,139,108,36,24,137,
162 149,233,131,194,8,137,149,233,141,108,194,232,72,41,221,57,203,15,132,244,
163 249,248,2,72,139,4,43,72,137,67,252,248,131,252,235,8,57,203,15,133,244,2,
164 248,3,137,206,139,60,36,232,244,25,65,199,134,233,237,255,139,108,36,24,139,
165 28,36,139,149,233,129,252,248,239,15,135,244,254,248,4,139,139,233,68,139,
166 187,233,137,139,233,68,137,252,251,41,203,15,132,244,252,141,4,26,193,252,
167 235,3,59,133,233,15,135,244,255,137,213,72,41,205,248,5,72,139,1,72,137,4,
168 41,131,193,8,68,57,252,249,15,133,244,5,248,6,141,67,2,199,66,252,252,237,
169 248,7,139,92,36,28,137,68,36,4,72,199,193,252,248,252,255,252,255,252,255,
170 252,247,195,237,255,15,132,244,13,252,233,244,14,248,8,199,66,252,252,237,
171 139,139,233,131,252,233,8,137,139,233,72,139,1,72,137,2,184,237,252,233,244,
172 7,248,9,139,12,36,68,137,185,233,137,222,137,252,239,232,251,1,0,139,28,36,
173 139,149,233,252,233,244,4,248,86,139,106,252,248,139,173,233,139,90,252,252,
174 137,92,36,28,137,44,36,72,131,189,233,0,15,133,244,63,255,128,189,233,235,
175 15,135,244,63,139,141,233,15,132,244,247,59,141,233,15,132,244,63,248,1,141,
176 92,193,252,248,59,157,233,15,135,244,63,137,157,233,139,108,36,24,137,149,
177 233,137,149,233,141,108,194,252,240,72,41,221,57,203,15,132,244,249,248,2,
178 255,72,139,4,43,72,137,67,252,248,131,252,235,8,57,203,15,133,244,2,248,3,
179 137,206,139,60,36,232,244,25,65,199,134,233,237,139,108,36,24,139,28,36,139,
180 149,233,129,252,248,239,15,135,244,254,248,4,139,139,233,68,139,187,233,137,
181 139,233,68,137,252,251,41,203,15,132,244,252,141,4,26,193,252,235,3,59,133,
182 233,15,135,244,255,255,137,213,72,41,205,248,5,72,139,1,72,137,4,41,131,193,
183 8,68,57,252,249,15,133,244,5,248,6,141,67,1,248,7,139,92,36,28,137,68,36,
184 4,49,201,252,247,195,237,15,132,244,13,252,233,244,14,248,8,137,222,137,252,
185 239,232,251,1,16,248,9,139,12,36,68,137,185,233,137,222,137,252,239,232,251,
186 1,0,139,28,36,139,149,233,252,233,244,4,248,87,139,108,36,24,72,252,247,133,
187 233,237,15,132,244,63,255,137,149,233,141,68,194,252,248,137,133,233,49,192,
188 72,137,133,233,176,235,136,133,233,252,233,244,16,255,248,71,255,248,73,139,
189 90,252,252,221,90,252,248,252,233,244,66,255,248,88,129,252,248,239,15,130,
190 244,63,255,129,122,253,4,239,15,133,244,248,139,42,131,252,253,0,15,137,244,
191 71,252,247,221,15,136,244,247,248,89,248,71,139,90,252,252,199,66,252,252,
192 237,137,106,252,248,252,233,244,66,248,1,139,90,252,252,199,66,252,252,0,
193 0,224,65,199,66,252,248,0,0,0,0,252,233,244,66,248,2,15,135,244,63,255,129,
194 122,253,4,239,15,131,244,63,255,252,242,15,16,2,72,184,237,237,102,72,15,
195 110,200,15,84,193,248,72,139,90,252,252,252,242,15,17,66,252,248,255,221,
196 2,217,225,248,72,248,73,139,90,252,252,221,90,252,248,255,248,66,184,237,
197 248,78,137,68,36,4,248,64,252,247,195,237,15,133,244,253,248,5,56,67,252,
198 255,15,135,244,252,15,182,75,252,253,72,252,247,209,141,20,202,139,3,15,182,
199 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,6,199,68,194,
200 252,244,237,131,192,1,252,233,244,5,248,7,72,199,193,252,248,252,255,252,
201 255,252,255,252,233,244,14,248,90,255,129,122,253,4,239,15,133,244,247,139,
202 42,252,233,244,71,248,1,15,135,244,63,255,252,242,15,16,2,232,244,91,255,
203 252,242,15,45,232,129,252,253,0,0,0,128,15,133,244,71,252,242,15,42,205,102,
204 15,46,193,15,138,244,72,15,132,244,71,255,221,2,232,244,91,255,248,92,255,
205 252,242,15,16,2,232,244,93,255,221,2,232,244,93,255,248,94,129,252,248,239,
206 15,130,244,63,129,122,253,4,239,15,131,244,63,252,242,15,81,2,252,233,244,
207 72,255,248,94,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,
208 63,221,2,217,252,250,252,233,244,73,255,248,95,129,252,248,239,15,130,244,
209 63,129,122,253,4,239,15,131,244,63,217,252,237,221,2,217,252,241,252,233,
210 244,73,248,96,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,
211 63,217,252,236,221,2,217,252,241,252,233,244,73,248,97,129,252,248,239,255,
212 15,130,244,63,129,122,253,4,239,15,131,244,63,221,2,232,244,98,252,233,244,
213 73,248,99,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,221,
214 2,217,252,254,252,233,244,73,248,100,129,252,248,239,255,15,130,244,63,129,
215 122,253,4,239,15,131,244,63,221,2,217,252,255,252,233,244,73,248,101,129,
216 252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,221,2,217,252,242,
217 221,216,252,233,244,73,248,102,129,252,248,239,15,130,244,63,255,129,122,
218 253,4,239,15,131,244,63,221,2,217,192,216,200,217,232,222,225,217,252,250,
219 217,252,243,252,233,244,73,248,103,129,252,248,239,15,130,244,63,129,122,
220 253,4,239,15,131,244,63,221,2,217,192,216,200,217,232,222,225,217,252,250,
221 217,201,217,252,243,252,233,244,73,248,104,129,252,248,239,15,130,244,63,
222 129,122,253,4,239,15,131,244,63,255,221,2,217,232,217,252,243,252,233,244,
223 73,255,248,105,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,
224 63,252,242,15,16,2,255,137,213,232,251,1,17,137,252,234,252,233,244,72,255,
225 248,106,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,252,
226 242,15,16,2,255,137,213,232,251,1,18,137,252,234,252,233,244,72,255,248,107,
227 129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,252,242,15,
228 16,2,255,137,213,232,251,1,19,137,252,234,252,233,244,72,248,108,255,248,
229 109,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,252,242,
230 15,16,2,139,106,252,248,252,242,15,89,133,233,252,233,244,72,255,248,109,
231 129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,221,2,139,106,
232 252,248,220,141,233,252,233,244,73,255,248,110,129,252,248,239,15,130,244,
233 63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,63,221,2,
234 221,66,8,217,252,243,252,233,244,73,248,111,129,252,248,239,15,130,244,63,
235 129,122,253,4,239,15,131,244,63,129,122,253,12,239,255,15,131,244,63,221,
236 66,8,221,2,217,252,253,221,217,252,233,244,73,248,112,129,252,248,239,15,
237 130,244,63,139,106,4,129,252,253,239,15,131,244,63,139,90,252,252,139,2,137,
238 106,252,252,137,66,252,248,209,229,129,252,253,0,0,224,252,255,15,131,244,
239 249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,32,0,15,130,244,
240 250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,137,44,36,219,4,
241 36,255,139,106,252,252,129,229,252,255,252,255,15,128,129,205,0,0,224,63,
242 137,106,252,252,248,2,255,252,242,15,17,2,255,221,26,255,184,237,252,233,
243 244,78,248,3,255,15,87,192,252,233,244,2,255,217,252,238,252,233,244,2,255,
244 248,4,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,252,242,15,89,
245 193,252,242,15,17,66,252,248,255,221,2,199,4,36,0,0,128,90,216,12,36,221,
246 90,252,248,255,139,106,252,252,184,52,4,0,0,209,229,252,233,244,1,255,248,
247 113,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,252,242,
248 15,16,2,255,248,113,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,
249 244,63,221,2,255,139,106,4,139,90,252,252,209,229,129,252,253,0,0,224,252,
250 255,15,132,244,250,255,15,40,224,232,244,114,252,242,15,92,224,248,1,252,
251 242,15,17,66,252,248,252,242,15,17,34,255,217,192,232,244,114,220,252,233,
252 248,1,221,90,252,248,221,26,255,139,66,252,252,139,106,4,49,232,15,136,244,
253 249,248,2,184,237,252,233,244,78,248,3,129,252,245,0,0,0,128,137,106,4,252,
254 233,244,2,248,4,255,15,87,228,252,233,244,1,255,217,252,238,217,201,252,233,
255 244,1,255,248,115,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,
256 244,63,129,122,253,12,239,15,131,244,63,221,66,8,221,2,248,1,217,252,248,
257 223,224,158,15,138,244,1,221,217,252,233,244,73,255,248,116,129,252,248,239,
258 15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
259 63,252,242,15,16,2,252,242,15,16,74,8,232,244,117,252,233,244,72,255,248,
260 116,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,
261 253,12,239,15,131,244,63,221,2,221,66,8,232,244,117,252,233,244,73,255,248,
262 118,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,1,57,193,
263 15,131,244,71,129,124,253,202,252,252,239,15,133,244,249,59,108,202,252,248,
264 15,79,108,202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,63,255,252,
265 233,244,252,248,4,15,135,244,63,255,252,242,15,16,2,248,5,57,193,15,131,244,
266 72,129,124,253,202,252,252,239,255,15,130,244,252,15,135,244,63,252,242,15,
267 42,76,202,252,248,252,233,244,253,255,248,6,252,242,15,16,76,202,252,248,
268 248,7,252,242,15,93,193,131,193,1,252,233,244,5,255,248,119,185,2,0,0,0,129,
269 122,253,4,239,255,15,133,244,250,139,42,248,1,57,193,15,131,244,71,129,124,
270 253,202,252,252,239,15,133,244,249,59,108,202,252,248,15,76,108,202,252,248,
271 131,193,1,252,233,244,1,248,3,15,135,244,63,255,248,6,252,242,15,16,76,202,
272 252,248,248,7,252,242,15,95,193,131,193,1,252,233,244,5,255,248,9,221,216,
273 252,233,244,63,255,248,120,129,252,248,239,15,130,244,63,129,122,253,4,239,
274 15,133,244,63,139,42,255,139,173,233,252,233,244,71,255,252,242,15,42,133,
275 233,252,233,244,72,255,219,133,233,252,233,244,73,255,248,121,129,252,248,
276 239,15,133,244,63,129,122,253,4,239,15,133,244,63,139,42,139,90,252,252,131,
277 189,233,1,15,130,244,81,15,182,173,233,255,252,242,15,42,197,252,233,244,
278 72,255,137,44,36,219,4,36,252,233,244,73,255,248,122,65,139,174,233,65,59,
279 174,233,15,130,244,247,232,244,75,248,1,129,252,248,239,15,133,244,63,129,
280 122,253,4,239,255,15,133,244,63,139,42,129,252,253,252,255,0,0,0,15,135,244,
281 63,137,108,36,4,255,15,131,244,63,252,242,15,44,42,129,252,253,252,255,0,
282 0,0,15,135,244,63,137,108,36,4,255,15,131,244,63,221,2,219,92,36,4,129,124,
283 36,4,252,255,0,0,0,15,135,244,63,255,199,68,36,8,1,0,0,0,72,141,68,36,4,248,
284 123,139,108,36,24,137,149,233,139,84,36,8,72,137,198,137,252,239,137,92,36,
285 28,232,251,1,20,139,149,233,139,90,252,252,199,66,252,252,237,137,66,252,
286 248,252,233,244,66,248,124,65,139,174,233,65,59,174,233,15,130,244,247,232,
287 244,75,248,1,199,68,36,4,252,255,252,255,252,255,252,255,129,252,248,239,
288 15,130,244,63,15,134,244,247,129,122,253,20,239,255,15,133,244,63,139,106,
289 16,137,108,36,4,255,15,131,244,63,252,242,15,44,106,16,137,108,36,4,255,15,
290 131,244,63,221,66,16,219,92,36,4,255,248,1,129,122,253,4,239,15,133,244,63,
291 129,122,253,12,239,255,139,42,137,108,36,8,139,173,233,255,139,74,8,255,252,
292 242,15,44,74,8,255,139,68,36,4,57,197,15,130,244,251,248,2,133,201,15,142,
293 244,253,248,3,139,108,36,8,41,200,15,140,244,125,141,172,253,13,233,131,192,
294 1,248,4,137,68,36,8,137,232,252,233,244,123,248,5,15,140,244,252,141,68,40,
295 1,252,233,244,2,248,6,137,232,252,233,244,2,248,7,255,15,132,244,254,1,252,
296 233,131,193,1,15,143,244,3,248,8,185,1,0,0,0,252,233,244,3,248,125,49,192,
297 252,233,244,4,248,126,129,252,248,239,15,130,244,63,65,139,174,233,65,59,
298 174,233,15,130,244,247,232,244,75,248,1,255,129,122,253,4,239,15,133,244,
299 63,129,122,253,12,239,139,42,255,15,133,244,63,139,66,8,255,15,131,244,63,
300 252,242,15,44,66,8,255,15,131,244,63,221,66,8,219,92,36,4,139,68,36,4,255,
301 133,192,15,142,244,125,131,189,233,1,15,130,244,125,15,133,244,127,65,57,
302 134,233,15,130,244,127,15,182,141,233,65,139,174,233,137,68,36,8,248,1,136,
303 77,0,131,197,1,131,232,1,15,133,244,1,65,139,134,233,252,233,244,123,248,
304 128,129,252,248,239,255,15,130,244,63,65,139,174,233,65,59,174,233,15,130,
305 244,247,232,244,75,248,1,129,122,253,4,239,15,133,244,63,139,42,139,133,233,
306 133,192,15,132,244,125,65,57,134,233,15,130,244,129,129,197,239,137,92,36,
307 4,137,68,36,8,65,139,158,233,248,1,255,15,182,77,0,131,197,1,131,232,1,136,
308 12,3,15,133,244,1,137,216,139,92,36,4,252,233,244,123,248,130,129,252,248,
309 239,15,130,244,63,65,139,174,233,65,59,174,233,15,130,244,247,232,244,75,
310 248,1,129,122,253,4,239,15,133,244,63,139,42,139,133,233,65,57,134,233,255,
311 15,130,244,129,129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,252,233,
312 244,249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,249,90,
313 15,135,244,248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,
314 137,216,139,92,36,4,252,233,244,123,248,131,129,252,248,239,15,130,244,63,
315 255,65,139,174,233,65,59,174,233,15,130,244,247,232,244,75,248,1,129,122,
316 253,4,239,15,133,244,63,139,42,139,133,233,65,57,134,233,15,130,244,129,129,
317 197,239,137,92,36,4,137,68,36,8,65,139,158,233,252,233,244,249,248,1,15,182,
318 76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,248,131,
319 252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,139,92,36,
320 4,252,233,244,123,248,132,129,252,248,239,15,130,244,63,129,122,253,4,239,
321 15,133,244,63,137,213,139,58,232,251,1,21,137,252,234,255,137,197,252,233,
322 244,71,255,252,242,15,42,192,252,233,244,72,255,248,133,129,252,248,239,15,
323 130,244,63,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244,89,248,
324 1,15,135,244,63,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,252,
325 242,15,88,193,102,15,126,197,255,252,233,244,89,255,248,134,129,252,248,239,
326 15,130,244,63,255,72,189,237,237,102,72,15,110,205,255,199,4,36,0,0,192,89,
327 255,15,133,244,247,139,42,252,233,244,248,248,1,15,135,244,63,255,252,242,
328 15,16,2,252,242,15,88,193,102,15,126,197,255,248,2,137,68,36,4,141,68,194,
329 252,240,248,1,57,208,15,134,244,89,129,120,253,4,239,255,15,133,244,248,35,
330 40,131,232,8,252,233,244,1,248,2,15,135,244,135,255,15,131,244,135,255,252,
331 242,15,16,0,252,242,15,88,193,102,15,126,193,33,205,255,131,232,8,252,233,
332 244,1,248,136,129,252,248,239,15,130,244,63,255,15,133,244,248,11,40,131,
333 232,8,252,233,244,1,248,2,15,135,244,135,255,252,242,15,16,0,252,242,15,88,
334 193,102,15,126,193,9,205,255,131,232,8,252,233,244,1,248,137,129,252,248,
335 239,15,130,244,63,255,15,133,244,248,51,40,131,232,8,252,233,244,1,248,2,
336 15,135,244,135,255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,49,205,
337 255,131,232,8,252,233,244,1,248,138,129,252,248,239,15,130,244,63,129,122,
338 253,4,239,255,248,2,15,205,252,233,244,89,248,139,129,252,248,239,15,130,
339 244,63,129,122,253,4,239,255,248,2,252,247,213,255,248,89,252,242,15,42,197,
340 252,233,244,72,255,248,135,139,68,36,4,252,233,244,63,255,248,140,129,252,
341 248,239,15,130,244,63,129,122,253,4,239,255,248,2,129,122,253,12,239,15,133,
342 244,63,139,74,8,255,248,140,129,252,248,239,15,130,244,63,129,122,253,4,239,
343 15,131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,
344 16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,
345 202,102,15,126,197,102,15,126,201,255,211,229,252,233,244,89,255,248,141,
346 129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,141,129,252,248,239,
347 15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
348 63,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,
349 242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,255,211,252,
350 237,252,233,244,89,255,248,142,129,252,248,239,15,130,244,63,129,122,253,
351 4,239,255,248,142,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,
352 244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,16,74,
353 8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102,
354 15,126,197,102,15,126,201,255,211,252,253,252,233,244,89,255,248,143,129,
355 252,248,239,15,130,244,63,129,122,253,4,239,255,248,143,129,252,248,239,15,
356 130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
357 63,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,
358 242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,255,211,197,
359 252,233,244,89,255,248,144,129,252,248,239,15,130,244,63,129,122,253,4,239,
360 255,248,144,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,
361 129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,16,74,8,72,189,
362 237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102,15,126,
363 197,102,15,126,201,255,211,205,252,233,244,89,248,127,184,237,252,233,244,
364 63,248,129,184,237,248,63,139,108,36,24,139,90,252,252,137,92,36,28,137,149,
365 233,141,68,194,252,248,141,136,233,137,133,233,139,66,252,248,59,141,233,
366 15,135,244,251,137,252,239,252,255,144,233,139,149,233,133,192,15,143,244,
367 78,248,1,255,139,141,233,41,209,193,252,233,3,133,192,141,65,1,139,106,252,
368 248,15,133,244,33,139,157,233,139,11,15,182,252,233,15,182,205,131,195,4,
369 65,252,255,36,252,238,248,33,137,209,252,247,195,237,15,133,244,249,15,182,
370 107,252,253,72,252,247,213,141,20,252,234,252,233,244,28,248,3,137,221,131,
371 229,252,248,41,252,234,252,233,244,28,248,5,190,237,137,252,239,232,251,1,
372 0,139,149,233,49,192,252,233,244,1,248,75,93,72,137,108,36,8,139,108,36,24,
373 137,92,36,28,137,149,233,255,141,68,194,252,248,137,252,239,137,133,233,232,
374 251,1,22,139,149,233,139,133,233,41,208,193,232,3,131,192,1,72,139,108,36,
375 8,85,195,248,145,255,65,15,182,134,233,168,235,15,133,244,251,168,235,15,
376 133,244,247,168,235,15,132,244,247,65,252,255,142,233,252,233,244,247,255,
377 248,146,65,15,182,134,233,168,235,15,133,244,251,252,233,244,247,248,147,
378 65,15,182,134,233,168,235,15,133,244,251,168,235,15,132,244,251,65,252,255,
379 142,233,15,132,244,247,168,235,15,132,244,251,248,1,255,139,108,36,24,137,
380 149,233,137,222,137,252,239,232,251,1,23,248,3,139,149,233,248,4,15,182,75,
381 252,253,248,5,15,182,107,252,252,15,183,67,252,254,65,252,255,164,253,252,
382 238,233,248,148,131,195,4,139,77,232,137,76,36,4,252,233,244,4,248,149,255,
383 139,106,252,248,139,173,233,15,182,133,233,141,4,194,139,108,36,24,137,149,
384 233,137,133,233,137,222,65,141,190,233,73,137,174,233,137,92,36,28,232,251,
385 1,24,252,233,244,3,255,248,150,137,92,36,28,255,248,151,255,137,92,36,28,
386 131,203,1,248,1,255,141,68,194,252,248,139,108,36,24,137,149,233,137,133,
387 233,137,222,137,252,239,232,251,1,25,199,68,36,28,0,0,0,0,255,131,227,252,
388 254,255,139,149,233,72,137,193,139,133,233,41,208,72,137,205,15,182,75,252,
389 253,193,232,3,131,192,1,252,255,229,248,152,255,65,85,65,84,65,83,65,82,65,
390 81,65,80,87,86,85,72,141,108,36,88,85,83,82,81,80,15,182,69,252,248,138,101,
391 252,240,76,137,125,252,248,76,137,117,252,240,68,139,117,0,65,139,142,233,
392 65,199,134,233,237,65,137,134,233,65,137,142,233,72,129,252,236,239,72,131,
393 197,128,252,242,68,15,17,125,252,248,252,242,68,15,17,117,252,240,252,242,
394 68,15,17,109,232,252,242,68,15,17,101,224,252,242,68,15,17,93,216,252,242,
395 68,15,17,85,208,252,242,68,15,17,77,200,252,242,68,15,17,69,192,252,242,15,
396 17,125,184,252,242,15,17,117,176,252,242,15,17,109,168,252,242,15,17,101,
397 160,252,242,15,17,93,152,252,242,15,17,85,144,252,242,15,17,77,136,252,242,
398 15,17,69,128,65,139,174,233,65,139,150,233,73,137,174,233,65,199,134,233,
399 0,0,0,0,137,149,233,72,137,230,65,141,190,233,232,251,1,26,72,139,141,233,
400 72,129,225,239,72,137,204,137,169,233,139,149,233,139,153,233,252,233,244,
401 247,255,248,153,255,72,131,196,16,248,1,76,139,108,36,8,76,139,36,36,133,
402 192,15,136,244,249,137,68,36,4,68,139,122,252,248,69,139,191,233,69,139,191,
403 233,65,199,134,233,0,0,0,0,65,199,134,233,237,139,3,15,182,204,15,182,232,
404 131,195,4,193,232,16,129,252,253,239,15,130,244,248,139,68,36,4,248,2,65,
405 252,255,36,252,238,248,3,252,247,216,137,252,239,137,198,232,251,1,1,255,
406 248,91,255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,4,102,37,252,
407 255,252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,
408 36,8,195,255,248,154,72,184,237,237,102,72,15,110,208,72,184,237,237,102,
409 72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,
410 85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,
411 72,15,110,208,252,242,15,194,193,1,102,15,84,194,252,242,15,92,200,15,40,
412 193,248,1,195,248,93,255,217,124,36,4,137,68,36,8,102,184,0,8,102,11,68,36,
413 4,102,37,252,255,252,251,102,137,68,36,6,217,108,36,6,217,252,252,217,108,
414 36,4,139,68,36,8,195,255,248,155,72,184,237,237,102,72,15,110,208,72,184,
415 237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,
416 247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,
417 237,237,102,72,15,110,208,252,242,15,194,193,6,102,15,84,194,252,242,15,92,
418 200,15,40,193,248,1,195,248,114,255,217,124,36,4,137,68,36,8,102,184,0,12,
419 102,11,68,36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,
420 68,36,8,195,255,248,156,72,184,237,237,102,72,15,110,208,72,184,237,237,102,
421 72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,
422 85,208,15,40,193,252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,72,
423 15,110,216,252,242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,86,
424 202,15,40,193,248,1,195,248,157,255,15,40,232,252,242,15,94,193,72,184,237,
425 237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,15,84,
426 226,102,15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,242,
427 15,92,227,102,15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,196,
428 1,102,15,84,194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,15,
429 92,193,195,248,1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,217,
430 193,216,252,241,217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,252,
431 247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,252,
432 233,195,255,248,98,217,252,234,222,201,248,158,217,84,36,252,248,129,124,
433 36,252,248,0,0,128,127,15,132,244,247,129,124,36,252,248,0,0,128,252,255,
434 15,132,244,248,248,159,217,192,217,252,252,220,252,233,217,201,217,252,240,
435 217,232,222,193,217,252,253,221,217,248,1,195,248,2,221,216,217,252,238,195,
436 255,248,117,255,248,160,252,242,15,45,193,252,242,15,42,208,102,15,46,202,
437 15,133,244,254,15,138,244,255,248,161,131,252,248,1,15,142,244,252,248,1,
438 169,1,0,0,0,15,133,244,248,252,242,15,89,192,209,232,252,233,244,1,248,2,
439 209,232,15,132,244,251,15,40,200,248,3,252,242,15,89,192,209,232,15,132,244,
440 250,15,131,244,3,255,252,242,15,89,200,252,233,244,3,248,4,252,242,15,89,
441 193,248,5,195,248,6,15,132,244,5,15,130,244,253,252,247,216,232,244,1,72,
442 184,237,237,102,72,15,110,200,252,242,15,94,200,15,40,193,195,248,7,72,184,
443 237,237,102,72,15,110,192,195,248,8,102,72,15,126,200,72,209,224,72,193,192,
444 12,72,61,252,254,15,0,0,15,132,244,248,102,72,15,126,192,72,209,224,15,132,
445 244,250,255,72,193,192,12,72,61,252,254,15,0,0,15,132,244,251,252,242,15,
446 17,76,36,252,240,252,242,15,17,68,36,252,248,221,68,36,252,240,221,68,36,
447 252,248,217,252,241,217,192,217,252,252,220,252,233,217,201,217,252,240,217,
448 232,222,193,217,252,253,221,217,221,92,36,252,248,252,242,15,16,68,36,252,
449 248,195,248,9,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,247,
450 15,40,193,248,1,195,248,2,72,184,237,237,102,72,15,110,208,102,15,84,194,
451 72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,1,102,15,80,193,
452 15,87,192,136,196,15,146,208,48,224,15,133,244,1,248,3,72,184,237,237,255,
453 102,72,15,110,192,195,248,4,102,15,80,193,133,192,15,133,244,3,15,87,192,
454 195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,192,195,248,162,255,131,
455 252,255,1,15,130,244,91,15,132,244,93,131,252,255,3,15,130,244,114,15,135,
456 244,248,252,242,15,81,192,195,248,2,252,242,15,17,68,36,252,248,221,68,36,
457 252,248,131,252,255,5,15,135,244,248,15,132,244,247,232,244,98,252,233,244,
458 253,248,1,232,244,158,255,252,233,244,253,248,2,131,252,255,7,15,132,244,
459 247,15,135,244,248,217,252,237,217,201,217,252,241,252,233,244,253,248,1,
460 217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,255,9,15,132,244,
461 247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,244,253,248,1,
462 255,217,252,254,252,233,244,253,248,2,131,252,255,11,15,132,244,247,15,135,
463 244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,216,248,7,221,92,
464 36,252,248,252,242,15,16,68,36,252,248,195,255,139,124,36,12,221,68,36,4,
465 131,252,255,1,15,130,244,91,15,132,244,93,131,252,255,3,15,130,244,114,15,
466 135,244,248,217,252,250,195,248,2,131,252,255,5,15,130,244,98,15,132,244,
467 158,131,252,255,7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,
468 241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,255,9,15,132,
469 244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,1,217,
470 252,254,195,248,2,131,252,255,11,15,132,244,247,15,135,244,255,217,252,255,
471 195,248,1,217,252,242,221,216,195,255,248,9,204,255,248,163,255,131,252,255,
472 1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15,92,
473 193,195,248,2,131,252,255,3,15,132,244,247,15,135,244,248,252,242,15,89,193,
474 195,248,1,252,242,15,94,193,195,248,2,131,252,255,5,15,130,244,157,15,132,
475 244,117,131,252,255,7,15,132,244,247,15,135,244,248,72,184,237,237,255,102,
476 72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,110,200,15,84,
477 193,195,248,2,131,252,255,9,15,135,244,248,252,242,15,17,68,36,252,248,252,
478 242,15,17,76,36,252,240,221,68,36,252,248,221,68,36,252,240,15,132,244,247,
479 217,252,243,248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,248,1,
480 217,201,217,252,253,221,217,252,233,244,7,248,2,131,252,255,11,15,132,244,
481 247,15,135,244,255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,
482 9,204,255,139,68,36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,
483 247,15,135,244,248,222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,
484 15,132,244,247,15,135,244,248,222,201,195,248,1,222,252,249,195,248,2,131,
485 252,248,5,15,130,244,157,15,132,244,117,131,252,248,7,15,132,244,247,15,135,
486 244,248,255,221,216,217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,
487 9,15,132,244,247,15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,
488 221,217,195,248,2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,
489 233,219,209,221,217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,
490 223,224,252,246,196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,
491 225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,
492 164,137,252,248,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,195,248,165,
493 255,204,248,166,255,83,65,87,65,86,72,131,252,236,40,68,141,181,233,139,157,
494 233,15,183,192,137,131,233,72,137,187,233,72,137,179,233,72,137,147,233,72,
495 137,139,233,252,242,15,17,131,233,252,242,15,17,139,233,252,242,15,17,147,
496 233,252,242,15,17,155,233,72,141,132,253,36,233,76,137,131,233,76,137,139,
497 233,252,242,15,17,163,233,252,242,15,17,171,233,252,242,15,17,179,233,252,
498 242,15,17,187,233,72,137,131,233,72,137,230,137,92,36,28,137,223,232,251,
499 1,27,65,199,134,233,237,255,139,144,233,139,128,233,41,208,139,106,252,248,
500 193,232,3,131,192,1,139,157,233,139,11,15,182,252,233,15,182,205,131,195,
501 4,65,252,255,36,252,238,255,248,32,255,139,76,36,24,65,139,158,233,72,137,
502 139,233,137,145,233,137,169,233,137,223,137,198,232,251,1,28,72,139,131,233,
503 252,242,15,16,131,233,252,233,244,16,255,248,167,255,85,72,137,229,83,72,
504 137,252,251,139,131,233,72,41,196,255,15,182,139,233,131,252,233,1,15,136,
505 244,248,248,1,72,139,132,253,203,233,72,137,132,253,204,233,131,252,233,1,
506 15,137,244,1,248,2,15,182,131,233,72,139,187,233,72,139,179,233,72,139,147,
507 233,72,139,139,233,76,139,131,233,76,139,139,233,133,192,15,132,244,251,15,
508 40,131,233,15,40,139,233,255,15,40,147,233,15,40,155,233,131,252,248,4,15,
509 134,244,251,15,40,163,233,15,40,171,233,15,40,179,233,15,40,187,233,248,5,
510 252,255,147,233,72,137,131,233,15,41,131,233,72,137,147,233,15,41,139,233,
511 255,72,139,93,252,248,201,195,255,129,124,253,202,4,239,15,133,244,253,129,
512 124,253,194,4,239,15,133,244,254,139,44,202,131,195,4,59,44,194,255,15,141,
513 244,255,255,15,140,244,255,255,15,143,244,255,255,15,142,244,255,255,248,
514 6,15,183,67,252,254,141,156,253,131,233,248,9,139,3,15,182,204,15,182,232,
515 131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,135,244,44,129,124,253,
516 194,4,239,15,130,244,247,15,133,244,44,255,252,242,15,42,4,194,252,233,244,
517 248,255,221,4,202,219,4,194,252,233,244,249,255,248,8,15,135,244,44,255,252,
518 242,15,42,12,202,252,242,15,16,4,194,131,195,4,102,15,46,193,255,15,134,244,
519 9,255,15,135,244,9,255,15,130,244,9,255,15,131,244,9,255,252,233,244,6,255,
520 219,4,202,252,233,244,248,255,129,124,253,202,4,239,15,131,244,44,129,124,
521 253,194,4,239,15,131,244,44,255,248,1,252,242,15,16,4,194,248,2,131,195,4,
522 102,15,46,4,202,248,3,255,248,1,221,4,202,248,2,221,4,194,248,3,131,195,4,
523 255,223,252,233,221,216,255,218,252,233,223,224,158,255,15,135,244,247,255,
524 15,130,244,247,255,15,131,244,247,255,15,183,67,252,254,141,156,253,131,233,
525 248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
526 238,255,139,108,194,4,131,195,4,255,129,252,253,239,15,133,244,253,129,124,
527 253,202,4,239,15,133,244,254,139,44,194,59,44,202,255,15,133,244,255,255,
528 15,132,244,255,255,15,183,67,252,254,141,156,253,131,233,248,9,139,3,15,182,
529 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,135,244,
530 251,129,124,253,202,4,239,15,130,244,247,15,133,244,251,255,252,242,15,42,
531 4,202,255,219,4,202,255,252,233,244,248,248,8,15,135,244,251,255,252,242,
532 15,42,4,194,102,15,46,4,202,255,219,4,194,221,4,202,255,252,233,244,250,255,
533 129,252,253,239,15,131,244,251,129,124,253,202,4,239,15,131,244,251,255,248,
534 1,252,242,15,16,4,202,248,2,102,15,46,4,194,248,4,255,248,1,221,4,202,248,
535 2,221,4,194,248,4,255,15,138,244,248,15,133,244,248,255,15,138,244,248,15,
536 132,244,247,255,248,1,15,183,67,252,254,141,156,253,131,233,248,2,255,248,
537 2,15,183,67,252,254,141,156,253,131,233,248,1,255,252,233,244,9,255,248,5,
538 255,129,252,253,239,15,132,244,49,129,124,253,202,4,239,15,132,244,49,255,
539 57,108,202,4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,
540 57,193,15,132,244,1,129,252,253,239,15,135,244,2,129,252,253,239,15,130,244,
541 2,139,169,233,133,252,237,15,132,244,2,252,246,133,233,235,15,133,244,2,255,
542 49,252,237,255,189,1,0,0,0,255,252,233,244,48,255,248,3,129,252,253,239,255,
543 15,133,244,9,255,252,233,244,49,255,72,252,247,208,139,108,202,4,131,195,
544 4,129,252,253,239,15,133,244,249,139,12,202,65,59,12,135,255,139,108,202,
545 4,131,195,4,255,129,252,253,239,15,133,244,253,65,129,124,253,199,4,239,15,
546 133,244,254,65,139,44,199,59,44,202,255,15,183,67,252,254,141,156,253,131,
547 233,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
548 252,238,248,7,15,135,244,249,65,129,124,253,199,4,239,15,130,244,247,255,
549 252,242,65,15,42,4,199,255,65,219,4,199,255,252,233,244,248,248,8,255,252,
550 242,15,42,4,202,102,65,15,46,4,199,255,219,4,202,65,221,4,199,255,129,252,
551 253,239,15,131,244,249,255,248,1,252,242,65,15,16,4,199,248,2,102,15,46,4,
552 202,248,4,255,248,1,65,221,4,199,248,2,221,4,202,248,4,255,72,252,247,208,
553 139,108,202,4,131,195,4,57,197,255,15,133,244,249,15,183,67,252,254,141,156,
554 253,131,233,248,2,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,
555 255,36,252,238,248,3,129,252,253,239,15,133,244,2,252,233,244,49,255,15,132,
556 244,248,129,252,253,239,15,132,244,49,15,183,67,252,254,141,156,253,131,233,
557 248,2,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
558 238,255,139,108,194,4,131,195,4,129,252,253,239,255,137,108,202,4,139,44,
559 194,137,44,202,255,72,139,44,194,72,137,44,202,139,3,15,182,204,15,182,232,
560 131,195,4,193,232,16,65,252,255,36,252,238,255,49,252,237,129,124,253,194,
561 4,239,129,213,239,137,108,202,4,139,3,15,182,204,15,182,232,131,195,4,193,
562 232,16,65,252,255,36,252,238,255,129,124,253,194,4,239,15,133,244,251,139,
563 44,194,252,247,221,15,128,244,250,199,68,202,4,237,137,44,202,248,9,139,3,
564 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,4,199,
565 68,202,4,0,0,224,65,199,4,202,0,0,0,0,252,233,244,9,248,5,15,135,244,54,255,
566 129,124,253,194,4,239,15,131,244,54,255,252,242,15,16,4,194,72,184,237,237,
567 102,72,15,110,200,15,87,193,252,242,15,17,4,202,255,221,4,194,217,224,221,
568 28,202,255,129,124,253,194,4,239,15,133,244,248,139,4,194,255,139,128,233,
569 248,1,199,68,202,4,237,137,4,202,255,15,87,192,252,242,15,42,128,233,248,
570 1,252,242,15,17,4,202,255,219,128,233,248,1,221,28,202,255,139,3,15,182,204,
571 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,129,124,253,194,
572 4,239,15,133,244,57,139,60,194,255,139,175,233,131,252,253,0,15,133,244,255,
573 248,3,255,248,58,137,213,232,251,1,21,255,252,242,15,42,192,255,137,252,234,
574 15,182,75,252,253,252,233,244,1,255,248,9,252,246,133,233,235,15,133,244,
575 3,252,233,244,57,255,15,182,252,236,15,182,192,255,129,124,253,252,234,4,
576 239,15,133,244,51,65,129,124,253,199,4,239,15,133,244,51,139,44,252,234,65,
577 3,44,199,15,128,244,50,255,129,124,253,252,234,4,239,15,133,244,53,65,129,
578 124,253,199,4,239,15,133,244,53,65,139,4,199,3,4,252,234,15,128,244,52,255,
579 129,124,253,252,234,4,239,15,133,244,56,129,124,253,194,4,239,15,133,244,
580 56,139,44,252,234,3,44,194,15,128,244,55,255,199,68,202,4,237,255,129,124,
581 253,252,234,4,239,15,131,244,51,255,65,129,124,253,199,4,239,15,131,244,51,
582 255,252,242,15,16,4,252,234,252,242,65,15,88,4,199,255,221,4,252,234,65,220,
583 4,199,255,129,124,253,252,234,4,239,15,131,244,53,255,65,129,124,253,199,
584 4,239,15,131,244,53,255,252,242,65,15,16,4,199,252,242,15,88,4,252,234,255,
585 65,221,4,199,220,4,252,234,255,129,124,253,252,234,4,239,15,131,244,56,129,
586 124,253,194,4,239,15,131,244,56,255,252,242,15,16,4,252,234,252,242,15,88,
587 4,194,255,221,4,252,234,220,4,194,255,129,124,253,252,234,4,239,15,133,244,
588 51,65,129,124,253,199,4,239,15,133,244,51,139,44,252,234,65,43,44,199,15,
589 128,244,50,255,129,124,253,252,234,4,239,15,133,244,53,65,129,124,253,199,
590 4,239,15,133,244,53,65,139,4,199,43,4,252,234,15,128,244,52,255,129,124,253,
591 252,234,4,239,15,133,244,56,129,124,253,194,4,239,15,133,244,56,139,44,252,
592 234,43,44,194,15,128,244,55,255,252,242,15,16,4,252,234,252,242,65,15,92,
593 4,199,255,221,4,252,234,65,220,36,199,255,252,242,65,15,16,4,199,252,242,
594 15,92,4,252,234,255,65,221,4,199,220,36,252,234,255,252,242,15,16,4,252,234,
595 252,242,15,92,4,194,255,221,4,252,234,220,36,194,255,129,124,253,252,234,
596 4,239,15,133,244,51,65,129,124,253,199,4,239,15,133,244,51,139,44,252,234,
597 65,15,175,44,199,15,128,244,50,255,129,124,253,252,234,4,239,15,133,244,53,
598 65,129,124,253,199,4,239,15,133,244,53,65,139,4,199,15,175,4,252,234,15,128,
599 244,52,255,129,124,253,252,234,4,239,15,133,244,56,129,124,253,194,4,239,
600 15,133,244,56,139,44,252,234,15,175,44,194,15,128,244,55,255,252,242,15,16,
601 4,252,234,252,242,65,15,89,4,199,255,221,4,252,234,65,220,12,199,255,252,
602 242,65,15,16,4,199,252,242,15,89,4,252,234,255,65,221,4,199,220,12,252,234,
603 255,252,242,15,16,4,252,234,252,242,15,89,4,194,255,221,4,252,234,220,12,
604 194,255,252,242,15,16,4,252,234,252,242,65,15,94,4,199,255,221,4,252,234,
605 65,220,52,199,255,252,242,65,15,16,4,199,252,242,15,94,4,252,234,255,65,221,
606 4,199,220,52,252,234,255,252,242,15,16,4,252,234,252,242,15,94,4,194,255,
607 221,4,252,234,220,52,194,255,252,242,15,16,4,252,234,252,242,65,15,16,12,
608 199,255,221,4,252,234,65,221,4,199,255,252,242,65,15,16,4,199,252,242,15,
609 16,12,252,234,255,65,221,4,199,221,4,252,234,255,252,242,15,16,4,252,234,
610 252,242,15,16,12,194,255,221,4,252,234,221,4,194,255,248,168,232,244,157,
611 255,252,233,244,168,255,232,244,117,255,15,182,252,236,15,182,192,139,124,
612 36,24,137,151,233,141,52,194,137,194,41,252,234,248,36,137,252,253,137,92,
613 36,28,232,251,1,29,139,149,233,133,192,15,133,244,45,15,182,107,252,255,15,
614 182,75,252,253,72,139,4,252,234,72,137,4,202,139,3,15,182,204,15,182,232,
615 131,195,4,193,232,16,65,252,255,36,252,238,255,72,252,247,208,65,139,4,135,
616 199,68,202,4,237,137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,
617 16,65,252,255,36,252,238,255,15,191,192,199,68,202,4,237,137,4,202,255,15,
618 191,192,252,242,15,42,192,252,242,15,17,4,202,255,223,67,252,254,221,28,202,
619 255,252,242,65,15,16,4,199,252,242,15,17,4,202,255,65,221,4,199,221,28,202,
620 255,72,252,247,208,137,68,202,4,139,3,15,182,204,15,182,232,131,195,4,193,
621 232,16,65,252,255,36,252,238,255,141,76,202,12,141,68,194,4,189,237,137,105,
622 252,248,248,1,137,41,131,193,8,57,193,15,134,244,1,139,3,15,182,204,15,182,
623 232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,106,252,248,139,172,
624 253,133,233,139,173,233,72,139,69,0,72,137,4,202,139,3,15,182,204,15,182,
625 232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,106,252,248,139,172,
626 253,141,233,128,189,233,0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,
627 69,4,15,132,244,247,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,
628 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,129,232,239,
629 129,252,248,239,15,134,244,1,252,246,129,233,235,15,132,244,1,137,252,238,
630 137,213,65,141,190,233,255,232,251,1,30,137,252,234,252,233,244,1,255,72,
631 252,247,208,139,106,252,248,139,172,253,141,233,65,139,12,135,139,133,233,
632 137,8,199,64,4,237,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,
633 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,252,246,129,
634 233,235,15,132,244,1,128,189,233,0,15,132,244,1,137,213,137,198,65,141,190,
635 233,232,251,1,30,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,
636 65,15,16,4,199,255,139,172,253,141,233,139,141,233,255,252,242,15,17,1,255,
637 221,25,255,72,252,247,208,139,106,252,248,139,172,253,141,233,139,141,233,
638 137,65,4,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
639 238,255,141,156,253,131,233,139,108,36,24,131,189,233,0,15,132,244,247,137,
640 149,233,141,52,202,137,252,239,232,251,1,31,139,149,233,248,1,139,3,15,182,
641 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,72,252,247,
642 208,139,108,36,24,137,149,233,139,82,252,248,65,139,52,135,137,252,239,137,
643 92,36,28,232,251,1,32,139,149,233,15,182,75,252,253,137,4,202,199,68,202,
644 4,237,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
645 238,255,139,108,36,24,137,149,233,65,139,142,233,65,59,142,233,137,92,36,
646 28,15,131,244,251,248,1,137,194,37,252,255,7,0,0,193,252,234,11,61,252,255,
647 7,0,0,15,132,244,249,248,2,137,252,239,137,198,232,251,1,33,139,149,233,15,
648 182,75,252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,
649 195,4,193,232,16,65,252,255,36,252,238,248,3,184,1,8,0,0,252,233,244,2,248,
650 5,137,252,239,232,251,1,34,15,183,67,252,254,252,233,244,1,255,72,252,247,
651 208,139,108,36,24,65,139,142,233,137,92,36,28,65,59,142,233,137,149,233,15,
652 131,244,249,248,2,65,139,52,135,137,252,239,232,251,1,35,139,149,233,15,182,
653 75,252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,195,
654 4,193,232,16,65,252,255,36,252,238,248,3,137,252,239,232,251,1,34,15,183,
655 67,252,254,72,252,247,208,252,233,244,2,255,72,252,247,208,139,106,252,248,
656 139,173,233,65,139,4,135,252,233,244,169,255,72,252,247,208,139,106,252,248,
657 139,173,233,65,139,4,135,252,233,244,170,255,15,182,252,236,15,182,192,129,
658 124,253,252,234,4,239,15,133,244,39,139,44,252,234,255,129,124,253,194,4,
659 239,15,133,244,251,139,4,194,255,129,124,253,194,4,239,15,131,244,251,255,
660 252,242,15,16,4,194,252,242,15,45,192,252,242,15,42,200,102,15,46,193,255,
661 15,133,244,39,255,59,133,233,15,131,244,39,193,224,3,3,133,233,129,120,253,
662 4,239,15,132,244,248,72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,
663 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,
664 244,249,139,141,233,252,246,129,233,235,15,132,244,39,15,182,75,252,253,248,
665 3,199,68,202,4,237,252,233,244,1,248,5,255,129,124,253,194,4,239,15,133,244,
666 39,139,4,194,252,233,244,169,255,15,182,252,236,15,182,192,72,252,247,208,
667 65,139,4,135,129,124,253,252,234,4,239,15,133,244,37,139,44,252,234,248,169,
668 139,141,233,35,136,233,105,201,239,3,141,233,248,1,129,185,233,239,15,133,
669 244,250,57,129,233,15,133,244,250,129,121,253,4,239,15,132,244,251,15,182,
670 67,252,253,72,139,41,72,137,44,194,248,2,255,139,3,15,182,204,15,182,232,
671 131,195,4,193,232,16,65,252,255,36,252,238,248,3,15,182,67,252,253,199,68,
672 194,4,237,252,233,244,2,248,4,139,137,233,133,201,15,133,244,1,248,5,139,
673 141,233,133,201,15,132,244,3,252,246,129,233,235,15,133,244,3,252,233,244,
674 37,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,38,
675 139,44,252,234,59,133,233,15,131,244,38,193,224,3,3,133,233,129,120,253,4,
676 239,15,132,244,248,72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,
677 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,
678 244,249,139,141,233,252,246,129,233,235,15,132,244,38,255,15,182,75,252,253,
679 248,3,199,68,202,4,237,252,233,244,1,255,15,182,252,236,15,182,192,129,124,
680 253,252,234,4,239,15,133,244,42,139,44,252,234,255,15,133,244,42,255,59,133,
681 233,15,131,244,42,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,
682 1,252,246,133,233,235,15,133,244,253,248,2,72,139,44,202,72,137,40,139,3,
683 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,131,
684 189,233,0,15,132,244,1,139,141,233,252,246,129,233,235,255,15,132,244,42,
685 15,182,75,252,253,252,233,244,1,248,5,129,124,253,194,4,239,15,133,244,42,
686 139,4,194,252,233,244,170,248,7,128,165,233,235,65,139,142,233,65,137,174,
687 233,137,141,233,15,182,75,252,253,252,233,244,2,255,15,182,252,236,15,182,
688 192,72,252,247,208,65,139,4,135,129,124,253,252,234,4,239,15,133,244,40,139,
689 44,252,234,248,170,139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,
690 233,248,1,129,185,233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,
691 253,4,239,15,132,244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,
692 3,15,182,67,252,253,72,139,44,194,72,137,41,139,3,15,182,204,15,182,232,131,
693 195,4,193,232,16,65,252,255,36,252,238,248,4,131,189,233,0,15,132,244,2,137,
694 12,36,139,141,233,252,246,129,233,235,15,132,244,40,139,12,36,252,233,244,
695 2,248,5,139,137,233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244,
696 252,252,246,129,233,235,15,132,244,40,248,6,137,4,36,199,68,36,4,237,137,
697 108,36,8,139,124,36,24,137,151,233,72,141,20,36,137,252,238,137,252,253,137,
698 92,36,28,232,251,1,36,139,149,233,139,108,36,8,137,193,252,233,244,2,248,
699 7,128,165,233,235,65,139,134,233,65,137,174,233,137,133,233,252,233,244,3,
700 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,41,139,
701 44,252,234,59,133,233,15,131,244,41,193,224,3,3,133,233,129,120,253,4,239,
702 15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,2,72,139,12,202,
703 72,137,8,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
704 238,248,3,131,189,233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,
705 15,132,244,41,15,182,75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,
706 142,233,65,137,174,233,137,141,233,15,182,75,252,253,252,233,244,2,255,68,
707 137,60,36,69,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,
708 235,15,133,244,253,248,2,139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,
709 59,133,233,15,135,244,251,68,41,252,248,65,193,231,3,68,3,189,233,248,3,72,
710 139,41,131,193,8,73,137,47,65,131,199,8,131,232,1,15,133,244,3,248,4,68,139,
711 60,36,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
712 238,248,5,139,124,36,24,137,151,233,137,252,238,137,194,137,252,253,137,92,
713 36,28,232,251,1,37,139,149,233,15,182,75,252,253,252,233,244,1,248,7,255,
714 128,165,233,235,65,139,134,233,65,137,174,233,137,133,233,252,233,244,2,255,
715 3,68,36,4,255,129,124,253,202,4,239,139,44,202,15,133,244,59,141,84,202,8,
716 137,90,252,252,139,157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,
717 252,255,36,252,238,255,141,76,202,8,65,137,215,139,105,252,248,129,121,253,
718 252,252,239,15,133,244,29,248,60,139,90,252,252,252,247,195,237,15,133,244,
719 253,248,1,137,106,252,248,137,68,36,4,131,232,1,15,132,244,249,248,2,72,139,
720 41,131,193,8,73,137,47,65,131,199,8,131,232,1,15,133,244,2,139,106,252,248,
721 248,3,139,68,36,4,128,189,233,1,15,135,244,251,248,4,139,157,233,139,11,15,
722 182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,248,5,255,252,247,
723 195,237,15,133,244,4,15,182,75,252,253,72,252,247,209,141,12,202,68,139,121,
724 252,248,69,139,191,233,69,139,191,233,252,233,244,4,248,7,129,252,235,239,
725 252,247,195,237,15,133,244,254,41,218,65,137,215,139,90,252,252,252,233,244,
726 1,248,8,129,195,239,252,233,244,1,255,141,76,202,8,72,139,105,232,72,139,
727 65,252,240,72,137,41,72,137,65,8,139,105,224,139,65,228,137,105,252,248,137,
728 65,252,252,129,252,248,239,184,237,15,133,244,29,137,202,137,90,252,252,139,
729 157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,
730 255,68,137,60,36,68,137,116,36,4,139,108,202,252,240,139,68,202,252,248,68,
731 139,181,233,131,195,4,68,139,189,233,248,1,68,57,252,240,15,131,244,251,65,
732 129,124,253,199,4,239,15,132,244,250,255,219,68,202,252,248,255,73,139,44,
733 199,72,137,108,202,8,131,192,1,255,137,68,202,252,248,248,2,15,183,67,252,
734 254,141,156,253,131,233,248,3,68,139,116,36,4,68,139,60,36,139,3,15,182,204,
735 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,4,131,192,1,255,
736 137,68,202,252,248,255,252,233,244,1,248,5,68,41,252,240,248,6,59,133,233,
737 15,135,244,3,68,105,252,248,239,68,3,189,233,65,129,191,233,239,15,132,244,
738 253,70,141,116,48,1,73,139,175,233,73,139,135,233,72,137,44,202,72,137,68,
739 202,8,68,137,116,202,252,248,252,233,244,2,248,7,131,192,1,252,233,244,6,
740 255,129,124,253,202,252,236,239,15,133,244,251,139,108,202,232,129,124,253,
741 202,252,244,239,15,133,244,251,129,124,253,202,252,252,239,15,133,244,251,
742 128,189,233,235,15,133,244,251,141,156,253,131,233,199,68,202,252,248,0,0,
743 0,0,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
744 252,238,248,5,198,67,252,252,235,141,156,253,131,233,198,3,235,252,233,244,
745 1,255,15,182,252,236,15,182,192,68,137,60,36,68,141,188,253,194,233,141,12,
746 202,68,43,122,252,252,133,252,237,15,132,244,251,141,108,252,233,252,248,
747 65,57,215,15,131,244,248,248,1,73,139,71,252,248,65,131,199,8,72,137,1,131,
748 193,8,57,252,233,15,131,244,249,65,57,215,15,130,244,1,248,2,199,65,4,237,
749 131,193,8,57,252,233,15,130,244,2,248,3,68,139,60,36,139,3,15,182,204,15,
750 182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,5,199,68,36,4,1,0,
751 0,0,137,208,68,41,252,248,15,134,244,3,137,197,193,252,237,3,131,197,1,137,
752 108,36,4,139,108,36,24,1,200,59,133,233,15,135,244,253,248,6,255,73,139,71,
753 252,248,65,131,199,8,72,137,1,131,193,8,65,57,215,15,130,244,6,252,233,244,
754 3,248,7,137,149,233,137,141,233,137,92,36,28,65,41,215,139,116,36,4,131,252,
755 238,1,137,252,239,232,251,1,0,139,149,233,139,141,233,65,1,215,252,233,244,
756 6,255,193,225,3,255,248,1,139,90,252,252,137,68,36,4,252,247,195,237,15,133,
757 244,253,255,248,13,65,137,215,131,232,1,15,132,244,249,248,2,73,139,44,15,
758 73,137,111,252,248,65,131,199,8,131,232,1,15,133,244,2,248,3,139,68,36,4,
759 15,182,107,252,255,248,5,57,197,15,135,244,252,255,72,139,44,10,72,137,106,
760 252,248,255,248,5,56,67,252,255,15,135,244,252,255,15,182,75,252,253,72,252,
761 247,209,141,20,202,68,139,122,252,248,69,139,191,233,69,139,191,233,139,3,
762 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,6,255,
763 65,199,71,252,252,237,65,131,199,8,255,199,68,194,252,244,237,255,131,192,
764 1,252,233,244,5,248,7,141,171,233,252,247,197,237,15,133,244,14,41,252,234,
765 255,1,252,233,255,137,221,209,252,237,129,229,239,102,65,129,172,253,46,233,
766 238,15,130,244,149,255,141,12,202,255,129,121,253,4,239,15,133,244,255,255,
767 129,121,253,12,239,15,133,244,61,129,121,253,20,239,15,133,244,61,139,41,
768 131,121,16,0,15,140,244,251,255,129,121,253,12,239,15,133,244,165,129,121,
769 253,20,239,15,133,244,165,255,139,105,16,133,252,237,15,136,244,251,3,41,
770 15,128,244,247,137,41,255,59,105,8,199,65,28,237,137,105,24,255,15,142,244,
771 253,248,1,248,6,141,156,253,131,233,255,141,156,253,131,233,15,183,67,252,
772 254,15,142,245,248,1,248,6,255,15,143,244,253,248,6,141,156,253,131,233,248,
773 1,255,248,7,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
774 252,238,248,5,255,3,41,15,128,244,1,137,41,255,15,141,244,7,255,141,156,253,
775 131,233,15,183,67,252,254,15,141,245,255,15,140,244,7,255,252,233,244,6,248,
776 9,255,129,121,253,4,239,255,15,131,244,61,129,121,253,12,239,15,131,244,61,
777 255,129,121,253,12,239,15,131,244,165,129,121,253,20,239,15,131,244,165,255,
778 139,105,20,255,129,252,253,239,15,131,244,61,255,252,242,15,16,1,252,242,
779 15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,237,15,136,244,
780 249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15,17,65,24,255,221,
781 65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15,136,244,247,255,
782 221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,67,252,254,255,15,131,
783 244,7,255,15,131,244,248,141,156,253,131,233,255,141,156,253,131,233,15,183,
784 67,252,254,15,131,245,255,15,130,244,7,255,15,130,244,248,141,156,253,131,
785 233,255,248,3,102,15,46,193,252,233,244,1,255,141,12,202,139,105,4,129,252,
786 253,239,15,132,244,247,255,137,105,252,252,139,41,137,105,252,248,252,233,
787 245,255,141,156,253,131,233,139,1,137,105,252,252,137,65,252,248,255,65,139,
788 142,233,139,4,129,72,139,128,233,139,108,36,24,65,137,150,233,65,137,174,
789 233,76,137,36,36,76,137,108,36,8,72,131,252,236,16,252,255,224,255,141,156,
790 253,131,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
791 252,238,255,137,221,209,252,237,129,229,239,102,65,129,172,253,46,233,238,
792 15,130,244,151,255,68,139,187,233,139,108,36,24,141,12,202,59,141,233,15,
793 135,244,24,15,182,139,233,57,200,15,134,244,249,248,2,255,15,183,67,252,254,
794 252,233,245,255,248,3,199,68,194,252,252,237,131,192,1,57,200,15,134,244,
795 3,252,233,244,2,255,141,44,197,237,141,4,194,68,139,122,252,248,137,104,252,
796 252,68,137,120,252,248,139,108,36,24,141,12,200,59,141,233,15,135,244,23,
797 137,209,137,194,15,182,171,233,133,252,237,15,132,244,248,248,1,131,193,8,
798 57,209,15,131,244,249,68,139,121,252,248,68,137,56,68,139,121,252,252,68,
799 137,120,4,131,192,8,199,65,252,252,237,131,252,237,1,15,133,244,1,248,2,255,
800 68,139,187,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,
801 36,252,238,255,248,3,199,64,4,237,131,192,8,131,252,237,1,15,133,244,3,252,
802 233,244,2,255,139,106,252,248,76,139,189,233,139,108,36,24,141,68,194,252,
803 248,137,149,233,141,136,233,59,141,233,137,133,233,255,76,137,252,254,137,
804 252,239,255,15,135,244,22,65,199,134,233,237,255,65,252,255,215,255,65,252,
805 255,150,233,255,65,199,134,233,237,139,149,233,141,12,194,252,247,217,3,141,
806 233,139,90,252,252,252,233,244,12,255,254,0
809 enum {
810 GLOB_vm_returnp,
811 GLOB_cont_dispatch,
812 GLOB_vm_returnc,
813 GLOB_BC_RET_Z,
814 GLOB_vm_return,
815 GLOB_vm_leave_cp,
816 GLOB_vm_leave_unw,
817 GLOB_vm_unwind_c,
818 GLOB_vm_unwind_c_eh,
819 GLOB_vm_unwind_rethrow,
820 GLOB_vm_unwind_ff,
821 GLOB_vm_unwind_ff_eh,
822 GLOB_vm_growstack_c,
823 GLOB_vm_growstack_v,
824 GLOB_vm_growstack_f,
825 GLOB_vm_resume,
826 GLOB_vm_pcall,
827 GLOB_vm_call,
828 GLOB_vm_call_dispatch,
829 GLOB_vmeta_call,
830 GLOB_vm_call_dispatch_f,
831 GLOB_vm_cpcall,
832 GLOB_cont_ffi_callback,
833 GLOB_vm_call_tail,
834 GLOB_cont_cat,
835 GLOB_cont_ra,
836 GLOB_BC_CAT_Z,
837 GLOB_vmeta_tgets,
838 GLOB_vmeta_tgetb,
839 GLOB_vmeta_tgetv,
840 GLOB_vmeta_tsets,
841 GLOB_vmeta_tsetb,
842 GLOB_vmeta_tsetv,
843 GLOB_cont_nop,
844 GLOB_vmeta_comp,
845 GLOB_vmeta_binop,
846 GLOB_cont_condt,
847 GLOB_cont_condf,
848 GLOB_vmeta_equal,
849 GLOB_vmeta_equal_cd,
850 GLOB_vmeta_arith_vno,
851 GLOB_vmeta_arith_vn,
852 GLOB_vmeta_arith_nvo,
853 GLOB_vmeta_arith_nv,
854 GLOB_vmeta_unm,
855 GLOB_vmeta_arith_vvo,
856 GLOB_vmeta_arith_vv,
857 GLOB_vmeta_len,
858 GLOB_BC_LEN_Z,
859 GLOB_vmeta_call_ra,
860 GLOB_BC_CALLT_Z,
861 GLOB_vmeta_for,
862 GLOB_ff_assert,
863 GLOB_fff_fallback,
864 GLOB_fff_res_,
865 GLOB_ff_type,
866 GLOB_fff_res1,
867 GLOB_ff_getmetatable,
868 GLOB_ff_setmetatable,
869 GLOB_ff_rawget,
870 GLOB_ff_tonumber,
871 GLOB_fff_resi,
872 GLOB_fff_resxmm0,
873 GLOB_fff_resn,
874 GLOB_ff_tostring,
875 GLOB_fff_gcstep,
876 GLOB_ff_next,
877 GLOB_fff_res2,
878 GLOB_fff_res,
879 GLOB_ff_pairs,
880 GLOB_ff_ipairs_aux,
881 GLOB_fff_res0,
882 GLOB_ff_ipairs,
883 GLOB_ff_pcall,
884 GLOB_ff_xpcall,
885 GLOB_ff_coroutine_resume,
886 GLOB_ff_coroutine_wrap_aux,
887 GLOB_ff_coroutine_yield,
888 GLOB_ff_math_abs,
889 GLOB_fff_resbit,
890 GLOB_ff_math_floor,
891 GLOB_vm_floor,
892 GLOB_ff_math_ceil,
893 GLOB_vm_ceil,
894 GLOB_ff_math_sqrt,
895 GLOB_ff_math_log,
896 GLOB_ff_math_log10,
897 GLOB_ff_math_exp,
898 GLOB_vm_exp_x87,
899 GLOB_ff_math_sin,
900 GLOB_ff_math_cos,
901 GLOB_ff_math_tan,
902 GLOB_ff_math_asin,
903 GLOB_ff_math_acos,
904 GLOB_ff_math_atan,
905 GLOB_ff_math_sinh,
906 GLOB_ff_math_cosh,
907 GLOB_ff_math_tanh,
908 GLOB_ff_math_deg,
909 GLOB_ff_math_rad,
910 GLOB_ff_math_atan2,
911 GLOB_ff_math_ldexp,
912 GLOB_ff_math_frexp,
913 GLOB_ff_math_modf,
914 GLOB_vm_trunc,
915 GLOB_ff_math_fmod,
916 GLOB_ff_math_pow,
917 GLOB_vm_pow,
918 GLOB_ff_math_min,
919 GLOB_ff_math_max,
920 GLOB_ff_string_len,
921 GLOB_ff_string_byte,
922 GLOB_ff_string_char,
923 GLOB_fff_newstr,
924 GLOB_ff_string_sub,
925 GLOB_fff_emptystr,
926 GLOB_ff_string_rep,
927 GLOB_fff_fallback_2,
928 GLOB_ff_string_reverse,
929 GLOB_fff_fallback_1,
930 GLOB_ff_string_lower,
931 GLOB_ff_string_upper,
932 GLOB_ff_table_getn,
933 GLOB_ff_bit_tobit,
934 GLOB_ff_bit_band,
935 GLOB_fff_fallback_bit_op,
936 GLOB_ff_bit_bor,
937 GLOB_ff_bit_bxor,
938 GLOB_ff_bit_bswap,
939 GLOB_ff_bit_bnot,
940 GLOB_ff_bit_lshift,
941 GLOB_ff_bit_rshift,
942 GLOB_ff_bit_arshift,
943 GLOB_ff_bit_rol,
944 GLOB_ff_bit_ror,
945 GLOB_vm_record,
946 GLOB_vm_rethook,
947 GLOB_vm_inshook,
948 GLOB_cont_hook,
949 GLOB_vm_hotloop,
950 GLOB_vm_callhook,
951 GLOB_vm_hotcall,
952 GLOB_vm_exit_handler,
953 GLOB_vm_exit_interp,
954 GLOB_vm_floor_sse,
955 GLOB_vm_ceil_sse,
956 GLOB_vm_trunc_sse,
957 GLOB_vm_mod,
958 GLOB_vm_exp2_x87,
959 GLOB_vm_exp2raw,
960 GLOB_vm_pow_sse,
961 GLOB_vm_powi_sse,
962 GLOB_vm_foldfpm,
963 GLOB_vm_foldarith,
964 GLOB_vm_cpuid,
965 GLOB_assert_bad_for_arg_type,
966 GLOB_vm_ffi_callback,
967 GLOB_vm_ffi_call,
968 GLOB_BC_MODVN_Z,
969 GLOB_BC_TGETS_Z,
970 GLOB_BC_TSETS_Z,
971 GLOB__MAX
973 static const char *const globnames[] = {
974 "vm_returnp",
975 "cont_dispatch",
976 "vm_returnc",
977 "BC_RET_Z",
978 "vm_return",
979 "vm_leave_cp",
980 "vm_leave_unw",
981 "vm_unwind_c@8",
982 "vm_unwind_c_eh",
983 "vm_unwind_rethrow",
984 "vm_unwind_ff@4",
985 "vm_unwind_ff_eh",
986 "vm_growstack_c",
987 "vm_growstack_v",
988 "vm_growstack_f",
989 "vm_resume",
990 "vm_pcall",
991 "vm_call",
992 "vm_call_dispatch",
993 "vmeta_call",
994 "vm_call_dispatch_f",
995 "vm_cpcall",
996 "cont_ffi_callback",
997 "vm_call_tail",
998 "cont_cat",
999 "cont_ra",
1000 "BC_CAT_Z",
1001 "vmeta_tgets",
1002 "vmeta_tgetb",
1003 "vmeta_tgetv",
1004 "vmeta_tsets",
1005 "vmeta_tsetb",
1006 "vmeta_tsetv",
1007 "cont_nop",
1008 "vmeta_comp",
1009 "vmeta_binop",
1010 "cont_condt",
1011 "cont_condf",
1012 "vmeta_equal",
1013 "vmeta_equal_cd",
1014 "vmeta_arith_vno",
1015 "vmeta_arith_vn",
1016 "vmeta_arith_nvo",
1017 "vmeta_arith_nv",
1018 "vmeta_unm",
1019 "vmeta_arith_vvo",
1020 "vmeta_arith_vv",
1021 "vmeta_len",
1022 "BC_LEN_Z",
1023 "vmeta_call_ra",
1024 "BC_CALLT_Z",
1025 "vmeta_for",
1026 "ff_assert",
1027 "fff_fallback",
1028 "fff_res_",
1029 "ff_type",
1030 "fff_res1",
1031 "ff_getmetatable",
1032 "ff_setmetatable",
1033 "ff_rawget",
1034 "ff_tonumber",
1035 "fff_resi",
1036 "fff_resxmm0",
1037 "fff_resn",
1038 "ff_tostring",
1039 "fff_gcstep",
1040 "ff_next",
1041 "fff_res2",
1042 "fff_res",
1043 "ff_pairs",
1044 "ff_ipairs_aux",
1045 "fff_res0",
1046 "ff_ipairs",
1047 "ff_pcall",
1048 "ff_xpcall",
1049 "ff_coroutine_resume",
1050 "ff_coroutine_wrap_aux",
1051 "ff_coroutine_yield",
1052 "ff_math_abs",
1053 "fff_resbit",
1054 "ff_math_floor",
1055 "vm_floor",
1056 "ff_math_ceil",
1057 "vm_ceil",
1058 "ff_math_sqrt",
1059 "ff_math_log",
1060 "ff_math_log10",
1061 "ff_math_exp",
1062 "vm_exp_x87",
1063 "ff_math_sin",
1064 "ff_math_cos",
1065 "ff_math_tan",
1066 "ff_math_asin",
1067 "ff_math_acos",
1068 "ff_math_atan",
1069 "ff_math_sinh",
1070 "ff_math_cosh",
1071 "ff_math_tanh",
1072 "ff_math_deg",
1073 "ff_math_rad",
1074 "ff_math_atan2",
1075 "ff_math_ldexp",
1076 "ff_math_frexp",
1077 "ff_math_modf",
1078 "vm_trunc",
1079 "ff_math_fmod",
1080 "ff_math_pow",
1081 "vm_pow",
1082 "ff_math_min",
1083 "ff_math_max",
1084 "ff_string_len",
1085 "ff_string_byte",
1086 "ff_string_char",
1087 "fff_newstr",
1088 "ff_string_sub",
1089 "fff_emptystr",
1090 "ff_string_rep",
1091 "fff_fallback_2",
1092 "ff_string_reverse",
1093 "fff_fallback_1",
1094 "ff_string_lower",
1095 "ff_string_upper",
1096 "ff_table_getn",
1097 "ff_bit_tobit",
1098 "ff_bit_band",
1099 "fff_fallback_bit_op",
1100 "ff_bit_bor",
1101 "ff_bit_bxor",
1102 "ff_bit_bswap",
1103 "ff_bit_bnot",
1104 "ff_bit_lshift",
1105 "ff_bit_rshift",
1106 "ff_bit_arshift",
1107 "ff_bit_rol",
1108 "ff_bit_ror",
1109 "vm_record",
1110 "vm_rethook",
1111 "vm_inshook",
1112 "cont_hook",
1113 "vm_hotloop",
1114 "vm_callhook",
1115 "vm_hotcall",
1116 "vm_exit_handler",
1117 "vm_exit_interp",
1118 "vm_floor_sse",
1119 "vm_ceil_sse",
1120 "vm_trunc_sse",
1121 "vm_mod",
1122 "vm_exp2_x87",
1123 "vm_exp2raw",
1124 "vm_pow_sse",
1125 "vm_powi_sse",
1126 "vm_foldfpm",
1127 "vm_foldarith",
1128 "vm_cpuid",
1129 "assert_bad_for_arg_type",
1130 "vm_ffi_callback",
1131 "vm_ffi_call@4",
1132 "BC_MODVN_Z",
1133 "BC_TGETS_Z",
1134 "BC_TSETS_Z",
1135 (const char *)0
1137 static const char *const extnames[] = {
1138 "lj_state_growstack@8",
1139 "lj_err_throw@8",
1140 "lj_meta_tget",
1141 "lj_meta_tset",
1142 "lj_meta_comp",
1143 "lj_meta_equal",
1144 "lj_meta_equal_cd@8",
1145 "lj_meta_arith",
1146 "lj_meta_len@8",
1147 "lj_meta_call",
1148 "lj_meta_for@8",
1149 "lj_tab_get",
1150 "lj_str_fromnumber@8",
1151 "lj_str_fromnum@8",
1152 "lj_tab_next",
1153 "lj_tab_getinth@8",
1154 "lj_ffh_coroutine_wrap_err@8",
1155 "lj_vm_sinh",
1156 "lj_vm_cosh",
1157 "lj_vm_tanh",
1158 "lj_str_new",
1159 "lj_tab_len@4",
1160 "lj_gc_step@4",
1161 "lj_dispatch_ins@8",
1162 "lj_trace_hot@8",
1163 "lj_dispatch_call@8",
1164 "lj_trace_exit@8",
1165 "lj_ccallback_enter@8",
1166 "lj_ccallback_leave@8",
1167 "lj_meta_cat",
1168 "lj_gc_barrieruv@8",
1169 "lj_func_closeuv@8",
1170 "lj_func_newL_gc",
1171 "lj_tab_new",
1172 "lj_gc_step_fixtop@4",
1173 "lj_tab_dup@8",
1174 "lj_tab_newkey",
1175 "lj_tab_reasize",
1176 (const char *)0
1178 #define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1179 #define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1180 #define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1181 #define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1182 #define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1183 #define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1184 #define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1185 #define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1186 #define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1187 #define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1188 #define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1189 #define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1190 #define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V)
1191 #define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1192 #define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1193 #define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto))
1195 /* Generate subroutines used by opcodes and other parts of the VM. */
1196 /* The .code_sub section should be last to help static branch prediction. */
1197 static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1199 dasm_put(Dst, 0);
1200 dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C);
1201 dasm_put(Dst, 109, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL);
1202 dasm_put(Dst, 200, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK);
1203 dasm_put(Dst, 302, 1+1, Dt1(->base), Dt1(->glref), GG_G2DISP, LJ_TFALSE, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, LUA_MINSTACK, -4+PC2PROTO(framesize), Dt1(->base));
1204 dasm_put(Dst, 385, Dt1(->top), Dt1(->base), Dt1(->top), Dt7(->pc), FRAME_CP, CFRAME_RESUME, Dt1(->glref), GG_G2DISP, Dt1(->cframe), Dt1(->status), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->status), Dt1(->base), Dt1(->top), FRAME_TYPE);
1205 dasm_put(Dst, 548, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1206 dasm_put(Dst, 648, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL);
1207 #if LJ_HASFFI
1208 dasm_put(Dst, 813);
1209 #endif
1210 dasm_put(Dst, 822, 0);
1211 #if LJ_HASFFI
1212 #endif
1213 dasm_put(Dst, 831, Dt7(->pc), PC2PROTO(k));
1214 #if LJ_HASFFI
1215 dasm_put(Dst, 848);
1216 #endif
1217 dasm_put(Dst, 869, Dt1(->base), LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1218 if (LJ_DUALNUM) {
1219 dasm_put(Dst, 967, LJ_TISNUM);
1220 } else if (sse) {
1221 dasm_put(Dst, 976);
1222 } else {
1224 dasm_put(Dst, 988, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET);
1225 dasm_put(Dst, 1134, DISPATCH_GL(tmptv), LJ_TTAB);
1226 if (LJ_DUALNUM) {
1227 dasm_put(Dst, 967, LJ_TISNUM);
1228 } else if (sse) {
1229 dasm_put(Dst, 976);
1230 } else {
1232 dasm_put(Dst, 1158, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base));
1233 dasm_put(Dst, 1330, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1234 dasm_put(Dst, 1429);
1235 #if LJ_HASFFI
1236 dasm_put(Dst, 1449, Dt1(->base));
1237 #endif
1238 dasm_put(Dst, 1480);
1239 #if LJ_DUALNUM
1240 dasm_put(Dst, 1483);
1241 #endif
1242 dasm_put(Dst, 1489);
1243 #if LJ_DUALNUM
1244 dasm_put(Dst, 961);
1245 #endif
1246 dasm_put(Dst, 1502);
1247 #if LJ_DUALNUM
1248 dasm_put(Dst, 1483);
1249 #endif
1250 dasm_put(Dst, 1531, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base));
1251 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1252 dasm_put(Dst, 1633);
1253 #else
1254 dasm_put(Dst, 1652);
1255 #endif
1256 dasm_put(Dst, 1657, Dt1(->base), Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND);
1257 dasm_put(Dst, 1843, 1+1, ~LJ_TNUMX);
1258 if (cmov) {
1259 dasm_put(Dst, 1912);
1260 } else {
1261 dasm_put(Dst, 1916);
1263 dasm_put(Dst, 1925, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, ~LJ_TLIGHTUD, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL);
1264 dasm_put(Dst, 2004, DISPATCH_GL(gcroot)+4*(GCROOT_MMNAME+MM_metatable), LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next));
1265 dasm_put(Dst, 2062, LJ_TNIL, LJ_TUDATA, LJ_TNUMX, LJ_TISNUM, LJ_TLIGHTUD);
1266 dasm_put(Dst, 2128, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB);
1267 dasm_put(Dst, 2199, Dt6(->marked), LJ_GC_BLACK, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist), 2+1, LJ_TTAB);
1268 dasm_put(Dst, 2289, 1+1, LJ_TISNUM);
1269 if (LJ_DUALNUM) {
1270 dasm_put(Dst, 2303);
1271 } else {
1272 dasm_put(Dst, 2320);
1274 if (sse) {
1275 dasm_put(Dst, 2325);
1276 } else {
1277 dasm_put(Dst, 2335);
1279 dasm_put(Dst, 2342, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1280 dasm_put(Dst, 2411, Dt1(->base));
1281 if (LJ_DUALNUM) {
1282 dasm_put(Dst, 2437);
1283 } else {
1284 dasm_put(Dst, 2442);
1286 dasm_put(Dst, 2447, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2);
1287 dasm_put(Dst, 2539, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1288 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1289 dasm_put(Dst, 2586, Dt6(->metatable));
1290 #endif
1291 dasm_put(Dst, 2595, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1292 if (LJ_DUALNUM) {
1293 dasm_put(Dst, 2581);
1294 } else {
1295 dasm_put(Dst, 2320);
1297 dasm_put(Dst, 2650);
1298 if (LJ_DUALNUM) {
1299 dasm_put(Dst, 2655, LJ_TISNUM);
1300 } else if (sse) {
1301 dasm_put(Dst, 2671, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1302 } else {
1304 dasm_put(Dst, 2704, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1305 dasm_put(Dst, 2566, 1+1, LJ_TTAB);
1306 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1307 dasm_put(Dst, 2586, Dt6(->metatable));
1308 #endif
1309 dasm_put(Dst, 2781, Dt8(->upvalue[0]), LJ_TFUNC);
1310 if (LJ_DUALNUM) {
1311 dasm_put(Dst, 2802, LJ_TISNUM);
1312 } else if (sse) {
1313 dasm_put(Dst, 2814);
1314 } else {
1315 dasm_put(Dst, 2824);
1317 dasm_put(Dst, 2831, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC);
1318 dasm_put(Dst, 2896, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top));
1319 dasm_put(Dst, 2985, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1320 dasm_put(Dst, 3072, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE);
1321 dasm_put(Dst, 3187, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe));
1322 dasm_put(Dst, 3282, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1323 dasm_put(Dst, 3348, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack));
1324 dasm_put(Dst, 3437, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME);
1325 dasm_put(Dst, 3547, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1326 if (!LJ_DUALNUM) {
1327 dasm_put(Dst, 3574);
1329 if (sse) {
1330 dasm_put(Dst, 3577);
1332 dasm_put(Dst, 3592, 1+1);
1333 if (LJ_DUALNUM) {
1334 dasm_put(Dst, 3603, LJ_TISNUM, LJ_TISNUM);
1335 } else {
1336 dasm_put(Dst, 3683, LJ_TISNUM);
1338 if (sse) {
1339 dasm_put(Dst, 3693, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1340 } else {
1341 dasm_put(Dst, 3724);
1343 dasm_put(Dst, 3741, 1+1, FRAME_TYPE, LJ_TNIL);
1344 if (LJ_DUALNUM) {
1345 dasm_put(Dst, 3838, LJ_TISNUM);
1346 } else {
1347 dasm_put(Dst, 3683, LJ_TISNUM);
1349 if (sse) {
1350 dasm_put(Dst, 3860);
1351 if (LJ_DUALNUM) {
1352 dasm_put(Dst, 3869);
1354 dasm_put(Dst, 2330);
1355 } else {
1356 dasm_put(Dst, 3903);
1357 if (LJ_DUALNUM) {
1358 } else {
1359 dasm_put(Dst, 2337);
1362 dasm_put(Dst, 3909);
1363 if (LJ_DUALNUM) {
1364 dasm_put(Dst, 3838, LJ_TISNUM);
1365 } else {
1366 dasm_put(Dst, 3683, LJ_TISNUM);
1368 if (sse) {
1369 dasm_put(Dst, 3912);
1370 if (LJ_DUALNUM) {
1371 dasm_put(Dst, 3869);
1373 dasm_put(Dst, 2330);
1374 } else {
1375 dasm_put(Dst, 3921);
1376 if (LJ_DUALNUM) {
1377 } else {
1378 dasm_put(Dst, 2337);
1381 if (sse) {
1382 dasm_put(Dst, 3927, 1+1, LJ_TISNUM);
1383 } else {
1384 dasm_put(Dst, 3956, 1+1, LJ_TISNUM);
1386 dasm_put(Dst, 3985, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1387 dasm_put(Dst, 4054, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1388 dasm_put(Dst, 4111, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1389 dasm_put(Dst, 4174, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1390 dasm_put(Dst, 4264);
1391 if (sse) {
1392 dasm_put(Dst, 4276, 1+1, LJ_TISNUM);
1393 } else {
1395 dasm_put(Dst, 4301);
1396 if (sse) {
1397 dasm_put(Dst, 4315, 1+1, LJ_TISNUM);
1398 } else {
1400 dasm_put(Dst, 4340);
1401 if (sse) {
1402 dasm_put(Dst, 4354, 1+1, LJ_TISNUM);
1403 } else {
1405 dasm_put(Dst, 4379);
1406 if (sse) {
1407 dasm_put(Dst, 4395, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1408 } else {
1409 dasm_put(Dst, 4434, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1411 dasm_put(Dst, 4467, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1412 dasm_put(Dst, 4532, 1+1, LJ_TISNUM);
1413 if (sse) {
1414 dasm_put(Dst, 4631);
1415 } else {
1416 dasm_put(Dst, 4637);
1418 dasm_put(Dst, 4644);
1419 if (sse) {
1420 dasm_put(Dst, 4669);
1421 } else {
1422 dasm_put(Dst, 4675);
1424 dasm_put(Dst, 4678, 1+2);
1425 if (sse) {
1426 dasm_put(Dst, 4687);
1427 } else {
1428 dasm_put(Dst, 4695);
1430 dasm_put(Dst, 4703);
1431 if (sse) {
1432 dasm_put(Dst, 4706, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
1433 } else {
1434 dasm_put(Dst, 4733);
1436 dasm_put(Dst, 4750);
1437 if (sse) {
1438 dasm_put(Dst, 4766, 1+1, LJ_TISNUM);
1439 } else {
1440 dasm_put(Dst, 4791, 1+1, LJ_TISNUM);
1442 dasm_put(Dst, 4813);
1443 if (sse) {
1444 dasm_put(Dst, 4835);
1445 } else {
1446 dasm_put(Dst, 4861);
1448 dasm_put(Dst, 4878, 1+2);
1449 if (sse) {
1450 dasm_put(Dst, 4918);
1451 } else {
1452 dasm_put(Dst, 4926);
1454 dasm_put(Dst, 4936, 2+1, LJ_TISNUM, LJ_TISNUM);
1455 if (sse) {
1456 dasm_put(Dst, 4988, 2+1, LJ_TISNUM, LJ_TISNUM);
1457 } else {
1458 dasm_put(Dst, 5035, 2+1, LJ_TISNUM, LJ_TISNUM);
1460 dasm_put(Dst, 5076, LJ_TISNUM);
1461 if (LJ_DUALNUM) {
1462 dasm_put(Dst, 5089, LJ_TISNUM);
1463 if (sse) {
1464 dasm_put(Dst, 4631);
1465 } else {
1467 dasm_put(Dst, 5139);
1468 } else {
1469 dasm_put(Dst, 2320);
1471 if (sse) {
1472 dasm_put(Dst, 5150, LJ_TISNUM);
1473 if (LJ_DUALNUM) {
1474 dasm_put(Dst, 5171);
1475 } else {
1476 dasm_put(Dst, 2320);
1478 dasm_put(Dst, 5192);
1479 } else {
1481 dasm_put(Dst, 5217, LJ_TISNUM);
1482 if (LJ_DUALNUM) {
1483 dasm_put(Dst, 5230, LJ_TISNUM);
1484 if (sse) {
1485 dasm_put(Dst, 4631);
1486 } else {
1488 dasm_put(Dst, 5139);
1489 } else {
1490 dasm_put(Dst, 2320);
1492 if (sse) {
1493 dasm_put(Dst, 5150, LJ_TISNUM);
1494 if (LJ_DUALNUM) {
1495 dasm_put(Dst, 5171);
1496 } else {
1497 dasm_put(Dst, 2320);
1499 dasm_put(Dst, 5280);
1500 } else {
1502 if (!sse) {
1503 dasm_put(Dst, 5305);
1505 dasm_put(Dst, 5314, 1+1, LJ_TSTR);
1506 if (LJ_DUALNUM) {
1507 dasm_put(Dst, 5336, Dt5(->len));
1508 } else if (sse) {
1509 dasm_put(Dst, 5344, Dt5(->len));
1510 } else {
1511 dasm_put(Dst, 5355, Dt5(->len));
1513 dasm_put(Dst, 5363, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1514 if (LJ_DUALNUM) {
1515 dasm_put(Dst, 5339);
1516 } else if (sse) {
1517 dasm_put(Dst, 5401);
1518 } else {
1519 dasm_put(Dst, 5411);
1521 dasm_put(Dst, 5422, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1522 if (LJ_DUALNUM) {
1523 dasm_put(Dst, 5455);
1524 } else if (sse) {
1525 dasm_put(Dst, 5478);
1526 } else {
1527 dasm_put(Dst, 5504);
1529 dasm_put(Dst, 5528, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1530 if (LJ_DUALNUM) {
1531 dasm_put(Dst, 5637);
1532 } else if (sse) {
1533 dasm_put(Dst, 5649);
1534 } else {
1535 dasm_put(Dst, 5664);
1537 dasm_put(Dst, 5676, LJ_TSTR, LJ_TISNUM);
1538 if (LJ_DUALNUM) {
1539 dasm_put(Dst, 2581);
1540 } else {
1541 dasm_put(Dst, 2320);
1543 dasm_put(Dst, 5693, Dt5(->len));
1544 if (LJ_DUALNUM) {
1545 dasm_put(Dst, 5703);
1546 } else if (sse) {
1547 dasm_put(Dst, 5707);
1548 } else {
1550 dasm_put(Dst, 5714, sizeof(GCstr)-1);
1551 dasm_put(Dst, 5789, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1552 dasm_put(Dst, 5850, LJ_TSTR, LJ_TISNUM);
1553 if (LJ_DUALNUM) {
1554 dasm_put(Dst, 5867);
1555 } else if (sse) {
1556 dasm_put(Dst, 5875);
1557 } else {
1558 dasm_put(Dst, 5886);
1560 dasm_put(Dst, 5902, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1561 dasm_put(Dst, 5970, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1562 dasm_put(Dst, 6037, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1563 dasm_put(Dst, 6110, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1564 dasm_put(Dst, 6195, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1565 dasm_put(Dst, 6269, 1+1, LJ_TTAB);
1566 if (LJ_DUALNUM) {
1567 dasm_put(Dst, 6336);
1568 } else if (sse) {
1569 dasm_put(Dst, 6343);
1570 } else {
1572 dasm_put(Dst, 6353, 1+1, LJ_TISNUM);
1573 if (LJ_DUALNUM) {
1574 dasm_put(Dst, 6369);
1575 } else {
1576 dasm_put(Dst, 2320);
1578 if (sse) {
1579 dasm_put(Dst, 6386, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1580 } else {
1582 dasm_put(Dst, 106);
1583 if (LJ_DUALNUM || sse) {
1584 if (!sse) {
1586 dasm_put(Dst, 6410);
1587 } else {
1589 dasm_put(Dst, 6415, 1+1);
1590 if (sse) {
1591 dasm_put(Dst, 6426, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1592 } else {
1593 dasm_put(Dst, 6436);
1595 dasm_put(Dst, 2297, LJ_TISNUM);
1596 if (LJ_DUALNUM) {
1597 dasm_put(Dst, 6444);
1598 } else {
1599 dasm_put(Dst, 2320);
1601 if (sse) {
1602 dasm_put(Dst, 6461);
1603 } else {
1605 dasm_put(Dst, 6476, LJ_TISNUM);
1606 if (LJ_DUALNUM) {
1607 dasm_put(Dst, 6501);
1608 } else {
1609 dasm_put(Dst, 6521);
1611 if (sse) {
1612 dasm_put(Dst, 6526);
1613 } else {
1615 dasm_put(Dst, 6543, 1+1);
1616 if (sse) {
1617 dasm_put(Dst, 6426, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1618 } else {
1619 dasm_put(Dst, 6436);
1621 dasm_put(Dst, 2297, LJ_TISNUM);
1622 if (LJ_DUALNUM) {
1623 dasm_put(Dst, 6444);
1624 } else {
1625 dasm_put(Dst, 2320);
1627 if (sse) {
1628 dasm_put(Dst, 6461);
1629 } else {
1631 dasm_put(Dst, 6476, LJ_TISNUM);
1632 if (LJ_DUALNUM) {
1633 dasm_put(Dst, 6561);
1634 } else {
1635 dasm_put(Dst, 6521);
1637 if (sse) {
1638 dasm_put(Dst, 6581);
1639 } else {
1641 dasm_put(Dst, 6598, 1+1);
1642 if (sse) {
1643 dasm_put(Dst, 6426, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1644 } else {
1645 dasm_put(Dst, 6436);
1647 dasm_put(Dst, 2297, LJ_TISNUM);
1648 if (LJ_DUALNUM) {
1649 dasm_put(Dst, 6444);
1650 } else {
1651 dasm_put(Dst, 2320);
1653 if (sse) {
1654 dasm_put(Dst, 6461);
1655 } else {
1657 dasm_put(Dst, 6476, LJ_TISNUM);
1658 if (LJ_DUALNUM) {
1659 dasm_put(Dst, 6616);
1660 } else {
1661 dasm_put(Dst, 6521);
1663 if (sse) {
1664 dasm_put(Dst, 6636);
1665 } else {
1667 dasm_put(Dst, 6653, 1+1, LJ_TISNUM);
1668 if (LJ_DUALNUM) {
1669 dasm_put(Dst, 6444);
1670 } else {
1671 dasm_put(Dst, 2320);
1673 if (sse) {
1674 dasm_put(Dst, 6386, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1675 } else {
1677 dasm_put(Dst, 6676, 1+1, LJ_TISNUM);
1678 if (LJ_DUALNUM) {
1679 dasm_put(Dst, 6444);
1680 } else {
1681 dasm_put(Dst, 2320);
1683 if (sse) {
1684 dasm_put(Dst, 6386, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1685 } else {
1687 dasm_put(Dst, 6700);
1688 if (LJ_DUALNUM) {
1689 dasm_put(Dst, 6410);
1690 } else if (sse) {
1691 dasm_put(Dst, 6706);
1692 } else {
1694 dasm_put(Dst, 6718);
1695 if (LJ_DUALNUM) {
1696 dasm_put(Dst, 6729, 1+1, LJ_TISNUM);
1697 if (LJ_DUALNUM) {
1698 dasm_put(Dst, 6444);
1699 } else {
1700 dasm_put(Dst, 2320);
1702 if (sse) {
1703 dasm_put(Dst, 6386, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1704 } else {
1706 dasm_put(Dst, 6745, LJ_TISNUM);
1707 } else if (sse) {
1708 dasm_put(Dst, 6760, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1709 } else {
1711 dasm_put(Dst, 6827);
1712 if (LJ_DUALNUM) {
1713 dasm_put(Dst, 6834, 1+1, LJ_TISNUM);
1714 if (LJ_DUALNUM) {
1715 dasm_put(Dst, 6444);
1716 } else {
1717 dasm_put(Dst, 2320);
1719 if (sse) {
1720 dasm_put(Dst, 6386, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1721 } else {
1723 dasm_put(Dst, 6745, LJ_TISNUM);
1724 } else if (sse) {
1725 dasm_put(Dst, 6850, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1726 } else {
1728 dasm_put(Dst, 6917);
1729 if (LJ_DUALNUM) {
1730 dasm_put(Dst, 6925, 1+1, LJ_TISNUM);
1731 if (LJ_DUALNUM) {
1732 dasm_put(Dst, 6444);
1733 } else {
1734 dasm_put(Dst, 2320);
1736 if (sse) {
1737 dasm_put(Dst, 6386, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1738 } else {
1740 dasm_put(Dst, 6745, LJ_TISNUM);
1741 } else if (sse) {
1742 dasm_put(Dst, 6941, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1743 } else {
1745 dasm_put(Dst, 7008);
1746 if (LJ_DUALNUM) {
1747 dasm_put(Dst, 7016, 1+1, LJ_TISNUM);
1748 if (LJ_DUALNUM) {
1749 dasm_put(Dst, 6444);
1750 } else {
1751 dasm_put(Dst, 2320);
1753 if (sse) {
1754 dasm_put(Dst, 6386, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1755 } else {
1757 dasm_put(Dst, 6745, LJ_TISNUM);
1758 } else if (sse) {
1759 dasm_put(Dst, 7032, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1760 } else {
1762 dasm_put(Dst, 7099);
1763 if (LJ_DUALNUM) {
1764 dasm_put(Dst, 7106, 1+1, LJ_TISNUM);
1765 if (LJ_DUALNUM) {
1766 dasm_put(Dst, 6444);
1767 } else {
1768 dasm_put(Dst, 2320);
1770 if (sse) {
1771 dasm_put(Dst, 6386, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1772 } else {
1774 dasm_put(Dst, 6745, LJ_TISNUM);
1775 } else if (sse) {
1776 dasm_put(Dst, 7122, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1777 } else {
1779 dasm_put(Dst, 7189, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1780 dasm_put(Dst, 7265, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base));
1781 dasm_put(Dst, 7392, Dt1(->top), Dt1(->base), Dt1(->top));
1782 #if LJ_HASJIT
1783 dasm_put(Dst, 7431, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1784 #endif
1785 dasm_put(Dst, 7464, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE);
1786 dasm_put(Dst, 7518, Dt1(->base), Dt1(->base), GG_DISP2STATIC);
1787 #if LJ_HASJIT
1788 dasm_put(Dst, 7585, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L));
1789 #endif
1790 dasm_put(Dst, 7632);
1791 #if LJ_HASJIT
1792 dasm_put(Dst, 7459);
1793 #endif
1794 dasm_put(Dst, 7639);
1795 #if LJ_HASJIT
1796 dasm_put(Dst, 7642);
1797 #endif
1798 dasm_put(Dst, 7652, Dt1(->base), Dt1(->top));
1799 #if LJ_HASJIT
1800 dasm_put(Dst, 7685);
1801 #endif
1802 dasm_put(Dst, 7690, Dt1(->base), Dt1(->top));
1803 #if LJ_HASJIT
1804 dasm_put(Dst, 7721, DISPATCH_GL(vmstate), DISPATCH_GL(vmstate), ~LJ_VMST_EXIT, DISPATCH_J(exitno), DISPATCH_J(parent), 16*8, DISPATCH_GL(jit_L), DISPATCH_GL(jit_base), DISPATCH_J(L), DISPATCH_GL(jit_L), Dt1(->base), GG_DISP2J, Dt1(->cframe), CFRAME_RAWMASK, CFRAME_OFS_L, Dt1(->base), CFRAME_OFS_PC);
1805 #endif
1806 dasm_put(Dst, 7960);
1807 #if LJ_HASJIT
1808 dasm_put(Dst, 7963, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF);
1809 #endif
1810 dasm_put(Dst, 8063);
1811 if (!sse) {
1812 dasm_put(Dst, 8066);
1814 dasm_put(Dst, 8111, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1815 if (!sse) {
1816 dasm_put(Dst, 8197);
1818 dasm_put(Dst, 8242, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(bff00000,00000000)), (unsigned int)((U64x(bff00000,00000000))>>32));
1819 if (!sse) {
1820 dasm_put(Dst, 8328);
1822 dasm_put(Dst, 8367, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1823 if (sse) {
1824 dasm_put(Dst, 8456, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1825 } else {
1826 dasm_put(Dst, 8570);
1828 dasm_put(Dst, 8617);
1829 if (!sse) {
1830 } else {
1831 dasm_put(Dst, 8694);
1833 dasm_put(Dst, 8697);
1834 dasm_put(Dst, 8782, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1835 dasm_put(Dst, 8885, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(7ff00000,00000000)), (unsigned int)((U64x(7ff00000,00000000))>>32));
1836 dasm_put(Dst, 9047);
1837 #if LJ_HASJIT
1838 if (sse) {
1839 dasm_put(Dst, 9088);
1840 dasm_put(Dst, 9158);
1841 dasm_put(Dst, 9230);
1842 } else {
1843 dasm_put(Dst, 9282);
1844 dasm_put(Dst, 9374);
1846 dasm_put(Dst, 9420);
1847 #endif
1848 dasm_put(Dst, 9424);
1849 if (sse) {
1850 dasm_put(Dst, 9427, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1851 dasm_put(Dst, 9512, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1852 } else {
1853 dasm_put(Dst, 9640);
1854 dasm_put(Dst, 9723);
1855 if (cmov) {
1856 dasm_put(Dst, 9778);
1857 } else {
1858 dasm_put(Dst, 9797);
1860 dasm_put(Dst, 9420);
1862 dasm_put(Dst, 9838);
1863 #ifdef LUA_USE_ASSERT
1864 dasm_put(Dst, 9422);
1865 #endif
1866 dasm_put(Dst, 9862);
1867 #if LJ_HASFFI
1868 #define DtE(_V) (int)(ptrdiff_t)&(((CTState *)0)_V)
1869 dasm_put(Dst, 9866, GG_G2DISP, Dt2(->ctype_state), DtE(->cb.slot), DtE(->cb.gpr[0]), DtE(->cb.gpr[1]), DtE(->cb.gpr[2]), DtE(->cb.gpr[3]), DtE(->cb.fpr[0]), DtE(->cb.fpr[1]), DtE(->cb.fpr[2]), DtE(->cb.fpr[3]), CFRAME_SIZE, DtE(->cb.gpr[4]), DtE(->cb.gpr[5]), DtE(->cb.fpr[4]), DtE(->cb.fpr[5]), DtE(->cb.fpr[6]), DtE(->cb.fpr[7]), DtE(->cb.stack), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1870 dasm_put(Dst, 9990, Dt1(->base), Dt1(->top), Dt7(->pc));
1871 #endif
1872 dasm_put(Dst, 10030);
1873 #if LJ_HASFFI
1874 dasm_put(Dst, 10033, DISPATCH_GL(ctype_state), DtE(->L), Dt1(->base), Dt1(->top), DtE(->cb.gpr[0]), DtE(->cb.fpr[0]));
1875 #endif
1876 dasm_put(Dst, 10074);
1877 #if LJ_HASFFI
1878 #define DtF(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
1879 dasm_put(Dst, 10077, DtF(->spadj));
1880 #if LJ_TARGET_WINDOWS
1881 #endif
1882 dasm_put(Dst, 10093, DtF(->nsp), offsetof(CCallState, stack), CCALL_SPS_EXTRA*8, DtF(->nfpr), DtF(->gpr[0]), DtF(->gpr[1]), DtF(->gpr[2]), DtF(->gpr[3]), DtF(->gpr[4]), DtF(->gpr[5]), DtF(->fpr[0]), DtF(->fpr[1]));
1883 dasm_put(Dst, 10172, DtF(->fpr[2]), DtF(->fpr[3]), DtF(->fpr[4]), DtF(->fpr[5]), DtF(->fpr[6]), DtF(->fpr[7]), DtF(->func), DtF(->gpr[0]), DtF(->fpr[0]), DtF(->gpr[1]), DtF(->fpr[1]));
1884 #if LJ_TARGET_WINDOWS
1885 #endif
1886 dasm_put(Dst, 10227);
1887 #endif
1890 /* Generate the code for a single instruction. */
1891 static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1893 int vk = 0;
1894 dasm_put(Dst, 829, defop);
1896 switch (op) {
1898 /* -- Comparison ops ---------------------------------------------------- */
1900 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1903 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1904 if (LJ_DUALNUM) {
1905 dasm_put(Dst, 10235, LJ_TISNUM, LJ_TISNUM);
1906 switch (op) {
1907 case BC_ISLT:
1908 dasm_put(Dst, 10265);
1909 break;
1910 case BC_ISGE:
1911 dasm_put(Dst, 10270);
1912 break;
1913 case BC_ISLE:
1914 dasm_put(Dst, 10275);
1915 break;
1916 case BC_ISGT:
1917 dasm_put(Dst, 10280);
1918 break;
1919 default: break; /* Shut up GCC. */
1921 dasm_put(Dst, 10285, -BCBIAS_J*4, LJ_TISNUM);
1922 if (sse) {
1923 dasm_put(Dst, 10340);
1924 } else {
1925 dasm_put(Dst, 10351);
1927 dasm_put(Dst, 10362);
1928 if (sse) {
1929 dasm_put(Dst, 10369);
1930 switch (op) {
1931 case BC_ISLT:
1932 dasm_put(Dst, 10389);
1933 break;
1934 case BC_ISGE:
1935 dasm_put(Dst, 10394);
1936 break;
1937 case BC_ISLE:
1938 dasm_put(Dst, 10399);
1939 break;
1940 case BC_ISGT:
1941 dasm_put(Dst, 10404);
1942 break;
1943 default: break; /* Shut up GCC. */
1945 dasm_put(Dst, 10409);
1946 } else {
1947 dasm_put(Dst, 10414);
1949 } else {
1950 dasm_put(Dst, 10422, LJ_TISNUM, LJ_TISNUM);
1952 if (sse) {
1953 dasm_put(Dst, 10443);
1954 } else {
1955 dasm_put(Dst, 10464);
1956 if (cmov) {
1957 dasm_put(Dst, 10480);
1958 } else {
1959 dasm_put(Dst, 10486);
1962 if (LJ_DUALNUM) {
1963 switch (op) {
1964 case BC_ISLT:
1965 dasm_put(Dst, 10389);
1966 break;
1967 case BC_ISGE:
1968 dasm_put(Dst, 10394);
1969 break;
1970 case BC_ISLE:
1971 dasm_put(Dst, 10399);
1972 break;
1973 case BC_ISGT:
1974 dasm_put(Dst, 10404);
1975 break;
1976 default: break; /* Shut up GCC. */
1978 dasm_put(Dst, 10409);
1979 } else {
1980 switch (op) {
1981 case BC_ISLT:
1982 dasm_put(Dst, 817);
1983 break;
1984 case BC_ISGE:
1985 dasm_put(Dst, 10493);
1986 break;
1987 case BC_ISLE:
1988 dasm_put(Dst, 10498);
1989 break;
1990 case BC_ISGT:
1991 dasm_put(Dst, 10503);
1992 break;
1993 default: break; /* Shut up GCC. */
1995 dasm_put(Dst, 10508, -BCBIAS_J*4);
1997 break;
1999 case BC_ISEQV: case BC_ISNEV:
2000 vk = op == BC_ISEQV;
2001 dasm_put(Dst, 10541);
2002 if (LJ_DUALNUM) {
2003 dasm_put(Dst, 10549, LJ_TISNUM, LJ_TISNUM);
2004 if (vk) {
2005 dasm_put(Dst, 10574);
2006 } else {
2007 dasm_put(Dst, 10579);
2009 dasm_put(Dst, 10584, -BCBIAS_J*4, LJ_TISNUM);
2010 if (sse) {
2011 dasm_put(Dst, 10637);
2012 } else {
2013 dasm_put(Dst, 10644);
2015 dasm_put(Dst, 10648);
2016 if (sse) {
2017 dasm_put(Dst, 10659);
2018 } else {
2019 dasm_put(Dst, 10671);
2021 dasm_put(Dst, 10678);
2022 } else {
2023 dasm_put(Dst, 10683, LJ_TISNUM, LJ_TISNUM);
2025 if (sse) {
2026 dasm_put(Dst, 10702);
2027 } else {
2028 dasm_put(Dst, 10720);
2029 if (cmov) {
2030 dasm_put(Dst, 10480);
2031 } else {
2032 dasm_put(Dst, 10486);
2035 iseqne_fp:
2036 if (vk) {
2037 dasm_put(Dst, 10733);
2038 } else {
2039 dasm_put(Dst, 10742);
2041 iseqne_end:
2042 if (vk) {
2043 dasm_put(Dst, 10751, -BCBIAS_J*4);
2044 if (!LJ_HASFFI) {
2045 dasm_put(Dst, 4684);
2047 } else {
2048 if (!LJ_HASFFI) {
2049 dasm_put(Dst, 4684);
2051 dasm_put(Dst, 10766, -BCBIAS_J*4);
2053 if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV ||
2054 op == BC_ISEQN || op == BC_ISNEN)) {
2055 dasm_put(Dst, 10781);
2056 } else {
2057 dasm_put(Dst, 10520);
2059 if (op == BC_ISEQV || op == BC_ISNEV) {
2060 dasm_put(Dst, 10786);
2061 if (LJ_HASFFI) {
2062 dasm_put(Dst, 10789, LJ_TCDATA, LJ_TCDATA);
2064 dasm_put(Dst, 10808, LJ_TISPRI, LJ_TISTABUD, LJ_TUDATA, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
2065 if (vk) {
2066 dasm_put(Dst, 10872);
2067 } else {
2068 dasm_put(Dst, 10876);
2070 dasm_put(Dst, 10882);
2071 } else if (LJ_HASFFI) {
2072 dasm_put(Dst, 10887, LJ_TCDATA);
2073 if (LJ_DUALNUM && vk) {
2074 dasm_put(Dst, 10894);
2075 } else {
2076 dasm_put(Dst, 10867);
2078 dasm_put(Dst, 10899);
2080 break;
2081 case BC_ISEQS: case BC_ISNES:
2082 vk = op == BC_ISEQS;
2083 dasm_put(Dst, 10904, LJ_TSTR);
2084 iseqne_test:
2085 if (vk) {
2086 dasm_put(Dst, 10737);
2087 } else {
2088 dasm_put(Dst, 2980);
2090 goto iseqne_end;
2091 case BC_ISEQN: case BC_ISNEN:
2092 vk = op == BC_ISEQN;
2093 dasm_put(Dst, 10931);
2094 if (LJ_DUALNUM) {
2095 dasm_put(Dst, 10939, LJ_TISNUM, LJ_TISNUM);
2096 if (vk) {
2097 dasm_put(Dst, 10574);
2098 } else {
2099 dasm_put(Dst, 10579);
2101 dasm_put(Dst, 10966, -BCBIAS_J*4, LJ_TISNUM);
2102 if (sse) {
2103 dasm_put(Dst, 11016);
2104 } else {
2105 dasm_put(Dst, 11024);
2107 dasm_put(Dst, 11029);
2108 if (sse) {
2109 dasm_put(Dst, 11036);
2110 } else {
2111 dasm_put(Dst, 11049);
2113 dasm_put(Dst, 10678);
2114 } else {
2115 dasm_put(Dst, 11057, LJ_TISNUM);
2117 if (sse) {
2118 dasm_put(Dst, 11066);
2119 } else {
2120 dasm_put(Dst, 11085);
2121 if (cmov) {
2122 dasm_put(Dst, 10480);
2123 } else {
2124 dasm_put(Dst, 10486);
2127 goto iseqne_fp;
2128 case BC_ISEQP: case BC_ISNEP:
2129 vk = op == BC_ISEQP;
2130 dasm_put(Dst, 11099);
2131 if (!LJ_HASFFI) goto iseqne_test;
2132 if (vk) {
2133 dasm_put(Dst, 11113, -BCBIAS_J*4, LJ_TCDATA);
2134 } else {
2135 dasm_put(Dst, 11164, LJ_TCDATA, -BCBIAS_J*4);
2137 break;
2139 /* -- Unary test and copy ops ------------------------------------------- */
2141 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
2142 dasm_put(Dst, 11209, LJ_TISTRUECOND);
2143 if (op == BC_IST || op == BC_ISTC) {
2144 dasm_put(Dst, 10503);
2145 } else {
2146 dasm_put(Dst, 10498);
2148 if (op == BC_ISTC || op == BC_ISFC) {
2149 dasm_put(Dst, 11221);
2151 dasm_put(Dst, 10508, -BCBIAS_J*4);
2152 break;
2154 /* -- Unary ops --------------------------------------------------------- */
2156 case BC_MOV:
2157 dasm_put(Dst, 11232);
2158 break;
2159 case BC_NOT:
2160 dasm_put(Dst, 11261, LJ_TISTRUECOND, LJ_TTRUE);
2161 break;
2162 case BC_UNM:
2163 if (LJ_DUALNUM) {
2164 dasm_put(Dst, 11298, LJ_TISNUM, LJ_TISNUM);
2165 } else {
2166 dasm_put(Dst, 11376, LJ_TISNUM);
2168 if (sse) {
2169 dasm_put(Dst, 11387, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
2170 } else {
2171 dasm_put(Dst, 11412);
2173 if (LJ_DUALNUM) {
2174 dasm_put(Dst, 10781);
2175 } else {
2176 dasm_put(Dst, 10520);
2178 break;
2179 case BC_LEN:
2180 dasm_put(Dst, 11421, LJ_TSTR);
2181 if (LJ_DUALNUM) {
2182 dasm_put(Dst, 11435, Dt5(->len), LJ_TISNUM);
2183 } else if (sse) {
2184 dasm_put(Dst, 11449, Dt5(->len));
2185 } else {
2186 dasm_put(Dst, 11467, Dt5(->len));
2188 dasm_put(Dst, 11476, LJ_TTAB);
2189 #ifdef LUAJIT_ENABLE_LUA52COMPAT
2190 dasm_put(Dst, 11512, Dt6(->metatable));
2191 #endif
2192 dasm_put(Dst, 11526);
2193 if (LJ_DUALNUM) {
2194 } else if (sse) {
2195 dasm_put(Dst, 11535);
2196 } else {
2198 dasm_put(Dst, 11541);
2199 #ifdef LUAJIT_ENABLE_LUA52COMPAT
2200 dasm_put(Dst, 11554, Dt6(->nomm), 1<<MM_len);
2201 #endif
2202 break;
2204 /* -- Binary ops -------------------------------------------------------- */
2207 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
2208 if (LJ_DUALNUM) {
2209 dasm_put(Dst, 11570);
2210 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2211 switch (vk) {
2212 case 0:
2213 dasm_put(Dst, 11578, LJ_TISNUM, LJ_TISNUM);
2214 break;
2215 case 1:
2216 dasm_put(Dst, 11613, LJ_TISNUM, LJ_TISNUM);
2217 break;
2218 default:
2219 dasm_put(Dst, 11648, LJ_TISNUM, LJ_TISNUM);
2220 break;
2222 dasm_put(Dst, 11681, LJ_TISNUM);
2223 if (vk == 1) {
2224 dasm_put(Dst, 11445);
2225 } else {
2226 dasm_put(Dst, 11228);
2228 dasm_put(Dst, 10520);
2229 } else {
2230 dasm_put(Dst, 11570);
2231 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2232 switch (vk) {
2233 case 0:
2234 dasm_put(Dst, 11687, LJ_TISNUM);
2235 if (LJ_DUALNUM) {
2236 dasm_put(Dst, 11699, LJ_TISNUM);
2238 if (sse) {
2239 dasm_put(Dst, 11711);
2240 } else {
2241 dasm_put(Dst, 11726);
2243 break;
2244 case 1:
2245 dasm_put(Dst, 11735, LJ_TISNUM);
2246 if (LJ_DUALNUM) {
2247 dasm_put(Dst, 11747, LJ_TISNUM);
2249 if (sse) {
2250 dasm_put(Dst, 11759);
2251 } else {
2252 dasm_put(Dst, 11774);
2254 break;
2255 default:
2256 dasm_put(Dst, 11783, LJ_TISNUM, LJ_TISNUM);
2257 if (sse) {
2258 dasm_put(Dst, 11805);
2259 } else {
2260 dasm_put(Dst, 11819);
2262 break;
2264 if (sse) {
2265 dasm_put(Dst, 11405);
2266 } else {
2267 dasm_put(Dst, 11417);
2269 dasm_put(Dst, 10520);
2271 break;
2272 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
2273 if (LJ_DUALNUM) {
2274 dasm_put(Dst, 11570);
2275 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2276 switch (vk) {
2277 case 0:
2278 dasm_put(Dst, 11827, LJ_TISNUM, LJ_TISNUM);
2279 break;
2280 case 1:
2281 dasm_put(Dst, 11862, LJ_TISNUM, LJ_TISNUM);
2282 break;
2283 default:
2284 dasm_put(Dst, 11897, LJ_TISNUM, LJ_TISNUM);
2285 break;
2287 dasm_put(Dst, 11681, LJ_TISNUM);
2288 if (vk == 1) {
2289 dasm_put(Dst, 11445);
2290 } else {
2291 dasm_put(Dst, 11228);
2293 dasm_put(Dst, 10520);
2294 } else {
2295 dasm_put(Dst, 11570);
2296 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2297 switch (vk) {
2298 case 0:
2299 dasm_put(Dst, 11687, LJ_TISNUM);
2300 if (LJ_DUALNUM) {
2301 dasm_put(Dst, 11699, LJ_TISNUM);
2303 if (sse) {
2304 dasm_put(Dst, 11930);
2305 } else {
2306 dasm_put(Dst, 11945);
2308 break;
2309 case 1:
2310 dasm_put(Dst, 11735, LJ_TISNUM);
2311 if (LJ_DUALNUM) {
2312 dasm_put(Dst, 11747, LJ_TISNUM);
2314 if (sse) {
2315 dasm_put(Dst, 11954);
2316 } else {
2317 dasm_put(Dst, 11969);
2319 break;
2320 default:
2321 dasm_put(Dst, 11783, LJ_TISNUM, LJ_TISNUM);
2322 if (sse) {
2323 dasm_put(Dst, 11978);
2324 } else {
2325 dasm_put(Dst, 11992);
2327 break;
2329 if (sse) {
2330 dasm_put(Dst, 11405);
2331 } else {
2332 dasm_put(Dst, 11417);
2334 dasm_put(Dst, 10520);
2336 break;
2337 case BC_MULVN: case BC_MULNV: case BC_MULVV:
2338 if (LJ_DUALNUM) {
2339 dasm_put(Dst, 11570);
2340 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2341 switch (vk) {
2342 case 0:
2343 dasm_put(Dst, 12000, LJ_TISNUM, LJ_TISNUM);
2344 break;
2345 case 1:
2346 dasm_put(Dst, 12036, LJ_TISNUM, LJ_TISNUM);
2347 break;
2348 default:
2349 dasm_put(Dst, 12072, LJ_TISNUM, LJ_TISNUM);
2350 break;
2352 dasm_put(Dst, 11681, LJ_TISNUM);
2353 if (vk == 1) {
2354 dasm_put(Dst, 11445);
2355 } else {
2356 dasm_put(Dst, 11228);
2358 dasm_put(Dst, 10520);
2359 } else {
2360 dasm_put(Dst, 11570);
2361 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2362 switch (vk) {
2363 case 0:
2364 dasm_put(Dst, 11687, LJ_TISNUM);
2365 if (LJ_DUALNUM) {
2366 dasm_put(Dst, 11699, LJ_TISNUM);
2368 if (sse) {
2369 dasm_put(Dst, 12106);
2370 } else {
2371 dasm_put(Dst, 12121);
2373 break;
2374 case 1:
2375 dasm_put(Dst, 11735, LJ_TISNUM);
2376 if (LJ_DUALNUM) {
2377 dasm_put(Dst, 11747, LJ_TISNUM);
2379 if (sse) {
2380 dasm_put(Dst, 12130);
2381 } else {
2382 dasm_put(Dst, 12145);
2384 break;
2385 default:
2386 dasm_put(Dst, 11783, LJ_TISNUM, LJ_TISNUM);
2387 if (sse) {
2388 dasm_put(Dst, 12154);
2389 } else {
2390 dasm_put(Dst, 12168);
2392 break;
2394 if (sse) {
2395 dasm_put(Dst, 11405);
2396 } else {
2397 dasm_put(Dst, 11417);
2399 dasm_put(Dst, 10520);
2401 break;
2402 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
2403 dasm_put(Dst, 11570);
2404 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2405 switch (vk) {
2406 case 0:
2407 dasm_put(Dst, 11687, LJ_TISNUM);
2408 if (LJ_DUALNUM) {
2409 dasm_put(Dst, 11699, LJ_TISNUM);
2411 if (sse) {
2412 dasm_put(Dst, 12176);
2413 } else {
2414 dasm_put(Dst, 12191);
2416 break;
2417 case 1:
2418 dasm_put(Dst, 11735, LJ_TISNUM);
2419 if (LJ_DUALNUM) {
2420 dasm_put(Dst, 11747, LJ_TISNUM);
2422 if (sse) {
2423 dasm_put(Dst, 12200);
2424 } else {
2425 dasm_put(Dst, 12215);
2427 break;
2428 default:
2429 dasm_put(Dst, 11783, LJ_TISNUM, LJ_TISNUM);
2430 if (sse) {
2431 dasm_put(Dst, 12224);
2432 } else {
2433 dasm_put(Dst, 12238);
2435 break;
2437 if (sse) {
2438 dasm_put(Dst, 11405);
2439 } else {
2440 dasm_put(Dst, 11417);
2442 dasm_put(Dst, 10520);
2443 break;
2444 case BC_MODVN:
2445 dasm_put(Dst, 11570);
2446 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2447 switch (vk) {
2448 case 0:
2449 dasm_put(Dst, 11687, LJ_TISNUM);
2450 if (LJ_DUALNUM) {
2451 dasm_put(Dst, 11699, LJ_TISNUM);
2453 if (sse) {
2454 dasm_put(Dst, 12246);
2455 } else {
2456 dasm_put(Dst, 12261);
2458 break;
2459 case 1:
2460 dasm_put(Dst, 11735, LJ_TISNUM);
2461 if (LJ_DUALNUM) {
2462 dasm_put(Dst, 11747, LJ_TISNUM);
2464 if (sse) {
2465 dasm_put(Dst, 12270);
2466 } else {
2467 dasm_put(Dst, 12285);
2469 break;
2470 default:
2471 dasm_put(Dst, 11783, LJ_TISNUM, LJ_TISNUM);
2472 if (sse) {
2473 dasm_put(Dst, 12294);
2474 } else {
2475 dasm_put(Dst, 12308);
2477 break;
2479 dasm_put(Dst, 12316);
2480 if (sse) {
2481 dasm_put(Dst, 11405);
2482 } else {
2483 dasm_put(Dst, 11417);
2485 dasm_put(Dst, 10520);
2486 break;
2487 case BC_MODNV: case BC_MODVV:
2488 dasm_put(Dst, 11570);
2489 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2490 switch (vk) {
2491 case 0:
2492 dasm_put(Dst, 11687, LJ_TISNUM);
2493 if (LJ_DUALNUM) {
2494 dasm_put(Dst, 11699, LJ_TISNUM);
2496 if (sse) {
2497 dasm_put(Dst, 12246);
2498 } else {
2499 dasm_put(Dst, 12261);
2501 break;
2502 case 1:
2503 dasm_put(Dst, 11735, LJ_TISNUM);
2504 if (LJ_DUALNUM) {
2505 dasm_put(Dst, 11747, LJ_TISNUM);
2507 if (sse) {
2508 dasm_put(Dst, 12270);
2509 } else {
2510 dasm_put(Dst, 12285);
2512 break;
2513 default:
2514 dasm_put(Dst, 11783, LJ_TISNUM, LJ_TISNUM);
2515 if (sse) {
2516 dasm_put(Dst, 12294);
2517 } else {
2518 dasm_put(Dst, 12308);
2520 break;
2522 dasm_put(Dst, 12322);
2523 break;
2524 case BC_POW:
2525 dasm_put(Dst, 11570);
2526 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2527 switch (vk) {
2528 case 0:
2529 dasm_put(Dst, 11687, LJ_TISNUM);
2530 if (LJ_DUALNUM) {
2531 dasm_put(Dst, 11699, LJ_TISNUM);
2533 if (sse) {
2534 dasm_put(Dst, 12246);
2535 } else {
2536 dasm_put(Dst, 12261);
2538 break;
2539 case 1:
2540 dasm_put(Dst, 11735, LJ_TISNUM);
2541 if (LJ_DUALNUM) {
2542 dasm_put(Dst, 11747, LJ_TISNUM);
2544 if (sse) {
2545 dasm_put(Dst, 12270);
2546 } else {
2547 dasm_put(Dst, 12285);
2549 break;
2550 default:
2551 dasm_put(Dst, 11783, LJ_TISNUM, LJ_TISNUM);
2552 if (sse) {
2553 dasm_put(Dst, 12294);
2554 } else {
2555 dasm_put(Dst, 12308);
2557 break;
2559 dasm_put(Dst, 12327);
2560 if (sse) {
2561 dasm_put(Dst, 11405);
2562 } else {
2563 dasm_put(Dst, 11417);
2565 dasm_put(Dst, 10520);
2566 break;
2568 case BC_CAT:
2569 dasm_put(Dst, 12331, Dt1(->base), Dt1(->base));
2570 break;
2572 /* -- Constant ops ------------------------------------------------------ */
2574 case BC_KSTR:
2575 dasm_put(Dst, 12415, LJ_TSTR);
2576 break;
2577 case BC_KCDATA:
2578 #if LJ_HASFFI
2579 dasm_put(Dst, 12415, LJ_TCDATA);
2580 #endif
2581 break;
2582 case BC_KSHORT:
2583 if (LJ_DUALNUM) {
2584 dasm_put(Dst, 12452, LJ_TISNUM);
2585 } else if (sse) {
2586 dasm_put(Dst, 12464);
2587 } else {
2588 dasm_put(Dst, 12479);
2590 dasm_put(Dst, 10520);
2591 break;
2592 case BC_KNUM:
2593 if (sse) {
2594 dasm_put(Dst, 12487);
2595 } else {
2596 dasm_put(Dst, 12501);
2598 dasm_put(Dst, 10520);
2599 break;
2600 case BC_KPRI:
2601 dasm_put(Dst, 12509);
2602 break;
2603 case BC_KNIL:
2604 dasm_put(Dst, 12538, LJ_TNIL);
2605 break;
2607 /* -- Upvalue and function ops ------------------------------------------ */
2609 case BC_UGET:
2610 dasm_put(Dst, 12586, offsetof(GCfuncL, uvptr), DtA(->v));
2611 break;
2612 case BC_USETV:
2613 #define TV2MARKOFS \
2614 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2615 dasm_put(Dst, 12627, offsetof(GCfuncL, uvptr), DtA(->closed), DtA(->v), TV2MARKOFS, LJ_GC_BLACK, LJ_TISGCV, LJ_TISNUM - LJ_TISGCV, Dt4(->gch.marked), LJ_GC_WHITES, GG_DISP2G);
2616 dasm_put(Dst, 12723);
2617 break;
2618 #undef TV2MARKOFS
2619 case BC_USETS:
2620 dasm_put(Dst, 12735, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2621 break;
2622 case BC_USETN:
2623 dasm_put(Dst, 12831);
2624 if (sse) {
2625 dasm_put(Dst, 12836);
2626 } else {
2627 dasm_put(Dst, 11052);
2629 dasm_put(Dst, 12844, offsetof(GCfuncL, uvptr), DtA(->v));
2630 if (sse) {
2631 dasm_put(Dst, 12853);
2632 } else {
2633 dasm_put(Dst, 12859);
2635 dasm_put(Dst, 10520);
2636 break;
2637 case BC_USETP:
2638 dasm_put(Dst, 12862, offsetof(GCfuncL, uvptr), DtA(->v));
2639 break;
2640 case BC_UCLO:
2641 dasm_put(Dst, 12902, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2642 break;
2644 case BC_FNEW:
2645 dasm_put(Dst, 12958, Dt1(->base), Dt1(->base), LJ_TFUNC);
2646 break;
2648 /* -- Table ops --------------------------------------------------------- */
2650 case BC_TNEW:
2651 dasm_put(Dst, 13025, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2652 break;
2653 case BC_TDUP:
2654 dasm_put(Dst, 13149, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2655 break;
2657 case BC_GGET:
2658 dasm_put(Dst, 13248, Dt7(->env));
2659 break;
2660 case BC_GSET:
2661 dasm_put(Dst, 13268, Dt7(->env));
2662 break;
2664 case BC_TGETV:
2665 dasm_put(Dst, 13288, LJ_TTAB);
2666 if (LJ_DUALNUM) {
2667 dasm_put(Dst, 13311, LJ_TISNUM);
2668 } else {
2669 dasm_put(Dst, 13325, LJ_TISNUM);
2670 if (sse) {
2671 dasm_put(Dst, 13336);
2672 } else {
2674 dasm_put(Dst, 13357);
2676 dasm_put(Dst, 13362, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index, LJ_TNIL);
2677 dasm_put(Dst, 13454, LJ_TSTR);
2678 break;
2679 case BC_TGETS:
2680 dasm_put(Dst, 13472, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2681 dasm_put(Dst, 13557, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2682 break;
2683 case BC_TGETB:
2684 dasm_put(Dst, 13629, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2685 dasm_put(Dst, 13725, LJ_TNIL);
2686 break;
2688 case BC_TSETV:
2689 dasm_put(Dst, 13742, LJ_TTAB);
2690 if (LJ_DUALNUM) {
2691 dasm_put(Dst, 13311, LJ_TISNUM);
2692 } else {
2693 dasm_put(Dst, 13325, LJ_TISNUM);
2694 if (sse) {
2695 dasm_put(Dst, 13336);
2696 } else {
2698 dasm_put(Dst, 13765);
2700 dasm_put(Dst, 13770, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex);
2701 dasm_put(Dst, 13851, LJ_TSTR, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2702 break;
2703 case BC_TSETS:
2704 dasm_put(Dst, 13910, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2705 dasm_put(Dst, 13987, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2706 dasm_put(Dst, 14074, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, LJ_TSTR, Dt1(->base), Dt1(->base), Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2707 break;
2708 case BC_TSETB:
2709 dasm_put(Dst, 14166, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2710 dasm_put(Dst, 14261, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2711 break;
2713 case BC_TSETM:
2714 dasm_put(Dst, 14309, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2715 dasm_put(Dst, 14459, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2716 break;
2718 /* -- Calls and vararg handling ----------------------------------------- */
2720 case BC_CALL: case BC_CALLM:
2721 dasm_put(Dst, 11574);
2722 if (op == BC_CALLM) {
2723 dasm_put(Dst, 14479);
2725 dasm_put(Dst, 14484, LJ_TFUNC, Dt7(->pc));
2726 break;
2728 case BC_CALLMT:
2729 dasm_put(Dst, 14479);
2730 break;
2731 case BC_CALLT:
2732 dasm_put(Dst, 14527, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2733 dasm_put(Dst, 14645, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2734 break;
2736 case BC_ITERC:
2737 dasm_put(Dst, 14719, LJ_TFUNC, 2+1, Dt7(->pc));
2738 break;
2740 case BC_ITERN:
2741 #if LJ_HASJIT
2742 #endif
2743 dasm_put(Dst, 14791, Dt6(->asize), Dt6(->array), LJ_TNIL);
2744 if (LJ_DUALNUM) {
2745 dasm_put(Dst, 11440, LJ_TISNUM);
2746 } else if (sse) {
2747 dasm_put(Dst, 11535);
2748 } else {
2749 dasm_put(Dst, 14843);
2751 dasm_put(Dst, 14849);
2752 if (LJ_DUALNUM) {
2753 } else if (sse) {
2754 dasm_put(Dst, 11405);
2755 } else {
2756 dasm_put(Dst, 11417);
2758 dasm_put(Dst, 14862, -BCBIAS_J*4);
2759 if (!LJ_DUALNUM && !sse) {
2760 dasm_put(Dst, 14916);
2762 dasm_put(Dst, 14922, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key), DtB(->val));
2763 break;
2765 case BC_ISNEXT:
2766 dasm_put(Dst, 15001, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2767 break;
2769 case BC_VARG:
2770 dasm_put(Dst, 15102, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2771 dasm_put(Dst, 15269, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2772 break;
2774 /* -- Returns ----------------------------------------------------------- */
2776 case BC_RETM:
2777 dasm_put(Dst, 14479);
2778 break;
2780 case BC_RET: case BC_RET0: case BC_RET1:
2781 if (op != BC_RET0) {
2782 dasm_put(Dst, 15339);
2784 dasm_put(Dst, 15343, FRAME_TYPE);
2785 switch (op) {
2786 case BC_RET:
2787 dasm_put(Dst, 15362);
2788 break;
2789 case BC_RET1:
2790 dasm_put(Dst, 15416);
2791 /* fallthrough */
2792 case BC_RET0:
2793 dasm_put(Dst, 15426);
2794 default:
2795 break;
2797 dasm_put(Dst, 15437, Dt7(->pc), PC2PROTO(k));
2798 if (op == BC_RET) {
2799 dasm_put(Dst, 15485, LJ_TNIL);
2800 } else {
2801 dasm_put(Dst, 15496, LJ_TNIL);
2803 dasm_put(Dst, 15503, -FRAME_VARG, FRAME_TYPEP);
2804 if (op != BC_RET0) {
2805 dasm_put(Dst, 15527);
2807 dasm_put(Dst, 4761);
2808 break;
2810 /* -- Loops and branches ------------------------------------------------ */
2813 case BC_FORL:
2814 #if LJ_HASJIT
2815 dasm_put(Dst, 15531, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2816 #endif
2817 break;
2819 case BC_JFORI:
2820 case BC_JFORL:
2821 #if !LJ_HASJIT
2822 break;
2823 #endif
2824 case BC_FORI:
2825 case BC_IFORL:
2826 vk = (op == BC_IFORL || op == BC_JFORL);
2827 dasm_put(Dst, 15552);
2828 if (LJ_DUALNUM) {
2829 dasm_put(Dst, 15556, LJ_TISNUM);
2830 if (!vk) {
2831 dasm_put(Dst, 15566, LJ_TISNUM, LJ_TISNUM);
2832 } else {
2833 #ifdef LUA_USE_ASSERT
2834 dasm_put(Dst, 15595, LJ_TISNUM, LJ_TISNUM);
2835 #endif
2836 dasm_put(Dst, 15614);
2838 dasm_put(Dst, 15633, LJ_TISNUM);
2839 if (op == BC_FORI) {
2840 dasm_put(Dst, 15644, -BCBIAS_J*4);
2841 } else if (op == BC_JFORI) {
2842 dasm_put(Dst, 15658, -BCBIAS_J*4, BC_JLOOP);
2843 } else if (op == BC_IFORL) {
2844 dasm_put(Dst, 15676, -BCBIAS_J*4);
2845 } else {
2846 dasm_put(Dst, 15668, BC_JLOOP);
2848 dasm_put(Dst, 15690);
2849 if (vk) {
2850 dasm_put(Dst, 15715);
2852 dasm_put(Dst, 15633, LJ_TISNUM);
2853 if (op == BC_FORI) {
2854 dasm_put(Dst, 15724);
2855 } else if (op == BC_JFORI) {
2856 dasm_put(Dst, 15729, -BCBIAS_J*4, BC_JLOOP);
2857 } else if (op == BC_IFORL) {
2858 dasm_put(Dst, 15743);
2859 } else {
2860 dasm_put(Dst, 15739, BC_JLOOP);
2862 dasm_put(Dst, 15748);
2863 } else if (!vk) {
2864 dasm_put(Dst, 15755, LJ_TISNUM);
2866 if (!vk) {
2867 dasm_put(Dst, 15761, LJ_TISNUM);
2868 } else {
2869 #ifdef LUA_USE_ASSERT
2870 dasm_put(Dst, 15775, LJ_TISNUM, LJ_TISNUM);
2871 #endif
2873 dasm_put(Dst, 15794);
2874 if (!vk) {
2875 dasm_put(Dst, 15798, LJ_TISNUM);
2877 if (sse) {
2878 dasm_put(Dst, 15807);
2879 if (vk) {
2880 dasm_put(Dst, 15819);
2881 } else {
2882 dasm_put(Dst, 15838);
2884 dasm_put(Dst, 15843);
2885 } else {
2886 dasm_put(Dst, 15856);
2887 if (vk) {
2888 dasm_put(Dst, 15862);
2889 } else {
2890 dasm_put(Dst, 15878);
2892 dasm_put(Dst, 15886);
2893 if (cmov) {
2894 dasm_put(Dst, 10480);
2895 } else {
2896 dasm_put(Dst, 10486);
2898 if (!cmov) {
2899 dasm_put(Dst, 15891);
2902 if (op == BC_FORI) {
2903 if (LJ_DUALNUM) {
2904 dasm_put(Dst, 15897);
2905 } else {
2906 dasm_put(Dst, 15902, -BCBIAS_J*4);
2908 } else if (op == BC_JFORI) {
2909 dasm_put(Dst, 15912, -BCBIAS_J*4, BC_JLOOP);
2910 } else if (op == BC_IFORL) {
2911 if (LJ_DUALNUM) {
2912 dasm_put(Dst, 15926);
2913 } else {
2914 dasm_put(Dst, 15931, -BCBIAS_J*4);
2916 } else {
2917 dasm_put(Dst, 15922, BC_JLOOP);
2919 if (LJ_DUALNUM) {
2920 dasm_put(Dst, 10409);
2921 } else {
2922 dasm_put(Dst, 11186);
2924 if (sse) {
2925 dasm_put(Dst, 15941);
2927 break;
2929 case BC_ITERL:
2930 #if LJ_HASJIT
2931 dasm_put(Dst, 15531, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2932 #endif
2933 break;
2935 case BC_JITERL:
2936 #if !LJ_HASJIT
2937 break;
2938 #endif
2939 case BC_IITERL:
2940 dasm_put(Dst, 15952, LJ_TNIL);
2941 if (op == BC_JITERL) {
2942 dasm_put(Dst, 15967, BC_JLOOP);
2943 } else {
2944 dasm_put(Dst, 15981, -BCBIAS_J*4);
2946 dasm_put(Dst, 10518);
2947 break;
2949 case BC_LOOP:
2950 #if LJ_HASJIT
2951 dasm_put(Dst, 15531, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2952 #endif
2953 break;
2955 case BC_ILOOP:
2956 dasm_put(Dst, 10520);
2957 break;
2959 case BC_JLOOP:
2960 #if LJ_HASJIT
2961 dasm_put(Dst, 15997, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
2962 #endif
2963 break;
2965 case BC_JMP:
2966 dasm_put(Dst, 16038, -BCBIAS_J*4);
2967 break;
2969 /* -- Function headers -------------------------------------------------- */
2972 ** Reminder: A function may be called with func/args above L->maxstack,
2973 ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot,
2974 ** too. This means all FUNC* ops (including fast functions) must check
2975 ** for stack overflow _before_ adding more slots!
2978 case BC_FUNCF:
2979 #if LJ_HASJIT
2980 dasm_put(Dst, 16064, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_CALL);
2981 #endif
2982 case BC_FUNCV: /* NYI: compiled vararg functions. */
2983 break;
2985 case BC_JFUNCF:
2986 #if !LJ_HASJIT
2987 break;
2988 #endif
2989 case BC_IFUNCF:
2990 dasm_put(Dst, 16085, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
2991 if (op == BC_JFUNCF) {
2992 dasm_put(Dst, 16116, BC_JLOOP);
2993 } else {
2994 dasm_put(Dst, 10520);
2996 dasm_put(Dst, 16125, LJ_TNIL);
2997 break;
2999 case BC_JFUNCV:
3000 #if !LJ_HASJIT
3001 break;
3002 #endif
3003 dasm_put(Dst, 9422);
3004 break; /* NYI: compiled vararg functions. */
3006 case BC_IFUNCV:
3007 dasm_put(Dst, 16147, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
3008 if (op == BC_JFUNCV) {
3009 dasm_put(Dst, 16116, BC_JLOOP);
3010 } else {
3011 dasm_put(Dst, 16244, -4+PC2PROTO(k));
3013 dasm_put(Dst, 16269, LJ_TNIL);
3014 break;
3016 case BC_FUNCC:
3017 case BC_FUNCCW:
3018 dasm_put(Dst, 16291, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
3019 if (op == BC_FUNCC) {
3020 dasm_put(Dst, 2433);
3021 } else {
3022 dasm_put(Dst, 16321);
3024 dasm_put(Dst, 16329, DISPATCH_GL(vmstate), ~LJ_VMST_C);
3025 if (op == BC_FUNCC) {
3026 dasm_put(Dst, 16339);
3027 } else {
3028 dasm_put(Dst, 16344, DISPATCH_GL(wrapf));
3030 dasm_put(Dst, 16350, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
3031 break;
3033 /* ---------------------------------------------------------------------- */
3035 default:
3036 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
3037 exit(2);
3038 break;
3042 static int build_backend(BuildCtx *ctx)
3044 int op;
3045 int cmov = 1;
3046 int sse = 0;
3047 #ifdef LUAJIT_CPU_NOCMOV
3048 cmov = 0;
3049 #endif
3050 #if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
3051 sse = 1;
3052 #endif
3054 dasm_growpc(Dst, BC__MAX);
3056 build_subroutines(ctx, cmov, sse);
3058 dasm_put(Dst, 16376);
3059 for (op = 0; op < BC__MAX; op++)
3060 build_ins(ctx, (BCOp)op, op, cmov, sse);
3062 return BC__MAX;
3065 /* Emit pseudo frame-info for all assembler functions. */
3066 static void emit_asm_debug(BuildCtx *ctx)
3068 int fcofs = (int)((uint8_t *)ctx->glob[GLOB_vm_ffi_call] - ctx->code);
3069 #if LJ_64
3070 #define SZPTR "8"
3071 #define BSZPTR "3"
3072 #define REG_SP "0x7"
3073 #define REG_RA "0x10"
3074 #else
3075 #define SZPTR "4"
3076 #define BSZPTR "2"
3077 #define REG_SP "0x4"
3078 #define REG_RA "0x8"
3079 #endif
3080 switch (ctx->mode) {
3081 case BUILD_elfasm:
3082 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
3083 fprintf(ctx->fp,
3084 ".Lframe0:\n"
3085 "\t.long .LECIE0-.LSCIE0\n"
3086 ".LSCIE0:\n"
3087 "\t.long 0xffffffff\n"
3088 "\t.byte 0x1\n"
3089 "\t.string \"\"\n"
3090 "\t.uleb128 0x1\n"
3091 "\t.sleb128 -" SZPTR "\n"
3092 "\t.byte " REG_RA "\n"
3093 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3094 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3095 "\t.align " SZPTR "\n"
3096 ".LECIE0:\n\n");
3097 fprintf(ctx->fp,
3098 ".LSFDE0:\n"
3099 "\t.long .LEFDE0-.LASFDE0\n"
3100 ".LASFDE0:\n"
3101 "\t.long .Lframe0\n"
3102 #if LJ_64
3103 "\t.quad .Lbegin\n"
3104 "\t.quad %d\n"
3105 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3106 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3107 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3108 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3109 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3110 #else
3111 "\t.long .Lbegin\n"
3112 "\t.long %d\n"
3113 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3114 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3115 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3116 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3117 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3118 #endif
3119 "\t.align " SZPTR "\n"
3120 ".LEFDE0:\n\n", fcofs, CFRAME_SIZE);
3121 #if LJ_HASFFI
3122 fprintf(ctx->fp,
3123 ".LSFDE1:\n"
3124 "\t.long .LEFDE1-.LASFDE1\n"
3125 ".LASFDE1:\n"
3126 "\t.long .Lframe0\n"
3127 #if LJ_64
3128 "\t.quad lj_vm_ffi_call\n"
3129 "\t.quad %d\n"
3130 "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */
3131 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3132 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3133 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3134 #else
3135 "\t.long lj_vm_ffi_call\n"
3136 "\t.long %d\n"
3137 "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */
3138 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3139 "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */
3140 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */
3141 #endif
3142 "\t.align " SZPTR "\n"
3143 ".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
3144 #endif
3145 #if (defined(__sun__) && defined(__svr4__)) || defined(__solaris_)
3146 fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
3147 #else
3148 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
3149 #endif
3150 fprintf(ctx->fp,
3151 ".Lframe1:\n"
3152 "\t.long .LECIE1-.LSCIE1\n"
3153 ".LSCIE1:\n"
3154 "\t.long 0\n"
3155 "\t.byte 0x1\n"
3156 "\t.string \"zPR\"\n"
3157 "\t.uleb128 0x1\n"
3158 "\t.sleb128 -" SZPTR "\n"
3159 "\t.byte " REG_RA "\n"
3160 "\t.uleb128 6\n" /* augmentation length */
3161 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3162 "\t.long lj_err_unwind_dwarf-.\n"
3163 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3164 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3165 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3166 "\t.align " SZPTR "\n"
3167 ".LECIE1:\n\n");
3168 fprintf(ctx->fp,
3169 ".LSFDE2:\n"
3170 "\t.long .LEFDE2-.LASFDE2\n"
3171 ".LASFDE2:\n"
3172 "\t.long .LASFDE2-.Lframe1\n"
3173 "\t.long .Lbegin-.\n"
3174 "\t.long %d\n"
3175 "\t.uleb128 0\n" /* augmentation length */
3176 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3177 #if LJ_64
3178 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3179 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3180 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3181 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3182 #else
3183 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3184 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3185 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3186 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3187 #endif
3188 "\t.align " SZPTR "\n"
3189 ".LEFDE2:\n\n", fcofs, CFRAME_SIZE);
3190 #if LJ_HASFFI
3191 fprintf(ctx->fp,
3192 ".Lframe2:\n"
3193 "\t.long .LECIE2-.LSCIE2\n"
3194 ".LSCIE2:\n"
3195 "\t.long 0\n"
3196 "\t.byte 0x1\n"
3197 "\t.string \"zR\"\n"
3198 "\t.uleb128 0x1\n"
3199 "\t.sleb128 -" SZPTR "\n"
3200 "\t.byte " REG_RA "\n"
3201 "\t.uleb128 1\n" /* augmentation length */
3202 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3203 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3204 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3205 "\t.align " SZPTR "\n"
3206 ".LECIE2:\n\n");
3207 fprintf(ctx->fp,
3208 ".LSFDE3:\n"
3209 "\t.long .LEFDE3-.LASFDE3\n"
3210 ".LASFDE3:\n"
3211 "\t.long .LASFDE3-.Lframe2\n"
3212 "\t.long lj_vm_ffi_call-.\n"
3213 "\t.long %d\n"
3214 "\t.uleb128 0\n" /* augmentation length */
3215 #if LJ_64
3216 "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */
3217 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3218 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3219 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3220 #else
3221 "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */
3222 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3223 "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */
3224 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */
3225 #endif
3226 "\t.align " SZPTR "\n"
3227 ".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
3228 #endif
3229 break;
3230 case BUILD_coffasm:
3231 fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n");
3232 fprintf(ctx->fp,
3233 "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n",
3234 LJ_32 ? "_" : "");
3235 fprintf(ctx->fp,
3236 "Lframe1:\n"
3237 "\t.long LECIE1-LSCIE1\n"
3238 "LSCIE1:\n"
3239 "\t.long 0\n"
3240 "\t.byte 0x1\n"
3241 "\t.string \"zP\"\n"
3242 "\t.uleb128 0x1\n"
3243 "\t.sleb128 -" SZPTR "\n"
3244 "\t.byte " REG_RA "\n"
3245 "\t.uleb128 5\n" /* augmentation length */
3246 "\t.byte 0x00\n" /* absptr */
3247 "\t.long %slj_err_unwind_dwarf\n"
3248 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3249 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3250 "\t.align " SZPTR "\n"
3251 "LECIE1:\n\n", LJ_32 ? "_" : "");
3252 fprintf(ctx->fp,
3253 "LSFDE1:\n"
3254 "\t.long LEFDE1-LASFDE1\n"
3255 "LASFDE1:\n"
3256 "\t.long LASFDE1-Lframe1\n"
3257 "\t.long %slj_vm_asm_begin\n"
3258 "\t.long %d\n"
3259 "\t.uleb128 0\n" /* augmentation length */
3260 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3261 #if LJ_64
3262 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3263 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3264 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3265 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3266 #else
3267 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3268 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3269 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3270 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3271 #endif
3272 "\t.align " SZPTR "\n"
3273 "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE);
3274 break;
3275 /* Mental note: never let Apple design an assembler.
3276 ** Or a linker. Or a plastic case. But I digress.
3278 case BUILD_machasm: {
3279 #if LJ_HASFFI
3280 int fcsize = 0;
3281 #endif
3282 int i;
3283 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
3284 fprintf(ctx->fp,
3285 "EH_frame1:\n"
3286 "\t.set L$set$x,LECIEX-LSCIEX\n"
3287 "\t.long L$set$x\n"
3288 "LSCIEX:\n"
3289 "\t.long 0\n"
3290 "\t.byte 0x1\n"
3291 "\t.ascii \"zPR\\0\"\n"
3292 "\t.byte 0x1\n"
3293 "\t.byte 128-" SZPTR "\n"
3294 "\t.byte " REG_RA "\n"
3295 "\t.byte 6\n" /* augmentation length */
3296 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
3297 #if LJ_64
3298 "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n"
3299 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3300 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3301 #else
3302 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
3303 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3304 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
3305 #endif
3306 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3307 "\t.align " BSZPTR "\n"
3308 "LECIEX:\n\n");
3309 for (i = 0; i < ctx->nsym; i++) {
3310 const char *name = ctx->sym[i].name;
3311 int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
3312 if (size == 0) continue;
3313 #if LJ_HASFFI
3314 if (!strcmp(name, "_lj_vm_ffi_call")) { fcsize = size; continue; }
3315 #endif
3316 fprintf(ctx->fp,
3317 "%s.eh:\n"
3318 "LSFDE%d:\n"
3319 "\t.set L$set$%d,LEFDE%d-LASFDE%d\n"
3320 "\t.long L$set$%d\n"
3321 "LASFDE%d:\n"
3322 "\t.long LASFDE%d-EH_frame1\n"
3323 "\t.long %s-.\n"
3324 "\t.long %d\n"
3325 "\t.byte 0\n" /* augmentation length */
3326 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
3327 #if LJ_64
3328 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3329 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3330 "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */
3331 "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */
3332 #else
3333 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3334 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
3335 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
3336 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
3337 #endif
3338 "\t.align " BSZPTR "\n"
3339 "LEFDE%d:\n\n",
3340 name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i);
3342 #if LJ_HASFFI
3343 if (fcsize) {
3344 fprintf(ctx->fp,
3345 "EH_frame2:\n"
3346 "\t.set L$set$y,LECIEY-LSCIEY\n"
3347 "\t.long L$set$y\n"
3348 "LSCIEY:\n"
3349 "\t.long 0\n"
3350 "\t.byte 0x1\n"
3351 "\t.ascii \"zR\\0\"\n"
3352 "\t.byte 0x1\n"
3353 "\t.byte 128-" SZPTR "\n"
3354 "\t.byte " REG_RA "\n"
3355 "\t.byte 1\n" /* augmentation length */
3356 #if LJ_64
3357 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3358 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3359 #else
3360 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3361 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH. */
3362 #endif
3363 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3364 "\t.align " BSZPTR "\n"
3365 "LECIEY:\n\n");
3366 fprintf(ctx->fp,
3367 "_lj_vm_ffi_call.eh:\n"
3368 "LSFDEY:\n"
3369 "\t.set L$set$yy,LEFDEY-LASFDEY\n"
3370 "\t.long L$set$yy\n"
3371 "LASFDEY:\n"
3372 "\t.long LASFDEY-EH_frame2\n"
3373 "\t.long _lj_vm_ffi_call-.\n"
3374 "\t.long %d\n"
3375 "\t.byte 0\n" /* augmentation length */
3376 #if LJ_64
3377 "\t.byte 0xe\n\t.byte 16\n" /* def_cfa_offset */
3378 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3379 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3380 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3381 #else
3382 "\t.byte 0xe\n\t.byte 8\n" /* def_cfa_offset */
3383 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3384 "\t.byte 0xd\n\t.uleb128 0x4\n" /* def_cfa_register ebp */
3385 "\t.byte 0x83\n\t.byte 0x3\n" /* offset ebx */
3386 #endif
3387 "\t.align " BSZPTR "\n"
3388 "LEFDEY:\n\n", fcsize);
3390 #endif
3391 #if LJ_64
3392 fprintf(ctx->fp, "\t.subsections_via_symbols\n");
3393 #else
3394 fprintf(ctx->fp,
3395 "\t.non_lazy_symbol_pointer\n"
3396 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
3397 ".indirect_symbol _lj_err_unwind_dwarf\n"
3398 ".long 0\n");
3399 #endif
3401 break;
3402 default: /* Difficult for other modes. */
3403 break;