FFI: Add unwind definitions for lj_vm_ffi_call.
[luajit-2.0.git] / src / buildvm_x64.h
blob06d6b0383d292a752927afeab0dd06500ab7a45f
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[16165] = {
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,133,201,15,132,244,247,255,76,141,61,245,76,1,252,249,68,139,122,
56 252,248,69,139,191,233,69,139,191,233,252,255,225,248,1,41,213,193,252,237,
57 3,141,69,252,255,252,233,244,32,248,33,15,182,75,252,255,131,252,237,16,141,
58 12,202,41,252,233,15,132,244,34,252,247,217,193,252,233,3,139,124,36,24,137,
59 151,233,137,202,72,139,8,72,137,77,0,137,252,238,252,233,244,35,248,36,137,
60 4,36,199,68,36,4,237,72,141,4,36,128,123,252,252,235,15,133,244,247,65,141,
61 142,233,137,41,199,65,4,237,255,137,205,252,233,244,248,248,37,15,182,67,
62 252,254,255,199,68,36,4,237,137,4,36,255,252,242,15,42,192,252,242,15,17,
63 4,36,255,72,141,4,36,252,233,244,247,248,38,15,182,67,252,254,141,4,194,248,
64 1,15,182,107,252,255,141,44,252,234,248,2,139,124,36,24,137,151,233,137,252,
65 238,72,137,194,137,252,253,137,92,36,28,232,251,1,2,139,149,233,133,192,15,
66 132,244,249,248,34,15,182,75,252,253,72,139,40,72,137,44,202,139,3,15,182,
67 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,139,141,233,
68 137,89,252,244,141,153,233,41,211,139,105,252,248,184,237,252,233,244,30,
69 248,39,137,4,36,199,68,36,4,237,72,141,4,36,128,123,252,252,235,15,133,244,
70 247,255,65,141,142,233,137,41,199,65,4,237,137,205,252,233,244,248,248,40,
71 15,182,67,252,254,255,72,141,4,36,252,233,244,247,248,41,15,182,67,252,254,
72 141,4,194,248,1,15,182,107,252,255,141,44,252,234,248,2,139,124,36,24,137,
73 151,233,137,252,238,72,137,194,137,252,253,137,92,36,28,232,251,1,3,139,149,
74 233,133,192,15,132,244,249,15,182,75,252,253,72,139,44,202,72,137,40,248,
75 42,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
76 248,3,139,141,233,137,89,252,244,15,182,67,252,253,72,139,44,194,72,137,105,
77 16,141,153,233,41,211,139,105,252,248,184,237,252,233,244,30,248,43,139,108,
78 36,24,137,149,233,141,52,202,141,20,194,137,252,239,15,182,75,252,252,137,
79 92,36,28,232,251,1,4,248,3,139,149,233,255,131,252,248,1,15,135,244,44,248,
80 4,141,91,4,15,130,244,252,248,5,15,183,67,252,254,141,156,253,131,233,248,
81 6,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
82 248,45,131,195,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,46,129,
83 120,253,4,239,252,233,244,4,248,47,131,252,235,4,137,206,137,252,233,139,
84 108,36,24,137,149,233,255,137,194,137,252,239,137,92,36,28,232,251,1,5,252,
85 233,244,3,248,48,255,131,252,235,4,139,108,36,24,137,149,233,137,252,239,
86 139,115,252,252,137,92,36,28,232,251,1,6,252,233,244,3,255,248,49,255,15,
87 182,107,252,255,255,248,50,65,141,4,199,252,233,244,247,248,51,255,248,52,
88 65,141,4,199,141,44,252,234,149,252,233,244,248,248,53,141,4,194,137,197,
89 252,233,244,248,248,54,255,248,55,141,4,194,248,1,141,44,252,234,248,2,141,
90 12,202,68,15,182,67,252,252,137,206,137,193,139,124,36,24,137,151,233,137,
91 252,234,137,252,253,137,92,36,28,232,251,1,7,139,149,233,133,192,15,132,244,
92 42,248,44,137,193,41,208,137,89,252,244,141,152,233,184,237,252,233,244,28,
93 248,56,139,108,36,24,137,149,233,141,52,194,137,252,239,137,92,36,28,232,
94 251,1,8,139,149,233,255,133,192,15,133,244,44,15,183,67,252,254,139,60,194,
95 252,233,244,57,255,252,233,244,44,255,248,58,141,76,202,8,248,29,137,76,36,
96 4,137,4,36,131,252,233,8,139,108,36,24,137,149,233,137,206,141,20,193,137,
97 252,239,137,92,36,28,232,251,1,9,139,149,233,139,76,36,4,139,4,36,139,105,
98 252,248,131,192,1,65,57,215,15,132,244,59,137,202,137,90,252,252,139,157,
99 233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,248,
100 60,139,108,36,24,137,149,233,137,206,137,252,239,137,92,36,28,232,251,1,10,
101 139,149,233,139,67,252,252,15,182,204,15,182,232,193,232,16,65,252,255,164,
102 253,252,238,233,248,61,129,252,248,239,15,130,244,62,139,106,4,129,252,253,
103 239,15,131,244,62,139,90,252,252,137,68,36,4,137,106,252,252,139,42,137,106,
104 252,248,131,232,2,15,132,244,248,255,137,209,248,1,131,193,8,72,139,41,72,
105 137,105,252,248,131,232,1,15,133,244,1,248,2,139,68,36,4,252,233,244,63,248,
106 64,129,252,248,239,15,130,244,62,139,106,4,137,252,233,193,252,249,15,131,
107 252,249,252,254,15,132,244,249,184,237,252,247,213,57,232,255,15,71,197,255,
108 15,134,244,247,137,232,248,1,255,248,2,139,106,252,248,139,132,253,197,233,
109 139,90,252,252,199,66,252,252,237,137,66,252,248,252,233,244,65,248,3,184,
110 237,252,233,244,2,248,66,129,252,248,239,15,130,244,62,139,106,4,139,90,252,
111 252,129,252,253,239,15,133,244,252,248,1,139,42,139,173,233,248,2,133,252,
112 237,199,66,252,252,237,255,15,132,244,65,65,139,134,233,199,66,252,252,237,
113 137,106,252,248,139,141,233,35,136,233,105,201,239,3,141,233,248,3,129,185,
114 233,239,15,133,244,250,57,129,233,15,132,244,251,248,4,139,137,233,133,201,
115 15,133,244,3,255,252,233,244,65,248,5,139,105,4,129,252,253,239,15,132,244,
116 65,139,1,137,106,252,252,137,66,252,248,252,233,244,65,248,6,129,252,253,
117 239,15,132,244,1,129,252,253,239,15,135,244,254,129,252,253,239,15,134,244,
118 253,189,237,252,233,244,254,248,7,255,189,237,248,8,252,247,213,65,139,172,
119 253,174,233,252,233,244,2,248,67,129,252,248,239,15,130,244,62,129,122,253,
120 4,239,15,133,244,62,139,42,131,189,233,0,15,133,244,62,129,122,253,12,239,
121 15,133,244,62,139,66,8,137,133,233,139,90,252,252,199,66,252,252,237,255,
122 137,106,252,248,252,246,133,233,235,15,132,244,247,128,165,233,235,65,139,
123 134,233,65,137,174,233,137,133,233,248,1,252,233,244,65,248,68,129,252,248,
124 239,15,130,244,62,129,122,253,4,239,15,133,244,62,137,213,139,50,141,82,8,
125 139,124,36,24,232,251,1,11,137,252,234,72,139,40,139,90,252,252,72,137,106,
126 252,248,252,233,244,65,248,69,255,129,252,248,239,15,133,244,62,129,122,253,
127 4,239,255,15,133,244,247,139,42,252,233,244,70,248,1,15,135,244,62,255,15,
128 131,244,62,255,252,242,15,16,2,252,233,244,71,255,221,2,252,233,244,72,255,
129 248,73,129,252,248,239,15,130,244,62,139,90,252,252,129,122,253,4,239,15,
130 133,244,249,139,2,248,2,199,66,252,252,237,137,66,252,248,252,233,244,65,
131 248,3,129,122,253,4,239,15,135,244,62,65,131,190,233,0,15,133,244,62,65,139,
132 174,233,65,59,174,233,255,15,130,244,247,232,244,74,248,1,139,108,36,24,137,
133 149,233,137,92,36,28,137,214,137,252,239,255,232,251,1,12,255,232,251,1,13,
134 255,139,149,233,252,233,244,2,248,75,129,252,248,239,15,130,244,62,15,132,
135 244,248,248,1,129,122,253,4,239,15,133,244,62,139,108,36,24,137,149,233,137,
136 149,233,139,90,252,252,139,50,141,82,8,137,252,239,137,92,36,28,232,251,1,
137 14,139,149,233,133,192,15,132,244,249,72,139,106,8,72,139,66,16,72,137,106,
138 252,248,72,137,2,248,76,184,237,255,252,233,244,77,248,2,199,66,12,237,252,
139 233,244,1,248,3,199,66,252,252,237,252,233,244,65,248,78,129,252,248,239,
140 15,130,244,62,139,42,129,122,253,4,239,15,133,244,62,255,131,189,233,0,15,
141 133,244,62,255,139,106,252,248,139,133,233,139,90,252,252,199,66,252,252,
142 237,137,66,252,248,199,66,12,237,184,237,252,233,244,77,248,79,129,252,248,
143 239,15,130,244,62,129,122,253,4,239,15,133,244,62,129,122,253,12,239,255,
144 139,90,252,252,255,139,66,8,131,192,1,199,66,252,252,237,137,66,252,248,255,
145 252,242,15,16,66,8,72,189,237,237,102,72,15,110,205,252,242,15,88,193,252,
146 242,15,45,192,252,242,15,17,66,252,248,255,139,42,59,133,233,15,131,244,248,
147 193,224,3,3,133,233,248,1,129,120,253,4,239,15,132,244,80,72,139,40,72,137,
148 42,252,233,244,76,248,2,131,189,233,0,15,132,244,80,137,252,239,137,213,137,
149 198,232,251,1,15,137,252,234,133,192,15,133,244,1,248,80,184,237,252,233,
150 244,77,248,81,255,139,106,252,248,139,133,233,139,90,252,252,199,66,252,252,
151 237,137,66,252,248,255,199,66,12,237,199,66,8,0,0,0,0,255,15,87,192,252,242,
152 15,17,66,8,255,217,252,238,221,90,8,255,184,237,252,233,244,77,248,82,129,
153 252,248,239,15,130,244,62,141,74,8,131,232,1,187,237,248,1,65,15,182,174,
154 233,193,252,237,235,131,229,1,1,252,235,252,233,244,28,248,83,129,252,248,
155 239,15,130,244,62,129,122,253,12,239,15,133,244,62,255,139,106,4,137,106,
156 12,199,66,4,237,139,42,139,90,8,137,106,8,137,26,141,74,16,131,232,2,187,
157 237,252,233,244,1,248,84,129,252,248,239,15,130,244,62,139,42,139,90,252,
158 252,137,92,36,28,137,44,36,129,122,253,4,239,15,133,244,62,72,131,189,233,
159 0,15,133,244,62,128,189,233,235,15,135,244,62,139,141,233,15,132,244,247,
160 255,59,141,233,15,132,244,62,248,1,141,92,193,252,240,59,157,233,15,135,244,
161 62,137,157,233,139,108,36,24,137,149,233,131,194,8,137,149,233,141,108,194,
162 232,72,41,221,57,203,15,132,244,249,248,2,72,139,4,43,72,137,67,252,248,131,
163 252,235,8,57,203,15,133,244,2,248,3,137,206,139,60,36,232,244,25,65,199,134,
164 233,237,255,139,108,36,24,139,28,36,139,149,233,129,252,248,239,15,135,244,
165 254,248,4,139,139,233,68,139,187,233,137,139,233,68,137,252,251,41,203,15,
166 132,244,252,141,4,26,193,252,235,3,59,133,233,15,135,244,255,137,213,72,41,
167 205,248,5,72,139,1,72,137,4,41,131,193,8,68,57,252,249,15,133,244,5,248,6,
168 141,67,2,199,66,252,252,237,248,7,139,92,36,28,137,68,36,4,72,199,193,252,
169 248,252,255,252,255,252,255,252,247,195,237,255,15,132,244,13,252,233,244,
170 14,248,8,199,66,252,252,237,139,139,233,131,252,233,8,137,139,233,72,139,
171 1,72,137,2,184,237,252,233,244,7,248,9,139,12,36,68,137,185,233,137,222,137,
172 252,239,232,251,1,0,139,28,36,139,149,233,252,233,244,4,248,85,139,106,252,
173 248,139,173,233,139,90,252,252,137,92,36,28,137,44,36,72,131,189,233,0,15,
174 133,244,62,255,128,189,233,235,15,135,244,62,139,141,233,15,132,244,247,59,
175 141,233,15,132,244,62,248,1,141,92,193,252,248,59,157,233,15,135,244,62,137,
176 157,233,139,108,36,24,137,149,233,137,149,233,141,108,194,252,240,72,41,221,
177 57,203,15,132,244,249,248,2,255,72,139,4,43,72,137,67,252,248,131,252,235,
178 8,57,203,15,133,244,2,248,3,137,206,139,60,36,232,244,25,65,199,134,233,237,
179 139,108,36,24,139,28,36,139,149,233,129,252,248,239,15,135,244,254,248,4,
180 139,139,233,68,139,187,233,137,139,233,68,137,252,251,41,203,15,132,244,252,
181 141,4,26,193,252,235,3,59,133,233,15,135,244,255,255,137,213,72,41,205,248,
182 5,72,139,1,72,137,4,41,131,193,8,68,57,252,249,15,133,244,5,248,6,141,67,
183 1,248,7,139,92,36,28,137,68,36,4,49,201,252,247,195,237,15,132,244,13,252,
184 233,244,14,248,8,137,222,137,252,239,232,251,1,16,248,9,139,12,36,68,137,
185 185,233,137,222,137,252,239,232,251,1,0,139,28,36,139,149,233,252,233,244,
186 4,248,86,139,108,36,24,72,252,247,133,233,237,15,132,244,62,255,137,149,233,
187 141,68,194,252,248,137,133,233,49,192,72,137,133,233,176,235,136,133,233,
188 252,233,244,16,255,248,70,255,248,72,139,90,252,252,221,90,252,248,252,233,
189 244,65,255,248,87,129,252,248,239,15,130,244,62,255,129,122,253,4,239,15,
190 133,244,248,139,42,131,252,253,0,15,137,244,70,252,247,221,15,136,244,247,
191 248,88,248,70,139,90,252,252,199,66,252,252,237,137,106,252,248,252,233,244,
192 65,248,1,139,90,252,252,199,66,252,252,0,0,224,65,199,66,252,248,0,0,0,0,
193 252,233,244,65,248,2,15,135,244,62,255,129,122,253,4,239,15,131,244,62,255,
194 252,242,15,16,2,72,184,237,237,102,72,15,110,200,15,84,193,248,71,139,90,
195 252,252,252,242,15,17,66,252,248,255,221,2,217,225,248,71,248,72,139,90,252,
196 252,221,90,252,248,255,248,65,184,237,248,77,137,68,36,4,248,63,252,247,195,
197 237,15,133,244,253,248,5,56,67,252,255,15,135,244,252,15,182,75,252,253,72,
198 252,247,209,141,20,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
199 252,255,36,252,238,248,6,199,68,194,252,244,237,131,192,1,252,233,244,5,248,
200 7,72,199,193,252,248,252,255,252,255,252,255,252,233,244,14,248,89,255,129,
201 122,253,4,239,15,133,244,247,139,42,252,233,244,70,248,1,15,135,244,62,255,
202 252,242,15,16,2,232,244,90,255,252,242,15,45,232,129,252,253,0,0,0,128,15,
203 133,244,70,252,242,15,42,205,102,15,46,193,15,138,244,71,15,132,244,70,255,
204 221,2,232,244,90,255,248,91,255,252,242,15,16,2,232,244,92,255,221,2,232,
205 244,92,255,248,93,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
206 244,62,252,242,15,81,2,252,233,244,71,255,248,93,129,252,248,239,15,130,244,
207 62,129,122,253,4,239,15,131,244,62,221,2,217,252,250,252,233,244,72,255,248,
208 94,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,244,62,217,252,
209 237,221,2,217,252,241,252,233,244,72,248,95,129,252,248,239,15,130,244,62,
210 129,122,253,4,239,15,131,244,62,217,252,236,221,2,217,252,241,252,233,244,
211 72,248,96,129,252,248,239,255,15,130,244,62,129,122,253,4,239,15,131,244,
212 62,221,2,232,244,97,252,233,244,72,248,98,129,252,248,239,15,130,244,62,129,
213 122,253,4,239,15,131,244,62,221,2,217,252,254,252,233,244,72,248,99,129,252,
214 248,239,255,15,130,244,62,129,122,253,4,239,15,131,244,62,221,2,217,252,255,
215 252,233,244,72,248,100,129,252,248,239,15,130,244,62,129,122,253,4,239,15,
216 131,244,62,221,2,217,252,242,221,216,252,233,244,72,248,101,129,252,248,239,
217 15,130,244,62,255,129,122,253,4,239,15,131,244,62,221,2,217,192,216,200,217,
218 232,222,225,217,252,250,217,252,243,252,233,244,72,248,102,129,252,248,239,
219 15,130,244,62,129,122,253,4,239,15,131,244,62,221,2,217,192,216,200,217,232,
220 222,225,217,252,250,217,201,217,252,243,252,233,244,72,248,103,129,252,248,
221 239,15,130,244,62,129,122,253,4,239,15,131,244,62,255,221,2,217,232,217,252,
222 243,252,233,244,72,255,248,104,129,252,248,239,15,130,244,62,129,122,253,
223 4,239,15,131,244,62,252,242,15,16,2,255,137,213,232,251,1,17,137,252,234,
224 252,233,244,71,255,248,105,129,252,248,239,15,130,244,62,129,122,253,4,239,
225 15,131,244,62,252,242,15,16,2,255,137,213,232,251,1,18,137,252,234,252,233,
226 244,71,255,248,106,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
227 244,62,252,242,15,16,2,255,137,213,232,251,1,19,137,252,234,252,233,244,71,
228 248,107,255,248,108,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
229 244,62,252,242,15,16,2,139,106,252,248,252,242,15,89,133,233,252,233,244,
230 71,255,248,108,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,244,
231 62,221,2,139,106,252,248,220,141,233,252,233,244,72,255,248,109,129,252,248,
232 239,15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,15,131,
233 244,62,221,2,221,66,8,217,252,243,252,233,244,72,248,110,129,252,248,239,
234 15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,255,15,131,
235 244,62,221,66,8,221,2,217,252,253,221,217,252,233,244,72,248,111,129,252,
236 248,239,15,130,244,62,139,106,4,129,252,253,239,15,131,244,62,139,90,252,
237 252,139,2,137,106,252,252,137,66,252,248,209,229,129,252,253,0,0,224,252,
238 255,15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,
239 32,0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,
240 137,44,36,219,4,36,255,139,106,252,252,129,229,252,255,252,255,15,128,129,
241 205,0,0,224,63,137,106,252,252,248,2,255,252,242,15,17,2,255,221,26,255,184,
242 237,252,233,244,77,248,3,255,15,87,192,252,233,244,2,255,217,252,238,252,
243 233,244,2,255,248,4,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,
244 252,242,15,89,193,252,242,15,17,66,252,248,255,221,2,199,4,36,0,0,128,90,
245 216,12,36,221,90,252,248,255,139,106,252,252,184,52,4,0,0,209,229,252,233,
246 244,1,255,248,112,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
247 244,62,252,242,15,16,2,255,248,112,129,252,248,239,15,130,244,62,129,122,
248 253,4,239,15,131,244,62,221,2,255,139,106,4,139,90,252,252,209,229,129,252,
249 253,0,0,224,252,255,15,132,244,250,255,15,40,224,232,244,113,252,242,15,92,
250 224,248,1,252,242,15,17,66,252,248,252,242,15,17,34,255,217,192,232,244,113,
251 220,252,233,248,1,221,90,252,248,221,26,255,139,66,252,252,139,106,4,49,232,
252 15,136,244,249,248,2,184,237,252,233,244,77,248,3,129,252,245,0,0,0,128,137,
253 106,4,252,233,244,2,248,4,255,15,87,228,252,233,244,1,255,217,252,238,217,
254 201,252,233,244,1,255,248,114,129,252,248,239,15,130,244,62,129,122,253,4,
255 239,15,131,244,62,129,122,253,12,239,15,131,244,62,221,66,8,221,2,248,1,217,
256 252,248,223,224,158,15,138,244,1,221,217,252,233,244,72,255,248,115,129,252,
257 248,239,15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,
258 15,131,244,62,252,242,15,16,2,252,242,15,16,74,8,232,244,116,252,233,244,
259 71,255,248,115,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,244,
260 62,129,122,253,12,239,15,131,244,62,221,2,221,66,8,232,244,116,252,233,244,
261 72,255,248,117,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,
262 1,57,193,15,131,244,70,129,124,253,202,252,252,239,15,133,244,249,59,108,
263 202,252,248,15,79,108,202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,
264 62,255,252,233,244,252,248,4,15,135,244,62,255,252,242,15,16,2,248,5,57,193,
265 15,131,244,71,129,124,253,202,252,252,239,255,15,130,244,252,15,135,244,62,
266 252,242,15,42,76,202,252,248,252,233,244,253,255,248,6,252,242,15,16,76,202,
267 252,248,248,7,252,242,15,93,193,131,193,1,252,233,244,5,255,248,118,185,2,
268 0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,1,57,193,15,131,244,
269 70,129,124,253,202,252,252,239,15,133,244,249,59,108,202,252,248,15,76,108,
270 202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,62,255,248,6,252,242,
271 15,16,76,202,252,248,248,7,252,242,15,95,193,131,193,1,252,233,244,5,255,
272 248,9,221,216,252,233,244,62,255,248,119,129,252,248,239,15,130,244,62,129,
273 122,253,4,239,15,133,244,62,139,42,255,139,173,233,252,233,244,70,255,252,
274 242,15,42,133,233,252,233,244,71,255,219,133,233,252,233,244,72,255,248,120,
275 129,252,248,239,15,133,244,62,129,122,253,4,239,15,133,244,62,139,42,139,
276 90,252,252,131,189,233,1,15,130,244,80,15,182,173,233,255,252,242,15,42,197,
277 252,233,244,71,255,137,44,36,219,4,36,252,233,244,72,255,248,121,65,139,174,
278 233,65,59,174,233,15,130,244,247,232,244,74,248,1,129,252,248,239,15,133,
279 244,62,129,122,253,4,239,255,15,133,244,62,139,42,129,252,253,252,255,0,0,
280 0,15,135,244,62,137,108,36,4,255,15,131,244,62,252,242,15,44,42,129,252,253,
281 252,255,0,0,0,15,135,244,62,137,108,36,4,255,15,131,244,62,221,2,219,92,36,
282 4,129,124,36,4,252,255,0,0,0,15,135,244,62,255,199,68,36,8,1,0,0,0,72,141,
283 68,36,4,248,122,139,108,36,24,137,149,233,139,84,36,8,72,137,198,137,252,
284 239,137,92,36,28,232,251,1,20,139,149,233,139,90,252,252,199,66,252,252,237,
285 137,66,252,248,252,233,244,65,248,123,65,139,174,233,65,59,174,233,15,130,
286 244,247,232,244,74,248,1,199,68,36,4,252,255,252,255,252,255,252,255,129,
287 252,248,239,15,130,244,62,15,134,244,247,129,122,253,20,239,255,15,133,244,
288 62,139,106,16,137,108,36,4,255,15,131,244,62,252,242,15,44,106,16,137,108,
289 36,4,255,15,131,244,62,221,66,16,219,92,36,4,255,248,1,129,122,253,4,239,
290 15,133,244,62,129,122,253,12,239,255,139,42,137,108,36,8,139,173,233,255,
291 139,74,8,255,252,242,15,44,74,8,255,139,68,36,4,57,197,15,130,244,251,248,
292 2,133,201,15,142,244,253,248,3,139,108,36,8,41,200,15,140,244,124,141,172,
293 253,13,233,131,192,1,248,4,137,68,36,8,137,232,252,233,244,122,248,5,15,140,
294 244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248,7,255,15,
295 132,244,254,1,252,233,131,193,1,15,143,244,3,248,8,185,1,0,0,0,252,233,244,
296 3,248,124,49,192,252,233,244,4,248,125,129,252,248,239,15,130,244,62,65,139,
297 174,233,65,59,174,233,15,130,244,247,232,244,74,248,1,255,129,122,253,4,239,
298 15,133,244,62,129,122,253,12,239,139,42,255,15,133,244,62,139,66,8,255,15,
299 131,244,62,252,242,15,44,66,8,255,15,131,244,62,221,66,8,219,92,36,4,139,
300 68,36,4,255,133,192,15,142,244,124,131,189,233,1,15,130,244,124,15,133,244,
301 126,65,57,134,233,15,130,244,126,15,182,141,233,65,139,174,233,137,68,36,
302 8,248,1,136,77,0,131,197,1,131,232,1,15,133,244,1,65,139,134,233,252,233,
303 244,122,248,127,129,252,248,239,255,15,130,244,62,65,139,174,233,65,59,174,
304 233,15,130,244,247,232,244,74,248,1,129,122,253,4,239,15,133,244,62,139,42,
305 139,133,233,133,192,15,132,244,124,65,57,134,233,15,130,244,128,129,197,239,
306 137,92,36,4,137,68,36,8,65,139,158,233,248,1,255,15,182,77,0,131,197,1,131,
307 232,1,136,12,3,15,133,244,1,137,216,139,92,36,4,252,233,244,122,248,129,129,
308 252,248,239,15,130,244,62,65,139,174,233,65,59,174,233,15,130,244,247,232,
309 244,74,248,1,129,122,253,4,239,15,133,244,62,139,42,139,133,233,65,57,134,
310 233,255,15,130,244,128,129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,
311 252,233,244,249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,
312 249,90,15,135,244,248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,
313 244,1,137,216,139,92,36,4,252,233,244,122,248,130,129,252,248,239,15,130,
314 244,62,255,65,139,174,233,65,59,174,233,15,130,244,247,232,244,74,248,1,129,
315 122,253,4,239,15,133,244,62,139,42,139,133,233,65,57,134,233,15,130,244,128,
316 129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,252,233,244,249,248,1,
317 15,182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,
318 248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,139,
319 92,36,4,252,233,244,122,248,131,129,252,248,239,15,130,244,62,129,122,253,
320 4,239,15,133,244,62,137,213,139,58,232,251,1,21,137,252,234,255,137,197,252,
321 233,244,70,255,252,242,15,42,192,252,233,244,71,255,248,132,129,252,248,239,
322 15,130,244,62,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244,88,
323 248,1,15,135,244,62,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,
324 252,242,15,88,193,102,15,126,197,255,252,233,244,88,255,248,133,129,252,248,
325 239,15,130,244,62,255,72,189,237,237,102,72,15,110,205,255,199,4,36,0,0,192,
326 89,255,15,133,244,247,139,42,252,233,244,248,248,1,15,135,244,62,255,252,
327 242,15,16,2,252,242,15,88,193,102,15,126,197,255,248,2,137,68,36,4,141,68,
328 194,252,240,248,1,57,208,15,134,244,88,129,120,253,4,239,255,15,133,244,248,
329 35,40,131,232,8,252,233,244,1,248,2,15,135,244,134,255,15,131,244,134,255,
330 252,242,15,16,0,252,242,15,88,193,102,15,126,193,33,205,255,131,232,8,252,
331 233,244,1,248,135,129,252,248,239,15,130,244,62,255,15,133,244,248,11,40,
332 131,232,8,252,233,244,1,248,2,15,135,244,134,255,252,242,15,16,0,252,242,
333 15,88,193,102,15,126,193,9,205,255,131,232,8,252,233,244,1,248,136,129,252,
334 248,239,15,130,244,62,255,15,133,244,248,51,40,131,232,8,252,233,244,1,248,
335 2,15,135,244,134,255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,49,
336 205,255,131,232,8,252,233,244,1,248,137,129,252,248,239,15,130,244,62,129,
337 122,253,4,239,255,248,2,15,205,252,233,244,88,248,138,129,252,248,239,15,
338 130,244,62,129,122,253,4,239,255,248,2,252,247,213,255,248,88,252,242,15,
339 42,197,252,233,244,71,255,248,134,139,68,36,4,252,233,244,62,255,248,139,
340 129,252,248,239,15,130,244,62,129,122,253,4,239,255,248,2,129,122,253,12,
341 239,15,133,244,62,139,74,8,255,248,139,129,252,248,239,15,130,244,62,129,
342 122,253,4,239,15,131,244,62,129,122,253,12,239,15,131,244,62,252,242,15,16,
343 2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
344 242,15,88,202,102,15,126,197,102,15,126,201,255,211,229,252,233,244,88,255,
345 248,140,129,252,248,239,15,130,244,62,129,122,253,4,239,255,248,140,129,252,
346 248,239,15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,
347 15,131,244,62,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,
348 110,213,252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,
349 255,211,252,237,252,233,244,88,255,248,141,129,252,248,239,15,130,244,62,
350 129,122,253,4,239,255,248,141,129,252,248,239,15,130,244,62,129,122,253,4,
351 239,15,131,244,62,129,122,253,12,239,15,131,244,62,252,242,15,16,2,252,242,
352 15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,
353 88,202,102,15,126,197,102,15,126,201,255,211,252,253,252,233,244,88,255,248,
354 142,129,252,248,239,15,130,244,62,129,122,253,4,239,255,248,142,129,252,248,
355 239,15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,15,131,
356 244,62,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,
357 252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,255,211,
358 197,252,233,244,88,255,248,143,129,252,248,239,15,130,244,62,129,122,253,
359 4,239,255,248,143,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
360 244,62,129,122,253,12,239,15,131,244,62,252,242,15,16,2,252,242,15,16,74,
361 8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102,
362 15,126,197,102,15,126,201,255,211,205,252,233,244,88,248,126,184,237,252,
363 233,244,62,248,128,184,237,248,62,139,108,36,24,139,90,252,252,137,92,36,
364 28,137,149,233,141,68,194,252,248,141,136,233,137,133,233,139,66,252,248,
365 59,141,233,15,135,244,251,137,252,239,252,255,144,233,139,149,233,133,192,
366 15,143,244,77,248,1,255,139,141,233,41,209,193,252,233,3,133,192,141,65,1,
367 139,106,252,248,15,133,244,32,139,157,233,139,11,15,182,252,233,15,182,205,
368 131,195,4,65,252,255,36,252,238,248,32,137,209,252,247,195,237,15,133,244,
369 249,15,182,107,252,253,72,252,247,213,141,20,252,234,252,233,244,28,248,3,
370 137,221,131,229,252,248,41,252,234,252,233,244,28,248,5,190,237,137,252,239,
371 232,251,1,0,139,149,233,49,192,252,233,244,1,248,74,93,72,137,108,36,8,139,
372 108,36,24,137,92,36,28,137,149,233,255,141,68,194,252,248,137,252,239,137,
373 133,233,232,251,1,22,139,149,233,139,133,233,41,208,193,232,3,131,192,1,72,
374 139,108,36,8,85,195,248,144,255,65,15,182,134,233,168,235,15,133,244,251,
375 168,235,15,133,244,247,168,235,15,132,244,247,65,252,255,142,233,252,233,
376 244,247,255,248,145,65,15,182,134,233,168,235,15,133,244,251,252,233,244,
377 247,248,146,65,15,182,134,233,168,235,15,133,244,251,168,235,15,132,244,251,
378 65,252,255,142,233,15,132,244,247,168,235,15,132,244,251,248,1,255,139,108,
379 36,24,137,149,233,137,222,137,252,239,232,251,1,23,248,3,139,149,233,248,
380 4,15,182,75,252,253,248,5,15,182,107,252,252,15,183,67,252,254,65,252,255,
381 164,253,252,238,233,248,147,131,195,4,139,77,232,137,76,36,4,252,233,244,
382 4,248,148,255,139,106,252,248,139,173,233,15,182,133,233,141,4,194,139,108,
383 36,24,137,149,233,137,133,233,137,222,65,141,190,233,73,137,174,233,137,92,
384 36,28,232,251,1,24,252,233,244,3,255,248,149,137,92,36,28,255,248,150,255,
385 137,92,36,28,131,203,1,248,1,255,141,68,194,252,248,139,108,36,24,137,149,
386 233,137,133,233,137,222,137,252,239,232,251,1,25,199,68,36,28,0,0,0,0,255,
387 131,227,252,254,255,139,149,233,72,137,193,139,133,233,41,208,72,137,205,
388 15,182,75,252,253,193,232,3,131,192,1,252,255,229,248,151,255,65,85,65,84,
389 65,83,65,82,65,81,65,80,87,86,85,72,141,108,36,88,85,83,82,81,80,15,182,69,
390 252,248,138,101,252,240,76,137,125,252,248,76,137,117,252,240,68,139,117,
391 0,65,139,142,233,65,199,134,233,237,65,137,134,233,65,137,142,233,72,129,
392 252,236,239,72,131,197,128,252,242,68,15,17,125,252,248,252,242,68,15,17,
393 117,252,240,252,242,68,15,17,109,232,252,242,68,15,17,101,224,252,242,68,
394 15,17,93,216,252,242,68,15,17,85,208,252,242,68,15,17,77,200,252,242,68,15,
395 17,69,192,252,242,15,17,125,184,252,242,15,17,117,176,252,242,15,17,109,168,
396 252,242,15,17,101,160,252,242,15,17,93,152,252,242,15,17,85,144,252,242,15,
397 17,77,136,252,242,15,17,69,128,65,139,174,233,65,139,150,233,73,137,174,233,
398 65,199,134,233,0,0,0,0,137,149,233,72,137,230,65,141,190,233,232,251,1,26,
399 72,139,141,233,72,129,225,239,72,137,204,137,169,233,139,149,233,139,153,
400 233,252,233,244,247,255,248,152,255,72,131,196,16,248,1,76,139,108,36,8,76,
401 139,36,36,133,192,15,136,244,249,137,68,36,4,68,139,122,252,248,69,139,191,
402 233,69,139,191,233,65,199,134,233,0,0,0,0,65,199,134,233,237,139,3,15,182,
403 204,15,182,232,131,195,4,193,232,16,129,252,253,239,15,130,244,248,139,68,
404 36,4,248,2,65,252,255,36,252,238,248,3,252,247,216,137,252,239,137,198,232,
405 251,1,1,255,248,90,255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,
406 4,102,37,252,255,252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,
407 36,4,139,68,36,8,195,255,248,153,72,184,237,237,102,72,15,110,208,72,184,
408 237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,
409 247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,
410 237,237,102,72,15,110,208,252,242,15,194,193,1,102,15,84,194,252,242,15,92,
411 200,15,40,193,248,1,195,248,92,255,217,124,36,4,137,68,36,8,102,184,0,8,102,
412 11,68,36,4,102,37,252,255,252,251,102,137,68,36,6,217,108,36,6,217,252,252,
413 217,108,36,4,139,68,36,8,195,255,248,154,72,184,237,237,102,72,15,110,208,
414 72,184,237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,
415 134,244,247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,
416 72,184,237,237,102,72,15,110,208,252,242,15,194,193,6,102,15,84,194,252,242,
417 15,92,200,15,40,193,248,1,195,248,113,255,217,124,36,4,137,68,36,8,102,184,
418 0,12,102,11,68,36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,
419 139,68,36,8,195,255,248,155,72,184,237,237,102,72,15,110,208,72,184,237,237,
420 102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,
421 15,85,208,15,40,193,252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,
422 72,15,110,216,252,242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,
423 86,202,15,40,193,248,1,195,248,156,255,15,40,232,252,242,15,94,193,72,184,
424 237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,
425 15,84,226,102,15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,
426 242,15,92,227,102,15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,
427 196,1,102,15,84,194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,
428 15,92,193,195,248,1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,
429 217,193,216,252,241,217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,
430 252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,
431 252,233,195,255,248,97,217,252,234,222,201,248,157,217,84,36,252,248,129,
432 124,36,252,248,0,0,128,127,15,132,244,247,129,124,36,252,248,0,0,128,252,
433 255,15,132,244,248,248,158,217,192,217,252,252,220,252,233,217,201,217,252,
434 240,217,232,222,193,217,252,253,221,217,248,1,195,248,2,221,216,217,252,238,
435 195,255,248,116,255,248,159,252,242,15,45,193,252,242,15,42,208,102,15,46,
436 202,15,133,244,254,15,138,244,255,248,160,131,252,248,1,15,142,244,252,248,
437 1,169,1,0,0,0,15,133,244,248,252,242,15,89,192,209,232,252,233,244,1,248,
438 2,209,232,15,132,244,251,15,40,200,248,3,252,242,15,89,192,209,232,15,132,
439 244,250,15,131,244,3,255,252,242,15,89,200,252,233,244,3,248,4,252,242,15,
440 89,193,248,5,195,248,6,15,132,244,5,15,130,244,253,252,247,216,232,244,1,
441 72,184,237,237,102,72,15,110,200,252,242,15,94,200,15,40,193,195,248,7,72,
442 184,237,237,102,72,15,110,192,195,248,8,102,72,15,126,200,72,209,224,72,193,
443 192,12,72,61,252,254,15,0,0,15,132,244,248,102,72,15,126,192,72,209,224,15,
444 132,244,250,255,72,193,192,12,72,61,252,254,15,0,0,15,132,244,251,252,242,
445 15,17,76,36,252,240,252,242,15,17,68,36,252,248,221,68,36,252,240,221,68,
446 36,252,248,217,252,241,217,192,217,252,252,220,252,233,217,201,217,252,240,
447 217,232,222,193,217,252,253,221,217,221,92,36,252,248,252,242,15,16,68,36,
448 252,248,195,248,9,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,
449 247,15,40,193,248,1,195,248,2,72,184,237,237,102,72,15,110,208,102,15,84,
450 194,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,1,102,15,80,
451 193,15,87,192,136,196,15,146,208,48,224,15,133,244,1,248,3,72,184,237,237,
452 255,102,72,15,110,192,195,248,4,102,15,80,193,133,192,15,133,244,3,15,87,
453 192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,192,195,248,161,255,
454 131,252,255,1,15,130,244,90,15,132,244,92,131,252,255,3,15,130,244,113,15,
455 135,244,248,252,242,15,81,192,195,248,2,252,242,15,17,68,36,252,248,221,68,
456 36,252,248,131,252,255,5,15,135,244,248,15,132,244,247,232,244,97,252,233,
457 244,253,248,1,232,244,157,255,252,233,244,253,248,2,131,252,255,7,15,132,
458 244,247,15,135,244,248,217,252,237,217,201,217,252,241,252,233,244,253,248,
459 1,217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,255,9,15,132,
460 244,247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,244,253,248,
461 1,255,217,252,254,252,233,244,253,248,2,131,252,255,11,15,132,244,247,15,
462 135,244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,216,248,7,221,
463 92,36,252,248,252,242,15,16,68,36,252,248,195,255,139,124,36,12,221,68,36,
464 4,131,252,255,1,15,130,244,90,15,132,244,92,131,252,255,3,15,130,244,113,
465 15,135,244,248,217,252,250,195,248,2,131,252,255,5,15,130,244,97,15,132,244,
466 157,131,252,255,7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,
467 241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,255,9,15,132,
468 244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,1,217,
469 252,254,195,248,2,131,252,255,11,15,132,244,247,15,135,244,255,217,252,255,
470 195,248,1,217,252,242,221,216,195,255,248,9,204,255,248,162,255,131,252,255,
471 1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15,92,
472 193,195,248,2,131,252,255,3,15,132,244,247,15,135,244,248,252,242,15,89,193,
473 195,248,1,252,242,15,94,193,195,248,2,131,252,255,5,15,130,244,156,15,132,
474 244,116,131,252,255,7,15,132,244,247,15,135,244,248,72,184,237,237,255,102,
475 72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,110,200,15,84,
476 193,195,248,2,131,252,255,9,15,135,244,248,252,242,15,17,68,36,252,248,252,
477 242,15,17,76,36,252,240,221,68,36,252,248,221,68,36,252,240,15,132,244,247,
478 217,252,243,248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,248,1,
479 217,201,217,252,253,221,217,252,233,244,7,248,2,131,252,255,11,15,132,244,
480 247,15,135,244,255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,
481 9,204,255,139,68,36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,
482 247,15,135,244,248,222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,
483 15,132,244,247,15,135,244,248,222,201,195,248,1,222,252,249,195,248,2,131,
484 252,248,5,15,130,244,156,15,132,244,116,131,252,248,7,15,132,244,247,15,135,
485 244,248,255,221,216,217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,
486 9,15,132,244,247,15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,
487 221,217,195,248,2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,
488 233,219,209,221,217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,
489 223,224,252,246,196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,
490 225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,
491 163,137,252,248,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,195,248,164,
492 255,204,248,165,255,85,72,137,229,83,72,137,252,251,139,131,233,72,41,196,
493 255,15,182,139,233,131,252,233,1,15,136,244,248,248,1,72,139,132,253,203,
494 233,72,137,132,253,204,233,131,252,233,1,15,137,244,1,248,2,15,182,131,233,
495 72,139,187,233,72,139,179,233,72,139,147,233,72,139,139,233,76,139,131,233,
496 76,139,139,233,133,192,15,132,244,251,15,40,131,233,15,40,139,233,255,15,
497 40,147,233,15,40,155,233,131,252,248,4,15,134,244,251,15,40,163,233,15,40,
498 171,233,15,40,179,233,15,40,187,233,248,5,252,255,147,233,72,137,131,233,
499 15,41,131,233,72,137,147,233,15,41,139,233,255,72,139,93,252,248,201,195,
500 255,249,255,129,124,253,202,4,239,15,133,244,253,129,124,253,194,4,239,15,
501 133,244,254,139,44,202,131,195,4,59,44,194,255,15,141,244,255,255,15,140,
502 244,255,255,15,143,244,255,255,15,142,244,255,255,248,6,15,183,67,252,254,
503 141,156,253,131,233,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,16,
504 65,252,255,36,252,238,248,7,15,135,244,43,129,124,253,194,4,239,15,130,244,
505 247,15,133,244,43,255,252,242,15,42,4,194,252,233,244,248,255,221,4,202,219,
506 4,194,252,233,244,249,255,248,8,15,135,244,43,255,252,242,15,42,12,202,252,
507 242,15,16,4,194,131,195,4,102,15,46,193,255,15,134,244,9,255,15,135,244,9,
508 255,15,130,244,9,255,15,131,244,9,255,252,233,244,6,255,219,4,202,252,233,
509 244,248,255,129,124,253,202,4,239,15,131,244,43,129,124,253,194,4,239,15,
510 131,244,43,255,248,1,252,242,15,16,4,194,248,2,131,195,4,102,15,46,4,202,
511 248,3,255,248,1,221,4,202,248,2,221,4,194,248,3,131,195,4,255,223,252,233,
512 221,216,255,218,252,233,223,224,158,255,15,134,244,247,255,15,135,244,247,
513 255,15,130,244,247,255,15,131,244,247,255,15,183,67,252,254,141,156,253,131,
514 233,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
515 252,238,255,139,108,194,4,131,195,4,255,129,252,253,239,15,133,244,253,129,
516 124,253,202,4,239,15,133,244,254,139,44,194,59,44,202,255,15,133,244,255,
517 255,15,132,244,255,255,15,183,67,252,254,141,156,253,131,233,248,9,139,3,
518 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,
519 135,244,251,129,124,253,202,4,239,15,130,244,247,15,133,244,251,255,252,242,
520 15,42,4,202,255,219,4,202,255,252,233,244,248,248,8,15,135,244,251,255,252,
521 242,15,42,4,194,102,15,46,4,202,255,219,4,194,221,4,202,255,252,233,244,250,
522 255,129,252,253,239,15,131,244,251,129,124,253,202,4,239,15,131,244,251,255,
523 248,1,252,242,15,16,4,202,248,2,102,15,46,4,194,248,4,255,248,1,221,4,202,
524 248,2,221,4,194,248,4,255,15,138,244,248,15,133,244,248,255,15,138,244,248,
525 15,132,244,247,255,248,1,15,183,67,252,254,141,156,253,131,233,248,2,255,
526 248,2,15,183,67,252,254,141,156,253,131,233,248,1,255,252,233,244,9,255,248,
527 5,255,129,252,253,239,15,132,244,48,129,124,253,202,4,239,15,132,244,48,255,
528 57,108,202,4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,
529 57,193,15,132,244,1,129,252,253,239,15,135,244,2,129,252,253,239,15,130,244,
530 2,139,169,233,133,252,237,15,132,244,2,252,246,133,233,235,15,133,244,2,255,
531 49,252,237,255,189,1,0,0,0,255,252,233,244,47,255,248,3,129,252,253,239,255,
532 15,133,244,9,255,252,233,244,48,255,72,252,247,208,139,108,202,4,131,195,
533 4,129,252,253,239,15,133,244,249,139,12,202,65,59,12,135,255,139,108,202,
534 4,131,195,4,255,129,252,253,239,15,133,244,253,65,129,124,253,199,4,239,15,
535 133,244,254,65,139,44,199,59,44,202,255,15,183,67,252,254,141,156,253,131,
536 233,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
537 252,238,248,7,15,135,244,249,65,129,124,253,199,4,239,15,130,244,247,255,
538 252,242,65,15,42,4,199,255,65,219,4,199,255,252,233,244,248,248,8,255,252,
539 242,15,42,4,202,102,65,15,46,4,199,255,219,4,202,65,221,4,199,255,129,252,
540 253,239,15,131,244,249,255,248,1,252,242,65,15,16,4,199,248,2,102,15,46,4,
541 202,248,4,255,248,1,65,221,4,199,248,2,221,4,202,248,4,255,72,252,247,208,
542 139,108,202,4,131,195,4,57,197,255,15,133,244,249,15,183,67,252,254,141,156,
543 253,131,233,248,2,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,
544 255,36,252,238,248,3,129,252,253,239,15,133,244,2,252,233,244,48,255,15,132,
545 244,248,129,252,253,239,15,132,244,48,15,183,67,252,254,141,156,253,131,233,
546 248,2,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
547 238,255,139,108,194,4,131,195,4,129,252,253,239,255,137,108,202,4,139,44,
548 194,137,44,202,255,72,139,44,194,72,137,44,202,139,3,15,182,204,15,182,232,
549 131,195,4,193,232,16,65,252,255,36,252,238,255,49,252,237,129,124,253,194,
550 4,239,129,213,239,137,108,202,4,139,3,15,182,204,15,182,232,131,195,4,193,
551 232,16,65,252,255,36,252,238,255,129,124,253,194,4,239,15,133,244,251,139,
552 44,194,252,247,221,15,128,244,250,199,68,202,4,237,137,44,202,248,9,139,3,
553 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,4,199,
554 68,202,4,0,0,224,65,199,4,202,0,0,0,0,252,233,244,9,248,5,15,135,244,53,255,
555 129,124,253,194,4,239,15,131,244,53,255,252,242,15,16,4,194,72,184,237,237,
556 102,72,15,110,200,15,87,193,252,242,15,17,4,202,255,221,4,194,217,224,221,
557 28,202,255,129,124,253,194,4,239,15,133,244,248,139,4,194,255,139,128,233,
558 248,1,199,68,202,4,237,137,4,202,255,15,87,192,252,242,15,42,128,233,248,
559 1,252,242,15,17,4,202,255,219,128,233,248,1,221,28,202,255,139,3,15,182,204,
560 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,129,124,253,194,
561 4,239,15,133,244,56,139,60,194,255,139,175,233,131,252,253,0,15,133,244,255,
562 248,3,255,248,57,137,213,232,251,1,21,255,252,242,15,42,192,255,137,252,234,
563 15,182,75,252,253,252,233,244,1,255,248,9,252,246,133,233,235,15,133,244,
564 3,252,233,244,56,255,15,182,252,236,15,182,192,255,129,124,253,252,234,4,
565 239,15,133,244,50,65,129,124,253,199,4,239,15,133,244,50,139,44,252,234,65,
566 3,44,199,15,128,244,49,255,129,124,253,252,234,4,239,15,133,244,52,65,129,
567 124,253,199,4,239,15,133,244,52,65,139,4,199,3,4,252,234,15,128,244,51,255,
568 129,124,253,252,234,4,239,15,133,244,55,129,124,253,194,4,239,15,133,244,
569 55,139,44,252,234,3,44,194,15,128,244,54,255,199,68,202,4,237,255,129,124,
570 253,252,234,4,239,15,131,244,50,255,65,129,124,253,199,4,239,15,131,244,50,
571 255,252,242,15,16,4,252,234,252,242,65,15,88,4,199,255,221,4,252,234,65,220,
572 4,199,255,129,124,253,252,234,4,239,15,131,244,52,255,65,129,124,253,199,
573 4,239,15,131,244,52,255,252,242,65,15,16,4,199,252,242,15,88,4,252,234,255,
574 65,221,4,199,220,4,252,234,255,129,124,253,252,234,4,239,15,131,244,55,129,
575 124,253,194,4,239,15,131,244,55,255,252,242,15,16,4,252,234,252,242,15,88,
576 4,194,255,221,4,252,234,220,4,194,255,129,124,253,252,234,4,239,15,133,244,
577 50,65,129,124,253,199,4,239,15,133,244,50,139,44,252,234,65,43,44,199,15,
578 128,244,49,255,129,124,253,252,234,4,239,15,133,244,52,65,129,124,253,199,
579 4,239,15,133,244,52,65,139,4,199,43,4,252,234,15,128,244,51,255,129,124,253,
580 252,234,4,239,15,133,244,55,129,124,253,194,4,239,15,133,244,55,139,44,252,
581 234,43,44,194,15,128,244,54,255,252,242,15,16,4,252,234,252,242,65,15,92,
582 4,199,255,221,4,252,234,65,220,36,199,255,252,242,65,15,16,4,199,252,242,
583 15,92,4,252,234,255,65,221,4,199,220,36,252,234,255,252,242,15,16,4,252,234,
584 252,242,15,92,4,194,255,221,4,252,234,220,36,194,255,129,124,253,252,234,
585 4,239,15,133,244,50,65,129,124,253,199,4,239,15,133,244,50,139,44,252,234,
586 65,15,175,44,199,15,128,244,49,255,129,124,253,252,234,4,239,15,133,244,52,
587 65,129,124,253,199,4,239,15,133,244,52,65,139,4,199,15,175,4,252,234,15,128,
588 244,51,255,129,124,253,252,234,4,239,15,133,244,55,129,124,253,194,4,239,
589 15,133,244,55,139,44,252,234,15,175,44,194,15,128,244,54,255,252,242,15,16,
590 4,252,234,252,242,65,15,89,4,199,255,221,4,252,234,65,220,12,199,255,252,
591 242,65,15,16,4,199,252,242,15,89,4,252,234,255,65,221,4,199,220,12,252,234,
592 255,252,242,15,16,4,252,234,252,242,15,89,4,194,255,221,4,252,234,220,12,
593 194,255,252,242,15,16,4,252,234,252,242,65,15,94,4,199,255,221,4,252,234,
594 65,220,52,199,255,252,242,65,15,16,4,199,252,242,15,94,4,252,234,255,65,221,
595 4,199,220,52,252,234,255,252,242,15,16,4,252,234,252,242,15,94,4,194,255,
596 221,4,252,234,220,52,194,255,252,242,15,16,4,252,234,252,242,65,15,16,12,
597 199,255,221,4,252,234,65,221,4,199,255,252,242,65,15,16,4,199,252,242,15,
598 16,12,252,234,255,65,221,4,199,221,4,252,234,255,252,242,15,16,4,252,234,
599 252,242,15,16,12,194,255,221,4,252,234,221,4,194,255,248,166,232,244,156,
600 255,252,233,244,166,255,232,244,116,255,15,182,252,236,15,182,192,139,124,
601 36,24,137,151,233,141,52,194,137,194,41,252,234,248,35,137,252,253,137,92,
602 36,28,232,251,1,27,139,149,233,133,192,15,133,244,44,15,182,107,252,255,15,
603 182,75,252,253,72,139,4,252,234,72,137,4,202,139,3,15,182,204,15,182,232,
604 131,195,4,193,232,16,65,252,255,36,252,238,255,72,252,247,208,65,139,4,135,
605 199,68,202,4,237,137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,
606 16,65,252,255,36,252,238,255,15,191,192,199,68,202,4,237,137,4,202,255,15,
607 191,192,252,242,15,42,192,252,242,15,17,4,202,255,223,67,252,254,221,28,202,
608 255,252,242,65,15,16,4,199,252,242,15,17,4,202,255,65,221,4,199,221,28,202,
609 255,72,252,247,208,137,68,202,4,139,3,15,182,204,15,182,232,131,195,4,193,
610 232,16,65,252,255,36,252,238,255,141,76,202,12,141,68,194,4,189,237,137,105,
611 252,248,248,1,137,41,131,193,8,57,193,15,134,244,1,139,3,15,182,204,15,182,
612 232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,106,252,248,139,172,
613 253,133,233,139,173,233,72,139,69,0,72,137,4,202,139,3,15,182,204,15,182,
614 232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,106,252,248,139,172,
615 253,141,233,128,189,233,0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,
616 69,4,15,132,244,247,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,
617 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,129,232,239,
618 129,252,248,239,15,134,244,1,252,246,129,233,235,15,132,244,1,137,252,238,
619 137,213,65,141,190,233,255,232,251,1,28,137,252,234,252,233,244,1,255,72,
620 252,247,208,139,106,252,248,139,172,253,141,233,65,139,12,135,139,133,233,
621 137,8,199,64,4,237,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,
622 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,252,246,129,
623 233,235,15,132,244,1,128,189,233,0,15,132,244,1,137,213,137,198,65,141,190,
624 233,232,251,1,28,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,
625 65,15,16,4,199,255,139,172,253,141,233,139,141,233,255,252,242,15,17,1,255,
626 221,25,255,72,252,247,208,139,106,252,248,139,172,253,141,233,139,141,233,
627 137,65,4,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
628 238,255,141,156,253,131,233,139,108,36,24,131,189,233,0,15,132,244,247,137,
629 149,233,141,52,202,137,252,239,232,251,1,29,139,149,233,248,1,139,3,15,182,
630 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,72,252,247,
631 208,139,108,36,24,137,149,233,139,82,252,248,65,139,52,135,137,252,239,137,
632 92,36,28,232,251,1,30,139,149,233,15,182,75,252,253,137,4,202,199,68,202,
633 4,237,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
634 238,255,139,108,36,24,137,149,233,65,139,142,233,65,59,142,233,137,92,36,
635 28,15,131,244,251,248,1,137,194,37,252,255,7,0,0,193,252,234,11,61,252,255,
636 7,0,0,15,132,244,249,248,2,137,252,239,137,198,232,251,1,31,139,149,233,15,
637 182,75,252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,
638 195,4,193,232,16,65,252,255,36,252,238,248,3,184,1,8,0,0,252,233,244,2,248,
639 5,137,252,239,232,251,1,32,15,183,67,252,254,252,233,244,1,255,72,252,247,
640 208,139,108,36,24,65,139,142,233,137,92,36,28,65,59,142,233,137,149,233,15,
641 131,244,249,248,2,65,139,52,135,137,252,239,232,251,1,33,139,149,233,15,182,
642 75,252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,195,
643 4,193,232,16,65,252,255,36,252,238,248,3,137,252,239,232,251,1,32,15,183,
644 67,252,254,72,252,247,208,252,233,244,2,255,72,252,247,208,139,106,252,248,
645 139,173,233,65,139,4,135,252,233,244,167,255,72,252,247,208,139,106,252,248,
646 139,173,233,65,139,4,135,252,233,244,168,255,15,182,252,236,15,182,192,129,
647 124,253,252,234,4,239,15,133,244,38,139,44,252,234,255,129,124,253,194,4,
648 239,15,133,244,251,139,4,194,255,129,124,253,194,4,239,15,131,244,251,255,
649 252,242,15,16,4,194,252,242,15,45,192,252,242,15,42,200,102,15,46,193,255,
650 15,133,244,38,255,59,133,233,15,131,244,38,193,224,3,3,133,233,129,120,253,
651 4,239,15,132,244,248,72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,
652 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,
653 244,249,139,141,233,252,246,129,233,235,15,132,244,38,15,182,75,252,253,248,
654 3,199,68,202,4,237,252,233,244,1,248,5,255,129,124,253,194,4,239,15,133,244,
655 38,139,4,194,252,233,244,167,255,15,182,252,236,15,182,192,72,252,247,208,
656 65,139,4,135,129,124,253,252,234,4,239,15,133,244,36,139,44,252,234,248,167,
657 139,141,233,35,136,233,105,201,239,3,141,233,248,1,129,185,233,239,15,133,
658 244,250,57,129,233,15,133,244,250,129,121,253,4,239,15,132,244,251,15,182,
659 67,252,253,72,139,41,72,137,44,194,248,2,255,139,3,15,182,204,15,182,232,
660 131,195,4,193,232,16,65,252,255,36,252,238,248,3,15,182,67,252,253,199,68,
661 194,4,237,252,233,244,2,248,4,139,137,233,133,201,15,133,244,1,248,5,139,
662 141,233,133,201,15,132,244,3,252,246,129,233,235,15,133,244,3,252,233,244,
663 36,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,37,
664 139,44,252,234,59,133,233,15,131,244,37,193,224,3,3,133,233,129,120,253,4,
665 239,15,132,244,248,72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,
666 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,
667 244,249,139,141,233,252,246,129,233,235,15,132,244,37,255,15,182,75,252,253,
668 248,3,199,68,202,4,237,252,233,244,1,255,15,182,252,236,15,182,192,129,124,
669 253,252,234,4,239,15,133,244,41,139,44,252,234,255,15,133,244,41,255,59,133,
670 233,15,131,244,41,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,
671 1,252,246,133,233,235,15,133,244,253,248,2,72,139,44,202,72,137,40,139,3,
672 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,131,
673 189,233,0,15,132,244,1,139,141,233,252,246,129,233,235,255,15,132,244,41,
674 15,182,75,252,253,252,233,244,1,248,5,129,124,253,194,4,239,15,133,244,41,
675 139,4,194,252,233,244,168,248,7,128,165,233,235,65,139,142,233,65,137,174,
676 233,137,141,233,15,182,75,252,253,252,233,244,2,255,15,182,252,236,15,182,
677 192,72,252,247,208,65,139,4,135,129,124,253,252,234,4,239,15,133,244,39,139,
678 44,252,234,248,168,139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,
679 233,248,1,129,185,233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,
680 253,4,239,15,132,244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,
681 3,15,182,67,252,253,72,139,44,194,72,137,41,139,3,15,182,204,15,182,232,131,
682 195,4,193,232,16,65,252,255,36,252,238,248,4,131,189,233,0,15,132,244,2,137,
683 12,36,139,141,233,252,246,129,233,235,15,132,244,39,139,12,36,252,233,244,
684 2,248,5,139,137,233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244,
685 252,252,246,129,233,235,15,132,244,39,248,6,137,4,36,199,68,36,4,237,137,
686 108,36,8,139,124,36,24,137,151,233,72,141,20,36,137,252,238,137,252,253,137,
687 92,36,28,232,251,1,34,139,149,233,139,108,36,8,137,193,252,233,244,2,248,
688 7,128,165,233,235,65,139,134,233,65,137,174,233,137,133,233,252,233,244,3,
689 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,40,139,
690 44,252,234,59,133,233,15,131,244,40,193,224,3,3,133,233,129,120,253,4,239,
691 15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,2,72,139,12,202,
692 72,137,8,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
693 238,248,3,131,189,233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,
694 15,132,244,40,15,182,75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,
695 142,233,65,137,174,233,137,141,233,15,182,75,252,253,252,233,244,2,255,68,
696 137,60,36,69,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,
697 235,15,133,244,253,248,2,139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,
698 59,133,233,15,135,244,251,68,41,252,248,65,193,231,3,68,3,189,233,248,3,72,
699 139,41,131,193,8,73,137,47,65,131,199,8,131,232,1,15,133,244,3,248,4,68,139,
700 60,36,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
701 238,248,5,139,124,36,24,137,151,233,137,252,238,137,194,137,252,253,137,92,
702 36,28,232,251,1,35,139,149,233,15,182,75,252,253,252,233,244,1,248,7,255,
703 128,165,233,235,65,139,134,233,65,137,174,233,137,133,233,252,233,244,2,255,
704 3,68,36,4,255,129,124,253,202,4,239,139,44,202,15,133,244,58,141,84,202,8,
705 137,90,252,252,139,157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,
706 252,255,36,252,238,255,141,76,202,8,65,137,215,139,105,252,248,129,121,253,
707 252,252,239,15,133,244,29,248,59,139,90,252,252,252,247,195,237,15,133,244,
708 253,248,1,137,106,252,248,137,68,36,4,131,232,1,15,132,244,249,248,2,72,139,
709 41,131,193,8,73,137,47,65,131,199,8,131,232,1,15,133,244,2,139,106,252,248,
710 248,3,139,68,36,4,128,189,233,1,15,135,244,251,248,4,139,157,233,139,11,15,
711 182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,248,5,255,252,247,
712 195,237,15,133,244,4,15,182,75,252,253,72,252,247,209,141,12,202,68,139,121,
713 252,248,69,139,191,233,69,139,191,233,252,233,244,4,248,7,129,252,235,239,
714 252,247,195,237,15,133,244,254,41,218,65,137,215,139,90,252,252,252,233,244,
715 1,248,8,129,195,239,252,233,244,1,255,141,76,202,8,72,139,105,232,72,139,
716 65,252,240,72,137,41,72,137,65,8,139,105,224,139,65,228,137,105,252,248,137,
717 65,252,252,129,252,248,239,184,237,15,133,244,29,137,202,137,90,252,252,139,
718 157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,
719 255,68,137,60,36,68,137,116,36,4,139,108,202,252,240,139,68,202,252,248,68,
720 139,181,233,131,195,4,68,139,189,233,248,1,68,57,252,240,15,131,244,251,65,
721 129,124,253,199,4,239,15,132,244,250,255,219,68,202,252,248,255,73,139,44,
722 199,72,137,108,202,8,131,192,1,255,137,68,202,252,248,248,2,15,183,67,252,
723 254,141,156,253,131,233,248,3,68,139,116,36,4,68,139,60,36,139,3,15,182,204,
724 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,4,131,192,1,255,
725 137,68,202,252,248,255,252,233,244,1,248,5,68,41,252,240,248,6,59,133,233,
726 15,135,244,3,68,105,252,248,239,68,3,189,233,65,129,191,233,239,15,132,244,
727 253,70,141,116,48,1,73,139,175,233,73,139,135,233,72,137,44,202,72,137,68,
728 202,8,68,137,116,202,252,248,252,233,244,2,248,7,131,192,1,252,233,244,6,
729 255,129,124,253,202,252,236,239,15,133,244,251,139,108,202,232,129,124,253,
730 202,252,244,239,15,133,244,251,129,124,253,202,252,252,239,15,133,244,251,
731 128,189,233,235,15,133,244,251,141,156,253,131,233,199,68,202,252,248,0,0,
732 0,0,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
733 252,238,248,5,198,67,252,252,235,141,156,253,131,233,198,3,235,252,233,244,
734 1,255,15,182,252,236,15,182,192,68,137,60,36,68,141,188,253,194,233,141,12,
735 202,68,43,122,252,252,133,252,237,15,132,244,251,141,108,252,233,252,248,
736 65,57,215,15,131,244,248,248,1,73,139,71,252,248,65,131,199,8,72,137,1,131,
737 193,8,57,252,233,15,131,244,249,65,57,215,15,130,244,1,248,2,199,65,4,237,
738 131,193,8,57,252,233,15,130,244,2,248,3,68,139,60,36,139,3,15,182,204,15,
739 182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,5,199,68,36,4,1,0,
740 0,0,137,208,68,41,252,248,15,134,244,3,137,197,193,252,237,3,131,197,1,137,
741 108,36,4,139,108,36,24,1,200,59,133,233,15,135,244,253,248,6,255,73,139,71,
742 252,248,65,131,199,8,72,137,1,131,193,8,65,57,215,15,130,244,6,252,233,244,
743 3,248,7,137,149,233,137,141,233,137,92,36,28,65,41,215,139,116,36,4,131,252,
744 238,1,137,252,239,232,251,1,0,139,149,233,139,141,233,65,1,215,252,233,244,
745 6,255,193,225,3,255,248,1,139,90,252,252,137,68,36,4,252,247,195,237,15,133,
746 244,253,255,248,13,65,137,215,131,232,1,15,132,244,249,248,2,73,139,44,15,
747 73,137,111,252,248,65,131,199,8,131,232,1,15,133,244,2,248,3,139,68,36,4,
748 15,182,107,252,255,248,5,57,197,15,135,244,252,255,72,139,44,10,72,137,106,
749 252,248,255,248,5,56,67,252,255,15,135,244,252,255,15,182,75,252,253,72,252,
750 247,209,141,20,202,68,139,122,252,248,69,139,191,233,69,139,191,233,139,3,
751 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,6,255,
752 65,199,71,252,252,237,65,131,199,8,255,199,68,194,252,244,237,255,131,192,
753 1,252,233,244,5,248,7,141,171,233,252,247,197,237,15,133,244,14,41,252,234,
754 255,1,252,233,255,137,221,209,252,237,129,229,239,102,65,129,172,253,46,233,
755 238,15,130,244,148,255,141,12,202,255,129,121,253,4,239,15,133,244,255,255,
756 129,121,253,12,239,15,133,244,60,129,121,253,20,239,15,133,244,60,139,41,
757 131,121,16,0,15,140,244,251,255,129,121,253,12,239,15,133,244,164,129,121,
758 253,20,239,15,133,244,164,255,139,105,16,133,252,237,15,136,244,251,3,41,
759 15,128,244,247,137,41,255,59,105,8,199,65,28,237,137,105,24,255,15,142,244,
760 253,248,1,248,6,141,156,253,131,233,255,141,156,253,131,233,15,183,67,252,
761 254,15,142,245,248,1,248,6,255,15,143,244,253,248,6,141,156,253,131,233,248,
762 1,255,248,7,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
763 252,238,248,5,255,3,41,15,128,244,1,137,41,255,15,141,244,7,255,141,156,253,
764 131,233,15,183,67,252,254,15,141,245,255,15,140,244,7,255,252,233,244,6,248,
765 9,255,129,121,253,4,239,255,15,131,244,60,129,121,253,12,239,15,131,244,60,
766 255,129,121,253,12,239,15,131,244,164,129,121,253,20,239,15,131,244,164,255,
767 139,105,20,255,129,252,253,239,15,131,244,60,255,252,242,15,16,1,252,242,
768 15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,237,15,136,244,
769 249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15,17,65,24,255,221,
770 65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15,136,244,247,255,
771 221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,67,252,254,255,15,131,
772 244,7,255,15,131,244,248,141,156,253,131,233,255,141,156,253,131,233,15,183,
773 67,252,254,15,131,245,255,15,130,244,7,255,15,130,244,248,141,156,253,131,
774 233,255,248,3,102,15,46,193,252,233,244,1,255,141,12,202,139,105,4,129,252,
775 253,239,15,132,244,247,255,137,105,252,252,139,41,137,105,252,248,252,233,
776 245,255,141,156,253,131,233,139,1,137,105,252,252,137,65,252,248,255,65,139,
777 142,233,139,4,129,72,139,128,233,139,108,36,24,65,137,150,233,65,137,174,
778 233,76,137,36,36,76,137,108,36,8,72,131,252,236,16,252,255,224,255,141,156,
779 253,131,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
780 252,238,255,137,221,209,252,237,129,229,239,102,65,129,172,253,46,233,238,
781 15,130,244,150,255,68,139,187,233,139,108,36,24,141,12,202,59,141,233,15,
782 135,244,24,15,182,139,233,57,200,15,134,244,249,248,2,255,15,183,67,252,254,
783 252,233,245,255,248,3,199,68,194,252,252,237,131,192,1,57,200,15,134,244,
784 3,252,233,244,2,255,141,44,197,237,141,4,194,68,139,122,252,248,137,104,252,
785 252,68,137,120,252,248,139,108,36,24,141,12,200,59,141,233,15,135,244,23,
786 137,209,137,194,15,182,171,233,133,252,237,15,132,244,248,248,1,131,193,8,
787 57,209,15,131,244,249,68,139,121,252,248,68,137,56,68,139,121,252,252,68,
788 137,120,4,131,192,8,199,65,252,252,237,131,252,237,1,15,133,244,1,248,2,255,
789 68,139,187,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,
790 36,252,238,255,248,3,199,64,4,237,131,192,8,131,252,237,1,15,133,244,3,252,
791 233,244,2,255,139,106,252,248,76,139,189,233,139,108,36,24,141,68,194,252,
792 248,137,149,233,141,136,233,59,141,233,137,133,233,255,76,137,252,254,137,
793 252,239,255,15,135,244,22,65,199,134,233,237,255,65,252,255,215,255,65,252,
794 255,150,233,255,65,199,134,233,237,139,149,233,141,12,194,252,247,217,3,141,
795 233,139,90,252,252,252,233,244,12,255,254,0
798 enum {
799 GLOB_vm_returnp,
800 GLOB_cont_dispatch,
801 GLOB_vm_returnc,
802 GLOB_BC_RET_Z,
803 GLOB_vm_return,
804 GLOB_vm_leave_cp,
805 GLOB_vm_leave_unw,
806 GLOB_vm_unwind_c,
807 GLOB_vm_unwind_c_eh,
808 GLOB_vm_unwind_rethrow,
809 GLOB_vm_unwind_ff,
810 GLOB_vm_unwind_ff_eh,
811 GLOB_vm_growstack_c,
812 GLOB_vm_growstack_v,
813 GLOB_vm_growstack_f,
814 GLOB_vm_resume,
815 GLOB_vm_pcall,
816 GLOB_vm_call,
817 GLOB_vm_call_dispatch,
818 GLOB_vmeta_call,
819 GLOB_vm_call_dispatch_f,
820 GLOB_vm_cpcall,
821 GLOB_vm_call_tail,
822 GLOB_cont_cat,
823 GLOB_cont_ra,
824 GLOB_BC_CAT_Z,
825 GLOB_vmeta_tgets,
826 GLOB_vmeta_tgetb,
827 GLOB_vmeta_tgetv,
828 GLOB_vmeta_tsets,
829 GLOB_vmeta_tsetb,
830 GLOB_vmeta_tsetv,
831 GLOB_cont_nop,
832 GLOB_vmeta_comp,
833 GLOB_vmeta_binop,
834 GLOB_cont_condt,
835 GLOB_cont_condf,
836 GLOB_vmeta_equal,
837 GLOB_vmeta_equal_cd,
838 GLOB_vmeta_arith_vno,
839 GLOB_vmeta_arith_vn,
840 GLOB_vmeta_arith_nvo,
841 GLOB_vmeta_arith_nv,
842 GLOB_vmeta_unm,
843 GLOB_vmeta_arith_vvo,
844 GLOB_vmeta_arith_vv,
845 GLOB_vmeta_len,
846 GLOB_BC_LEN_Z,
847 GLOB_vmeta_call_ra,
848 GLOB_BC_CALLT_Z,
849 GLOB_vmeta_for,
850 GLOB_ff_assert,
851 GLOB_fff_fallback,
852 GLOB_fff_res_,
853 GLOB_ff_type,
854 GLOB_fff_res1,
855 GLOB_ff_getmetatable,
856 GLOB_ff_setmetatable,
857 GLOB_ff_rawget,
858 GLOB_ff_tonumber,
859 GLOB_fff_resi,
860 GLOB_fff_resxmm0,
861 GLOB_fff_resn,
862 GLOB_ff_tostring,
863 GLOB_fff_gcstep,
864 GLOB_ff_next,
865 GLOB_fff_res2,
866 GLOB_fff_res,
867 GLOB_ff_pairs,
868 GLOB_ff_ipairs_aux,
869 GLOB_fff_res0,
870 GLOB_ff_ipairs,
871 GLOB_ff_pcall,
872 GLOB_ff_xpcall,
873 GLOB_ff_coroutine_resume,
874 GLOB_ff_coroutine_wrap_aux,
875 GLOB_ff_coroutine_yield,
876 GLOB_ff_math_abs,
877 GLOB_fff_resbit,
878 GLOB_ff_math_floor,
879 GLOB_vm_floor,
880 GLOB_ff_math_ceil,
881 GLOB_vm_ceil,
882 GLOB_ff_math_sqrt,
883 GLOB_ff_math_log,
884 GLOB_ff_math_log10,
885 GLOB_ff_math_exp,
886 GLOB_vm_exp_x87,
887 GLOB_ff_math_sin,
888 GLOB_ff_math_cos,
889 GLOB_ff_math_tan,
890 GLOB_ff_math_asin,
891 GLOB_ff_math_acos,
892 GLOB_ff_math_atan,
893 GLOB_ff_math_sinh,
894 GLOB_ff_math_cosh,
895 GLOB_ff_math_tanh,
896 GLOB_ff_math_deg,
897 GLOB_ff_math_rad,
898 GLOB_ff_math_atan2,
899 GLOB_ff_math_ldexp,
900 GLOB_ff_math_frexp,
901 GLOB_ff_math_modf,
902 GLOB_vm_trunc,
903 GLOB_ff_math_fmod,
904 GLOB_ff_math_pow,
905 GLOB_vm_pow,
906 GLOB_ff_math_min,
907 GLOB_ff_math_max,
908 GLOB_ff_string_len,
909 GLOB_ff_string_byte,
910 GLOB_ff_string_char,
911 GLOB_fff_newstr,
912 GLOB_ff_string_sub,
913 GLOB_fff_emptystr,
914 GLOB_ff_string_rep,
915 GLOB_fff_fallback_2,
916 GLOB_ff_string_reverse,
917 GLOB_fff_fallback_1,
918 GLOB_ff_string_lower,
919 GLOB_ff_string_upper,
920 GLOB_ff_table_getn,
921 GLOB_ff_bit_tobit,
922 GLOB_ff_bit_band,
923 GLOB_fff_fallback_bit_op,
924 GLOB_ff_bit_bor,
925 GLOB_ff_bit_bxor,
926 GLOB_ff_bit_bswap,
927 GLOB_ff_bit_bnot,
928 GLOB_ff_bit_lshift,
929 GLOB_ff_bit_rshift,
930 GLOB_ff_bit_arshift,
931 GLOB_ff_bit_rol,
932 GLOB_ff_bit_ror,
933 GLOB_vm_record,
934 GLOB_vm_rethook,
935 GLOB_vm_inshook,
936 GLOB_cont_hook,
937 GLOB_vm_hotloop,
938 GLOB_vm_callhook,
939 GLOB_vm_hotcall,
940 GLOB_vm_exit_handler,
941 GLOB_vm_exit_interp,
942 GLOB_vm_floor_sse,
943 GLOB_vm_ceil_sse,
944 GLOB_vm_trunc_sse,
945 GLOB_vm_mod,
946 GLOB_vm_exp2_x87,
947 GLOB_vm_exp2raw,
948 GLOB_vm_pow_sse,
949 GLOB_vm_powi_sse,
950 GLOB_vm_foldfpm,
951 GLOB_vm_foldarith,
952 GLOB_vm_cpuid,
953 GLOB_assert_bad_for_arg_type,
954 GLOB_vm_ffi_call,
955 GLOB_BC_MODVN_Z,
956 GLOB_BC_TGETS_Z,
957 GLOB_BC_TSETS_Z,
958 GLOB__MAX
960 static const char *const globnames[] = {
961 "vm_returnp",
962 "cont_dispatch",
963 "vm_returnc",
964 "BC_RET_Z",
965 "vm_return",
966 "vm_leave_cp",
967 "vm_leave_unw",
968 "vm_unwind_c@8",
969 "vm_unwind_c_eh",
970 "vm_unwind_rethrow",
971 "vm_unwind_ff@4",
972 "vm_unwind_ff_eh",
973 "vm_growstack_c",
974 "vm_growstack_v",
975 "vm_growstack_f",
976 "vm_resume",
977 "vm_pcall",
978 "vm_call",
979 "vm_call_dispatch",
980 "vmeta_call",
981 "vm_call_dispatch_f",
982 "vm_cpcall",
983 "vm_call_tail",
984 "cont_cat",
985 "cont_ra",
986 "BC_CAT_Z",
987 "vmeta_tgets",
988 "vmeta_tgetb",
989 "vmeta_tgetv",
990 "vmeta_tsets",
991 "vmeta_tsetb",
992 "vmeta_tsetv",
993 "cont_nop",
994 "vmeta_comp",
995 "vmeta_binop",
996 "cont_condt",
997 "cont_condf",
998 "vmeta_equal",
999 "vmeta_equal_cd",
1000 "vmeta_arith_vno",
1001 "vmeta_arith_vn",
1002 "vmeta_arith_nvo",
1003 "vmeta_arith_nv",
1004 "vmeta_unm",
1005 "vmeta_arith_vvo",
1006 "vmeta_arith_vv",
1007 "vmeta_len",
1008 "BC_LEN_Z",
1009 "vmeta_call_ra",
1010 "BC_CALLT_Z",
1011 "vmeta_for",
1012 "ff_assert",
1013 "fff_fallback",
1014 "fff_res_",
1015 "ff_type",
1016 "fff_res1",
1017 "ff_getmetatable",
1018 "ff_setmetatable",
1019 "ff_rawget",
1020 "ff_tonumber",
1021 "fff_resi",
1022 "fff_resxmm0",
1023 "fff_resn",
1024 "ff_tostring",
1025 "fff_gcstep",
1026 "ff_next",
1027 "fff_res2",
1028 "fff_res",
1029 "ff_pairs",
1030 "ff_ipairs_aux",
1031 "fff_res0",
1032 "ff_ipairs",
1033 "ff_pcall",
1034 "ff_xpcall",
1035 "ff_coroutine_resume",
1036 "ff_coroutine_wrap_aux",
1037 "ff_coroutine_yield",
1038 "ff_math_abs",
1039 "fff_resbit",
1040 "ff_math_floor",
1041 "vm_floor",
1042 "ff_math_ceil",
1043 "vm_ceil",
1044 "ff_math_sqrt",
1045 "ff_math_log",
1046 "ff_math_log10",
1047 "ff_math_exp",
1048 "vm_exp_x87",
1049 "ff_math_sin",
1050 "ff_math_cos",
1051 "ff_math_tan",
1052 "ff_math_asin",
1053 "ff_math_acos",
1054 "ff_math_atan",
1055 "ff_math_sinh",
1056 "ff_math_cosh",
1057 "ff_math_tanh",
1058 "ff_math_deg",
1059 "ff_math_rad",
1060 "ff_math_atan2",
1061 "ff_math_ldexp",
1062 "ff_math_frexp",
1063 "ff_math_modf",
1064 "vm_trunc",
1065 "ff_math_fmod",
1066 "ff_math_pow",
1067 "vm_pow",
1068 "ff_math_min",
1069 "ff_math_max",
1070 "ff_string_len",
1071 "ff_string_byte",
1072 "ff_string_char",
1073 "fff_newstr",
1074 "ff_string_sub",
1075 "fff_emptystr",
1076 "ff_string_rep",
1077 "fff_fallback_2",
1078 "ff_string_reverse",
1079 "fff_fallback_1",
1080 "ff_string_lower",
1081 "ff_string_upper",
1082 "ff_table_getn",
1083 "ff_bit_tobit",
1084 "ff_bit_band",
1085 "fff_fallback_bit_op",
1086 "ff_bit_bor",
1087 "ff_bit_bxor",
1088 "ff_bit_bswap",
1089 "ff_bit_bnot",
1090 "ff_bit_lshift",
1091 "ff_bit_rshift",
1092 "ff_bit_arshift",
1093 "ff_bit_rol",
1094 "ff_bit_ror",
1095 "vm_record",
1096 "vm_rethook",
1097 "vm_inshook",
1098 "cont_hook",
1099 "vm_hotloop",
1100 "vm_callhook",
1101 "vm_hotcall",
1102 "vm_exit_handler",
1103 "vm_exit_interp",
1104 "vm_floor_sse",
1105 "vm_ceil_sse",
1106 "vm_trunc_sse",
1107 "vm_mod",
1108 "vm_exp2_x87",
1109 "vm_exp2raw",
1110 "vm_pow_sse",
1111 "vm_powi_sse",
1112 "vm_foldfpm",
1113 "vm_foldarith",
1114 "vm_cpuid",
1115 "assert_bad_for_arg_type",
1116 "vm_ffi_call@4",
1117 "BC_MODVN_Z",
1118 "BC_TGETS_Z",
1119 "BC_TSETS_Z",
1120 (const char *)0
1122 static const char *const extnames[] = {
1123 "lj_state_growstack@8",
1124 "lj_err_throw@8",
1125 "lj_meta_tget",
1126 "lj_meta_tset",
1127 "lj_meta_comp",
1128 "lj_meta_equal",
1129 "lj_meta_equal_cd@8",
1130 "lj_meta_arith",
1131 "lj_meta_len@8",
1132 "lj_meta_call",
1133 "lj_meta_for@8",
1134 "lj_tab_get",
1135 "lj_str_fromnumber@8",
1136 "lj_str_fromnum@8",
1137 "lj_tab_next",
1138 "lj_tab_getinth@8",
1139 "lj_ffh_coroutine_wrap_err@8",
1140 "lj_vm_sinh",
1141 "lj_vm_cosh",
1142 "lj_vm_tanh",
1143 "lj_str_new",
1144 "lj_tab_len@4",
1145 "lj_gc_step@4",
1146 "lj_dispatch_ins@8",
1147 "lj_trace_hot@8",
1148 "lj_dispatch_call@8",
1149 "lj_trace_exit@8",
1150 "lj_meta_cat",
1151 "lj_gc_barrieruv@8",
1152 "lj_func_closeuv@8",
1153 "lj_func_newL_gc",
1154 "lj_tab_new",
1155 "lj_gc_step_fixtop@4",
1156 "lj_tab_dup@8",
1157 "lj_tab_newkey",
1158 "lj_tab_reasize",
1159 (const char *)0
1161 #define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1162 #define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1163 #define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1164 #define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1165 #define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1166 #define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1167 #define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1168 #define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1169 #define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1170 #define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1171 #define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1172 #define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1173 #define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V)
1174 #define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1175 #define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1176 #define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto))
1178 /* Generate subroutines used by opcodes and other parts of the VM. */
1179 /* The .code_sub section should be last to help static branch prediction. */
1180 static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1182 dasm_put(Dst, 0);
1183 dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C);
1184 dasm_put(Dst, 109, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL);
1185 dasm_put(Dst, 200, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK);
1186 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));
1187 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);
1188 dasm_put(Dst, 548, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1189 dasm_put(Dst, 648, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL);
1190 dasm_put(Dst, 819, 0, Dt7(->pc), PC2PROTO(k), Dt1(->base), LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1191 dasm_put(Dst, 944);
1192 if (LJ_DUALNUM) {
1193 dasm_put(Dst, 958, LJ_TISNUM);
1194 } else if (sse) {
1195 dasm_put(Dst, 967);
1196 } else {
1198 dasm_put(Dst, 979, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET);
1199 dasm_put(Dst, 1125, DISPATCH_GL(tmptv), LJ_TTAB);
1200 if (LJ_DUALNUM) {
1201 dasm_put(Dst, 958, LJ_TISNUM);
1202 } else if (sse) {
1203 dasm_put(Dst, 967);
1204 } else {
1206 dasm_put(Dst, 1149, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base));
1207 dasm_put(Dst, 1321, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1208 dasm_put(Dst, 1420);
1209 #if LJ_HASFFI
1210 dasm_put(Dst, 1440, Dt1(->base));
1211 #endif
1212 dasm_put(Dst, 1471);
1213 #if LJ_DUALNUM
1214 dasm_put(Dst, 1474);
1215 #endif
1216 dasm_put(Dst, 1480);
1217 #if LJ_DUALNUM
1218 dasm_put(Dst, 952);
1219 #endif
1220 dasm_put(Dst, 1493);
1221 #if LJ_DUALNUM
1222 dasm_put(Dst, 1474);
1223 #endif
1224 dasm_put(Dst, 1522, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base));
1225 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1226 dasm_put(Dst, 1624);
1227 #else
1228 dasm_put(Dst, 1643);
1229 #endif
1230 dasm_put(Dst, 1648, Dt1(->base), Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND);
1231 dasm_put(Dst, 1834, 1+1, ~LJ_TNUMX);
1232 if (cmov) {
1233 dasm_put(Dst, 1903);
1234 } else {
1235 dasm_put(Dst, 1907);
1237 dasm_put(Dst, 1916, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, ~LJ_TLIGHTUD, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL);
1238 dasm_put(Dst, 1995, 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));
1239 dasm_put(Dst, 2053, LJ_TNIL, LJ_TUDATA, LJ_TNUMX, LJ_TISNUM, LJ_TLIGHTUD);
1240 dasm_put(Dst, 2119, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB);
1241 dasm_put(Dst, 2190, 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);
1242 dasm_put(Dst, 2280, 1+1, LJ_TISNUM);
1243 if (LJ_DUALNUM) {
1244 dasm_put(Dst, 2294);
1245 } else {
1246 dasm_put(Dst, 2311);
1248 if (sse) {
1249 dasm_put(Dst, 2316);
1250 } else {
1251 dasm_put(Dst, 2326);
1253 dasm_put(Dst, 2333, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1254 dasm_put(Dst, 2402, Dt1(->base));
1255 if (LJ_DUALNUM) {
1256 dasm_put(Dst, 2428);
1257 } else {
1258 dasm_put(Dst, 2433);
1260 dasm_put(Dst, 2438, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2);
1261 dasm_put(Dst, 2530, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1262 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1263 dasm_put(Dst, 2577, Dt6(->metatable));
1264 #endif
1265 dasm_put(Dst, 2586, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1266 if (LJ_DUALNUM) {
1267 dasm_put(Dst, 2572);
1268 } else {
1269 dasm_put(Dst, 2311);
1271 dasm_put(Dst, 2641);
1272 if (LJ_DUALNUM) {
1273 dasm_put(Dst, 2646, LJ_TISNUM);
1274 } else if (sse) {
1275 dasm_put(Dst, 2662, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1276 } else {
1278 dasm_put(Dst, 2695, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1279 dasm_put(Dst, 2557, 1+1, LJ_TTAB);
1280 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1281 dasm_put(Dst, 2577, Dt6(->metatable));
1282 #endif
1283 dasm_put(Dst, 2772, Dt8(->upvalue[0]), LJ_TFUNC);
1284 if (LJ_DUALNUM) {
1285 dasm_put(Dst, 2793, LJ_TISNUM);
1286 } else if (sse) {
1287 dasm_put(Dst, 2805);
1288 } else {
1289 dasm_put(Dst, 2815);
1291 dasm_put(Dst, 2822, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC);
1292 dasm_put(Dst, 2887, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top));
1293 dasm_put(Dst, 2976, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1294 dasm_put(Dst, 3063, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE);
1295 dasm_put(Dst, 3178, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe));
1296 dasm_put(Dst, 3273, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1297 dasm_put(Dst, 3339, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack));
1298 dasm_put(Dst, 3428, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME);
1299 dasm_put(Dst, 3538, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1300 if (!LJ_DUALNUM) {
1301 dasm_put(Dst, 3565);
1303 if (sse) {
1304 dasm_put(Dst, 3568);
1306 dasm_put(Dst, 3583, 1+1);
1307 if (LJ_DUALNUM) {
1308 dasm_put(Dst, 3594, LJ_TISNUM, LJ_TISNUM);
1309 } else {
1310 dasm_put(Dst, 3674, LJ_TISNUM);
1312 if (sse) {
1313 dasm_put(Dst, 3684, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1314 } else {
1315 dasm_put(Dst, 3715);
1317 dasm_put(Dst, 3732, 1+1, FRAME_TYPE, LJ_TNIL);
1318 if (LJ_DUALNUM) {
1319 dasm_put(Dst, 3829, LJ_TISNUM);
1320 } else {
1321 dasm_put(Dst, 3674, LJ_TISNUM);
1323 if (sse) {
1324 dasm_put(Dst, 3851);
1325 if (LJ_DUALNUM) {
1326 dasm_put(Dst, 3860);
1328 dasm_put(Dst, 2321);
1329 } else {
1330 dasm_put(Dst, 3894);
1331 if (LJ_DUALNUM) {
1332 } else {
1333 dasm_put(Dst, 2328);
1336 dasm_put(Dst, 3900);
1337 if (LJ_DUALNUM) {
1338 dasm_put(Dst, 3829, LJ_TISNUM);
1339 } else {
1340 dasm_put(Dst, 3674, LJ_TISNUM);
1342 if (sse) {
1343 dasm_put(Dst, 3903);
1344 if (LJ_DUALNUM) {
1345 dasm_put(Dst, 3860);
1347 dasm_put(Dst, 2321);
1348 } else {
1349 dasm_put(Dst, 3912);
1350 if (LJ_DUALNUM) {
1351 } else {
1352 dasm_put(Dst, 2328);
1355 if (sse) {
1356 dasm_put(Dst, 3918, 1+1, LJ_TISNUM);
1357 } else {
1358 dasm_put(Dst, 3947, 1+1, LJ_TISNUM);
1360 dasm_put(Dst, 3976, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1361 dasm_put(Dst, 4045, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1362 dasm_put(Dst, 4102, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1363 dasm_put(Dst, 4165, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1364 dasm_put(Dst, 4255);
1365 if (sse) {
1366 dasm_put(Dst, 4267, 1+1, LJ_TISNUM);
1367 } else {
1369 dasm_put(Dst, 4292);
1370 if (sse) {
1371 dasm_put(Dst, 4306, 1+1, LJ_TISNUM);
1372 } else {
1374 dasm_put(Dst, 4331);
1375 if (sse) {
1376 dasm_put(Dst, 4345, 1+1, LJ_TISNUM);
1377 } else {
1379 dasm_put(Dst, 4370);
1380 if (sse) {
1381 dasm_put(Dst, 4386, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1382 } else {
1383 dasm_put(Dst, 4425, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1385 dasm_put(Dst, 4458, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1386 dasm_put(Dst, 4523, 1+1, LJ_TISNUM);
1387 if (sse) {
1388 dasm_put(Dst, 4622);
1389 } else {
1390 dasm_put(Dst, 4628);
1392 dasm_put(Dst, 4635);
1393 if (sse) {
1394 dasm_put(Dst, 4660);
1395 } else {
1396 dasm_put(Dst, 4666);
1398 dasm_put(Dst, 4669, 1+2);
1399 if (sse) {
1400 dasm_put(Dst, 4678);
1401 } else {
1402 dasm_put(Dst, 4686);
1404 dasm_put(Dst, 4694);
1405 if (sse) {
1406 dasm_put(Dst, 4697, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
1407 } else {
1408 dasm_put(Dst, 4724);
1410 dasm_put(Dst, 4741);
1411 if (sse) {
1412 dasm_put(Dst, 4757, 1+1, LJ_TISNUM);
1413 } else {
1414 dasm_put(Dst, 4782, 1+1, LJ_TISNUM);
1416 dasm_put(Dst, 4804);
1417 if (sse) {
1418 dasm_put(Dst, 4826);
1419 } else {
1420 dasm_put(Dst, 4852);
1422 dasm_put(Dst, 4869, 1+2);
1423 if (sse) {
1424 dasm_put(Dst, 4909);
1425 } else {
1426 dasm_put(Dst, 4917);
1428 dasm_put(Dst, 4927, 2+1, LJ_TISNUM, LJ_TISNUM);
1429 if (sse) {
1430 dasm_put(Dst, 4979, 2+1, LJ_TISNUM, LJ_TISNUM);
1431 } else {
1432 dasm_put(Dst, 5026, 2+1, LJ_TISNUM, LJ_TISNUM);
1434 dasm_put(Dst, 5067, LJ_TISNUM);
1435 if (LJ_DUALNUM) {
1436 dasm_put(Dst, 5080, LJ_TISNUM);
1437 if (sse) {
1438 dasm_put(Dst, 4622);
1439 } else {
1441 dasm_put(Dst, 5130);
1442 } else {
1443 dasm_put(Dst, 2311);
1445 if (sse) {
1446 dasm_put(Dst, 5141, LJ_TISNUM);
1447 if (LJ_DUALNUM) {
1448 dasm_put(Dst, 5162);
1449 } else {
1450 dasm_put(Dst, 2311);
1452 dasm_put(Dst, 5183);
1453 } else {
1455 dasm_put(Dst, 5208, LJ_TISNUM);
1456 if (LJ_DUALNUM) {
1457 dasm_put(Dst, 5221, LJ_TISNUM);
1458 if (sse) {
1459 dasm_put(Dst, 4622);
1460 } else {
1462 dasm_put(Dst, 5130);
1463 } else {
1464 dasm_put(Dst, 2311);
1466 if (sse) {
1467 dasm_put(Dst, 5141, LJ_TISNUM);
1468 if (LJ_DUALNUM) {
1469 dasm_put(Dst, 5162);
1470 } else {
1471 dasm_put(Dst, 2311);
1473 dasm_put(Dst, 5271);
1474 } else {
1476 if (!sse) {
1477 dasm_put(Dst, 5296);
1479 dasm_put(Dst, 5305, 1+1, LJ_TSTR);
1480 if (LJ_DUALNUM) {
1481 dasm_put(Dst, 5327, Dt5(->len));
1482 } else if (sse) {
1483 dasm_put(Dst, 5335, Dt5(->len));
1484 } else {
1485 dasm_put(Dst, 5346, Dt5(->len));
1487 dasm_put(Dst, 5354, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1488 if (LJ_DUALNUM) {
1489 dasm_put(Dst, 5330);
1490 } else if (sse) {
1491 dasm_put(Dst, 5392);
1492 } else {
1493 dasm_put(Dst, 5402);
1495 dasm_put(Dst, 5413, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1496 if (LJ_DUALNUM) {
1497 dasm_put(Dst, 5446);
1498 } else if (sse) {
1499 dasm_put(Dst, 5469);
1500 } else {
1501 dasm_put(Dst, 5495);
1503 dasm_put(Dst, 5519, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1504 if (LJ_DUALNUM) {
1505 dasm_put(Dst, 5628);
1506 } else if (sse) {
1507 dasm_put(Dst, 5640);
1508 } else {
1509 dasm_put(Dst, 5655);
1511 dasm_put(Dst, 5667, LJ_TSTR, LJ_TISNUM);
1512 if (LJ_DUALNUM) {
1513 dasm_put(Dst, 2572);
1514 } else {
1515 dasm_put(Dst, 2311);
1517 dasm_put(Dst, 5684, Dt5(->len));
1518 if (LJ_DUALNUM) {
1519 dasm_put(Dst, 5694);
1520 } else if (sse) {
1521 dasm_put(Dst, 5698);
1522 } else {
1524 dasm_put(Dst, 5705, sizeof(GCstr)-1);
1525 dasm_put(Dst, 5780, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1526 dasm_put(Dst, 5841, LJ_TSTR, LJ_TISNUM);
1527 if (LJ_DUALNUM) {
1528 dasm_put(Dst, 5858);
1529 } else if (sse) {
1530 dasm_put(Dst, 5866);
1531 } else {
1532 dasm_put(Dst, 5877);
1534 dasm_put(Dst, 5893, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1535 dasm_put(Dst, 5961, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1536 dasm_put(Dst, 6028, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1537 dasm_put(Dst, 6101, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1538 dasm_put(Dst, 6186, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1539 dasm_put(Dst, 6260, 1+1, LJ_TTAB);
1540 if (LJ_DUALNUM) {
1541 dasm_put(Dst, 6327);
1542 } else if (sse) {
1543 dasm_put(Dst, 6334);
1544 } else {
1546 dasm_put(Dst, 6344, 1+1, LJ_TISNUM);
1547 if (LJ_DUALNUM) {
1548 dasm_put(Dst, 6360);
1549 } else {
1550 dasm_put(Dst, 2311);
1552 if (sse) {
1553 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1554 } else {
1556 dasm_put(Dst, 106);
1557 if (LJ_DUALNUM || sse) {
1558 if (!sse) {
1560 dasm_put(Dst, 6401);
1561 } else {
1563 dasm_put(Dst, 6406, 1+1);
1564 if (sse) {
1565 dasm_put(Dst, 6417, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1566 } else {
1567 dasm_put(Dst, 6427);
1569 dasm_put(Dst, 2288, LJ_TISNUM);
1570 if (LJ_DUALNUM) {
1571 dasm_put(Dst, 6435);
1572 } else {
1573 dasm_put(Dst, 2311);
1575 if (sse) {
1576 dasm_put(Dst, 6452);
1577 } else {
1579 dasm_put(Dst, 6467, LJ_TISNUM);
1580 if (LJ_DUALNUM) {
1581 dasm_put(Dst, 6492);
1582 } else {
1583 dasm_put(Dst, 6512);
1585 if (sse) {
1586 dasm_put(Dst, 6517);
1587 } else {
1589 dasm_put(Dst, 6534, 1+1);
1590 if (sse) {
1591 dasm_put(Dst, 6417, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1592 } else {
1593 dasm_put(Dst, 6427);
1595 dasm_put(Dst, 2288, LJ_TISNUM);
1596 if (LJ_DUALNUM) {
1597 dasm_put(Dst, 6435);
1598 } else {
1599 dasm_put(Dst, 2311);
1601 if (sse) {
1602 dasm_put(Dst, 6452);
1603 } else {
1605 dasm_put(Dst, 6467, LJ_TISNUM);
1606 if (LJ_DUALNUM) {
1607 dasm_put(Dst, 6552);
1608 } else {
1609 dasm_put(Dst, 6512);
1611 if (sse) {
1612 dasm_put(Dst, 6572);
1613 } else {
1615 dasm_put(Dst, 6589, 1+1);
1616 if (sse) {
1617 dasm_put(Dst, 6417, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1618 } else {
1619 dasm_put(Dst, 6427);
1621 dasm_put(Dst, 2288, LJ_TISNUM);
1622 if (LJ_DUALNUM) {
1623 dasm_put(Dst, 6435);
1624 } else {
1625 dasm_put(Dst, 2311);
1627 if (sse) {
1628 dasm_put(Dst, 6452);
1629 } else {
1631 dasm_put(Dst, 6467, LJ_TISNUM);
1632 if (LJ_DUALNUM) {
1633 dasm_put(Dst, 6607);
1634 } else {
1635 dasm_put(Dst, 6512);
1637 if (sse) {
1638 dasm_put(Dst, 6627);
1639 } else {
1641 dasm_put(Dst, 6644, 1+1, LJ_TISNUM);
1642 if (LJ_DUALNUM) {
1643 dasm_put(Dst, 6435);
1644 } else {
1645 dasm_put(Dst, 2311);
1647 if (sse) {
1648 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1649 } else {
1651 dasm_put(Dst, 6667, 1+1, LJ_TISNUM);
1652 if (LJ_DUALNUM) {
1653 dasm_put(Dst, 6435);
1654 } else {
1655 dasm_put(Dst, 2311);
1657 if (sse) {
1658 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1659 } else {
1661 dasm_put(Dst, 6691);
1662 if (LJ_DUALNUM) {
1663 dasm_put(Dst, 6401);
1664 } else if (sse) {
1665 dasm_put(Dst, 6697);
1666 } else {
1668 dasm_put(Dst, 6709);
1669 if (LJ_DUALNUM) {
1670 dasm_put(Dst, 6720, 1+1, LJ_TISNUM);
1671 if (LJ_DUALNUM) {
1672 dasm_put(Dst, 6435);
1673 } else {
1674 dasm_put(Dst, 2311);
1676 if (sse) {
1677 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1678 } else {
1680 dasm_put(Dst, 6736, LJ_TISNUM);
1681 } else if (sse) {
1682 dasm_put(Dst, 6751, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1683 } else {
1685 dasm_put(Dst, 6818);
1686 if (LJ_DUALNUM) {
1687 dasm_put(Dst, 6825, 1+1, LJ_TISNUM);
1688 if (LJ_DUALNUM) {
1689 dasm_put(Dst, 6435);
1690 } else {
1691 dasm_put(Dst, 2311);
1693 if (sse) {
1694 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1695 } else {
1697 dasm_put(Dst, 6736, LJ_TISNUM);
1698 } else if (sse) {
1699 dasm_put(Dst, 6841, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1700 } else {
1702 dasm_put(Dst, 6908);
1703 if (LJ_DUALNUM) {
1704 dasm_put(Dst, 6916, 1+1, LJ_TISNUM);
1705 if (LJ_DUALNUM) {
1706 dasm_put(Dst, 6435);
1707 } else {
1708 dasm_put(Dst, 2311);
1710 if (sse) {
1711 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1712 } else {
1714 dasm_put(Dst, 6736, LJ_TISNUM);
1715 } else if (sse) {
1716 dasm_put(Dst, 6932, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1717 } else {
1719 dasm_put(Dst, 6999);
1720 if (LJ_DUALNUM) {
1721 dasm_put(Dst, 7007, 1+1, LJ_TISNUM);
1722 if (LJ_DUALNUM) {
1723 dasm_put(Dst, 6435);
1724 } else {
1725 dasm_put(Dst, 2311);
1727 if (sse) {
1728 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1729 } else {
1731 dasm_put(Dst, 6736, LJ_TISNUM);
1732 } else if (sse) {
1733 dasm_put(Dst, 7023, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1734 } else {
1736 dasm_put(Dst, 7090);
1737 if (LJ_DUALNUM) {
1738 dasm_put(Dst, 7097, 1+1, LJ_TISNUM);
1739 if (LJ_DUALNUM) {
1740 dasm_put(Dst, 6435);
1741 } else {
1742 dasm_put(Dst, 2311);
1744 if (sse) {
1745 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1746 } else {
1748 dasm_put(Dst, 6736, LJ_TISNUM);
1749 } else if (sse) {
1750 dasm_put(Dst, 7113, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1751 } else {
1753 dasm_put(Dst, 7180, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1754 dasm_put(Dst, 7256, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base));
1755 dasm_put(Dst, 7383, Dt1(->top), Dt1(->base), Dt1(->top));
1756 #if LJ_HASJIT
1757 dasm_put(Dst, 7422, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1758 #endif
1759 dasm_put(Dst, 7455, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE);
1760 dasm_put(Dst, 7509, Dt1(->base), Dt1(->base), GG_DISP2STATIC);
1761 #if LJ_HASJIT
1762 dasm_put(Dst, 7576, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L));
1763 #endif
1764 dasm_put(Dst, 7623);
1765 #if LJ_HASJIT
1766 dasm_put(Dst, 7450);
1767 #endif
1768 dasm_put(Dst, 7630);
1769 #if LJ_HASJIT
1770 dasm_put(Dst, 7633);
1771 #endif
1772 dasm_put(Dst, 7643, Dt1(->base), Dt1(->top));
1773 #if LJ_HASJIT
1774 dasm_put(Dst, 7676);
1775 #endif
1776 dasm_put(Dst, 7681, Dt1(->base), Dt1(->top));
1777 #if LJ_HASJIT
1778 dasm_put(Dst, 7712, 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);
1779 #endif
1780 dasm_put(Dst, 7951);
1781 #if LJ_HASJIT
1782 dasm_put(Dst, 7954, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF);
1783 #endif
1784 dasm_put(Dst, 8054);
1785 if (!sse) {
1786 dasm_put(Dst, 8057);
1788 dasm_put(Dst, 8102, (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));
1789 if (!sse) {
1790 dasm_put(Dst, 8188);
1792 dasm_put(Dst, 8233, (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));
1793 if (!sse) {
1794 dasm_put(Dst, 8319);
1796 dasm_put(Dst, 8358, (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));
1797 if (sse) {
1798 dasm_put(Dst, 8447, (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));
1799 } else {
1800 dasm_put(Dst, 8561);
1802 dasm_put(Dst, 8608);
1803 if (!sse) {
1804 } else {
1805 dasm_put(Dst, 8685);
1807 dasm_put(Dst, 8688);
1808 dasm_put(Dst, 8773, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1809 dasm_put(Dst, 8876, (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));
1810 dasm_put(Dst, 9038);
1811 #if LJ_HASJIT
1812 if (sse) {
1813 dasm_put(Dst, 9079);
1814 dasm_put(Dst, 9149);
1815 dasm_put(Dst, 9221);
1816 } else {
1817 dasm_put(Dst, 9273);
1818 dasm_put(Dst, 9365);
1820 dasm_put(Dst, 9411);
1821 #endif
1822 dasm_put(Dst, 9415);
1823 if (sse) {
1824 dasm_put(Dst, 9418, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1825 dasm_put(Dst, 9503, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1826 } else {
1827 dasm_put(Dst, 9631);
1828 dasm_put(Dst, 9714);
1829 if (cmov) {
1830 dasm_put(Dst, 9769);
1831 } else {
1832 dasm_put(Dst, 9788);
1834 dasm_put(Dst, 9411);
1836 dasm_put(Dst, 9829);
1837 #ifdef LUA_USE_ASSERT
1838 dasm_put(Dst, 9413);
1839 #endif
1840 dasm_put(Dst, 9853);
1841 #if LJ_HASFFI
1842 #define DtE(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
1843 dasm_put(Dst, 9857, DtE(->spadj));
1844 #if LJ_TARGET_WINDOWS
1845 #endif
1846 dasm_put(Dst, 9873, DtE(->nsp), offsetof(CCallState, stack), CCALL_SPS_EXTRA*8, DtE(->nfpr), DtE(->gpr[0]), DtE(->gpr[1]), DtE(->gpr[2]), DtE(->gpr[3]), DtE(->gpr[4]), DtE(->gpr[5]), DtE(->fpr[0]), DtE(->fpr[1]));
1847 dasm_put(Dst, 9952, DtE(->fpr[2]), DtE(->fpr[3]), DtE(->fpr[4]), DtE(->fpr[5]), DtE(->fpr[6]), DtE(->fpr[7]), DtE(->func), DtE(->gpr[0]), DtE(->fpr[0]), DtE(->gpr[1]), DtE(->fpr[1]));
1848 #if LJ_TARGET_WINDOWS
1849 #endif
1850 dasm_put(Dst, 10007);
1851 #endif
1854 /* Generate the code for a single instruction. */
1855 static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1857 int vk = 0;
1858 dasm_put(Dst, 10015, defop);
1860 switch (op) {
1862 /* -- Comparison ops ---------------------------------------------------- */
1864 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1867 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1868 if (LJ_DUALNUM) {
1869 dasm_put(Dst, 10017, LJ_TISNUM, LJ_TISNUM);
1870 switch (op) {
1871 case BC_ISLT:
1872 dasm_put(Dst, 10047);
1873 break;
1874 case BC_ISGE:
1875 dasm_put(Dst, 10052);
1876 break;
1877 case BC_ISLE:
1878 dasm_put(Dst, 10057);
1879 break;
1880 case BC_ISGT:
1881 dasm_put(Dst, 10062);
1882 break;
1883 default: break; /* Shut up GCC. */
1885 dasm_put(Dst, 10067, -BCBIAS_J*4, LJ_TISNUM);
1886 if (sse) {
1887 dasm_put(Dst, 10122);
1888 } else {
1889 dasm_put(Dst, 10133);
1891 dasm_put(Dst, 10144);
1892 if (sse) {
1893 dasm_put(Dst, 10151);
1894 switch (op) {
1895 case BC_ISLT:
1896 dasm_put(Dst, 10171);
1897 break;
1898 case BC_ISGE:
1899 dasm_put(Dst, 10176);
1900 break;
1901 case BC_ISLE:
1902 dasm_put(Dst, 10181);
1903 break;
1904 case BC_ISGT:
1905 dasm_put(Dst, 10186);
1906 break;
1907 default: break; /* Shut up GCC. */
1909 dasm_put(Dst, 10191);
1910 } else {
1911 dasm_put(Dst, 10196);
1913 } else {
1914 dasm_put(Dst, 10204, LJ_TISNUM, LJ_TISNUM);
1916 if (sse) {
1917 dasm_put(Dst, 10225);
1918 } else {
1919 dasm_put(Dst, 10246);
1920 if (cmov) {
1921 dasm_put(Dst, 10262);
1922 } else {
1923 dasm_put(Dst, 10268);
1926 if (LJ_DUALNUM) {
1927 switch (op) {
1928 case BC_ISLT:
1929 dasm_put(Dst, 10171);
1930 break;
1931 case BC_ISGE:
1932 dasm_put(Dst, 10176);
1933 break;
1934 case BC_ISLE:
1935 dasm_put(Dst, 10181);
1936 break;
1937 case BC_ISGT:
1938 dasm_put(Dst, 10186);
1939 break;
1940 default: break; /* Shut up GCC. */
1942 dasm_put(Dst, 10191);
1943 } else {
1944 switch (op) {
1945 case BC_ISLT:
1946 dasm_put(Dst, 10275);
1947 break;
1948 case BC_ISGE:
1949 dasm_put(Dst, 10280);
1950 break;
1951 case BC_ISLE:
1952 dasm_put(Dst, 10285);
1953 break;
1954 case BC_ISGT:
1955 dasm_put(Dst, 10290);
1956 break;
1957 default: break; /* Shut up GCC. */
1959 dasm_put(Dst, 10295, -BCBIAS_J*4);
1961 break;
1963 case BC_ISEQV: case BC_ISNEV:
1964 vk = op == BC_ISEQV;
1965 dasm_put(Dst, 10328);
1966 if (LJ_DUALNUM) {
1967 dasm_put(Dst, 10336, LJ_TISNUM, LJ_TISNUM);
1968 if (vk) {
1969 dasm_put(Dst, 10361);
1970 } else {
1971 dasm_put(Dst, 10366);
1973 dasm_put(Dst, 10371, -BCBIAS_J*4, LJ_TISNUM);
1974 if (sse) {
1975 dasm_put(Dst, 10424);
1976 } else {
1977 dasm_put(Dst, 10431);
1979 dasm_put(Dst, 10435);
1980 if (sse) {
1981 dasm_put(Dst, 10446);
1982 } else {
1983 dasm_put(Dst, 10458);
1985 dasm_put(Dst, 10465);
1986 } else {
1987 dasm_put(Dst, 10470, LJ_TISNUM, LJ_TISNUM);
1989 if (sse) {
1990 dasm_put(Dst, 10489);
1991 } else {
1992 dasm_put(Dst, 10507);
1993 if (cmov) {
1994 dasm_put(Dst, 10262);
1995 } else {
1996 dasm_put(Dst, 10268);
1999 iseqne_fp:
2000 if (vk) {
2001 dasm_put(Dst, 10520);
2002 } else {
2003 dasm_put(Dst, 10529);
2005 iseqne_end:
2006 if (vk) {
2007 dasm_put(Dst, 10538, -BCBIAS_J*4);
2008 if (!LJ_HASFFI) {
2009 dasm_put(Dst, 4675);
2011 } else {
2012 if (!LJ_HASFFI) {
2013 dasm_put(Dst, 4675);
2015 dasm_put(Dst, 10553, -BCBIAS_J*4);
2017 if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV ||
2018 op == BC_ISEQN || op == BC_ISNEN)) {
2019 dasm_put(Dst, 10568);
2020 } else {
2021 dasm_put(Dst, 10307);
2023 if (op == BC_ISEQV || op == BC_ISNEV) {
2024 dasm_put(Dst, 10573);
2025 if (LJ_HASFFI) {
2026 dasm_put(Dst, 10576, LJ_TCDATA, LJ_TCDATA);
2028 dasm_put(Dst, 10595, LJ_TISPRI, LJ_TISTABUD, LJ_TUDATA, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
2029 if (vk) {
2030 dasm_put(Dst, 10659);
2031 } else {
2032 dasm_put(Dst, 10663);
2034 dasm_put(Dst, 10669);
2035 } else if (LJ_HASFFI) {
2036 dasm_put(Dst, 10674, LJ_TCDATA);
2037 if (LJ_DUALNUM && vk) {
2038 dasm_put(Dst, 10681);
2039 } else {
2040 dasm_put(Dst, 10654);
2042 dasm_put(Dst, 10686);
2044 break;
2045 case BC_ISEQS: case BC_ISNES:
2046 vk = op == BC_ISEQS;
2047 dasm_put(Dst, 10691, LJ_TSTR);
2048 iseqne_test:
2049 if (vk) {
2050 dasm_put(Dst, 10524);
2051 } else {
2052 dasm_put(Dst, 814);
2054 goto iseqne_end;
2055 case BC_ISEQN: case BC_ISNEN:
2056 vk = op == BC_ISEQN;
2057 dasm_put(Dst, 10718);
2058 if (LJ_DUALNUM) {
2059 dasm_put(Dst, 10726, LJ_TISNUM, LJ_TISNUM);
2060 if (vk) {
2061 dasm_put(Dst, 10361);
2062 } else {
2063 dasm_put(Dst, 10366);
2065 dasm_put(Dst, 10753, -BCBIAS_J*4, LJ_TISNUM);
2066 if (sse) {
2067 dasm_put(Dst, 10803);
2068 } else {
2069 dasm_put(Dst, 10811);
2071 dasm_put(Dst, 10816);
2072 if (sse) {
2073 dasm_put(Dst, 10823);
2074 } else {
2075 dasm_put(Dst, 10836);
2077 dasm_put(Dst, 10465);
2078 } else {
2079 dasm_put(Dst, 10844, LJ_TISNUM);
2081 if (sse) {
2082 dasm_put(Dst, 10853);
2083 } else {
2084 dasm_put(Dst, 10872);
2085 if (cmov) {
2086 dasm_put(Dst, 10262);
2087 } else {
2088 dasm_put(Dst, 10268);
2091 goto iseqne_fp;
2092 case BC_ISEQP: case BC_ISNEP:
2093 vk = op == BC_ISEQP;
2094 dasm_put(Dst, 10886);
2095 if (!LJ_HASFFI) goto iseqne_test;
2096 if (vk) {
2097 dasm_put(Dst, 10900, -BCBIAS_J*4, LJ_TCDATA);
2098 } else {
2099 dasm_put(Dst, 10951, LJ_TCDATA, -BCBIAS_J*4);
2101 break;
2103 /* -- Unary test and copy ops ------------------------------------------- */
2105 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
2106 dasm_put(Dst, 10996, LJ_TISTRUECOND);
2107 if (op == BC_IST || op == BC_ISTC) {
2108 dasm_put(Dst, 10290);
2109 } else {
2110 dasm_put(Dst, 10285);
2112 if (op == BC_ISTC || op == BC_ISFC) {
2113 dasm_put(Dst, 11008);
2115 dasm_put(Dst, 10295, -BCBIAS_J*4);
2116 break;
2118 /* -- Unary ops --------------------------------------------------------- */
2120 case BC_MOV:
2121 dasm_put(Dst, 11019);
2122 break;
2123 case BC_NOT:
2124 dasm_put(Dst, 11048, LJ_TISTRUECOND, LJ_TTRUE);
2125 break;
2126 case BC_UNM:
2127 if (LJ_DUALNUM) {
2128 dasm_put(Dst, 11085, LJ_TISNUM, LJ_TISNUM);
2129 } else {
2130 dasm_put(Dst, 11163, LJ_TISNUM);
2132 if (sse) {
2133 dasm_put(Dst, 11174, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
2134 } else {
2135 dasm_put(Dst, 11199);
2137 if (LJ_DUALNUM) {
2138 dasm_put(Dst, 10568);
2139 } else {
2140 dasm_put(Dst, 10307);
2142 break;
2143 case BC_LEN:
2144 dasm_put(Dst, 11208, LJ_TSTR);
2145 if (LJ_DUALNUM) {
2146 dasm_put(Dst, 11222, Dt5(->len), LJ_TISNUM);
2147 } else if (sse) {
2148 dasm_put(Dst, 11236, Dt5(->len));
2149 } else {
2150 dasm_put(Dst, 11254, Dt5(->len));
2152 dasm_put(Dst, 11263, LJ_TTAB);
2153 #ifdef LUAJIT_ENABLE_LUA52COMPAT
2154 dasm_put(Dst, 11299, Dt6(->metatable));
2155 #endif
2156 dasm_put(Dst, 11313);
2157 if (LJ_DUALNUM) {
2158 } else if (sse) {
2159 dasm_put(Dst, 11322);
2160 } else {
2162 dasm_put(Dst, 11328);
2163 #ifdef LUAJIT_ENABLE_LUA52COMPAT
2164 dasm_put(Dst, 11341, Dt6(->nomm), 1<<MM_len);
2165 #endif
2166 break;
2168 /* -- Binary ops -------------------------------------------------------- */
2171 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
2172 if (LJ_DUALNUM) {
2173 dasm_put(Dst, 11357);
2174 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2175 switch (vk) {
2176 case 0:
2177 dasm_put(Dst, 11365, LJ_TISNUM, LJ_TISNUM);
2178 break;
2179 case 1:
2180 dasm_put(Dst, 11400, LJ_TISNUM, LJ_TISNUM);
2181 break;
2182 default:
2183 dasm_put(Dst, 11435, LJ_TISNUM, LJ_TISNUM);
2184 break;
2186 dasm_put(Dst, 11468, LJ_TISNUM);
2187 if (vk == 1) {
2188 dasm_put(Dst, 11232);
2189 } else {
2190 dasm_put(Dst, 11015);
2192 dasm_put(Dst, 10307);
2193 } else {
2194 dasm_put(Dst, 11357);
2195 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2196 switch (vk) {
2197 case 0:
2198 dasm_put(Dst, 11474, LJ_TISNUM);
2199 if (LJ_DUALNUM) {
2200 dasm_put(Dst, 11486, LJ_TISNUM);
2202 if (sse) {
2203 dasm_put(Dst, 11498);
2204 } else {
2205 dasm_put(Dst, 11513);
2207 break;
2208 case 1:
2209 dasm_put(Dst, 11522, LJ_TISNUM);
2210 if (LJ_DUALNUM) {
2211 dasm_put(Dst, 11534, LJ_TISNUM);
2213 if (sse) {
2214 dasm_put(Dst, 11546);
2215 } else {
2216 dasm_put(Dst, 11561);
2218 break;
2219 default:
2220 dasm_put(Dst, 11570, LJ_TISNUM, LJ_TISNUM);
2221 if (sse) {
2222 dasm_put(Dst, 11592);
2223 } else {
2224 dasm_put(Dst, 11606);
2226 break;
2228 if (sse) {
2229 dasm_put(Dst, 11192);
2230 } else {
2231 dasm_put(Dst, 11204);
2233 dasm_put(Dst, 10307);
2235 break;
2236 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
2237 if (LJ_DUALNUM) {
2238 dasm_put(Dst, 11357);
2239 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2240 switch (vk) {
2241 case 0:
2242 dasm_put(Dst, 11614, LJ_TISNUM, LJ_TISNUM);
2243 break;
2244 case 1:
2245 dasm_put(Dst, 11649, LJ_TISNUM, LJ_TISNUM);
2246 break;
2247 default:
2248 dasm_put(Dst, 11684, LJ_TISNUM, LJ_TISNUM);
2249 break;
2251 dasm_put(Dst, 11468, LJ_TISNUM);
2252 if (vk == 1) {
2253 dasm_put(Dst, 11232);
2254 } else {
2255 dasm_put(Dst, 11015);
2257 dasm_put(Dst, 10307);
2258 } else {
2259 dasm_put(Dst, 11357);
2260 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2261 switch (vk) {
2262 case 0:
2263 dasm_put(Dst, 11474, LJ_TISNUM);
2264 if (LJ_DUALNUM) {
2265 dasm_put(Dst, 11486, LJ_TISNUM);
2267 if (sse) {
2268 dasm_put(Dst, 11717);
2269 } else {
2270 dasm_put(Dst, 11732);
2272 break;
2273 case 1:
2274 dasm_put(Dst, 11522, LJ_TISNUM);
2275 if (LJ_DUALNUM) {
2276 dasm_put(Dst, 11534, LJ_TISNUM);
2278 if (sse) {
2279 dasm_put(Dst, 11741);
2280 } else {
2281 dasm_put(Dst, 11756);
2283 break;
2284 default:
2285 dasm_put(Dst, 11570, LJ_TISNUM, LJ_TISNUM);
2286 if (sse) {
2287 dasm_put(Dst, 11765);
2288 } else {
2289 dasm_put(Dst, 11779);
2291 break;
2293 if (sse) {
2294 dasm_put(Dst, 11192);
2295 } else {
2296 dasm_put(Dst, 11204);
2298 dasm_put(Dst, 10307);
2300 break;
2301 case BC_MULVN: case BC_MULNV: case BC_MULVV:
2302 if (LJ_DUALNUM) {
2303 dasm_put(Dst, 11357);
2304 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2305 switch (vk) {
2306 case 0:
2307 dasm_put(Dst, 11787, LJ_TISNUM, LJ_TISNUM);
2308 break;
2309 case 1:
2310 dasm_put(Dst, 11823, LJ_TISNUM, LJ_TISNUM);
2311 break;
2312 default:
2313 dasm_put(Dst, 11859, LJ_TISNUM, LJ_TISNUM);
2314 break;
2316 dasm_put(Dst, 11468, LJ_TISNUM);
2317 if (vk == 1) {
2318 dasm_put(Dst, 11232);
2319 } else {
2320 dasm_put(Dst, 11015);
2322 dasm_put(Dst, 10307);
2323 } else {
2324 dasm_put(Dst, 11357);
2325 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2326 switch (vk) {
2327 case 0:
2328 dasm_put(Dst, 11474, LJ_TISNUM);
2329 if (LJ_DUALNUM) {
2330 dasm_put(Dst, 11486, LJ_TISNUM);
2332 if (sse) {
2333 dasm_put(Dst, 11893);
2334 } else {
2335 dasm_put(Dst, 11908);
2337 break;
2338 case 1:
2339 dasm_put(Dst, 11522, LJ_TISNUM);
2340 if (LJ_DUALNUM) {
2341 dasm_put(Dst, 11534, LJ_TISNUM);
2343 if (sse) {
2344 dasm_put(Dst, 11917);
2345 } else {
2346 dasm_put(Dst, 11932);
2348 break;
2349 default:
2350 dasm_put(Dst, 11570, LJ_TISNUM, LJ_TISNUM);
2351 if (sse) {
2352 dasm_put(Dst, 11941);
2353 } else {
2354 dasm_put(Dst, 11955);
2356 break;
2358 if (sse) {
2359 dasm_put(Dst, 11192);
2360 } else {
2361 dasm_put(Dst, 11204);
2363 dasm_put(Dst, 10307);
2365 break;
2366 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
2367 dasm_put(Dst, 11357);
2368 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2369 switch (vk) {
2370 case 0:
2371 dasm_put(Dst, 11474, LJ_TISNUM);
2372 if (LJ_DUALNUM) {
2373 dasm_put(Dst, 11486, LJ_TISNUM);
2375 if (sse) {
2376 dasm_put(Dst, 11963);
2377 } else {
2378 dasm_put(Dst, 11978);
2380 break;
2381 case 1:
2382 dasm_put(Dst, 11522, LJ_TISNUM);
2383 if (LJ_DUALNUM) {
2384 dasm_put(Dst, 11534, LJ_TISNUM);
2386 if (sse) {
2387 dasm_put(Dst, 11987);
2388 } else {
2389 dasm_put(Dst, 12002);
2391 break;
2392 default:
2393 dasm_put(Dst, 11570, LJ_TISNUM, LJ_TISNUM);
2394 if (sse) {
2395 dasm_put(Dst, 12011);
2396 } else {
2397 dasm_put(Dst, 12025);
2399 break;
2401 if (sse) {
2402 dasm_put(Dst, 11192);
2403 } else {
2404 dasm_put(Dst, 11204);
2406 dasm_put(Dst, 10307);
2407 break;
2408 case BC_MODVN:
2409 dasm_put(Dst, 11357);
2410 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2411 switch (vk) {
2412 case 0:
2413 dasm_put(Dst, 11474, LJ_TISNUM);
2414 if (LJ_DUALNUM) {
2415 dasm_put(Dst, 11486, LJ_TISNUM);
2417 if (sse) {
2418 dasm_put(Dst, 12033);
2419 } else {
2420 dasm_put(Dst, 12048);
2422 break;
2423 case 1:
2424 dasm_put(Dst, 11522, LJ_TISNUM);
2425 if (LJ_DUALNUM) {
2426 dasm_put(Dst, 11534, LJ_TISNUM);
2428 if (sse) {
2429 dasm_put(Dst, 12057);
2430 } else {
2431 dasm_put(Dst, 12072);
2433 break;
2434 default:
2435 dasm_put(Dst, 11570, LJ_TISNUM, LJ_TISNUM);
2436 if (sse) {
2437 dasm_put(Dst, 12081);
2438 } else {
2439 dasm_put(Dst, 12095);
2441 break;
2443 dasm_put(Dst, 12103);
2444 if (sse) {
2445 dasm_put(Dst, 11192);
2446 } else {
2447 dasm_put(Dst, 11204);
2449 dasm_put(Dst, 10307);
2450 break;
2451 case BC_MODNV: case BC_MODVV:
2452 dasm_put(Dst, 11357);
2453 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2454 switch (vk) {
2455 case 0:
2456 dasm_put(Dst, 11474, LJ_TISNUM);
2457 if (LJ_DUALNUM) {
2458 dasm_put(Dst, 11486, LJ_TISNUM);
2460 if (sse) {
2461 dasm_put(Dst, 12033);
2462 } else {
2463 dasm_put(Dst, 12048);
2465 break;
2466 case 1:
2467 dasm_put(Dst, 11522, LJ_TISNUM);
2468 if (LJ_DUALNUM) {
2469 dasm_put(Dst, 11534, LJ_TISNUM);
2471 if (sse) {
2472 dasm_put(Dst, 12057);
2473 } else {
2474 dasm_put(Dst, 12072);
2476 break;
2477 default:
2478 dasm_put(Dst, 11570, LJ_TISNUM, LJ_TISNUM);
2479 if (sse) {
2480 dasm_put(Dst, 12081);
2481 } else {
2482 dasm_put(Dst, 12095);
2484 break;
2486 dasm_put(Dst, 12109);
2487 break;
2488 case BC_POW:
2489 dasm_put(Dst, 11357);
2490 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2491 switch (vk) {
2492 case 0:
2493 dasm_put(Dst, 11474, LJ_TISNUM);
2494 if (LJ_DUALNUM) {
2495 dasm_put(Dst, 11486, LJ_TISNUM);
2497 if (sse) {
2498 dasm_put(Dst, 12033);
2499 } else {
2500 dasm_put(Dst, 12048);
2502 break;
2503 case 1:
2504 dasm_put(Dst, 11522, LJ_TISNUM);
2505 if (LJ_DUALNUM) {
2506 dasm_put(Dst, 11534, LJ_TISNUM);
2508 if (sse) {
2509 dasm_put(Dst, 12057);
2510 } else {
2511 dasm_put(Dst, 12072);
2513 break;
2514 default:
2515 dasm_put(Dst, 11570, LJ_TISNUM, LJ_TISNUM);
2516 if (sse) {
2517 dasm_put(Dst, 12081);
2518 } else {
2519 dasm_put(Dst, 12095);
2521 break;
2523 dasm_put(Dst, 12114);
2524 if (sse) {
2525 dasm_put(Dst, 11192);
2526 } else {
2527 dasm_put(Dst, 11204);
2529 dasm_put(Dst, 10307);
2530 break;
2532 case BC_CAT:
2533 dasm_put(Dst, 12118, Dt1(->base), Dt1(->base));
2534 break;
2536 /* -- Constant ops ------------------------------------------------------ */
2538 case BC_KSTR:
2539 dasm_put(Dst, 12202, LJ_TSTR);
2540 break;
2541 case BC_KCDATA:
2542 #if LJ_HASFFI
2543 dasm_put(Dst, 12202, LJ_TCDATA);
2544 #endif
2545 break;
2546 case BC_KSHORT:
2547 if (LJ_DUALNUM) {
2548 dasm_put(Dst, 12239, LJ_TISNUM);
2549 } else if (sse) {
2550 dasm_put(Dst, 12251);
2551 } else {
2552 dasm_put(Dst, 12266);
2554 dasm_put(Dst, 10307);
2555 break;
2556 case BC_KNUM:
2557 if (sse) {
2558 dasm_put(Dst, 12274);
2559 } else {
2560 dasm_put(Dst, 12288);
2562 dasm_put(Dst, 10307);
2563 break;
2564 case BC_KPRI:
2565 dasm_put(Dst, 12296);
2566 break;
2567 case BC_KNIL:
2568 dasm_put(Dst, 12325, LJ_TNIL);
2569 break;
2571 /* -- Upvalue and function ops ------------------------------------------ */
2573 case BC_UGET:
2574 dasm_put(Dst, 12373, offsetof(GCfuncL, uvptr), DtA(->v));
2575 break;
2576 case BC_USETV:
2577 #define TV2MARKOFS \
2578 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2579 dasm_put(Dst, 12414, 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);
2580 dasm_put(Dst, 12510);
2581 break;
2582 #undef TV2MARKOFS
2583 case BC_USETS:
2584 dasm_put(Dst, 12522, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2585 break;
2586 case BC_USETN:
2587 dasm_put(Dst, 12618);
2588 if (sse) {
2589 dasm_put(Dst, 12623);
2590 } else {
2591 dasm_put(Dst, 10839);
2593 dasm_put(Dst, 12631, offsetof(GCfuncL, uvptr), DtA(->v));
2594 if (sse) {
2595 dasm_put(Dst, 12640);
2596 } else {
2597 dasm_put(Dst, 12646);
2599 dasm_put(Dst, 10307);
2600 break;
2601 case BC_USETP:
2602 dasm_put(Dst, 12649, offsetof(GCfuncL, uvptr), DtA(->v));
2603 break;
2604 case BC_UCLO:
2605 dasm_put(Dst, 12689, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2606 break;
2608 case BC_FNEW:
2609 dasm_put(Dst, 12745, Dt1(->base), Dt1(->base), LJ_TFUNC);
2610 break;
2612 /* -- Table ops --------------------------------------------------------- */
2614 case BC_TNEW:
2615 dasm_put(Dst, 12812, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2616 break;
2617 case BC_TDUP:
2618 dasm_put(Dst, 12936, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2619 break;
2621 case BC_GGET:
2622 dasm_put(Dst, 13035, Dt7(->env));
2623 break;
2624 case BC_GSET:
2625 dasm_put(Dst, 13055, Dt7(->env));
2626 break;
2628 case BC_TGETV:
2629 dasm_put(Dst, 13075, LJ_TTAB);
2630 if (LJ_DUALNUM) {
2631 dasm_put(Dst, 13098, LJ_TISNUM);
2632 } else {
2633 dasm_put(Dst, 13112, LJ_TISNUM);
2634 if (sse) {
2635 dasm_put(Dst, 13123);
2636 } else {
2638 dasm_put(Dst, 13144);
2640 dasm_put(Dst, 13149, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index, LJ_TNIL);
2641 dasm_put(Dst, 13241, LJ_TSTR);
2642 break;
2643 case BC_TGETS:
2644 dasm_put(Dst, 13259, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2645 dasm_put(Dst, 13344, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2646 break;
2647 case BC_TGETB:
2648 dasm_put(Dst, 13416, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2649 dasm_put(Dst, 13512, LJ_TNIL);
2650 break;
2652 case BC_TSETV:
2653 dasm_put(Dst, 13529, LJ_TTAB);
2654 if (LJ_DUALNUM) {
2655 dasm_put(Dst, 13098, LJ_TISNUM);
2656 } else {
2657 dasm_put(Dst, 13112, LJ_TISNUM);
2658 if (sse) {
2659 dasm_put(Dst, 13123);
2660 } else {
2662 dasm_put(Dst, 13552);
2664 dasm_put(Dst, 13557, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex);
2665 dasm_put(Dst, 13638, LJ_TSTR, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2666 break;
2667 case BC_TSETS:
2668 dasm_put(Dst, 13697, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2669 dasm_put(Dst, 13774, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2670 dasm_put(Dst, 13861, 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));
2671 break;
2672 case BC_TSETB:
2673 dasm_put(Dst, 13953, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2674 dasm_put(Dst, 14048, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2675 break;
2677 case BC_TSETM:
2678 dasm_put(Dst, 14096, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2679 dasm_put(Dst, 14246, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2680 break;
2682 /* -- Calls and vararg handling ----------------------------------------- */
2684 case BC_CALL: case BC_CALLM:
2685 dasm_put(Dst, 11361);
2686 if (op == BC_CALLM) {
2687 dasm_put(Dst, 14266);
2689 dasm_put(Dst, 14271, LJ_TFUNC, Dt7(->pc));
2690 break;
2692 case BC_CALLMT:
2693 dasm_put(Dst, 14266);
2694 break;
2695 case BC_CALLT:
2696 dasm_put(Dst, 14314, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2697 dasm_put(Dst, 14432, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2698 break;
2700 case BC_ITERC:
2701 dasm_put(Dst, 14506, LJ_TFUNC, 2+1, Dt7(->pc));
2702 break;
2704 case BC_ITERN:
2705 #if LJ_HASJIT
2706 #endif
2707 dasm_put(Dst, 14578, Dt6(->asize), Dt6(->array), LJ_TNIL);
2708 if (LJ_DUALNUM) {
2709 dasm_put(Dst, 11227, LJ_TISNUM);
2710 } else if (sse) {
2711 dasm_put(Dst, 11322);
2712 } else {
2713 dasm_put(Dst, 14630);
2715 dasm_put(Dst, 14636);
2716 if (LJ_DUALNUM) {
2717 } else if (sse) {
2718 dasm_put(Dst, 11192);
2719 } else {
2720 dasm_put(Dst, 11204);
2722 dasm_put(Dst, 14649, -BCBIAS_J*4);
2723 if (!LJ_DUALNUM && !sse) {
2724 dasm_put(Dst, 14703);
2726 dasm_put(Dst, 14709, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key), DtB(->val));
2727 break;
2729 case BC_ISNEXT:
2730 dasm_put(Dst, 14788, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2731 break;
2733 case BC_VARG:
2734 dasm_put(Dst, 14889, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2735 dasm_put(Dst, 15056, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2736 break;
2738 /* -- Returns ----------------------------------------------------------- */
2740 case BC_RETM:
2741 dasm_put(Dst, 14266);
2742 break;
2744 case BC_RET: case BC_RET0: case BC_RET1:
2745 if (op != BC_RET0) {
2746 dasm_put(Dst, 15126);
2748 dasm_put(Dst, 15130, FRAME_TYPE);
2749 switch (op) {
2750 case BC_RET:
2751 dasm_put(Dst, 15149);
2752 break;
2753 case BC_RET1:
2754 dasm_put(Dst, 15203);
2755 /* fallthrough */
2756 case BC_RET0:
2757 dasm_put(Dst, 15213);
2758 default:
2759 break;
2761 dasm_put(Dst, 15224, Dt7(->pc), PC2PROTO(k));
2762 if (op == BC_RET) {
2763 dasm_put(Dst, 15272, LJ_TNIL);
2764 } else {
2765 dasm_put(Dst, 15283, LJ_TNIL);
2767 dasm_put(Dst, 15290, -FRAME_VARG, FRAME_TYPEP);
2768 if (op != BC_RET0) {
2769 dasm_put(Dst, 15314);
2771 dasm_put(Dst, 4752);
2772 break;
2774 /* -- Loops and branches ------------------------------------------------ */
2777 case BC_FORL:
2778 #if LJ_HASJIT
2779 dasm_put(Dst, 15318, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2780 #endif
2781 break;
2783 case BC_JFORI:
2784 case BC_JFORL:
2785 #if !LJ_HASJIT
2786 break;
2787 #endif
2788 case BC_FORI:
2789 case BC_IFORL:
2790 vk = (op == BC_IFORL || op == BC_JFORL);
2791 dasm_put(Dst, 15339);
2792 if (LJ_DUALNUM) {
2793 dasm_put(Dst, 15343, LJ_TISNUM);
2794 if (!vk) {
2795 dasm_put(Dst, 15353, LJ_TISNUM, LJ_TISNUM);
2796 } else {
2797 #ifdef LUA_USE_ASSERT
2798 dasm_put(Dst, 15382, LJ_TISNUM, LJ_TISNUM);
2799 #endif
2800 dasm_put(Dst, 15401);
2802 dasm_put(Dst, 15420, LJ_TISNUM);
2803 if (op == BC_FORI) {
2804 dasm_put(Dst, 15431, -BCBIAS_J*4);
2805 } else if (op == BC_JFORI) {
2806 dasm_put(Dst, 15445, -BCBIAS_J*4, BC_JLOOP);
2807 } else if (op == BC_IFORL) {
2808 dasm_put(Dst, 15463, -BCBIAS_J*4);
2809 } else {
2810 dasm_put(Dst, 15455, BC_JLOOP);
2812 dasm_put(Dst, 15477);
2813 if (vk) {
2814 dasm_put(Dst, 15502);
2816 dasm_put(Dst, 15420, LJ_TISNUM);
2817 if (op == BC_FORI) {
2818 dasm_put(Dst, 15511);
2819 } else if (op == BC_JFORI) {
2820 dasm_put(Dst, 15516, -BCBIAS_J*4, BC_JLOOP);
2821 } else if (op == BC_IFORL) {
2822 dasm_put(Dst, 15530);
2823 } else {
2824 dasm_put(Dst, 15526, BC_JLOOP);
2826 dasm_put(Dst, 15535);
2827 } else if (!vk) {
2828 dasm_put(Dst, 15542, LJ_TISNUM);
2830 if (!vk) {
2831 dasm_put(Dst, 15548, LJ_TISNUM);
2832 } else {
2833 #ifdef LUA_USE_ASSERT
2834 dasm_put(Dst, 15562, LJ_TISNUM, LJ_TISNUM);
2835 #endif
2837 dasm_put(Dst, 15581);
2838 if (!vk) {
2839 dasm_put(Dst, 15585, LJ_TISNUM);
2841 if (sse) {
2842 dasm_put(Dst, 15594);
2843 if (vk) {
2844 dasm_put(Dst, 15606);
2845 } else {
2846 dasm_put(Dst, 15625);
2848 dasm_put(Dst, 15630);
2849 } else {
2850 dasm_put(Dst, 15643);
2851 if (vk) {
2852 dasm_put(Dst, 15649);
2853 } else {
2854 dasm_put(Dst, 15665);
2856 dasm_put(Dst, 15673);
2857 if (cmov) {
2858 dasm_put(Dst, 10262);
2859 } else {
2860 dasm_put(Dst, 10268);
2862 if (!cmov) {
2863 dasm_put(Dst, 15678);
2866 if (op == BC_FORI) {
2867 if (LJ_DUALNUM) {
2868 dasm_put(Dst, 15684);
2869 } else {
2870 dasm_put(Dst, 15689, -BCBIAS_J*4);
2872 } else if (op == BC_JFORI) {
2873 dasm_put(Dst, 15699, -BCBIAS_J*4, BC_JLOOP);
2874 } else if (op == BC_IFORL) {
2875 if (LJ_DUALNUM) {
2876 dasm_put(Dst, 15713);
2877 } else {
2878 dasm_put(Dst, 15718, -BCBIAS_J*4);
2880 } else {
2881 dasm_put(Dst, 15709, BC_JLOOP);
2883 if (LJ_DUALNUM) {
2884 dasm_put(Dst, 10191);
2885 } else {
2886 dasm_put(Dst, 10973);
2888 if (sse) {
2889 dasm_put(Dst, 15728);
2891 break;
2893 case BC_ITERL:
2894 #if LJ_HASJIT
2895 dasm_put(Dst, 15318, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2896 #endif
2897 break;
2899 case BC_JITERL:
2900 #if !LJ_HASJIT
2901 break;
2902 #endif
2903 case BC_IITERL:
2904 dasm_put(Dst, 15739, LJ_TNIL);
2905 if (op == BC_JITERL) {
2906 dasm_put(Dst, 15754, BC_JLOOP);
2907 } else {
2908 dasm_put(Dst, 15768, -BCBIAS_J*4);
2910 dasm_put(Dst, 10305);
2911 break;
2913 case BC_LOOP:
2914 #if LJ_HASJIT
2915 dasm_put(Dst, 15318, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2916 #endif
2917 break;
2919 case BC_ILOOP:
2920 dasm_put(Dst, 10307);
2921 break;
2923 case BC_JLOOP:
2924 #if LJ_HASJIT
2925 dasm_put(Dst, 15784, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
2926 #endif
2927 break;
2929 case BC_JMP:
2930 dasm_put(Dst, 15825, -BCBIAS_J*4);
2931 break;
2933 /* -- Function headers -------------------------------------------------- */
2936 ** Reminder: A function may be called with func/args above L->maxstack,
2937 ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot,
2938 ** too. This means all FUNC* ops (including fast functions) must check
2939 ** for stack overflow _before_ adding more slots!
2942 case BC_FUNCF:
2943 #if LJ_HASJIT
2944 dasm_put(Dst, 15851, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_CALL);
2945 #endif
2946 case BC_FUNCV: /* NYI: compiled vararg functions. */
2947 break;
2949 case BC_JFUNCF:
2950 #if !LJ_HASJIT
2951 break;
2952 #endif
2953 case BC_IFUNCF:
2954 dasm_put(Dst, 15872, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
2955 if (op == BC_JFUNCF) {
2956 dasm_put(Dst, 15903, BC_JLOOP);
2957 } else {
2958 dasm_put(Dst, 10307);
2960 dasm_put(Dst, 15912, LJ_TNIL);
2961 break;
2963 case BC_JFUNCV:
2964 #if !LJ_HASJIT
2965 break;
2966 #endif
2967 dasm_put(Dst, 9413);
2968 break; /* NYI: compiled vararg functions. */
2970 case BC_IFUNCV:
2971 dasm_put(Dst, 15934, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
2972 if (op == BC_JFUNCV) {
2973 dasm_put(Dst, 15903, BC_JLOOP);
2974 } else {
2975 dasm_put(Dst, 16031, -4+PC2PROTO(k));
2977 dasm_put(Dst, 16056, LJ_TNIL);
2978 break;
2980 case BC_FUNCC:
2981 case BC_FUNCCW:
2982 dasm_put(Dst, 16078, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
2983 if (op == BC_FUNCC) {
2984 dasm_put(Dst, 2424);
2985 } else {
2986 dasm_put(Dst, 16108);
2988 dasm_put(Dst, 16116, DISPATCH_GL(vmstate), ~LJ_VMST_C);
2989 if (op == BC_FUNCC) {
2990 dasm_put(Dst, 16126);
2991 } else {
2992 dasm_put(Dst, 16131, DISPATCH_GL(wrapf));
2994 dasm_put(Dst, 16137, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
2995 break;
2997 /* ---------------------------------------------------------------------- */
2999 default:
3000 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
3001 exit(2);
3002 break;
3006 static int build_backend(BuildCtx *ctx)
3008 int op;
3009 int cmov = 1;
3010 int sse = 0;
3011 #ifdef LUAJIT_CPU_NOCMOV
3012 cmov = 0;
3013 #endif
3014 #if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
3015 sse = 1;
3016 #endif
3018 dasm_growpc(Dst, BC__MAX);
3020 build_subroutines(ctx, cmov, sse);
3022 dasm_put(Dst, 16163);
3023 for (op = 0; op < BC__MAX; op++)
3024 build_ins(ctx, (BCOp)op, op, cmov, sse);
3026 return BC__MAX;
3029 /* Emit pseudo frame-info for all assembler functions. */
3030 static void emit_asm_debug(BuildCtx *ctx)
3032 int fcofs = (int)((uint8_t *)ctx->glob[GLOB_vm_ffi_call] - ctx->code);
3033 #if LJ_64
3034 #define SZPTR "8"
3035 #define BSZPTR "3"
3036 #define REG_SP "0x7"
3037 #define REG_RA "0x10"
3038 #else
3039 #define SZPTR "4"
3040 #define BSZPTR "2"
3041 #define REG_SP "0x4"
3042 #define REG_RA "0x8"
3043 #endif
3044 switch (ctx->mode) {
3045 case BUILD_elfasm:
3046 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
3047 fprintf(ctx->fp,
3048 ".Lframe0:\n"
3049 "\t.long .LECIE0-.LSCIE0\n"
3050 ".LSCIE0:\n"
3051 "\t.long 0xffffffff\n"
3052 "\t.byte 0x1\n"
3053 "\t.string \"\"\n"
3054 "\t.uleb128 0x1\n"
3055 "\t.sleb128 -" SZPTR "\n"
3056 "\t.byte " REG_RA "\n"
3057 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3058 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3059 "\t.align " SZPTR "\n"
3060 ".LECIE0:\n\n");
3061 fprintf(ctx->fp,
3062 ".LSFDE0:\n"
3063 "\t.long .LEFDE0-.LASFDE0\n"
3064 ".LASFDE0:\n"
3065 "\t.long .Lframe0\n"
3066 #if LJ_64
3067 "\t.quad .Lbegin\n"
3068 "\t.quad %d\n"
3069 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3070 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3071 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3072 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3073 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3074 #else
3075 "\t.long .Lbegin\n"
3076 "\t.long %d\n"
3077 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3078 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3079 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3080 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3081 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3082 #endif
3083 "\t.align " SZPTR "\n"
3084 ".LEFDE0:\n\n", fcofs, CFRAME_SIZE);
3085 #if LJ_HASFFI
3086 fprintf(ctx->fp,
3087 ".LSFDE1:\n"
3088 "\t.long .LEFDE1-.LASFDE1\n"
3089 ".LASFDE1:\n"
3090 "\t.long .Lframe0\n"
3091 #if LJ_64
3092 "\t.quad lj_vm_ffi_call\n"
3093 "\t.quad %d\n"
3094 "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */
3095 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3096 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3097 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3098 #else
3099 "\t.long lj_vm_ffi_call\n"
3100 "\t.long %d\n"
3101 "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */
3102 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3103 "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */
3104 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */
3105 #endif
3106 "\t.align " SZPTR "\n"
3107 ".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
3108 #endif
3109 #if (defined(__sun__) && defined(__svr4__)) || defined(__solaris_)
3110 fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
3111 #else
3112 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
3113 #endif
3114 fprintf(ctx->fp,
3115 ".Lframe1:\n"
3116 "\t.long .LECIE1-.LSCIE1\n"
3117 ".LSCIE1:\n"
3118 "\t.long 0\n"
3119 "\t.byte 0x1\n"
3120 "\t.string \"zPR\"\n"
3121 "\t.uleb128 0x1\n"
3122 "\t.sleb128 -" SZPTR "\n"
3123 "\t.byte " REG_RA "\n"
3124 "\t.uleb128 6\n" /* augmentation length */
3125 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3126 "\t.long lj_err_unwind_dwarf-.\n"
3127 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3128 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3129 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3130 "\t.align " SZPTR "\n"
3131 ".LECIE1:\n\n");
3132 fprintf(ctx->fp,
3133 ".LSFDE2:\n"
3134 "\t.long .LEFDE2-.LASFDE2\n"
3135 ".LASFDE2:\n"
3136 "\t.long .LASFDE2-.Lframe1\n"
3137 "\t.long .Lbegin-.\n"
3138 "\t.long %d\n"
3139 "\t.uleb128 0\n" /* augmentation length */
3140 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3141 #if LJ_64
3142 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3143 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3144 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3145 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3146 #else
3147 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3148 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3149 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3150 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3151 #endif
3152 "\t.align " SZPTR "\n"
3153 ".LEFDE2:\n\n", fcofs, CFRAME_SIZE);
3154 #if LJ_HASFFI
3155 fprintf(ctx->fp,
3156 ".Lframe2:\n"
3157 "\t.long .LECIE2-.LSCIE2\n"
3158 ".LSCIE2:\n"
3159 "\t.long 0\n"
3160 "\t.byte 0x1\n"
3161 "\t.string \"zR\"\n"
3162 "\t.uleb128 0x1\n"
3163 "\t.sleb128 -" SZPTR "\n"
3164 "\t.byte " REG_RA "\n"
3165 "\t.uleb128 1\n" /* augmentation length */
3166 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3167 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3168 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3169 "\t.align " SZPTR "\n"
3170 ".LECIE2:\n\n");
3171 fprintf(ctx->fp,
3172 ".LSFDE3:\n"
3173 "\t.long .LEFDE3-.LASFDE3\n"
3174 ".LASFDE3:\n"
3175 "\t.long .LASFDE3-.Lframe2\n"
3176 "\t.long lj_vm_ffi_call-.\n"
3177 "\t.long %d\n"
3178 "\t.uleb128 0\n" /* augmentation length */
3179 #if LJ_64
3180 "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */
3181 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3182 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3183 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3184 #else
3185 "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */
3186 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3187 "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */
3188 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */
3189 #endif
3190 "\t.align " SZPTR "\n"
3191 ".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
3192 #endif
3193 break;
3194 case BUILD_coffasm:
3195 fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n");
3196 fprintf(ctx->fp,
3197 "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n",
3198 LJ_32 ? "_" : "");
3199 fprintf(ctx->fp,
3200 "Lframe1:\n"
3201 "\t.long LECIE1-LSCIE1\n"
3202 "LSCIE1:\n"
3203 "\t.long 0\n"
3204 "\t.byte 0x1\n"
3205 "\t.string \"zP\"\n"
3206 "\t.uleb128 0x1\n"
3207 "\t.sleb128 -" SZPTR "\n"
3208 "\t.byte " REG_RA "\n"
3209 "\t.uleb128 5\n" /* augmentation length */
3210 "\t.byte 0x00\n" /* absptr */
3211 "\t.long %slj_err_unwind_dwarf\n"
3212 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3213 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3214 "\t.align " SZPTR "\n"
3215 "LECIE1:\n\n", LJ_32 ? "_" : "");
3216 fprintf(ctx->fp,
3217 "LSFDE1:\n"
3218 "\t.long LEFDE1-LASFDE1\n"
3219 "LASFDE1:\n"
3220 "\t.long LASFDE1-Lframe1\n"
3221 "\t.long %slj_vm_asm_begin\n"
3222 "\t.long %d\n"
3223 "\t.uleb128 0\n" /* augmentation length */
3224 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3225 #if LJ_64
3226 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3227 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3228 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3229 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3230 #else
3231 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3232 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3233 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3234 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3235 #endif
3236 "\t.align " SZPTR "\n"
3237 "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE);
3238 break;
3239 /* Mental note: never let Apple design an assembler.
3240 ** Or a linker. Or a plastic case. But I digress.
3242 case BUILD_machasm: {
3243 #if LJ_HASFFI
3244 int fcsize = 0;
3245 #endif
3246 int i;
3247 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
3248 fprintf(ctx->fp,
3249 "EH_frame1:\n"
3250 "\t.set L$set$x,LECIEX-LSCIEX\n"
3251 "\t.long L$set$x\n"
3252 "LSCIEX:\n"
3253 "\t.long 0\n"
3254 "\t.byte 0x1\n"
3255 "\t.ascii \"zPR\\0\"\n"
3256 "\t.byte 0x1\n"
3257 "\t.byte 128-" SZPTR "\n"
3258 "\t.byte " REG_RA "\n"
3259 "\t.byte 6\n" /* augmentation length */
3260 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
3261 #if LJ_64
3262 "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n"
3263 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3264 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3265 #else
3266 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
3267 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3268 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
3269 #endif
3270 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3271 "\t.align " BSZPTR "\n"
3272 "LECIEX:\n\n");
3273 for (i = 0; i < ctx->nsym; i++) {
3274 const char *name = ctx->sym[i].name;
3275 int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
3276 if (size == 0) continue;
3277 #if LJ_HASFFI
3278 if (!strcmp(name, "_lj_vm_ffi_call")) { fcsize = size; continue; }
3279 #endif
3280 fprintf(ctx->fp,
3281 "%s.eh:\n"
3282 "LSFDE%d:\n"
3283 "\t.set L$set$%d,LEFDE%d-LASFDE%d\n"
3284 "\t.long L$set$%d\n"
3285 "LASFDE%d:\n"
3286 "\t.long LASFDE%d-EH_frame1\n"
3287 "\t.long %s-.\n"
3288 "\t.long %d\n"
3289 "\t.byte 0\n" /* augmentation length */
3290 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
3291 #if LJ_64
3292 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3293 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3294 "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */
3295 "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */
3296 #else
3297 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3298 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
3299 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
3300 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
3301 #endif
3302 "\t.align " BSZPTR "\n"
3303 "LEFDE%d:\n\n",
3304 name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i);
3306 #if LJ_HASFFI
3307 if (fcsize) {
3308 fprintf(ctx->fp,
3309 "EH_frame2:\n"
3310 "\t.set L$set$y,LECIEY-LSCIEY\n"
3311 "\t.long L$set$y\n"
3312 "LSCIEY:\n"
3313 "\t.long 0\n"
3314 "\t.byte 0x1\n"
3315 "\t.ascii \"zR\\0\"\n"
3316 "\t.byte 0x1\n"
3317 "\t.byte 128-" SZPTR "\n"
3318 "\t.byte " REG_RA "\n"
3319 "\t.byte 1\n" /* augmentation length */
3320 #if LJ_64
3321 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3322 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3323 #else
3324 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3325 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH. */
3326 #endif
3327 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3328 "\t.align " BSZPTR "\n"
3329 "LECIEY:\n\n");
3330 fprintf(ctx->fp,
3331 "_lj_vm_ffi_call.eh:\n"
3332 "LSFDEY:\n"
3333 "\t.set L$set$yy,LEFDEY-LASFDEY\n"
3334 "\t.long L$set$yy\n"
3335 "LASFDEY:\n"
3336 "\t.long LASFDEY-EH_frame2\n"
3337 "\t.long _lj_vm_ffi_call-.\n"
3338 "\t.long %d\n"
3339 "\t.byte 0\n" /* augmentation length */
3340 #if LJ_64
3341 "\t.byte 0xe\n\t.byte 16\n" /* def_cfa_offset */
3342 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3343 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3344 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3345 #else
3346 "\t.byte 0xe\n\t.byte 8\n" /* def_cfa_offset */
3347 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3348 "\t.byte 0xd\n\t.uleb128 0x4\n" /* def_cfa_register ebp */
3349 "\t.byte 0x83\n\t.byte 0x3\n" /* offset ebx */
3350 #endif
3351 "\t.align " BSZPTR "\n"
3352 "LEFDEY:\n\n", fcsize);
3354 #endif
3355 #if LJ_64
3356 fprintf(ctx->fp, "\t.subsections_via_symbols\n");
3357 #else
3358 fprintf(ctx->fp,
3359 "\t.non_lazy_symbol_pointer\n"
3360 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
3361 ".indirect_symbol _lj_err_unwind_dwarf\n"
3362 ".long 0\n");
3363 #endif
3365 break;
3366 default: /* Difficult for other modes. */
3367 break;