FFI: Print NULL pointers as "cdata<... *>: NULL".
[luajit-2.0.git] / src / buildvm_x64.h
blob4a96493f5130090cc3b051fb75bbd3987b7855be
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[16103] = {
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,252,233,244,44,248,57,141,76,202,8,248,29,137,76,36,4,
95 137,4,36,131,252,233,8,139,108,36,24,137,149,233,255,137,206,141,20,193,137,
96 252,239,137,92,36,28,232,251,1,9,139,149,233,139,76,36,4,139,4,36,139,105,
97 252,248,131,192,1,65,57,215,15,132,244,58,137,202,137,90,252,252,139,157,
98 233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,248,
99 59,139,108,36,24,137,149,233,137,206,137,252,239,137,92,36,28,232,251,1,10,
100 139,149,233,139,67,252,252,15,182,204,15,182,232,193,232,16,65,252,255,164,
101 253,252,238,233,248,60,129,252,248,239,15,130,244,61,139,106,4,129,252,253,
102 239,15,131,244,61,139,90,252,252,137,68,36,4,137,106,252,252,139,42,137,106,
103 252,248,131,232,2,15,132,244,248,137,209,248,1,131,193,8,72,139,41,72,137,
104 105,252,248,131,232,1,15,133,244,1,248,2,255,139,68,36,4,252,233,244,62,248,
105 63,129,252,248,239,15,130,244,61,139,106,4,137,252,233,193,252,249,15,131,
106 252,249,252,254,15,132,244,249,184,237,252,247,213,57,232,255,15,71,197,255,
107 15,134,244,247,137,232,248,1,255,248,2,139,106,252,248,139,132,253,197,233,
108 139,90,252,252,199,66,252,252,237,137,66,252,248,252,233,244,64,248,3,184,
109 237,252,233,244,2,248,65,129,252,248,239,15,130,244,61,139,106,4,139,90,252,
110 252,129,252,253,239,15,133,244,252,248,1,139,42,139,173,233,248,2,133,252,
111 237,199,66,252,252,237,255,15,132,244,64,65,139,134,233,199,66,252,252,237,
112 137,106,252,248,139,141,233,35,136,233,105,201,239,3,141,233,248,3,129,185,
113 233,239,15,133,244,250,57,129,233,15,132,244,251,248,4,139,137,233,133,201,
114 15,133,244,3,255,252,233,244,64,248,5,139,105,4,129,252,253,239,15,132,244,
115 64,139,1,137,106,252,252,137,66,252,248,252,233,244,64,248,6,129,252,253,
116 239,15,132,244,1,129,252,253,239,15,135,244,254,129,252,253,239,15,134,244,
117 253,189,237,252,233,244,254,248,7,255,189,237,248,8,252,247,213,65,139,172,
118 253,174,233,252,233,244,2,248,66,129,252,248,239,15,130,244,61,129,122,253,
119 4,239,15,133,244,61,139,42,131,189,233,0,15,133,244,61,129,122,253,12,239,
120 15,133,244,61,139,66,8,137,133,233,139,90,252,252,199,66,252,252,237,255,
121 137,106,252,248,252,246,133,233,235,15,132,244,247,128,165,233,235,65,139,
122 134,233,65,137,174,233,137,133,233,248,1,252,233,244,64,248,67,129,252,248,
123 239,15,130,244,61,129,122,253,4,239,15,133,244,61,137,213,139,50,141,82,8,
124 139,124,36,24,232,251,1,11,137,252,234,72,139,40,139,90,252,252,72,137,106,
125 252,248,252,233,244,64,248,68,255,129,252,248,239,15,133,244,61,129,122,253,
126 4,239,255,15,133,244,247,139,42,252,233,244,69,248,1,15,135,244,61,255,15,
127 131,244,61,255,252,242,15,16,2,252,233,244,70,255,221,2,252,233,244,71,255,
128 248,72,129,252,248,239,15,130,244,61,139,90,252,252,129,122,253,4,239,15,
129 133,244,249,139,2,248,2,199,66,252,252,237,137,66,252,248,252,233,244,64,
130 248,3,129,122,253,4,239,15,135,244,61,65,131,190,233,0,15,133,244,61,65,139,
131 174,233,65,59,174,233,255,15,130,244,247,232,244,73,248,1,139,108,36,24,137,
132 149,233,137,92,36,28,137,214,137,252,239,255,232,251,1,12,255,232,251,1,13,
133 255,139,149,233,252,233,244,2,248,74,129,252,248,239,15,130,244,61,15,132,
134 244,248,248,1,129,122,253,4,239,15,133,244,61,139,108,36,24,137,149,233,137,
135 149,233,139,90,252,252,139,50,141,82,8,137,252,239,137,92,36,28,232,251,1,
136 14,139,149,233,133,192,15,132,244,249,72,139,106,8,72,139,66,16,72,137,106,
137 252,248,72,137,2,248,75,184,237,255,252,233,244,76,248,2,199,66,12,237,252,
138 233,244,1,248,3,199,66,252,252,237,252,233,244,64,248,77,129,252,248,239,
139 15,130,244,61,139,42,129,122,253,4,239,15,133,244,61,255,131,189,233,0,15,
140 133,244,61,255,139,106,252,248,139,133,233,139,90,252,252,199,66,252,252,
141 237,137,66,252,248,199,66,12,237,184,237,252,233,244,76,248,78,129,252,248,
142 239,15,130,244,61,129,122,253,4,239,15,133,244,61,129,122,253,12,239,255,
143 139,90,252,252,255,139,66,8,131,192,1,199,66,252,252,237,137,66,252,248,255,
144 252,242,15,16,66,8,72,189,237,237,102,72,15,110,205,252,242,15,88,193,252,
145 242,15,45,192,252,242,15,17,66,252,248,255,139,42,59,133,233,15,131,244,248,
146 193,224,3,3,133,233,248,1,129,120,253,4,239,15,132,244,79,72,139,40,72,137,
147 42,252,233,244,75,248,2,131,189,233,0,15,132,244,79,137,252,239,137,213,137,
148 198,232,251,1,15,137,252,234,133,192,15,133,244,1,248,79,184,237,252,233,
149 244,76,248,80,255,139,106,252,248,139,133,233,139,90,252,252,199,66,252,252,
150 237,137,66,252,248,255,199,66,12,237,199,66,8,0,0,0,0,255,15,87,192,252,242,
151 15,17,66,8,255,217,252,238,221,90,8,255,184,237,252,233,244,76,248,81,129,
152 252,248,239,15,130,244,61,141,74,8,131,232,1,187,237,248,1,65,15,182,174,
153 233,193,252,237,235,131,229,1,1,252,235,252,233,244,28,248,82,129,252,248,
154 239,15,130,244,61,129,122,253,12,239,15,133,244,61,255,139,106,4,137,106,
155 12,199,66,4,237,139,42,139,90,8,137,106,8,137,26,141,74,16,131,232,2,187,
156 237,252,233,244,1,248,83,129,252,248,239,15,130,244,61,139,42,139,90,252,
157 252,137,92,36,28,137,44,36,129,122,253,4,239,15,133,244,61,72,131,189,233,
158 0,15,133,244,61,128,189,233,235,15,135,244,61,139,141,233,15,132,244,247,
159 255,59,141,233,15,132,244,61,248,1,141,92,193,252,240,59,157,233,15,135,244,
160 61,137,157,233,139,108,36,24,137,149,233,131,194,8,137,149,233,141,108,194,
161 232,72,41,221,57,203,15,132,244,249,248,2,72,139,4,43,72,137,67,252,248,131,
162 252,235,8,57,203,15,133,244,2,248,3,137,206,139,60,36,232,244,25,65,199,134,
163 233,237,255,139,108,36,24,139,28,36,139,149,233,129,252,248,239,15,135,244,
164 254,248,4,139,139,233,68,139,187,233,137,139,233,68,137,252,251,41,203,15,
165 132,244,252,141,4,26,193,252,235,3,59,133,233,15,135,244,255,137,213,72,41,
166 205,248,5,72,139,1,72,137,4,41,131,193,8,68,57,252,249,15,133,244,5,248,6,
167 141,67,2,199,66,252,252,237,248,7,139,92,36,28,137,68,36,4,72,199,193,252,
168 248,252,255,252,255,252,255,252,247,195,237,255,15,132,244,13,252,233,244,
169 14,248,8,199,66,252,252,237,139,139,233,131,252,233,8,137,139,233,72,139,
170 1,72,137,2,184,237,252,233,244,7,248,9,139,12,36,68,137,185,233,137,222,137,
171 252,239,232,251,1,0,139,28,36,139,149,233,252,233,244,4,248,84,139,106,252,
172 248,139,173,233,139,90,252,252,137,92,36,28,137,44,36,72,131,189,233,0,15,
173 133,244,61,255,128,189,233,235,15,135,244,61,139,141,233,15,132,244,247,59,
174 141,233,15,132,244,61,248,1,141,92,193,252,248,59,157,233,15,135,244,61,137,
175 157,233,139,108,36,24,137,149,233,137,149,233,141,108,194,252,240,72,41,221,
176 57,203,15,132,244,249,248,2,255,72,139,4,43,72,137,67,252,248,131,252,235,
177 8,57,203,15,133,244,2,248,3,137,206,139,60,36,232,244,25,65,199,134,233,237,
178 139,108,36,24,139,28,36,139,149,233,129,252,248,239,15,135,244,254,248,4,
179 139,139,233,68,139,187,233,137,139,233,68,137,252,251,41,203,15,132,244,252,
180 141,4,26,193,252,235,3,59,133,233,15,135,244,255,255,137,213,72,41,205,248,
181 5,72,139,1,72,137,4,41,131,193,8,68,57,252,249,15,133,244,5,248,6,141,67,
182 1,248,7,139,92,36,28,137,68,36,4,49,201,252,247,195,237,15,132,244,13,252,
183 233,244,14,248,8,137,222,137,252,239,232,251,1,16,248,9,139,12,36,68,137,
184 185,233,137,222,137,252,239,232,251,1,0,139,28,36,139,149,233,252,233,244,
185 4,248,85,139,108,36,24,72,252,247,133,233,237,15,132,244,61,255,137,149,233,
186 141,68,194,252,248,137,133,233,49,192,72,137,133,233,176,235,136,133,233,
187 252,233,244,16,255,248,69,255,248,71,139,90,252,252,221,90,252,248,252,233,
188 244,64,255,248,86,129,252,248,239,15,130,244,61,255,129,122,253,4,239,15,
189 133,244,248,139,42,131,252,253,0,15,137,244,69,252,247,221,15,136,244,247,
190 248,87,248,69,139,90,252,252,199,66,252,252,237,137,106,252,248,252,233,244,
191 64,248,1,139,90,252,252,199,66,252,252,0,0,224,65,199,66,252,248,0,0,0,0,
192 252,233,244,64,248,2,15,135,244,61,255,129,122,253,4,239,15,131,244,61,255,
193 252,242,15,16,2,72,184,237,237,102,72,15,110,200,15,84,193,248,70,139,90,
194 252,252,252,242,15,17,66,252,248,255,221,2,217,225,248,70,248,71,139,90,252,
195 252,221,90,252,248,255,248,64,184,237,248,76,137,68,36,4,248,62,252,247,195,
196 237,15,133,244,253,248,5,56,67,252,255,15,135,244,252,15,182,75,252,253,72,
197 252,247,209,141,20,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
198 252,255,36,252,238,248,6,199,68,194,252,244,237,131,192,1,252,233,244,5,248,
199 7,72,199,193,252,248,252,255,252,255,252,255,252,233,244,14,248,88,255,129,
200 122,253,4,239,15,133,244,247,139,42,252,233,244,69,248,1,15,135,244,61,255,
201 252,242,15,16,2,232,244,89,255,252,242,15,45,232,129,252,253,0,0,0,128,15,
202 133,244,69,252,242,15,42,205,102,15,46,193,15,138,244,70,15,132,244,69,255,
203 221,2,232,244,89,255,248,90,255,252,242,15,16,2,232,244,91,255,221,2,232,
204 244,91,255,248,92,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
205 244,61,252,242,15,81,2,252,233,244,70,255,248,92,129,252,248,239,15,130,244,
206 61,129,122,253,4,239,15,131,244,61,221,2,217,252,250,252,233,244,71,255,248,
207 93,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,217,252,
208 237,221,2,217,252,241,252,233,244,71,248,94,129,252,248,239,15,130,244,61,
209 129,122,253,4,239,15,131,244,61,217,252,236,221,2,217,252,241,252,233,244,
210 71,248,95,129,252,248,239,255,15,130,244,61,129,122,253,4,239,15,131,244,
211 61,221,2,232,244,96,252,233,244,71,248,97,129,252,248,239,15,130,244,61,129,
212 122,253,4,239,15,131,244,61,221,2,217,252,254,252,233,244,71,248,98,129,252,
213 248,239,255,15,130,244,61,129,122,253,4,239,15,131,244,61,221,2,217,252,255,
214 252,233,244,71,248,99,129,252,248,239,15,130,244,61,129,122,253,4,239,15,
215 131,244,61,221,2,217,252,242,221,216,252,233,244,71,248,100,129,252,248,239,
216 15,130,244,61,255,129,122,253,4,239,15,131,244,61,221,2,217,192,216,200,217,
217 232,222,225,217,252,250,217,252,243,252,233,244,71,248,101,129,252,248,239,
218 15,130,244,61,129,122,253,4,239,15,131,244,61,221,2,217,192,216,200,217,232,
219 222,225,217,252,250,217,201,217,252,243,252,233,244,71,248,102,129,252,248,
220 239,15,130,244,61,129,122,253,4,239,15,131,244,61,255,221,2,217,232,217,252,
221 243,252,233,244,71,255,248,103,129,252,248,239,15,130,244,61,129,122,253,
222 4,239,15,131,244,61,252,242,15,16,2,255,137,213,232,251,1,17,137,252,234,
223 252,233,244,70,255,248,104,129,252,248,239,15,130,244,61,129,122,253,4,239,
224 15,131,244,61,252,242,15,16,2,255,137,213,232,251,1,18,137,252,234,252,233,
225 244,70,255,248,105,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
226 244,61,252,242,15,16,2,255,137,213,232,251,1,19,137,252,234,252,233,244,70,
227 248,106,255,248,107,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
228 244,61,252,242,15,16,2,139,106,252,248,252,242,15,89,133,233,252,233,244,
229 70,255,248,107,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,
230 61,221,2,139,106,252,248,220,141,233,252,233,244,71,255,248,108,129,252,248,
231 239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,
232 244,61,221,2,221,66,8,217,252,243,252,233,244,71,248,109,129,252,248,239,
233 15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,255,15,131,
234 244,61,221,66,8,221,2,217,252,253,221,217,252,233,244,71,248,110,129,252,
235 248,239,15,130,244,61,139,106,4,129,252,253,239,15,131,244,61,139,90,252,
236 252,139,2,137,106,252,252,137,66,252,248,209,229,129,252,253,0,0,224,252,
237 255,15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,
238 32,0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,
239 137,44,36,219,4,36,255,139,106,252,252,129,229,252,255,252,255,15,128,129,
240 205,0,0,224,63,137,106,252,252,248,2,255,252,242,15,17,2,255,221,26,255,184,
241 237,252,233,244,76,248,3,255,15,87,192,252,233,244,2,255,217,252,238,252,
242 233,244,2,255,248,4,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,
243 252,242,15,89,193,252,242,15,17,66,252,248,255,221,2,199,4,36,0,0,128,90,
244 216,12,36,221,90,252,248,255,139,106,252,252,184,52,4,0,0,209,229,252,233,
245 244,1,255,248,111,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
246 244,61,252,242,15,16,2,255,248,111,129,252,248,239,15,130,244,61,129,122,
247 253,4,239,15,131,244,61,221,2,255,139,106,4,139,90,252,252,209,229,129,252,
248 253,0,0,224,252,255,15,132,244,250,255,15,40,224,232,244,112,252,242,15,92,
249 224,248,1,252,242,15,17,66,252,248,252,242,15,17,34,255,217,192,232,244,112,
250 220,252,233,248,1,221,90,252,248,221,26,255,139,66,252,252,139,106,4,49,232,
251 15,136,244,249,248,2,184,237,252,233,244,76,248,3,129,252,245,0,0,0,128,137,
252 106,4,252,233,244,2,248,4,255,15,87,228,252,233,244,1,255,217,252,238,217,
253 201,252,233,244,1,255,248,113,129,252,248,239,15,130,244,61,129,122,253,4,
254 239,15,131,244,61,129,122,253,12,239,15,131,244,61,221,66,8,221,2,248,1,217,
255 252,248,223,224,158,15,138,244,1,221,217,252,233,244,71,255,248,114,129,252,
256 248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,
257 15,131,244,61,252,242,15,16,2,252,242,15,16,74,8,232,244,115,252,233,244,
258 70,255,248,114,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,
259 61,129,122,253,12,239,15,131,244,61,221,2,221,66,8,232,244,115,252,233,244,
260 71,255,248,116,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,
261 1,57,193,15,131,244,69,129,124,253,202,252,252,239,15,133,244,249,59,108,
262 202,252,248,15,79,108,202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,
263 61,255,252,233,244,252,248,4,15,135,244,61,255,252,242,15,16,2,248,5,57,193,
264 15,131,244,70,129,124,253,202,252,252,239,255,15,130,244,252,15,135,244,61,
265 252,242,15,42,76,202,252,248,252,233,244,253,255,248,6,252,242,15,16,76,202,
266 252,248,248,7,252,242,15,93,193,131,193,1,252,233,244,5,255,248,117,185,2,
267 0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,1,57,193,15,131,244,
268 69,129,124,253,202,252,252,239,15,133,244,249,59,108,202,252,248,15,76,108,
269 202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,61,255,248,6,252,242,
270 15,16,76,202,252,248,248,7,252,242,15,95,193,131,193,1,252,233,244,5,255,
271 248,9,221,216,252,233,244,61,255,248,118,129,252,248,239,15,130,244,61,129,
272 122,253,4,239,15,133,244,61,139,42,255,139,173,233,252,233,244,69,255,252,
273 242,15,42,133,233,252,233,244,70,255,219,133,233,252,233,244,71,255,248,119,
274 129,252,248,239,15,133,244,61,129,122,253,4,239,15,133,244,61,139,42,139,
275 90,252,252,131,189,233,1,15,130,244,79,15,182,173,233,255,252,242,15,42,197,
276 252,233,244,70,255,137,44,36,219,4,36,252,233,244,71,255,248,120,65,139,174,
277 233,65,59,174,233,15,130,244,247,232,244,73,248,1,129,252,248,239,15,133,
278 244,61,129,122,253,4,239,255,15,133,244,61,139,42,129,252,253,252,255,0,0,
279 0,15,135,244,61,137,108,36,4,255,15,131,244,61,252,242,15,44,42,129,252,253,
280 252,255,0,0,0,15,135,244,61,137,108,36,4,255,15,131,244,61,221,2,219,92,36,
281 4,129,124,36,4,252,255,0,0,0,15,135,244,61,255,199,68,36,8,1,0,0,0,72,141,
282 68,36,4,248,121,139,108,36,24,137,149,233,139,84,36,8,72,137,198,137,252,
283 239,137,92,36,28,232,251,1,20,139,149,233,139,90,252,252,199,66,252,252,237,
284 137,66,252,248,252,233,244,64,248,122,65,139,174,233,65,59,174,233,15,130,
285 244,247,232,244,73,248,1,199,68,36,4,252,255,252,255,252,255,252,255,129,
286 252,248,239,15,130,244,61,15,134,244,247,129,122,253,20,239,255,15,133,244,
287 61,139,106,16,137,108,36,4,255,15,131,244,61,252,242,15,44,106,16,137,108,
288 36,4,255,15,131,244,61,221,66,16,219,92,36,4,255,248,1,129,122,253,4,239,
289 15,133,244,61,129,122,253,12,239,255,139,42,137,108,36,8,139,173,233,255,
290 139,74,8,255,252,242,15,44,74,8,255,139,68,36,4,57,197,15,130,244,251,248,
291 2,133,201,15,142,244,253,248,3,139,108,36,8,41,200,15,140,244,123,141,172,
292 253,13,233,131,192,1,248,4,137,68,36,8,137,232,252,233,244,121,248,5,15,140,
293 244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248,7,255,15,
294 132,244,254,1,252,233,131,193,1,15,143,244,3,248,8,185,1,0,0,0,252,233,244,
295 3,248,123,49,192,252,233,244,4,248,124,129,252,248,239,15,130,244,61,65,139,
296 174,233,65,59,174,233,15,130,244,247,232,244,73,248,1,255,129,122,253,4,239,
297 15,133,244,61,129,122,253,12,239,139,42,255,15,133,244,61,139,66,8,255,15,
298 131,244,61,252,242,15,44,66,8,255,15,131,244,61,221,66,8,219,92,36,4,139,
299 68,36,4,255,133,192,15,142,244,123,131,189,233,1,15,130,244,123,15,133,244,
300 125,65,57,134,233,15,130,244,125,15,182,141,233,65,139,174,233,137,68,36,
301 8,248,1,136,77,0,131,197,1,131,232,1,15,133,244,1,65,139,134,233,252,233,
302 244,121,248,126,129,252,248,239,255,15,130,244,61,65,139,174,233,65,59,174,
303 233,15,130,244,247,232,244,73,248,1,129,122,253,4,239,15,133,244,61,139,42,
304 139,133,233,133,192,15,132,244,123,65,57,134,233,15,130,244,127,129,197,239,
305 137,92,36,4,137,68,36,8,65,139,158,233,248,1,255,15,182,77,0,131,197,1,131,
306 232,1,136,12,3,15,133,244,1,137,216,139,92,36,4,252,233,244,121,248,128,129,
307 252,248,239,15,130,244,61,65,139,174,233,65,59,174,233,15,130,244,247,232,
308 244,73,248,1,129,122,253,4,239,15,133,244,61,139,42,139,133,233,65,57,134,
309 233,255,15,130,244,127,129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,
310 252,233,244,249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,
311 249,90,15,135,244,248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,
312 244,1,137,216,139,92,36,4,252,233,244,121,248,129,129,252,248,239,15,130,
313 244,61,255,65,139,174,233,65,59,174,233,15,130,244,247,232,244,73,248,1,129,
314 122,253,4,239,15,133,244,61,139,42,139,133,233,65,57,134,233,15,130,244,127,
315 129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,252,233,244,249,248,1,
316 15,182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,
317 248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,139,
318 92,36,4,252,233,244,121,248,130,129,252,248,239,15,130,244,61,129,122,253,
319 4,239,15,133,244,61,137,213,139,58,232,251,1,21,137,252,234,255,137,197,252,
320 233,244,69,255,252,242,15,42,192,252,233,244,70,255,248,131,129,252,248,239,
321 15,130,244,61,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244,87,
322 248,1,15,135,244,61,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,
323 252,242,15,88,193,102,15,126,197,255,252,233,244,87,255,248,132,129,252,248,
324 239,15,130,244,61,255,72,189,237,237,102,72,15,110,205,255,199,4,36,0,0,192,
325 89,255,15,133,244,247,139,42,252,233,244,248,248,1,15,135,244,61,255,252,
326 242,15,16,2,252,242,15,88,193,102,15,126,197,255,248,2,137,68,36,4,141,68,
327 194,252,240,248,1,57,208,15,134,244,87,129,120,253,4,239,255,15,133,244,248,
328 35,40,131,232,8,252,233,244,1,248,2,15,135,244,133,255,15,131,244,133,255,
329 252,242,15,16,0,252,242,15,88,193,102,15,126,193,33,205,255,131,232,8,252,
330 233,244,1,248,134,129,252,248,239,15,130,244,61,255,15,133,244,248,11,40,
331 131,232,8,252,233,244,1,248,2,15,135,244,133,255,252,242,15,16,0,252,242,
332 15,88,193,102,15,126,193,9,205,255,131,232,8,252,233,244,1,248,135,129,252,
333 248,239,15,130,244,61,255,15,133,244,248,51,40,131,232,8,252,233,244,1,248,
334 2,15,135,244,133,255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,49,
335 205,255,131,232,8,252,233,244,1,248,136,129,252,248,239,15,130,244,61,129,
336 122,253,4,239,255,248,2,15,205,252,233,244,87,248,137,129,252,248,239,15,
337 130,244,61,129,122,253,4,239,255,248,2,252,247,213,255,248,87,252,242,15,
338 42,197,252,233,244,70,255,248,133,139,68,36,4,252,233,244,61,255,248,138,
339 129,252,248,239,15,130,244,61,129,122,253,4,239,255,248,2,129,122,253,12,
340 239,15,133,244,61,139,74,8,255,248,138,129,252,248,239,15,130,244,61,129,
341 122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,
342 2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
343 242,15,88,202,102,15,126,197,102,15,126,201,255,211,229,252,233,244,87,255,
344 248,139,129,252,248,239,15,130,244,61,129,122,253,4,239,255,248,139,129,252,
345 248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,
346 15,131,244,61,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,
347 110,213,252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,
348 255,211,252,237,252,233,244,87,255,248,140,129,252,248,239,15,130,244,61,
349 129,122,253,4,239,255,248,140,129,252,248,239,15,130,244,61,129,122,253,4,
350 239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,2,252,242,
351 15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,
352 88,202,102,15,126,197,102,15,126,201,255,211,252,253,252,233,244,87,255,248,
353 141,129,252,248,239,15,130,244,61,129,122,253,4,239,255,248,141,129,252,248,
354 239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,
355 244,61,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,
356 252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,255,211,
357 197,252,233,244,87,255,248,142,129,252,248,239,15,130,244,61,129,122,253,
358 4,239,255,248,142,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
359 244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,2,252,242,15,16,74,
360 8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102,
361 15,126,197,102,15,126,201,255,211,205,252,233,244,87,248,125,184,237,252,
362 233,244,61,248,127,184,237,248,61,139,108,36,24,139,90,252,252,137,92,36,
363 28,137,149,233,141,68,194,252,248,141,136,233,137,133,233,139,66,252,248,
364 59,141,233,15,135,244,251,137,252,239,252,255,144,233,139,149,233,133,192,
365 15,143,244,76,248,1,255,139,141,233,41,209,193,252,233,3,133,192,141,65,1,
366 139,106,252,248,15,133,244,32,139,157,233,139,11,15,182,252,233,15,182,205,
367 131,195,4,65,252,255,36,252,238,248,32,137,209,252,247,195,237,15,133,244,
368 249,15,182,107,252,253,72,252,247,213,141,20,252,234,252,233,244,28,248,3,
369 137,221,131,229,252,248,41,252,234,252,233,244,28,248,5,190,237,137,252,239,
370 232,251,1,0,139,149,233,49,192,252,233,244,1,248,73,93,72,137,108,36,8,139,
371 108,36,24,137,92,36,28,137,149,233,255,141,68,194,252,248,137,252,239,137,
372 133,233,232,251,1,22,139,149,233,139,133,233,41,208,193,232,3,131,192,1,72,
373 139,108,36,8,85,195,248,143,255,65,15,182,134,233,168,235,15,133,244,251,
374 168,235,15,133,244,247,168,235,15,132,244,247,65,252,255,142,233,252,233,
375 244,247,255,248,144,65,15,182,134,233,168,235,15,133,244,251,252,233,244,
376 247,248,145,65,15,182,134,233,168,235,15,133,244,251,168,235,15,132,244,251,
377 65,252,255,142,233,15,132,244,247,168,235,15,132,244,251,248,1,255,139,108,
378 36,24,137,149,233,137,222,137,252,239,232,251,1,23,248,3,139,149,233,248,
379 4,15,182,75,252,253,248,5,15,182,107,252,252,15,183,67,252,254,65,252,255,
380 164,253,252,238,233,248,146,131,195,4,139,77,232,137,76,36,4,252,233,244,
381 4,248,147,255,139,106,252,248,139,173,233,15,182,133,233,141,4,194,139,108,
382 36,24,137,149,233,137,133,233,137,222,65,141,190,233,73,137,174,233,137,92,
383 36,28,232,251,1,24,252,233,244,3,255,248,148,137,92,36,28,255,248,149,255,
384 137,92,36,28,131,203,1,248,1,255,141,68,194,252,248,139,108,36,24,137,149,
385 233,137,133,233,137,222,137,252,239,232,251,1,25,199,68,36,28,0,0,0,0,255,
386 131,227,252,254,255,139,149,233,72,137,193,139,133,233,41,208,72,137,205,
387 15,182,75,252,253,193,232,3,131,192,1,252,255,229,248,150,255,65,85,65,84,
388 65,83,65,82,65,81,65,80,87,86,85,72,141,108,36,88,85,83,82,81,80,15,182,69,
389 252,248,138,101,252,240,76,137,125,252,248,76,137,117,252,240,68,139,117,
390 0,65,139,142,233,65,199,134,233,237,65,137,134,233,65,137,142,233,72,129,
391 252,236,239,72,131,197,128,252,242,68,15,17,125,252,248,252,242,68,15,17,
392 117,252,240,252,242,68,15,17,109,232,252,242,68,15,17,101,224,252,242,68,
393 15,17,93,216,252,242,68,15,17,85,208,252,242,68,15,17,77,200,252,242,68,15,
394 17,69,192,252,242,15,17,125,184,252,242,15,17,117,176,252,242,15,17,109,168,
395 252,242,15,17,101,160,252,242,15,17,93,152,252,242,15,17,85,144,252,242,15,
396 17,77,136,252,242,15,17,69,128,65,139,174,233,65,139,150,233,73,137,174,233,
397 65,199,134,233,0,0,0,0,137,149,233,72,137,230,65,141,190,233,232,251,1,26,
398 72,139,141,233,72,129,225,239,72,137,204,137,169,233,139,149,233,139,153,
399 233,252,233,244,247,255,248,151,255,72,131,196,16,248,1,76,139,108,36,8,76,
400 139,36,36,133,192,15,136,244,249,137,68,36,4,68,139,122,252,248,69,139,191,
401 233,69,139,191,233,65,199,134,233,0,0,0,0,65,199,134,233,237,139,3,15,182,
402 204,15,182,232,131,195,4,193,232,16,129,252,253,239,15,130,244,248,139,68,
403 36,4,248,2,65,252,255,36,252,238,248,3,252,247,216,137,252,239,137,198,232,
404 251,1,1,255,248,89,255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,
405 4,102,37,252,255,252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,
406 36,4,139,68,36,8,195,255,248,152,72,184,237,237,102,72,15,110,208,72,184,
407 237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,
408 247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,
409 237,237,102,72,15,110,208,252,242,15,194,193,1,102,15,84,194,252,242,15,92,
410 200,15,40,193,248,1,195,248,91,255,217,124,36,4,137,68,36,8,102,184,0,8,102,
411 11,68,36,4,102,37,252,255,252,251,102,137,68,36,6,217,108,36,6,217,252,252,
412 217,108,36,4,139,68,36,8,195,255,248,153,72,184,237,237,102,72,15,110,208,
413 72,184,237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,
414 134,244,247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,
415 72,184,237,237,102,72,15,110,208,252,242,15,194,193,6,102,15,84,194,252,242,
416 15,92,200,15,40,193,248,1,195,248,112,255,217,124,36,4,137,68,36,8,102,184,
417 0,12,102,11,68,36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,
418 139,68,36,8,195,255,248,154,72,184,237,237,102,72,15,110,208,72,184,237,237,
419 102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,
420 15,85,208,15,40,193,252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,
421 72,15,110,216,252,242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,
422 86,202,15,40,193,248,1,195,248,155,255,15,40,232,252,242,15,94,193,72,184,
423 237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,
424 15,84,226,102,15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,
425 242,15,92,227,102,15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,
426 196,1,102,15,84,194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,
427 15,92,193,195,248,1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,
428 217,193,216,252,241,217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,
429 252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,
430 252,233,195,255,248,96,217,252,234,222,201,248,156,217,84,36,252,248,129,
431 124,36,252,248,0,0,128,127,15,132,244,247,129,124,36,252,248,0,0,128,252,
432 255,15,132,244,248,248,157,217,192,217,252,252,220,252,233,217,201,217,252,
433 240,217,232,222,193,217,252,253,221,217,248,1,195,248,2,221,216,217,252,238,
434 195,255,248,115,255,248,158,252,242,15,45,193,252,242,15,42,208,102,15,46,
435 202,15,133,244,254,15,138,244,255,248,159,131,252,248,1,15,142,244,252,248,
436 1,169,1,0,0,0,15,133,244,248,252,242,15,89,192,209,232,252,233,244,1,248,
437 2,209,232,15,132,244,251,15,40,200,248,3,252,242,15,89,192,209,232,15,132,
438 244,250,15,131,244,3,255,252,242,15,89,200,252,233,244,3,248,4,252,242,15,
439 89,193,248,5,195,248,6,15,132,244,5,15,130,244,253,252,247,216,232,244,1,
440 72,184,237,237,102,72,15,110,200,252,242,15,94,200,15,40,193,195,248,7,72,
441 184,237,237,102,72,15,110,192,195,248,8,102,72,15,126,200,72,209,224,72,193,
442 192,12,72,61,252,254,15,0,0,15,132,244,248,102,72,15,126,192,72,209,224,15,
443 132,244,250,255,72,193,192,12,72,61,252,254,15,0,0,15,132,244,251,252,242,
444 15,17,76,36,252,240,252,242,15,17,68,36,252,248,221,68,36,252,240,221,68,
445 36,252,248,217,252,241,217,192,217,252,252,220,252,233,217,201,217,252,240,
446 217,232,222,193,217,252,253,221,217,221,92,36,252,248,252,242,15,16,68,36,
447 252,248,195,248,9,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,
448 247,15,40,193,248,1,195,248,2,72,184,237,237,102,72,15,110,208,102,15,84,
449 194,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,1,102,15,80,
450 193,15,87,192,136,196,15,146,208,48,224,15,133,244,1,248,3,72,184,237,237,
451 255,102,72,15,110,192,195,248,4,102,15,80,193,133,192,15,133,244,3,15,87,
452 192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,192,195,248,160,255,
453 131,252,255,1,15,130,244,89,15,132,244,91,131,252,255,3,15,130,244,112,15,
454 135,244,248,252,242,15,81,192,195,248,2,252,242,15,17,68,36,252,248,221,68,
455 36,252,248,131,252,255,5,15,135,244,248,15,132,244,247,232,244,96,252,233,
456 244,253,248,1,232,244,156,255,252,233,244,253,248,2,131,252,255,7,15,132,
457 244,247,15,135,244,248,217,252,237,217,201,217,252,241,252,233,244,253,248,
458 1,217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,255,9,15,132,
459 244,247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,244,253,248,
460 1,255,217,252,254,252,233,244,253,248,2,131,252,255,11,15,132,244,247,15,
461 135,244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,216,248,7,221,
462 92,36,252,248,252,242,15,16,68,36,252,248,195,255,139,124,36,12,221,68,36,
463 4,131,252,255,1,15,130,244,89,15,132,244,91,131,252,255,3,15,130,244,112,
464 15,135,244,248,217,252,250,195,248,2,131,252,255,5,15,130,244,96,15,132,244,
465 156,131,252,255,7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,
466 241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,255,9,15,132,
467 244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,1,217,
468 252,254,195,248,2,131,252,255,11,15,132,244,247,15,135,244,255,217,252,255,
469 195,248,1,217,252,242,221,216,195,255,248,9,204,255,248,161,255,131,252,255,
470 1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15,92,
471 193,195,248,2,131,252,255,3,15,132,244,247,15,135,244,248,252,242,15,89,193,
472 195,248,1,252,242,15,94,193,195,248,2,131,252,255,5,15,130,244,155,15,132,
473 244,115,131,252,255,7,15,132,244,247,15,135,244,248,72,184,237,237,255,102,
474 72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,110,200,15,84,
475 193,195,248,2,131,252,255,9,15,135,244,248,252,242,15,17,68,36,252,248,252,
476 242,15,17,76,36,252,240,221,68,36,252,248,221,68,36,252,240,15,132,244,247,
477 217,252,243,248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,248,1,
478 217,201,217,252,253,221,217,252,233,244,7,248,2,131,252,255,11,15,132,244,
479 247,15,135,244,255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,
480 9,204,255,139,68,36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,
481 247,15,135,244,248,222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,
482 15,132,244,247,15,135,244,248,222,201,195,248,1,222,252,249,195,248,2,131,
483 252,248,5,15,130,244,155,15,132,244,115,131,252,248,7,15,132,244,247,15,135,
484 244,248,255,221,216,217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,
485 9,15,132,244,247,15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,
486 221,217,195,248,2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,
487 233,219,209,221,217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,
488 223,224,252,246,196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,
489 225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,
490 162,137,252,248,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,195,248,163,
491 255,85,72,137,229,83,72,137,252,251,139,131,233,72,41,196,255,15,182,139,
492 233,131,252,233,1,15,136,244,248,248,1,72,139,132,253,203,233,72,137,132,
493 253,204,233,131,252,233,1,15,137,244,1,248,2,15,182,131,233,72,139,187,233,
494 72,139,179,233,72,139,147,233,72,139,139,233,76,139,131,233,76,139,139,233,
495 133,192,15,132,244,251,15,40,131,233,15,40,139,233,255,15,40,147,233,15,40,
496 155,233,131,252,248,4,15,134,244,251,15,40,163,233,15,40,171,233,15,40,179,
497 233,15,40,187,233,248,5,252,255,147,233,72,137,131,233,15,41,131,233,72,137,
498 147,233,15,41,139,233,255,72,139,93,252,248,201,195,255,248,164,255,249,255,
499 129,124,253,202,4,239,15,133,244,253,129,124,253,194,4,239,15,133,244,254,
500 139,44,202,131,195,4,59,44,194,255,15,141,244,255,255,15,140,244,255,255,
501 15,143,244,255,255,15,142,244,255,255,248,6,15,183,67,252,254,141,156,253,
502 131,233,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,
503 36,252,238,248,7,15,135,244,43,129,124,253,194,4,239,15,130,244,247,15,133,
504 244,43,255,252,242,15,42,4,194,252,233,244,248,255,221,4,202,219,4,194,252,
505 233,244,249,255,248,8,15,135,244,43,255,252,242,15,42,12,202,252,242,15,16,
506 4,194,131,195,4,102,15,46,193,255,15,134,244,9,255,15,135,244,9,255,15,130,
507 244,9,255,15,131,244,9,255,252,233,244,6,255,219,4,202,252,233,244,248,255,
508 129,124,253,202,4,239,15,131,244,43,129,124,253,194,4,239,15,131,244,43,255,
509 248,1,252,242,15,16,4,194,248,2,131,195,4,102,15,46,4,202,248,3,255,248,1,
510 221,4,202,248,2,221,4,194,248,3,131,195,4,255,223,252,233,221,216,255,218,
511 252,233,223,224,158,255,15,134,244,247,255,15,135,244,247,255,15,130,244,
512 247,255,15,131,244,247,255,15,183,67,252,254,141,156,253,131,233,248,1,139,
513 3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,
514 108,194,4,131,195,4,255,129,252,253,239,15,133,244,253,129,124,253,202,4,
515 239,15,133,244,254,139,44,194,59,44,202,255,15,133,244,255,255,15,132,244,
516 255,255,15,183,67,252,254,141,156,253,131,233,248,9,139,3,15,182,204,15,182,
517 232,131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,135,244,251,129,124,
518 253,202,4,239,15,130,244,247,15,133,244,251,255,252,242,15,42,4,202,255,219,
519 4,202,255,252,233,244,248,248,8,15,135,244,251,255,252,242,15,42,4,194,102,
520 15,46,4,202,255,219,4,194,221,4,202,255,252,233,244,250,255,129,252,253,239,
521 15,131,244,251,129,124,253,202,4,239,15,131,244,251,255,248,1,252,242,15,
522 16,4,202,248,2,102,15,46,4,194,248,4,255,248,1,221,4,202,248,2,221,4,194,
523 248,4,255,15,138,244,248,15,133,244,248,255,15,138,244,248,15,132,244,247,
524 255,248,1,15,183,67,252,254,141,156,253,131,233,248,2,255,248,2,15,183,67,
525 252,254,141,156,253,131,233,248,1,255,252,233,244,9,255,248,5,255,129,252,
526 253,239,15,132,244,48,129,124,253,202,4,239,15,132,244,48,255,57,108,202,
527 4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,57,193,15,
528 132,244,1,129,252,253,239,15,135,244,2,139,169,233,133,252,237,15,132,244,
529 2,252,246,133,233,235,15,133,244,2,255,49,252,237,255,189,1,0,0,0,255,252,
530 233,244,47,255,248,3,129,252,253,239,255,15,133,244,9,255,252,233,244,48,
531 255,72,252,247,208,139,108,202,4,131,195,4,129,252,253,239,15,133,244,249,
532 139,12,202,65,59,12,135,255,139,108,202,4,131,195,4,255,129,252,253,239,15,
533 133,244,253,65,129,124,253,199,4,239,15,133,244,254,65,139,44,199,59,44,202,
534 255,15,183,67,252,254,141,156,253,131,233,248,9,139,3,15,182,204,15,182,232,
535 131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,135,244,249,65,129,124,
536 253,199,4,239,15,130,244,247,255,252,242,65,15,42,4,199,255,65,219,4,199,
537 255,252,233,244,248,248,8,255,252,242,15,42,4,202,102,65,15,46,4,199,255,
538 219,4,202,65,221,4,199,255,129,252,253,239,15,131,244,249,255,248,1,252,242,
539 65,15,16,4,199,248,2,102,15,46,4,202,248,4,255,248,1,65,221,4,199,248,2,221,
540 4,202,248,4,255,72,252,247,208,139,108,202,4,131,195,4,57,197,255,15,133,
541 244,249,15,183,67,252,254,141,156,253,131,233,248,2,139,3,15,182,204,15,182,
542 232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,129,252,253,239,15,133,
543 244,2,252,233,244,48,255,15,132,244,248,129,252,253,239,15,132,244,48,15,
544 183,67,252,254,141,156,253,131,233,248,2,139,3,15,182,204,15,182,232,131,
545 195,4,193,232,16,65,252,255,36,252,238,255,139,108,194,4,131,195,4,129,252,
546 253,239,255,137,108,202,4,139,44,194,137,44,202,255,72,139,44,194,72,137,
547 44,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
548 238,255,49,252,237,129,124,253,194,4,239,129,213,239,137,108,202,4,139,3,
549 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,129,
550 124,253,194,4,239,15,133,244,251,139,44,194,252,247,221,15,128,244,250,199,
551 68,202,4,237,137,44,202,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,
552 16,65,252,255,36,252,238,248,4,199,68,202,4,0,0,224,65,199,4,202,0,0,0,0,
553 252,233,244,9,248,5,15,135,244,53,255,129,124,253,194,4,239,15,131,244,53,
554 255,252,242,15,16,4,194,72,184,237,237,102,72,15,110,200,15,87,193,252,242,
555 15,17,4,202,255,221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,
556 133,244,248,139,4,194,255,139,128,233,248,1,199,68,202,4,237,137,4,202,255,
557 15,87,192,252,242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,128,233,
558 248,1,221,28,202,255,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
559 252,255,36,252,238,248,2,129,124,253,194,4,239,15,133,244,56,139,60,194,137,
560 213,232,251,1,21,255,252,242,15,42,192,255,137,252,234,15,182,75,252,253,
561 252,233,244,1,255,15,182,252,236,15,182,192,255,129,124,253,252,234,4,239,
562 15,133,244,50,65,129,124,253,199,4,239,15,133,244,50,139,44,252,234,65,3,
563 44,199,15,128,244,49,255,129,124,253,252,234,4,239,15,133,244,52,65,129,124,
564 253,199,4,239,15,133,244,52,65,139,4,199,3,4,252,234,15,128,244,51,255,129,
565 124,253,252,234,4,239,15,133,244,55,129,124,253,194,4,239,15,133,244,55,139,
566 44,252,234,3,44,194,15,128,244,54,255,199,68,202,4,237,255,129,124,253,252,
567 234,4,239,15,131,244,50,255,65,129,124,253,199,4,239,15,131,244,50,255,252,
568 242,15,16,4,252,234,252,242,65,15,88,4,199,255,221,4,252,234,65,220,4,199,
569 255,129,124,253,252,234,4,239,15,131,244,52,255,65,129,124,253,199,4,239,
570 15,131,244,52,255,252,242,65,15,16,4,199,252,242,15,88,4,252,234,255,65,221,
571 4,199,220,4,252,234,255,129,124,253,252,234,4,239,15,131,244,55,129,124,253,
572 194,4,239,15,131,244,55,255,252,242,15,16,4,252,234,252,242,15,88,4,194,255,
573 221,4,252,234,220,4,194,255,129,124,253,252,234,4,239,15,133,244,50,65,129,
574 124,253,199,4,239,15,133,244,50,139,44,252,234,65,43,44,199,15,128,244,49,
575 255,129,124,253,252,234,4,239,15,133,244,52,65,129,124,253,199,4,239,15,133,
576 244,52,65,139,4,199,43,4,252,234,15,128,244,51,255,129,124,253,252,234,4,
577 239,15,133,244,55,129,124,253,194,4,239,15,133,244,55,139,44,252,234,43,44,
578 194,15,128,244,54,255,252,242,15,16,4,252,234,252,242,65,15,92,4,199,255,
579 221,4,252,234,65,220,36,199,255,252,242,65,15,16,4,199,252,242,15,92,4,252,
580 234,255,65,221,4,199,220,36,252,234,255,252,242,15,16,4,252,234,252,242,15,
581 92,4,194,255,221,4,252,234,220,36,194,255,129,124,253,252,234,4,239,15,133,
582 244,50,65,129,124,253,199,4,239,15,133,244,50,139,44,252,234,65,15,175,44,
583 199,15,128,244,49,255,129,124,253,252,234,4,239,15,133,244,52,65,129,124,
584 253,199,4,239,15,133,244,52,65,139,4,199,15,175,4,252,234,15,128,244,51,255,
585 129,124,253,252,234,4,239,15,133,244,55,129,124,253,194,4,239,15,133,244,
586 55,139,44,252,234,15,175,44,194,15,128,244,54,255,252,242,15,16,4,252,234,
587 252,242,65,15,89,4,199,255,221,4,252,234,65,220,12,199,255,252,242,65,15,
588 16,4,199,252,242,15,89,4,252,234,255,65,221,4,199,220,12,252,234,255,252,
589 242,15,16,4,252,234,252,242,15,89,4,194,255,221,4,252,234,220,12,194,255,
590 252,242,15,16,4,252,234,252,242,65,15,94,4,199,255,221,4,252,234,65,220,52,
591 199,255,252,242,65,15,16,4,199,252,242,15,94,4,252,234,255,65,221,4,199,220,
592 52,252,234,255,252,242,15,16,4,252,234,252,242,15,94,4,194,255,221,4,252,
593 234,220,52,194,255,252,242,15,16,4,252,234,252,242,65,15,16,12,199,255,221,
594 4,252,234,65,221,4,199,255,252,242,65,15,16,4,199,252,242,15,16,12,252,234,
595 255,65,221,4,199,221,4,252,234,255,252,242,15,16,4,252,234,252,242,15,16,
596 12,194,255,221,4,252,234,221,4,194,255,248,165,232,244,155,255,252,233,244,
597 165,255,232,244,115,255,15,182,252,236,15,182,192,139,124,36,24,137,151,233,
598 141,52,194,137,194,41,252,234,248,35,137,252,253,137,92,36,28,232,251,1,27,
599 139,149,233,133,192,15,133,244,44,15,182,107,252,255,15,182,75,252,253,72,
600 139,4,252,234,72,137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,
601 16,65,252,255,36,252,238,255,72,252,247,208,65,139,4,135,199,68,202,4,237,
602 137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
603 252,238,255,15,191,192,199,68,202,4,237,137,4,202,255,15,191,192,252,242,
604 15,42,192,252,242,15,17,4,202,255,223,67,252,254,221,28,202,255,252,242,65,
605 15,16,4,199,252,242,15,17,4,202,255,65,221,4,199,221,28,202,255,72,252,247,
606 208,137,68,202,4,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,
607 255,36,252,238,255,141,76,202,12,141,68,194,4,189,237,137,105,252,248,248,
608 1,137,41,131,193,8,57,193,15,134,244,1,139,3,15,182,204,15,182,232,131,195,
609 4,193,232,16,65,252,255,36,252,238,255,139,106,252,248,139,172,253,133,233,
610 139,173,233,72,139,69,0,72,137,4,202,139,3,15,182,204,15,182,232,131,195,
611 4,193,232,16,65,252,255,36,252,238,255,139,106,252,248,139,172,253,141,233,
612 128,189,233,0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,69,4,15,132,
613 244,247,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,204,15,182,
614 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,129,232,239,129,252,
615 248,239,15,134,244,1,252,246,129,233,235,15,132,244,1,137,252,238,137,213,
616 65,141,190,233,255,232,251,1,28,137,252,234,252,233,244,1,255,72,252,247,
617 208,139,106,252,248,139,172,253,141,233,65,139,12,135,139,133,233,137,8,199,
618 64,4,237,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,204,15,182,
619 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,252,246,129,233,235,
620 15,132,244,1,128,189,233,0,15,132,244,1,137,213,137,198,65,141,190,233,232,
621 251,1,28,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,65,15,
622 16,4,199,255,139,172,253,141,233,139,141,233,255,252,242,15,17,1,255,221,
623 25,255,72,252,247,208,139,106,252,248,139,172,253,141,233,139,141,233,137,
624 65,4,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
625 255,141,156,253,131,233,139,108,36,24,131,189,233,0,15,132,244,247,137,149,
626 233,141,52,202,137,252,239,232,251,1,29,139,149,233,248,1,139,3,15,182,204,
627 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,72,252,247,208,
628 139,108,36,24,137,149,233,139,82,252,248,65,139,52,135,137,252,239,137,92,
629 36,28,232,251,1,30,139,149,233,15,182,75,252,253,137,4,202,199,68,202,4,237,
630 139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,
631 139,108,36,24,137,149,233,65,139,142,233,65,59,142,233,137,92,36,28,15,131,
632 244,251,248,1,137,194,37,252,255,7,0,0,193,252,234,11,61,252,255,7,0,0,15,
633 132,244,249,248,2,137,252,239,137,198,232,251,1,31,139,149,233,15,182,75,
634 252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,195,4,
635 193,232,16,65,252,255,36,252,238,248,3,184,1,8,0,0,252,233,244,2,248,5,137,
636 252,239,232,251,1,32,15,183,67,252,254,252,233,244,1,255,72,252,247,208,139,
637 108,36,24,65,139,142,233,137,92,36,28,65,59,142,233,137,149,233,15,131,244,
638 249,248,2,65,139,52,135,137,252,239,232,251,1,33,139,149,233,15,182,75,252,
639 253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,195,4,193,
640 232,16,65,252,255,36,252,238,248,3,137,252,239,232,251,1,32,15,183,67,252,
641 254,72,252,247,208,252,233,244,2,255,72,252,247,208,139,106,252,248,139,173,
642 233,65,139,4,135,252,233,244,166,255,72,252,247,208,139,106,252,248,139,173,
643 233,65,139,4,135,252,233,244,167,255,15,182,252,236,15,182,192,129,124,253,
644 252,234,4,239,15,133,244,38,139,44,252,234,255,129,124,253,194,4,239,15,133,
645 244,251,139,4,194,255,129,124,253,194,4,239,15,131,244,251,255,252,242,15,
646 16,4,194,252,242,15,45,192,252,242,15,42,200,102,15,46,193,255,15,133,244,
647 38,255,59,133,233,15,131,244,38,193,224,3,3,133,233,129,120,253,4,239,15,
648 132,244,248,72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,232,131,
649 195,4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,244,249,
650 139,141,233,252,246,129,233,235,15,132,244,38,15,182,75,252,253,248,3,199,
651 68,202,4,237,252,233,244,1,248,5,255,129,124,253,194,4,239,15,133,244,38,
652 139,4,194,252,233,244,166,255,15,182,252,236,15,182,192,72,252,247,208,65,
653 139,4,135,129,124,253,252,234,4,239,15,133,244,36,139,44,252,234,248,166,
654 139,141,233,35,136,233,105,201,239,3,141,233,248,1,129,185,233,239,15,133,
655 244,250,57,129,233,15,133,244,250,129,121,253,4,239,15,132,244,251,15,182,
656 67,252,253,72,139,41,72,137,44,194,248,2,255,139,3,15,182,204,15,182,232,
657 131,195,4,193,232,16,65,252,255,36,252,238,248,3,15,182,67,252,253,199,68,
658 194,4,237,252,233,244,2,248,4,139,137,233,133,201,15,133,244,1,248,5,139,
659 141,233,133,201,15,132,244,3,252,246,129,233,235,15,133,244,3,252,233,244,
660 36,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,37,
661 139,44,252,234,59,133,233,15,131,244,37,193,224,3,3,133,233,129,120,253,4,
662 239,15,132,244,248,72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,
663 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,
664 244,249,139,141,233,252,246,129,233,235,15,132,244,37,255,15,182,75,252,253,
665 248,3,199,68,202,4,237,252,233,244,1,255,15,182,252,236,15,182,192,129,124,
666 253,252,234,4,239,15,133,244,41,139,44,252,234,255,15,133,244,41,255,59,133,
667 233,15,131,244,41,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,
668 1,252,246,133,233,235,15,133,244,253,248,2,72,139,44,202,72,137,40,139,3,
669 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,131,
670 189,233,0,15,132,244,1,139,141,233,252,246,129,233,235,255,15,132,244,41,
671 15,182,75,252,253,252,233,244,1,248,5,129,124,253,194,4,239,15,133,244,41,
672 139,4,194,252,233,244,167,248,7,128,165,233,235,65,139,142,233,65,137,174,
673 233,137,141,233,15,182,75,252,253,252,233,244,2,255,15,182,252,236,15,182,
674 192,72,252,247,208,65,139,4,135,129,124,253,252,234,4,239,15,133,244,39,139,
675 44,252,234,248,167,139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,
676 233,248,1,129,185,233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,
677 253,4,239,15,132,244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,
678 3,15,182,67,252,253,72,139,44,194,72,137,41,139,3,15,182,204,15,182,232,131,
679 195,4,193,232,16,65,252,255,36,252,238,248,4,131,189,233,0,15,132,244,2,137,
680 12,36,139,141,233,252,246,129,233,235,15,132,244,39,139,12,36,252,233,244,
681 2,248,5,139,137,233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244,
682 252,252,246,129,233,235,15,132,244,39,248,6,137,4,36,199,68,36,4,237,137,
683 108,36,8,139,124,36,24,137,151,233,72,141,20,36,137,252,238,137,252,253,137,
684 92,36,28,232,251,1,34,139,149,233,139,108,36,8,137,193,252,233,244,2,248,
685 7,128,165,233,235,65,139,134,233,65,137,174,233,137,133,233,252,233,244,3,
686 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,40,139,
687 44,252,234,59,133,233,15,131,244,40,193,224,3,3,133,233,129,120,253,4,239,
688 15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,2,72,139,12,202,
689 72,137,8,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
690 238,248,3,131,189,233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,
691 15,132,244,40,15,182,75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,
692 142,233,65,137,174,233,137,141,233,15,182,75,252,253,252,233,244,2,255,68,
693 137,60,36,69,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,
694 235,15,133,244,253,248,2,139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,
695 59,133,233,15,135,244,251,68,41,252,248,65,193,231,3,68,3,189,233,248,3,72,
696 139,41,131,193,8,73,137,47,65,131,199,8,131,232,1,15,133,244,3,248,4,68,139,
697 60,36,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
698 238,248,5,139,124,36,24,137,151,233,137,252,238,137,194,137,252,253,137,92,
699 36,28,232,251,1,35,139,149,233,15,182,75,252,253,252,233,244,1,248,7,255,
700 128,165,233,235,65,139,134,233,65,137,174,233,137,133,233,252,233,244,2,255,
701 3,68,36,4,255,129,124,253,202,4,239,139,44,202,15,133,244,57,141,84,202,8,
702 137,90,252,252,139,157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,
703 252,255,36,252,238,255,141,76,202,8,65,137,215,139,105,252,248,129,121,253,
704 252,252,239,15,133,244,29,248,58,139,90,252,252,252,247,195,237,15,133,244,
705 253,248,1,137,106,252,248,137,68,36,4,131,232,1,15,132,244,249,248,2,72,139,
706 41,131,193,8,73,137,47,65,131,199,8,131,232,1,15,133,244,2,139,106,252,248,
707 248,3,139,68,36,4,128,189,233,1,15,135,244,251,248,4,139,157,233,139,11,15,
708 182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,248,5,255,252,247,
709 195,237,15,133,244,4,15,182,75,252,253,72,252,247,209,141,12,202,68,139,121,
710 252,248,69,139,191,233,69,139,191,233,252,233,244,4,248,7,129,252,235,239,
711 252,247,195,237,15,133,244,254,41,218,65,137,215,139,90,252,252,252,233,244,
712 1,248,8,129,195,239,252,233,244,1,255,141,76,202,8,72,139,105,232,72,139,
713 65,252,240,72,137,41,72,137,65,8,139,105,224,139,65,228,137,105,252,248,137,
714 65,252,252,129,252,248,239,184,237,15,133,244,29,137,202,137,90,252,252,139,
715 157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,
716 255,68,137,60,36,68,137,116,36,4,139,108,202,252,240,139,68,202,252,248,68,
717 139,181,233,131,195,4,68,139,189,233,248,1,68,57,252,240,15,131,244,251,65,
718 129,124,253,199,4,239,15,132,244,250,255,219,68,202,252,248,255,73,139,44,
719 199,72,137,108,202,8,131,192,1,255,137,68,202,252,248,248,2,15,183,67,252,
720 254,141,156,253,131,233,248,3,68,139,116,36,4,68,139,60,36,139,3,15,182,204,
721 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,4,131,192,1,255,
722 137,68,202,252,248,255,252,233,244,1,248,5,68,41,252,240,248,6,59,133,233,
723 15,135,244,3,68,105,252,248,239,68,3,189,233,65,129,191,233,239,15,132,244,
724 253,70,141,116,48,1,73,139,175,233,73,139,135,233,72,137,44,202,72,137,68,
725 202,8,68,137,116,202,252,248,252,233,244,2,248,7,131,192,1,252,233,244,6,
726 255,129,124,253,202,252,236,239,15,133,244,251,139,108,202,232,129,124,253,
727 202,252,244,239,15,133,244,251,129,124,253,202,252,252,239,15,133,244,251,
728 128,189,233,235,15,133,244,251,141,156,253,131,233,199,68,202,252,248,0,0,
729 0,0,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
730 252,238,248,5,198,67,252,252,235,141,156,253,131,233,198,3,235,252,233,244,
731 1,255,15,182,252,236,15,182,192,68,137,60,36,68,141,188,253,194,233,141,12,
732 202,68,43,122,252,252,133,252,237,15,132,244,251,141,108,252,233,252,248,
733 65,57,215,15,131,244,248,248,1,73,139,71,252,248,65,131,199,8,72,137,1,131,
734 193,8,57,252,233,15,131,244,249,65,57,215,15,130,244,1,248,2,199,65,4,237,
735 131,193,8,57,252,233,15,130,244,2,248,3,68,139,60,36,139,3,15,182,204,15,
736 182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,5,199,68,36,4,1,0,
737 0,0,137,208,68,41,252,248,15,134,244,3,137,197,193,252,237,3,131,197,1,137,
738 108,36,4,139,108,36,24,1,200,59,133,233,15,135,244,253,248,6,255,73,139,71,
739 252,248,65,131,199,8,72,137,1,131,193,8,65,57,215,15,130,244,6,252,233,244,
740 3,248,7,137,149,233,137,141,233,137,92,36,28,65,41,215,139,116,36,4,131,252,
741 238,1,137,252,239,232,251,1,0,139,149,233,139,141,233,65,1,215,252,233,244,
742 6,255,193,225,3,255,248,1,139,90,252,252,137,68,36,4,252,247,195,237,15,133,
743 244,253,255,248,13,65,137,215,131,232,1,15,132,244,249,248,2,73,139,44,15,
744 73,137,111,252,248,65,131,199,8,131,232,1,15,133,244,2,248,3,139,68,36,4,
745 15,182,107,252,255,248,5,57,197,15,135,244,252,255,72,139,44,10,72,137,106,
746 252,248,255,248,5,56,67,252,255,15,135,244,252,255,15,182,75,252,253,72,252,
747 247,209,141,20,202,68,139,122,252,248,69,139,191,233,69,139,191,233,139,3,
748 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,6,255,
749 65,199,71,252,252,237,65,131,199,8,255,199,68,194,252,244,237,255,131,192,
750 1,252,233,244,5,248,7,141,171,233,252,247,197,237,15,133,244,14,41,252,234,
751 255,1,252,233,255,137,221,209,252,237,129,229,239,102,65,131,172,253,46,233,
752 1,15,132,244,147,255,141,12,202,255,129,121,253,4,239,15,133,244,255,255,
753 129,121,253,12,239,15,133,244,59,129,121,253,20,239,15,133,244,59,139,41,
754 131,121,16,0,15,140,244,251,255,129,121,253,12,239,15,133,244,164,129,121,
755 253,20,239,15,133,244,164,255,139,105,16,133,252,237,15,136,244,251,3,41,
756 15,128,244,247,137,41,255,59,105,8,199,65,28,237,137,105,24,255,15,142,244,
757 253,248,1,248,6,141,156,253,131,233,255,141,156,253,131,233,15,183,67,252,
758 254,15,142,245,248,1,248,6,255,15,143,244,253,248,6,141,156,253,131,233,248,
759 1,255,248,7,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
760 252,238,248,5,255,3,41,15,128,244,1,137,41,255,15,141,244,7,255,141,156,253,
761 131,233,15,183,67,252,254,15,141,245,255,15,140,244,7,255,252,233,244,6,248,
762 9,255,129,121,253,4,239,255,15,131,244,59,129,121,253,12,239,15,131,244,59,
763 255,129,121,253,12,239,15,131,244,164,129,121,253,20,239,15,131,244,164,255,
764 139,105,20,255,129,252,253,239,15,131,244,59,255,252,242,15,16,1,252,242,
765 15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,237,15,136,244,
766 249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15,17,65,24,255,221,
767 65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15,136,244,247,255,
768 221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,67,252,254,255,15,131,
769 244,7,255,15,131,244,248,141,156,253,131,233,255,141,156,253,131,233,15,183,
770 67,252,254,15,131,245,255,15,130,244,7,255,15,130,244,248,141,156,253,131,
771 233,255,248,3,102,15,46,193,252,233,244,1,255,141,12,202,139,105,4,129,252,
772 253,239,15,132,244,247,255,137,105,252,252,139,41,137,105,252,248,252,233,
773 245,255,141,156,253,131,233,139,1,137,105,252,252,137,65,252,248,255,65,139,
774 142,233,139,4,129,72,139,128,233,139,108,36,24,65,137,150,233,65,137,174,
775 233,76,137,36,36,76,137,108,36,8,72,131,252,236,16,252,255,224,255,141,156,
776 253,131,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
777 252,238,255,137,221,209,252,237,129,229,239,102,65,131,172,253,46,233,1,15,
778 132,244,149,255,68,139,187,233,139,108,36,24,141,12,202,59,141,233,15,135,
779 244,24,15,182,139,233,57,200,15,134,244,249,248,2,255,15,183,67,252,254,252,
780 233,245,255,248,3,199,68,194,252,252,237,131,192,1,57,200,15,134,244,3,252,
781 233,244,2,255,141,44,197,237,141,4,194,68,139,122,252,248,137,104,252,252,
782 68,137,120,252,248,139,108,36,24,141,12,200,59,141,233,15,135,244,23,137,
783 209,137,194,15,182,171,233,133,252,237,15,132,244,248,248,1,131,193,8,57,
784 209,15,131,244,249,68,139,121,252,248,68,137,56,68,139,121,252,252,68,137,
785 120,4,131,192,8,199,65,252,252,237,131,252,237,1,15,133,244,1,248,2,255,68,
786 139,187,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
787 252,238,255,248,3,199,64,4,237,131,192,8,131,252,237,1,15,133,244,3,252,233,
788 244,2,255,139,106,252,248,76,139,189,233,139,108,36,24,141,68,194,252,248,
789 137,149,233,141,136,233,59,141,233,137,133,233,255,76,137,252,254,137,252,
790 239,255,15,135,244,22,65,199,134,233,237,255,65,252,255,215,255,65,252,255,
791 150,233,255,65,199,134,233,237,139,149,233,141,12,194,252,247,217,3,141,233,
792 139,90,252,252,252,233,244,12,255,254,0
795 enum {
796 GLOB_vm_returnp,
797 GLOB_cont_dispatch,
798 GLOB_vm_returnc,
799 GLOB_BC_RET_Z,
800 GLOB_vm_return,
801 GLOB_vm_leave_cp,
802 GLOB_vm_leave_unw,
803 GLOB_vm_unwind_c,
804 GLOB_vm_unwind_c_eh,
805 GLOB_vm_unwind_rethrow,
806 GLOB_vm_unwind_ff,
807 GLOB_vm_unwind_ff_eh,
808 GLOB_vm_growstack_c,
809 GLOB_vm_growstack_v,
810 GLOB_vm_growstack_f,
811 GLOB_vm_resume,
812 GLOB_vm_pcall,
813 GLOB_vm_call,
814 GLOB_vm_call_dispatch,
815 GLOB_vmeta_call,
816 GLOB_vm_call_dispatch_f,
817 GLOB_vm_cpcall,
818 GLOB_vm_call_tail,
819 GLOB_cont_cat,
820 GLOB_cont_ra,
821 GLOB_BC_CAT_Z,
822 GLOB_vmeta_tgets,
823 GLOB_vmeta_tgetb,
824 GLOB_vmeta_tgetv,
825 GLOB_vmeta_tsets,
826 GLOB_vmeta_tsetb,
827 GLOB_vmeta_tsetv,
828 GLOB_cont_nop,
829 GLOB_vmeta_comp,
830 GLOB_vmeta_binop,
831 GLOB_cont_condt,
832 GLOB_cont_condf,
833 GLOB_vmeta_equal,
834 GLOB_vmeta_equal_cd,
835 GLOB_vmeta_arith_vno,
836 GLOB_vmeta_arith_vn,
837 GLOB_vmeta_arith_nvo,
838 GLOB_vmeta_arith_nv,
839 GLOB_vmeta_unm,
840 GLOB_vmeta_arith_vvo,
841 GLOB_vmeta_arith_vv,
842 GLOB_vmeta_len,
843 GLOB_vmeta_call_ra,
844 GLOB_BC_CALLT_Z,
845 GLOB_vmeta_for,
846 GLOB_ff_assert,
847 GLOB_fff_fallback,
848 GLOB_fff_res_,
849 GLOB_ff_type,
850 GLOB_fff_res1,
851 GLOB_ff_getmetatable,
852 GLOB_ff_setmetatable,
853 GLOB_ff_rawget,
854 GLOB_ff_tonumber,
855 GLOB_fff_resi,
856 GLOB_fff_resxmm0,
857 GLOB_fff_resn,
858 GLOB_ff_tostring,
859 GLOB_fff_gcstep,
860 GLOB_ff_next,
861 GLOB_fff_res2,
862 GLOB_fff_res,
863 GLOB_ff_pairs,
864 GLOB_ff_ipairs_aux,
865 GLOB_fff_res0,
866 GLOB_ff_ipairs,
867 GLOB_ff_pcall,
868 GLOB_ff_xpcall,
869 GLOB_ff_coroutine_resume,
870 GLOB_ff_coroutine_wrap_aux,
871 GLOB_ff_coroutine_yield,
872 GLOB_ff_math_abs,
873 GLOB_fff_resbit,
874 GLOB_ff_math_floor,
875 GLOB_vm_floor,
876 GLOB_ff_math_ceil,
877 GLOB_vm_ceil,
878 GLOB_ff_math_sqrt,
879 GLOB_ff_math_log,
880 GLOB_ff_math_log10,
881 GLOB_ff_math_exp,
882 GLOB_vm_exp_x87,
883 GLOB_ff_math_sin,
884 GLOB_ff_math_cos,
885 GLOB_ff_math_tan,
886 GLOB_ff_math_asin,
887 GLOB_ff_math_acos,
888 GLOB_ff_math_atan,
889 GLOB_ff_math_sinh,
890 GLOB_ff_math_cosh,
891 GLOB_ff_math_tanh,
892 GLOB_ff_math_deg,
893 GLOB_ff_math_rad,
894 GLOB_ff_math_atan2,
895 GLOB_ff_math_ldexp,
896 GLOB_ff_math_frexp,
897 GLOB_ff_math_modf,
898 GLOB_vm_trunc,
899 GLOB_ff_math_fmod,
900 GLOB_ff_math_pow,
901 GLOB_vm_pow,
902 GLOB_ff_math_min,
903 GLOB_ff_math_max,
904 GLOB_ff_string_len,
905 GLOB_ff_string_byte,
906 GLOB_ff_string_char,
907 GLOB_fff_newstr,
908 GLOB_ff_string_sub,
909 GLOB_fff_emptystr,
910 GLOB_ff_string_rep,
911 GLOB_fff_fallback_2,
912 GLOB_ff_string_reverse,
913 GLOB_fff_fallback_1,
914 GLOB_ff_string_lower,
915 GLOB_ff_string_upper,
916 GLOB_ff_table_getn,
917 GLOB_ff_bit_tobit,
918 GLOB_ff_bit_band,
919 GLOB_fff_fallback_bit_op,
920 GLOB_ff_bit_bor,
921 GLOB_ff_bit_bxor,
922 GLOB_ff_bit_bswap,
923 GLOB_ff_bit_bnot,
924 GLOB_ff_bit_lshift,
925 GLOB_ff_bit_rshift,
926 GLOB_ff_bit_arshift,
927 GLOB_ff_bit_rol,
928 GLOB_ff_bit_ror,
929 GLOB_vm_record,
930 GLOB_vm_rethook,
931 GLOB_vm_inshook,
932 GLOB_cont_hook,
933 GLOB_vm_hotloop,
934 GLOB_vm_callhook,
935 GLOB_vm_hotcall,
936 GLOB_vm_exit_handler,
937 GLOB_vm_exit_interp,
938 GLOB_vm_floor_sse,
939 GLOB_vm_ceil_sse,
940 GLOB_vm_trunc_sse,
941 GLOB_vm_mod,
942 GLOB_vm_exp2_x87,
943 GLOB_vm_exp2raw,
944 GLOB_vm_pow_sse,
945 GLOB_vm_powi_sse,
946 GLOB_vm_foldfpm,
947 GLOB_vm_foldarith,
948 GLOB_vm_cpuid,
949 GLOB_vm_ffi_call,
950 GLOB_assert_bad_for_arg_type,
951 GLOB_BC_MODVN_Z,
952 GLOB_BC_TGETS_Z,
953 GLOB_BC_TSETS_Z,
954 GLOB__MAX
956 static const char *const globnames[] = {
957 "vm_returnp",
958 "cont_dispatch",
959 "vm_returnc",
960 "BC_RET_Z",
961 "vm_return",
962 "vm_leave_cp",
963 "vm_leave_unw",
964 "vm_unwind_c@8",
965 "vm_unwind_c_eh",
966 "vm_unwind_rethrow",
967 "vm_unwind_ff@4",
968 "vm_unwind_ff_eh",
969 "vm_growstack_c",
970 "vm_growstack_v",
971 "vm_growstack_f",
972 "vm_resume",
973 "vm_pcall",
974 "vm_call",
975 "vm_call_dispatch",
976 "vmeta_call",
977 "vm_call_dispatch_f",
978 "vm_cpcall",
979 "vm_call_tail",
980 "cont_cat",
981 "cont_ra",
982 "BC_CAT_Z",
983 "vmeta_tgets",
984 "vmeta_tgetb",
985 "vmeta_tgetv",
986 "vmeta_tsets",
987 "vmeta_tsetb",
988 "vmeta_tsetv",
989 "cont_nop",
990 "vmeta_comp",
991 "vmeta_binop",
992 "cont_condt",
993 "cont_condf",
994 "vmeta_equal",
995 "vmeta_equal_cd",
996 "vmeta_arith_vno",
997 "vmeta_arith_vn",
998 "vmeta_arith_nvo",
999 "vmeta_arith_nv",
1000 "vmeta_unm",
1001 "vmeta_arith_vvo",
1002 "vmeta_arith_vv",
1003 "vmeta_len",
1004 "vmeta_call_ra",
1005 "BC_CALLT_Z",
1006 "vmeta_for",
1007 "ff_assert",
1008 "fff_fallback",
1009 "fff_res_",
1010 "ff_type",
1011 "fff_res1",
1012 "ff_getmetatable",
1013 "ff_setmetatable",
1014 "ff_rawget",
1015 "ff_tonumber",
1016 "fff_resi",
1017 "fff_resxmm0",
1018 "fff_resn",
1019 "ff_tostring",
1020 "fff_gcstep",
1021 "ff_next",
1022 "fff_res2",
1023 "fff_res",
1024 "ff_pairs",
1025 "ff_ipairs_aux",
1026 "fff_res0",
1027 "ff_ipairs",
1028 "ff_pcall",
1029 "ff_xpcall",
1030 "ff_coroutine_resume",
1031 "ff_coroutine_wrap_aux",
1032 "ff_coroutine_yield",
1033 "ff_math_abs",
1034 "fff_resbit",
1035 "ff_math_floor",
1036 "vm_floor",
1037 "ff_math_ceil",
1038 "vm_ceil",
1039 "ff_math_sqrt",
1040 "ff_math_log",
1041 "ff_math_log10",
1042 "ff_math_exp",
1043 "vm_exp_x87",
1044 "ff_math_sin",
1045 "ff_math_cos",
1046 "ff_math_tan",
1047 "ff_math_asin",
1048 "ff_math_acos",
1049 "ff_math_atan",
1050 "ff_math_sinh",
1051 "ff_math_cosh",
1052 "ff_math_tanh",
1053 "ff_math_deg",
1054 "ff_math_rad",
1055 "ff_math_atan2",
1056 "ff_math_ldexp",
1057 "ff_math_frexp",
1058 "ff_math_modf",
1059 "vm_trunc",
1060 "ff_math_fmod",
1061 "ff_math_pow",
1062 "vm_pow",
1063 "ff_math_min",
1064 "ff_math_max",
1065 "ff_string_len",
1066 "ff_string_byte",
1067 "ff_string_char",
1068 "fff_newstr",
1069 "ff_string_sub",
1070 "fff_emptystr",
1071 "ff_string_rep",
1072 "fff_fallback_2",
1073 "ff_string_reverse",
1074 "fff_fallback_1",
1075 "ff_string_lower",
1076 "ff_string_upper",
1077 "ff_table_getn",
1078 "ff_bit_tobit",
1079 "ff_bit_band",
1080 "fff_fallback_bit_op",
1081 "ff_bit_bor",
1082 "ff_bit_bxor",
1083 "ff_bit_bswap",
1084 "ff_bit_bnot",
1085 "ff_bit_lshift",
1086 "ff_bit_rshift",
1087 "ff_bit_arshift",
1088 "ff_bit_rol",
1089 "ff_bit_ror",
1090 "vm_record",
1091 "vm_rethook",
1092 "vm_inshook",
1093 "cont_hook",
1094 "vm_hotloop",
1095 "vm_callhook",
1096 "vm_hotcall",
1097 "vm_exit_handler",
1098 "vm_exit_interp",
1099 "vm_floor_sse",
1100 "vm_ceil_sse",
1101 "vm_trunc_sse",
1102 "vm_mod",
1103 "vm_exp2_x87",
1104 "vm_exp2raw",
1105 "vm_pow_sse",
1106 "vm_powi_sse",
1107 "vm_foldfpm",
1108 "vm_foldarith",
1109 "vm_cpuid",
1110 "vm_ffi_call@4",
1111 "assert_bad_for_arg_type",
1112 "BC_MODVN_Z",
1113 "BC_TGETS_Z",
1114 "BC_TSETS_Z",
1115 (const char *)0
1117 static const char *const extnames[] = {
1118 "lj_state_growstack@8",
1119 "lj_err_throw@8",
1120 "lj_meta_tget",
1121 "lj_meta_tset",
1122 "lj_meta_comp",
1123 "lj_meta_equal",
1124 "lj_meta_equal_cd@8",
1125 "lj_meta_arith",
1126 "lj_meta_len@8",
1127 "lj_meta_call",
1128 "lj_meta_for@8",
1129 "lj_tab_get",
1130 "lj_str_fromnumber@8",
1131 "lj_str_fromnum@8",
1132 "lj_tab_next",
1133 "lj_tab_getinth@8",
1134 "lj_ffh_coroutine_wrap_err@8",
1135 "lj_vm_sinh",
1136 "lj_vm_cosh",
1137 "lj_vm_tanh",
1138 "lj_str_new",
1139 "lj_tab_len@4",
1140 "lj_gc_step@4",
1141 "lj_dispatch_ins@8",
1142 "lj_trace_hot@8",
1143 "lj_dispatch_call@8",
1144 "lj_trace_exit@8",
1145 "lj_meta_cat",
1146 "lj_gc_barrieruv@8",
1147 "lj_func_closeuv@8",
1148 "lj_func_newL_gc",
1149 "lj_tab_new",
1150 "lj_gc_step_fixtop@4",
1151 "lj_tab_dup@8",
1152 "lj_tab_newkey",
1153 "lj_tab_reasize",
1154 (const char *)0
1156 #define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1157 #define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1158 #define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1159 #define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1160 #define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1161 #define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1162 #define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1163 #define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1164 #define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1165 #define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1166 #define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1167 #define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1168 #define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V)
1169 #define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1170 #define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1171 #define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto))
1173 /* Generate subroutines used by opcodes and other parts of the VM. */
1174 /* The .code_sub section should be last to help static branch prediction. */
1175 static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1177 dasm_put(Dst, 0);
1178 dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C);
1179 dasm_put(Dst, 109, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL);
1180 dasm_put(Dst, 200, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK);
1181 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));
1182 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);
1183 dasm_put(Dst, 548, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1184 dasm_put(Dst, 648, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL);
1185 dasm_put(Dst, 819, 0, Dt7(->pc), PC2PROTO(k), Dt1(->base), LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1186 dasm_put(Dst, 944);
1187 if (LJ_DUALNUM) {
1188 dasm_put(Dst, 958, LJ_TISNUM);
1189 } else if (sse) {
1190 dasm_put(Dst, 967);
1191 } else {
1193 dasm_put(Dst, 979, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET);
1194 dasm_put(Dst, 1125, DISPATCH_GL(tmptv), LJ_TTAB);
1195 if (LJ_DUALNUM) {
1196 dasm_put(Dst, 958, LJ_TISNUM);
1197 } else if (sse) {
1198 dasm_put(Dst, 967);
1199 } else {
1201 dasm_put(Dst, 1149, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base));
1202 dasm_put(Dst, 1321, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1203 dasm_put(Dst, 1420);
1204 #if LJ_HASFFI
1205 dasm_put(Dst, 1440, Dt1(->base));
1206 #endif
1207 dasm_put(Dst, 1471);
1208 #if LJ_DUALNUM
1209 dasm_put(Dst, 1474);
1210 #endif
1211 dasm_put(Dst, 1480);
1212 #if LJ_DUALNUM
1213 dasm_put(Dst, 952);
1214 #endif
1215 dasm_put(Dst, 1493);
1216 #if LJ_DUALNUM
1217 dasm_put(Dst, 1474);
1218 #endif
1219 dasm_put(Dst, 1522, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base), Dt1(->base));
1220 dasm_put(Dst, 1654, Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND);
1221 dasm_put(Dst, 1838, 1+1, ~LJ_TNUMX);
1222 if (cmov) {
1223 dasm_put(Dst, 1883);
1224 } else {
1225 dasm_put(Dst, 1887);
1227 dasm_put(Dst, 1896, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, ~LJ_TLIGHTUD, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL);
1228 dasm_put(Dst, 1975, 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));
1229 dasm_put(Dst, 2033, LJ_TNIL, LJ_TUDATA, LJ_TNUMX, LJ_TISNUM, LJ_TLIGHTUD);
1230 dasm_put(Dst, 2099, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB);
1231 dasm_put(Dst, 2170, 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);
1232 dasm_put(Dst, 2260, 1+1, LJ_TISNUM);
1233 if (LJ_DUALNUM) {
1234 dasm_put(Dst, 2274);
1235 } else {
1236 dasm_put(Dst, 2291);
1238 if (sse) {
1239 dasm_put(Dst, 2296);
1240 } else {
1241 dasm_put(Dst, 2306);
1243 dasm_put(Dst, 2313, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1244 dasm_put(Dst, 2382, Dt1(->base));
1245 if (LJ_DUALNUM) {
1246 dasm_put(Dst, 2408);
1247 } else {
1248 dasm_put(Dst, 2413);
1250 dasm_put(Dst, 2418, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2);
1251 dasm_put(Dst, 2510, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1252 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1253 dasm_put(Dst, 2557, Dt6(->metatable));
1254 #endif
1255 dasm_put(Dst, 2566, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1256 if (LJ_DUALNUM) {
1257 dasm_put(Dst, 2552);
1258 } else {
1259 dasm_put(Dst, 2291);
1261 dasm_put(Dst, 2621);
1262 if (LJ_DUALNUM) {
1263 dasm_put(Dst, 2626, LJ_TISNUM);
1264 } else if (sse) {
1265 dasm_put(Dst, 2642, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1266 } else {
1268 dasm_put(Dst, 2675, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1269 dasm_put(Dst, 2537, 1+1, LJ_TTAB);
1270 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1271 dasm_put(Dst, 2557, Dt6(->metatable));
1272 #endif
1273 dasm_put(Dst, 2752, Dt8(->upvalue[0]), LJ_TFUNC);
1274 if (LJ_DUALNUM) {
1275 dasm_put(Dst, 2773, LJ_TISNUM);
1276 } else if (sse) {
1277 dasm_put(Dst, 2785);
1278 } else {
1279 dasm_put(Dst, 2795);
1281 dasm_put(Dst, 2802, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC);
1282 dasm_put(Dst, 2867, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top));
1283 dasm_put(Dst, 2956, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1284 dasm_put(Dst, 3043, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE);
1285 dasm_put(Dst, 3158, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe));
1286 dasm_put(Dst, 3253, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1287 dasm_put(Dst, 3319, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack));
1288 dasm_put(Dst, 3408, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME);
1289 dasm_put(Dst, 3518, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1290 if (!LJ_DUALNUM) {
1291 dasm_put(Dst, 3545);
1293 if (sse) {
1294 dasm_put(Dst, 3548);
1296 dasm_put(Dst, 3563, 1+1);
1297 if (LJ_DUALNUM) {
1298 dasm_put(Dst, 3574, LJ_TISNUM, LJ_TISNUM);
1299 } else {
1300 dasm_put(Dst, 3654, LJ_TISNUM);
1302 if (sse) {
1303 dasm_put(Dst, 3664, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1304 } else {
1305 dasm_put(Dst, 3695);
1307 dasm_put(Dst, 3712, 1+1, FRAME_TYPE, LJ_TNIL);
1308 if (LJ_DUALNUM) {
1309 dasm_put(Dst, 3809, LJ_TISNUM);
1310 } else {
1311 dasm_put(Dst, 3654, LJ_TISNUM);
1313 if (sse) {
1314 dasm_put(Dst, 3831);
1315 if (LJ_DUALNUM) {
1316 dasm_put(Dst, 3840);
1318 dasm_put(Dst, 2301);
1319 } else {
1320 dasm_put(Dst, 3874);
1321 if (LJ_DUALNUM) {
1322 } else {
1323 dasm_put(Dst, 2308);
1326 dasm_put(Dst, 3880);
1327 if (LJ_DUALNUM) {
1328 dasm_put(Dst, 3809, LJ_TISNUM);
1329 } else {
1330 dasm_put(Dst, 3654, LJ_TISNUM);
1332 if (sse) {
1333 dasm_put(Dst, 3883);
1334 if (LJ_DUALNUM) {
1335 dasm_put(Dst, 3840);
1337 dasm_put(Dst, 2301);
1338 } else {
1339 dasm_put(Dst, 3892);
1340 if (LJ_DUALNUM) {
1341 } else {
1342 dasm_put(Dst, 2308);
1345 if (sse) {
1346 dasm_put(Dst, 3898, 1+1, LJ_TISNUM);
1347 } else {
1348 dasm_put(Dst, 3927, 1+1, LJ_TISNUM);
1350 dasm_put(Dst, 3956, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1351 dasm_put(Dst, 4025, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1352 dasm_put(Dst, 4082, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1353 dasm_put(Dst, 4145, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1354 dasm_put(Dst, 4235);
1355 if (sse) {
1356 dasm_put(Dst, 4247, 1+1, LJ_TISNUM);
1357 } else {
1359 dasm_put(Dst, 4272);
1360 if (sse) {
1361 dasm_put(Dst, 4286, 1+1, LJ_TISNUM);
1362 } else {
1364 dasm_put(Dst, 4311);
1365 if (sse) {
1366 dasm_put(Dst, 4325, 1+1, LJ_TISNUM);
1367 } else {
1369 dasm_put(Dst, 4350);
1370 if (sse) {
1371 dasm_put(Dst, 4366, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1372 } else {
1373 dasm_put(Dst, 4405, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1375 dasm_put(Dst, 4438, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1376 dasm_put(Dst, 4503, 1+1, LJ_TISNUM);
1377 if (sse) {
1378 dasm_put(Dst, 4602);
1379 } else {
1380 dasm_put(Dst, 4608);
1382 dasm_put(Dst, 4615);
1383 if (sse) {
1384 dasm_put(Dst, 4640);
1385 } else {
1386 dasm_put(Dst, 4646);
1388 dasm_put(Dst, 4649, 1+2);
1389 if (sse) {
1390 dasm_put(Dst, 4658);
1391 } else {
1392 dasm_put(Dst, 4666);
1394 dasm_put(Dst, 4674);
1395 if (sse) {
1396 dasm_put(Dst, 4677, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
1397 } else {
1398 dasm_put(Dst, 4704);
1400 dasm_put(Dst, 4721);
1401 if (sse) {
1402 dasm_put(Dst, 4737, 1+1, LJ_TISNUM);
1403 } else {
1404 dasm_put(Dst, 4762, 1+1, LJ_TISNUM);
1406 dasm_put(Dst, 4784);
1407 if (sse) {
1408 dasm_put(Dst, 4806);
1409 } else {
1410 dasm_put(Dst, 4832);
1412 dasm_put(Dst, 4849, 1+2);
1413 if (sse) {
1414 dasm_put(Dst, 4889);
1415 } else {
1416 dasm_put(Dst, 4897);
1418 dasm_put(Dst, 4907, 2+1, LJ_TISNUM, LJ_TISNUM);
1419 if (sse) {
1420 dasm_put(Dst, 4959, 2+1, LJ_TISNUM, LJ_TISNUM);
1421 } else {
1422 dasm_put(Dst, 5006, 2+1, LJ_TISNUM, LJ_TISNUM);
1424 dasm_put(Dst, 5047, LJ_TISNUM);
1425 if (LJ_DUALNUM) {
1426 dasm_put(Dst, 5060, LJ_TISNUM);
1427 if (sse) {
1428 dasm_put(Dst, 4602);
1429 } else {
1431 dasm_put(Dst, 5110);
1432 } else {
1433 dasm_put(Dst, 2291);
1435 if (sse) {
1436 dasm_put(Dst, 5121, LJ_TISNUM);
1437 if (LJ_DUALNUM) {
1438 dasm_put(Dst, 5142);
1439 } else {
1440 dasm_put(Dst, 2291);
1442 dasm_put(Dst, 5163);
1443 } else {
1445 dasm_put(Dst, 5188, LJ_TISNUM);
1446 if (LJ_DUALNUM) {
1447 dasm_put(Dst, 5201, LJ_TISNUM);
1448 if (sse) {
1449 dasm_put(Dst, 4602);
1450 } else {
1452 dasm_put(Dst, 5110);
1453 } else {
1454 dasm_put(Dst, 2291);
1456 if (sse) {
1457 dasm_put(Dst, 5121, LJ_TISNUM);
1458 if (LJ_DUALNUM) {
1459 dasm_put(Dst, 5142);
1460 } else {
1461 dasm_put(Dst, 2291);
1463 dasm_put(Dst, 5251);
1464 } else {
1466 if (!sse) {
1467 dasm_put(Dst, 5276);
1469 dasm_put(Dst, 5285, 1+1, LJ_TSTR);
1470 if (LJ_DUALNUM) {
1471 dasm_put(Dst, 5307, Dt5(->len));
1472 } else if (sse) {
1473 dasm_put(Dst, 5315, Dt5(->len));
1474 } else {
1475 dasm_put(Dst, 5326, Dt5(->len));
1477 dasm_put(Dst, 5334, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1478 if (LJ_DUALNUM) {
1479 dasm_put(Dst, 5310);
1480 } else if (sse) {
1481 dasm_put(Dst, 5372);
1482 } else {
1483 dasm_put(Dst, 5382);
1485 dasm_put(Dst, 5393, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1486 if (LJ_DUALNUM) {
1487 dasm_put(Dst, 5426);
1488 } else if (sse) {
1489 dasm_put(Dst, 5449);
1490 } else {
1491 dasm_put(Dst, 5475);
1493 dasm_put(Dst, 5499, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1494 if (LJ_DUALNUM) {
1495 dasm_put(Dst, 5608);
1496 } else if (sse) {
1497 dasm_put(Dst, 5620);
1498 } else {
1499 dasm_put(Dst, 5635);
1501 dasm_put(Dst, 5647, LJ_TSTR, LJ_TISNUM);
1502 if (LJ_DUALNUM) {
1503 dasm_put(Dst, 2552);
1504 } else {
1505 dasm_put(Dst, 2291);
1507 dasm_put(Dst, 5664, Dt5(->len));
1508 if (LJ_DUALNUM) {
1509 dasm_put(Dst, 5674);
1510 } else if (sse) {
1511 dasm_put(Dst, 5678);
1512 } else {
1514 dasm_put(Dst, 5685, sizeof(GCstr)-1);
1515 dasm_put(Dst, 5760, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1516 dasm_put(Dst, 5821, LJ_TSTR, LJ_TISNUM);
1517 if (LJ_DUALNUM) {
1518 dasm_put(Dst, 5838);
1519 } else if (sse) {
1520 dasm_put(Dst, 5846);
1521 } else {
1522 dasm_put(Dst, 5857);
1524 dasm_put(Dst, 5873, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1525 dasm_put(Dst, 5941, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1526 dasm_put(Dst, 6008, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1527 dasm_put(Dst, 6081, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1528 dasm_put(Dst, 6166, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1529 dasm_put(Dst, 6240, 1+1, LJ_TTAB);
1530 if (LJ_DUALNUM) {
1531 dasm_put(Dst, 6307);
1532 } else if (sse) {
1533 dasm_put(Dst, 6314);
1534 } else {
1536 dasm_put(Dst, 6324, 1+1, LJ_TISNUM);
1537 if (LJ_DUALNUM) {
1538 dasm_put(Dst, 6340);
1539 } else {
1540 dasm_put(Dst, 2291);
1542 if (sse) {
1543 dasm_put(Dst, 6357, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1544 } else {
1546 dasm_put(Dst, 106);
1547 if (LJ_DUALNUM || sse) {
1548 if (!sse) {
1550 dasm_put(Dst, 6381);
1551 } else {
1553 dasm_put(Dst, 6386, 1+1);
1554 if (sse) {
1555 dasm_put(Dst, 6397, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1556 } else {
1557 dasm_put(Dst, 6407);
1559 dasm_put(Dst, 2268, LJ_TISNUM);
1560 if (LJ_DUALNUM) {
1561 dasm_put(Dst, 6415);
1562 } else {
1563 dasm_put(Dst, 2291);
1565 if (sse) {
1566 dasm_put(Dst, 6432);
1567 } else {
1569 dasm_put(Dst, 6447, LJ_TISNUM);
1570 if (LJ_DUALNUM) {
1571 dasm_put(Dst, 6472);
1572 } else {
1573 dasm_put(Dst, 6492);
1575 if (sse) {
1576 dasm_put(Dst, 6497);
1577 } else {
1579 dasm_put(Dst, 6514, 1+1);
1580 if (sse) {
1581 dasm_put(Dst, 6397, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1582 } else {
1583 dasm_put(Dst, 6407);
1585 dasm_put(Dst, 2268, LJ_TISNUM);
1586 if (LJ_DUALNUM) {
1587 dasm_put(Dst, 6415);
1588 } else {
1589 dasm_put(Dst, 2291);
1591 if (sse) {
1592 dasm_put(Dst, 6432);
1593 } else {
1595 dasm_put(Dst, 6447, LJ_TISNUM);
1596 if (LJ_DUALNUM) {
1597 dasm_put(Dst, 6532);
1598 } else {
1599 dasm_put(Dst, 6492);
1601 if (sse) {
1602 dasm_put(Dst, 6552);
1603 } else {
1605 dasm_put(Dst, 6569, 1+1);
1606 if (sse) {
1607 dasm_put(Dst, 6397, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1608 } else {
1609 dasm_put(Dst, 6407);
1611 dasm_put(Dst, 2268, LJ_TISNUM);
1612 if (LJ_DUALNUM) {
1613 dasm_put(Dst, 6415);
1614 } else {
1615 dasm_put(Dst, 2291);
1617 if (sse) {
1618 dasm_put(Dst, 6432);
1619 } else {
1621 dasm_put(Dst, 6447, LJ_TISNUM);
1622 if (LJ_DUALNUM) {
1623 dasm_put(Dst, 6587);
1624 } else {
1625 dasm_put(Dst, 6492);
1627 if (sse) {
1628 dasm_put(Dst, 6607);
1629 } else {
1631 dasm_put(Dst, 6624, 1+1, LJ_TISNUM);
1632 if (LJ_DUALNUM) {
1633 dasm_put(Dst, 6415);
1634 } else {
1635 dasm_put(Dst, 2291);
1637 if (sse) {
1638 dasm_put(Dst, 6357, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1639 } else {
1641 dasm_put(Dst, 6647, 1+1, LJ_TISNUM);
1642 if (LJ_DUALNUM) {
1643 dasm_put(Dst, 6415);
1644 } else {
1645 dasm_put(Dst, 2291);
1647 if (sse) {
1648 dasm_put(Dst, 6357, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1649 } else {
1651 dasm_put(Dst, 6671);
1652 if (LJ_DUALNUM) {
1653 dasm_put(Dst, 6381);
1654 } else if (sse) {
1655 dasm_put(Dst, 6677);
1656 } else {
1658 dasm_put(Dst, 6689);
1659 if (LJ_DUALNUM) {
1660 dasm_put(Dst, 6700, 1+1, LJ_TISNUM);
1661 if (LJ_DUALNUM) {
1662 dasm_put(Dst, 6415);
1663 } else {
1664 dasm_put(Dst, 2291);
1666 if (sse) {
1667 dasm_put(Dst, 6357, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1668 } else {
1670 dasm_put(Dst, 6716, LJ_TISNUM);
1671 } else if (sse) {
1672 dasm_put(Dst, 6731, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1673 } else {
1675 dasm_put(Dst, 6798);
1676 if (LJ_DUALNUM) {
1677 dasm_put(Dst, 6805, 1+1, LJ_TISNUM);
1678 if (LJ_DUALNUM) {
1679 dasm_put(Dst, 6415);
1680 } else {
1681 dasm_put(Dst, 2291);
1683 if (sse) {
1684 dasm_put(Dst, 6357, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1685 } else {
1687 dasm_put(Dst, 6716, LJ_TISNUM);
1688 } else if (sse) {
1689 dasm_put(Dst, 6821, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1690 } else {
1692 dasm_put(Dst, 6888);
1693 if (LJ_DUALNUM) {
1694 dasm_put(Dst, 6896, 1+1, LJ_TISNUM);
1695 if (LJ_DUALNUM) {
1696 dasm_put(Dst, 6415);
1697 } else {
1698 dasm_put(Dst, 2291);
1700 if (sse) {
1701 dasm_put(Dst, 6357, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1702 } else {
1704 dasm_put(Dst, 6716, LJ_TISNUM);
1705 } else if (sse) {
1706 dasm_put(Dst, 6912, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1707 } else {
1709 dasm_put(Dst, 6979);
1710 if (LJ_DUALNUM) {
1711 dasm_put(Dst, 6987, 1+1, LJ_TISNUM);
1712 if (LJ_DUALNUM) {
1713 dasm_put(Dst, 6415);
1714 } else {
1715 dasm_put(Dst, 2291);
1717 if (sse) {
1718 dasm_put(Dst, 6357, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1719 } else {
1721 dasm_put(Dst, 6716, LJ_TISNUM);
1722 } else if (sse) {
1723 dasm_put(Dst, 7003, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1724 } else {
1726 dasm_put(Dst, 7070);
1727 if (LJ_DUALNUM) {
1728 dasm_put(Dst, 7077, 1+1, LJ_TISNUM);
1729 if (LJ_DUALNUM) {
1730 dasm_put(Dst, 6415);
1731 } else {
1732 dasm_put(Dst, 2291);
1734 if (sse) {
1735 dasm_put(Dst, 6357, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1736 } else {
1738 dasm_put(Dst, 6716, LJ_TISNUM);
1739 } else if (sse) {
1740 dasm_put(Dst, 7093, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1741 } else {
1743 dasm_put(Dst, 7160, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1744 dasm_put(Dst, 7236, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base));
1745 dasm_put(Dst, 7363, Dt1(->top), Dt1(->base), Dt1(->top));
1746 #if LJ_HASJIT
1747 dasm_put(Dst, 7402, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1748 #endif
1749 dasm_put(Dst, 7435, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE);
1750 dasm_put(Dst, 7489, Dt1(->base), Dt1(->base), GG_DISP2STATIC);
1751 #if LJ_HASJIT
1752 dasm_put(Dst, 7556, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L));
1753 #endif
1754 dasm_put(Dst, 7603);
1755 #if LJ_HASJIT
1756 dasm_put(Dst, 7430);
1757 #endif
1758 dasm_put(Dst, 7610);
1759 #if LJ_HASJIT
1760 dasm_put(Dst, 7613);
1761 #endif
1762 dasm_put(Dst, 7623, Dt1(->base), Dt1(->top));
1763 #if LJ_HASJIT
1764 dasm_put(Dst, 7656);
1765 #endif
1766 dasm_put(Dst, 7661, Dt1(->base), Dt1(->top));
1767 #if LJ_HASJIT
1768 dasm_put(Dst, 7692, 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);
1769 #endif
1770 dasm_put(Dst, 7931);
1771 #if LJ_HASJIT
1772 dasm_put(Dst, 7934, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF);
1773 #endif
1774 dasm_put(Dst, 8034);
1775 if (!sse) {
1776 dasm_put(Dst, 8037);
1778 dasm_put(Dst, 8082, (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));
1779 if (!sse) {
1780 dasm_put(Dst, 8168);
1782 dasm_put(Dst, 8213, (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));
1783 if (!sse) {
1784 dasm_put(Dst, 8299);
1786 dasm_put(Dst, 8338, (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));
1787 if (sse) {
1788 dasm_put(Dst, 8427, (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 } else {
1790 dasm_put(Dst, 8541);
1792 dasm_put(Dst, 8588);
1793 if (!sse) {
1794 } else {
1795 dasm_put(Dst, 8665);
1797 dasm_put(Dst, 8668);
1798 dasm_put(Dst, 8753, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1799 dasm_put(Dst, 8856, (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));
1800 dasm_put(Dst, 9018);
1801 #if LJ_HASJIT
1802 if (sse) {
1803 dasm_put(Dst, 9059);
1804 dasm_put(Dst, 9129);
1805 dasm_put(Dst, 9201);
1806 } else {
1807 dasm_put(Dst, 9253);
1808 dasm_put(Dst, 9345);
1810 dasm_put(Dst, 9391);
1811 #endif
1812 dasm_put(Dst, 9395);
1813 if (sse) {
1814 dasm_put(Dst, 9398, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1815 dasm_put(Dst, 9483, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1816 } else {
1817 dasm_put(Dst, 9611);
1818 dasm_put(Dst, 9694);
1819 if (cmov) {
1820 dasm_put(Dst, 9749);
1821 } else {
1822 dasm_put(Dst, 9768);
1824 dasm_put(Dst, 9391);
1826 dasm_put(Dst, 9809);
1827 #if LJ_HASFFI
1828 #define DtE(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
1829 dasm_put(Dst, 9833, DtE(->spadj));
1830 #if LJ_TARGET_WINDOWS
1831 #endif
1832 dasm_put(Dst, 9849, 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]));
1833 dasm_put(Dst, 9928, 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]));
1834 #if LJ_TARGET_WINDOWS
1835 #endif
1836 dasm_put(Dst, 9983);
1837 #endif
1838 dasm_put(Dst, 9991);
1839 #ifdef LUA_USE_ASSERT
1840 dasm_put(Dst, 9393);
1841 #endif
1842 dasm_put(Dst, 9393);
1845 /* Generate the code for a single instruction. */
1846 static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1848 int vk = 0;
1849 dasm_put(Dst, 9994, defop);
1851 switch (op) {
1853 /* -- Comparison ops ---------------------------------------------------- */
1855 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1858 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1859 if (LJ_DUALNUM) {
1860 dasm_put(Dst, 9996, LJ_TISNUM, LJ_TISNUM);
1861 switch (op) {
1862 case BC_ISLT:
1863 dasm_put(Dst, 10026);
1864 break;
1865 case BC_ISGE:
1866 dasm_put(Dst, 10031);
1867 break;
1868 case BC_ISLE:
1869 dasm_put(Dst, 10036);
1870 break;
1871 case BC_ISGT:
1872 dasm_put(Dst, 10041);
1873 break;
1874 default: break; /* Shut up GCC. */
1876 dasm_put(Dst, 10046, -BCBIAS_J*4, LJ_TISNUM);
1877 if (sse) {
1878 dasm_put(Dst, 10101);
1879 } else {
1880 dasm_put(Dst, 10112);
1882 dasm_put(Dst, 10123);
1883 if (sse) {
1884 dasm_put(Dst, 10130);
1885 switch (op) {
1886 case BC_ISLT:
1887 dasm_put(Dst, 10150);
1888 break;
1889 case BC_ISGE:
1890 dasm_put(Dst, 10155);
1891 break;
1892 case BC_ISLE:
1893 dasm_put(Dst, 10160);
1894 break;
1895 case BC_ISGT:
1896 dasm_put(Dst, 10165);
1897 break;
1898 default: break; /* Shut up GCC. */
1900 dasm_put(Dst, 10170);
1901 } else {
1902 dasm_put(Dst, 10175);
1904 } else {
1905 dasm_put(Dst, 10183, LJ_TISNUM, LJ_TISNUM);
1907 if (sse) {
1908 dasm_put(Dst, 10204);
1909 } else {
1910 dasm_put(Dst, 10225);
1911 if (cmov) {
1912 dasm_put(Dst, 10241);
1913 } else {
1914 dasm_put(Dst, 10247);
1917 if (LJ_DUALNUM) {
1918 switch (op) {
1919 case BC_ISLT:
1920 dasm_put(Dst, 10150);
1921 break;
1922 case BC_ISGE:
1923 dasm_put(Dst, 10155);
1924 break;
1925 case BC_ISLE:
1926 dasm_put(Dst, 10160);
1927 break;
1928 case BC_ISGT:
1929 dasm_put(Dst, 10165);
1930 break;
1931 default: break; /* Shut up GCC. */
1933 dasm_put(Dst, 10170);
1934 } else {
1935 switch (op) {
1936 case BC_ISLT:
1937 dasm_put(Dst, 10254);
1938 break;
1939 case BC_ISGE:
1940 dasm_put(Dst, 10259);
1941 break;
1942 case BC_ISLE:
1943 dasm_put(Dst, 10264);
1944 break;
1945 case BC_ISGT:
1946 dasm_put(Dst, 10269);
1947 break;
1948 default: break; /* Shut up GCC. */
1950 dasm_put(Dst, 10274, -BCBIAS_J*4);
1952 break;
1954 case BC_ISEQV: case BC_ISNEV:
1955 vk = op == BC_ISEQV;
1956 dasm_put(Dst, 10307);
1957 if (LJ_DUALNUM) {
1958 dasm_put(Dst, 10315, LJ_TISNUM, LJ_TISNUM);
1959 if (vk) {
1960 dasm_put(Dst, 10340);
1961 } else {
1962 dasm_put(Dst, 10345);
1964 dasm_put(Dst, 10350, -BCBIAS_J*4, LJ_TISNUM);
1965 if (sse) {
1966 dasm_put(Dst, 10403);
1967 } else {
1968 dasm_put(Dst, 10410);
1970 dasm_put(Dst, 10414);
1971 if (sse) {
1972 dasm_put(Dst, 10425);
1973 } else {
1974 dasm_put(Dst, 10437);
1976 dasm_put(Dst, 10444);
1977 } else {
1978 dasm_put(Dst, 10449, LJ_TISNUM, LJ_TISNUM);
1980 if (sse) {
1981 dasm_put(Dst, 10468);
1982 } else {
1983 dasm_put(Dst, 10486);
1984 if (cmov) {
1985 dasm_put(Dst, 10241);
1986 } else {
1987 dasm_put(Dst, 10247);
1990 iseqne_fp:
1991 if (vk) {
1992 dasm_put(Dst, 10499);
1993 } else {
1994 dasm_put(Dst, 10508);
1996 iseqne_end:
1997 if (vk) {
1998 dasm_put(Dst, 10517, -BCBIAS_J*4);
1999 if (!LJ_HASFFI) {
2000 dasm_put(Dst, 4655);
2002 } else {
2003 if (!LJ_HASFFI) {
2004 dasm_put(Dst, 4655);
2006 dasm_put(Dst, 10532, -BCBIAS_J*4);
2008 if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV ||
2009 op == BC_ISEQN || op == BC_ISNEN)) {
2010 dasm_put(Dst, 10547);
2011 } else {
2012 dasm_put(Dst, 10286);
2014 if (op == BC_ISEQV || op == BC_ISNEV) {
2015 dasm_put(Dst, 10552);
2016 if (LJ_HASFFI) {
2017 dasm_put(Dst, 10555, LJ_TCDATA, LJ_TCDATA);
2019 dasm_put(Dst, 10574, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
2020 if (vk) {
2021 dasm_put(Dst, 10630);
2022 } else {
2023 dasm_put(Dst, 10634);
2025 dasm_put(Dst, 10640);
2026 } else if (LJ_HASFFI) {
2027 dasm_put(Dst, 10645, LJ_TCDATA);
2028 if (LJ_DUALNUM && vk) {
2029 dasm_put(Dst, 10652);
2030 } else {
2031 dasm_put(Dst, 10625);
2033 dasm_put(Dst, 10657);
2035 break;
2036 case BC_ISEQS: case BC_ISNES:
2037 vk = op == BC_ISEQS;
2038 dasm_put(Dst, 10662, LJ_TSTR);
2039 iseqne_test:
2040 if (vk) {
2041 dasm_put(Dst, 10503);
2042 } else {
2043 dasm_put(Dst, 814);
2045 goto iseqne_end;
2046 case BC_ISEQN: case BC_ISNEN:
2047 vk = op == BC_ISEQN;
2048 dasm_put(Dst, 10689);
2049 if (LJ_DUALNUM) {
2050 dasm_put(Dst, 10697, LJ_TISNUM, LJ_TISNUM);
2051 if (vk) {
2052 dasm_put(Dst, 10340);
2053 } else {
2054 dasm_put(Dst, 10345);
2056 dasm_put(Dst, 10724, -BCBIAS_J*4, LJ_TISNUM);
2057 if (sse) {
2058 dasm_put(Dst, 10774);
2059 } else {
2060 dasm_put(Dst, 10782);
2062 dasm_put(Dst, 10787);
2063 if (sse) {
2064 dasm_put(Dst, 10794);
2065 } else {
2066 dasm_put(Dst, 10807);
2068 dasm_put(Dst, 10444);
2069 } else {
2070 dasm_put(Dst, 10815, LJ_TISNUM);
2072 if (sse) {
2073 dasm_put(Dst, 10824);
2074 } else {
2075 dasm_put(Dst, 10843);
2076 if (cmov) {
2077 dasm_put(Dst, 10241);
2078 } else {
2079 dasm_put(Dst, 10247);
2082 goto iseqne_fp;
2083 case BC_ISEQP: case BC_ISNEP:
2084 vk = op == BC_ISEQP;
2085 dasm_put(Dst, 10857);
2086 if (!LJ_HASFFI) goto iseqne_test;
2087 if (vk) {
2088 dasm_put(Dst, 10871, -BCBIAS_J*4, LJ_TCDATA);
2089 } else {
2090 dasm_put(Dst, 10922, LJ_TCDATA, -BCBIAS_J*4);
2092 break;
2094 /* -- Unary test and copy ops ------------------------------------------- */
2096 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
2097 dasm_put(Dst, 10967, LJ_TISTRUECOND);
2098 if (op == BC_IST || op == BC_ISTC) {
2099 dasm_put(Dst, 10269);
2100 } else {
2101 dasm_put(Dst, 10264);
2103 if (op == BC_ISTC || op == BC_ISFC) {
2104 dasm_put(Dst, 10979);
2106 dasm_put(Dst, 10274, -BCBIAS_J*4);
2107 break;
2109 /* -- Unary ops --------------------------------------------------------- */
2111 case BC_MOV:
2112 dasm_put(Dst, 10990);
2113 break;
2114 case BC_NOT:
2115 dasm_put(Dst, 11019, LJ_TISTRUECOND, LJ_TTRUE);
2116 break;
2117 case BC_UNM:
2118 if (LJ_DUALNUM) {
2119 dasm_put(Dst, 11056, LJ_TISNUM, LJ_TISNUM);
2120 } else {
2121 dasm_put(Dst, 11134, LJ_TISNUM);
2123 if (sse) {
2124 dasm_put(Dst, 11145, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
2125 } else {
2126 dasm_put(Dst, 11170);
2128 if (LJ_DUALNUM) {
2129 dasm_put(Dst, 10547);
2130 } else {
2131 dasm_put(Dst, 10286);
2133 break;
2134 case BC_LEN:
2135 dasm_put(Dst, 11179, LJ_TSTR);
2136 if (LJ_DUALNUM) {
2137 dasm_put(Dst, 11193, Dt5(->len), LJ_TISNUM);
2138 } else if (sse) {
2139 dasm_put(Dst, 11207, Dt5(->len));
2140 } else {
2141 dasm_put(Dst, 11225, Dt5(->len));
2143 dasm_put(Dst, 11234, LJ_TTAB);
2144 if (LJ_DUALNUM) {
2145 } else if (sse) {
2146 dasm_put(Dst, 11276);
2147 } else {
2149 dasm_put(Dst, 11282);
2150 break;
2152 /* -- Binary ops -------------------------------------------------------- */
2155 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
2156 if (LJ_DUALNUM) {
2157 dasm_put(Dst, 11295);
2158 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2159 switch (vk) {
2160 case 0:
2161 dasm_put(Dst, 11303, LJ_TISNUM, LJ_TISNUM);
2162 break;
2163 case 1:
2164 dasm_put(Dst, 11338, LJ_TISNUM, LJ_TISNUM);
2165 break;
2166 default:
2167 dasm_put(Dst, 11373, LJ_TISNUM, LJ_TISNUM);
2168 break;
2170 dasm_put(Dst, 11406, LJ_TISNUM);
2171 if (vk == 1) {
2172 dasm_put(Dst, 11203);
2173 } else {
2174 dasm_put(Dst, 10986);
2176 dasm_put(Dst, 10286);
2177 } else {
2178 dasm_put(Dst, 11295);
2179 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2180 switch (vk) {
2181 case 0:
2182 dasm_put(Dst, 11412, LJ_TISNUM);
2183 if (LJ_DUALNUM) {
2184 dasm_put(Dst, 11424, LJ_TISNUM);
2186 if (sse) {
2187 dasm_put(Dst, 11436);
2188 } else {
2189 dasm_put(Dst, 11451);
2191 break;
2192 case 1:
2193 dasm_put(Dst, 11460, LJ_TISNUM);
2194 if (LJ_DUALNUM) {
2195 dasm_put(Dst, 11472, LJ_TISNUM);
2197 if (sse) {
2198 dasm_put(Dst, 11484);
2199 } else {
2200 dasm_put(Dst, 11499);
2202 break;
2203 default:
2204 dasm_put(Dst, 11508, LJ_TISNUM, LJ_TISNUM);
2205 if (sse) {
2206 dasm_put(Dst, 11530);
2207 } else {
2208 dasm_put(Dst, 11544);
2210 break;
2212 if (sse) {
2213 dasm_put(Dst, 11163);
2214 } else {
2215 dasm_put(Dst, 11175);
2217 dasm_put(Dst, 10286);
2219 break;
2220 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
2221 if (LJ_DUALNUM) {
2222 dasm_put(Dst, 11295);
2223 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2224 switch (vk) {
2225 case 0:
2226 dasm_put(Dst, 11552, LJ_TISNUM, LJ_TISNUM);
2227 break;
2228 case 1:
2229 dasm_put(Dst, 11587, LJ_TISNUM, LJ_TISNUM);
2230 break;
2231 default:
2232 dasm_put(Dst, 11622, LJ_TISNUM, LJ_TISNUM);
2233 break;
2235 dasm_put(Dst, 11406, LJ_TISNUM);
2236 if (vk == 1) {
2237 dasm_put(Dst, 11203);
2238 } else {
2239 dasm_put(Dst, 10986);
2241 dasm_put(Dst, 10286);
2242 } else {
2243 dasm_put(Dst, 11295);
2244 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2245 switch (vk) {
2246 case 0:
2247 dasm_put(Dst, 11412, LJ_TISNUM);
2248 if (LJ_DUALNUM) {
2249 dasm_put(Dst, 11424, LJ_TISNUM);
2251 if (sse) {
2252 dasm_put(Dst, 11655);
2253 } else {
2254 dasm_put(Dst, 11670);
2256 break;
2257 case 1:
2258 dasm_put(Dst, 11460, LJ_TISNUM);
2259 if (LJ_DUALNUM) {
2260 dasm_put(Dst, 11472, LJ_TISNUM);
2262 if (sse) {
2263 dasm_put(Dst, 11679);
2264 } else {
2265 dasm_put(Dst, 11694);
2267 break;
2268 default:
2269 dasm_put(Dst, 11508, LJ_TISNUM, LJ_TISNUM);
2270 if (sse) {
2271 dasm_put(Dst, 11703);
2272 } else {
2273 dasm_put(Dst, 11717);
2275 break;
2277 if (sse) {
2278 dasm_put(Dst, 11163);
2279 } else {
2280 dasm_put(Dst, 11175);
2282 dasm_put(Dst, 10286);
2284 break;
2285 case BC_MULVN: case BC_MULNV: case BC_MULVV:
2286 if (LJ_DUALNUM) {
2287 dasm_put(Dst, 11295);
2288 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2289 switch (vk) {
2290 case 0:
2291 dasm_put(Dst, 11725, LJ_TISNUM, LJ_TISNUM);
2292 break;
2293 case 1:
2294 dasm_put(Dst, 11761, LJ_TISNUM, LJ_TISNUM);
2295 break;
2296 default:
2297 dasm_put(Dst, 11797, LJ_TISNUM, LJ_TISNUM);
2298 break;
2300 dasm_put(Dst, 11406, LJ_TISNUM);
2301 if (vk == 1) {
2302 dasm_put(Dst, 11203);
2303 } else {
2304 dasm_put(Dst, 10986);
2306 dasm_put(Dst, 10286);
2307 } else {
2308 dasm_put(Dst, 11295);
2309 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2310 switch (vk) {
2311 case 0:
2312 dasm_put(Dst, 11412, LJ_TISNUM);
2313 if (LJ_DUALNUM) {
2314 dasm_put(Dst, 11424, LJ_TISNUM);
2316 if (sse) {
2317 dasm_put(Dst, 11831);
2318 } else {
2319 dasm_put(Dst, 11846);
2321 break;
2322 case 1:
2323 dasm_put(Dst, 11460, LJ_TISNUM);
2324 if (LJ_DUALNUM) {
2325 dasm_put(Dst, 11472, LJ_TISNUM);
2327 if (sse) {
2328 dasm_put(Dst, 11855);
2329 } else {
2330 dasm_put(Dst, 11870);
2332 break;
2333 default:
2334 dasm_put(Dst, 11508, LJ_TISNUM, LJ_TISNUM);
2335 if (sse) {
2336 dasm_put(Dst, 11879);
2337 } else {
2338 dasm_put(Dst, 11893);
2340 break;
2342 if (sse) {
2343 dasm_put(Dst, 11163);
2344 } else {
2345 dasm_put(Dst, 11175);
2347 dasm_put(Dst, 10286);
2349 break;
2350 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
2351 dasm_put(Dst, 11295);
2352 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2353 switch (vk) {
2354 case 0:
2355 dasm_put(Dst, 11412, LJ_TISNUM);
2356 if (LJ_DUALNUM) {
2357 dasm_put(Dst, 11424, LJ_TISNUM);
2359 if (sse) {
2360 dasm_put(Dst, 11901);
2361 } else {
2362 dasm_put(Dst, 11916);
2364 break;
2365 case 1:
2366 dasm_put(Dst, 11460, LJ_TISNUM);
2367 if (LJ_DUALNUM) {
2368 dasm_put(Dst, 11472, LJ_TISNUM);
2370 if (sse) {
2371 dasm_put(Dst, 11925);
2372 } else {
2373 dasm_put(Dst, 11940);
2375 break;
2376 default:
2377 dasm_put(Dst, 11508, LJ_TISNUM, LJ_TISNUM);
2378 if (sse) {
2379 dasm_put(Dst, 11949);
2380 } else {
2381 dasm_put(Dst, 11963);
2383 break;
2385 if (sse) {
2386 dasm_put(Dst, 11163);
2387 } else {
2388 dasm_put(Dst, 11175);
2390 dasm_put(Dst, 10286);
2391 break;
2392 case BC_MODVN:
2393 dasm_put(Dst, 11295);
2394 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2395 switch (vk) {
2396 case 0:
2397 dasm_put(Dst, 11412, LJ_TISNUM);
2398 if (LJ_DUALNUM) {
2399 dasm_put(Dst, 11424, LJ_TISNUM);
2401 if (sse) {
2402 dasm_put(Dst, 11971);
2403 } else {
2404 dasm_put(Dst, 11986);
2406 break;
2407 case 1:
2408 dasm_put(Dst, 11460, LJ_TISNUM);
2409 if (LJ_DUALNUM) {
2410 dasm_put(Dst, 11472, LJ_TISNUM);
2412 if (sse) {
2413 dasm_put(Dst, 11995);
2414 } else {
2415 dasm_put(Dst, 12010);
2417 break;
2418 default:
2419 dasm_put(Dst, 11508, LJ_TISNUM, LJ_TISNUM);
2420 if (sse) {
2421 dasm_put(Dst, 12019);
2422 } else {
2423 dasm_put(Dst, 12033);
2425 break;
2427 dasm_put(Dst, 12041);
2428 if (sse) {
2429 dasm_put(Dst, 11163);
2430 } else {
2431 dasm_put(Dst, 11175);
2433 dasm_put(Dst, 10286);
2434 break;
2435 case BC_MODNV: case BC_MODVV:
2436 dasm_put(Dst, 11295);
2437 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2438 switch (vk) {
2439 case 0:
2440 dasm_put(Dst, 11412, LJ_TISNUM);
2441 if (LJ_DUALNUM) {
2442 dasm_put(Dst, 11424, LJ_TISNUM);
2444 if (sse) {
2445 dasm_put(Dst, 11971);
2446 } else {
2447 dasm_put(Dst, 11986);
2449 break;
2450 case 1:
2451 dasm_put(Dst, 11460, LJ_TISNUM);
2452 if (LJ_DUALNUM) {
2453 dasm_put(Dst, 11472, LJ_TISNUM);
2455 if (sse) {
2456 dasm_put(Dst, 11995);
2457 } else {
2458 dasm_put(Dst, 12010);
2460 break;
2461 default:
2462 dasm_put(Dst, 11508, LJ_TISNUM, LJ_TISNUM);
2463 if (sse) {
2464 dasm_put(Dst, 12019);
2465 } else {
2466 dasm_put(Dst, 12033);
2468 break;
2470 dasm_put(Dst, 12047);
2471 break;
2472 case BC_POW:
2473 dasm_put(Dst, 11295);
2474 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2475 switch (vk) {
2476 case 0:
2477 dasm_put(Dst, 11412, LJ_TISNUM);
2478 if (LJ_DUALNUM) {
2479 dasm_put(Dst, 11424, LJ_TISNUM);
2481 if (sse) {
2482 dasm_put(Dst, 11971);
2483 } else {
2484 dasm_put(Dst, 11986);
2486 break;
2487 case 1:
2488 dasm_put(Dst, 11460, LJ_TISNUM);
2489 if (LJ_DUALNUM) {
2490 dasm_put(Dst, 11472, LJ_TISNUM);
2492 if (sse) {
2493 dasm_put(Dst, 11995);
2494 } else {
2495 dasm_put(Dst, 12010);
2497 break;
2498 default:
2499 dasm_put(Dst, 11508, LJ_TISNUM, LJ_TISNUM);
2500 if (sse) {
2501 dasm_put(Dst, 12019);
2502 } else {
2503 dasm_put(Dst, 12033);
2505 break;
2507 dasm_put(Dst, 12052);
2508 if (sse) {
2509 dasm_put(Dst, 11163);
2510 } else {
2511 dasm_put(Dst, 11175);
2513 dasm_put(Dst, 10286);
2514 break;
2516 case BC_CAT:
2517 dasm_put(Dst, 12056, Dt1(->base), Dt1(->base));
2518 break;
2520 /* -- Constant ops ------------------------------------------------------ */
2522 case BC_KSTR:
2523 dasm_put(Dst, 12140, LJ_TSTR);
2524 break;
2525 case BC_KCDATA:
2526 #if LJ_HASFFI
2527 dasm_put(Dst, 12140, LJ_TCDATA);
2528 #endif
2529 break;
2530 case BC_KSHORT:
2531 if (LJ_DUALNUM) {
2532 dasm_put(Dst, 12177, LJ_TISNUM);
2533 } else if (sse) {
2534 dasm_put(Dst, 12189);
2535 } else {
2536 dasm_put(Dst, 12204);
2538 dasm_put(Dst, 10286);
2539 break;
2540 case BC_KNUM:
2541 if (sse) {
2542 dasm_put(Dst, 12212);
2543 } else {
2544 dasm_put(Dst, 12226);
2546 dasm_put(Dst, 10286);
2547 break;
2548 case BC_KPRI:
2549 dasm_put(Dst, 12234);
2550 break;
2551 case BC_KNIL:
2552 dasm_put(Dst, 12263, LJ_TNIL);
2553 break;
2555 /* -- Upvalue and function ops ------------------------------------------ */
2557 case BC_UGET:
2558 dasm_put(Dst, 12311, offsetof(GCfuncL, uvptr), DtA(->v));
2559 break;
2560 case BC_USETV:
2561 #define TV2MARKOFS \
2562 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2563 dasm_put(Dst, 12352, 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);
2564 dasm_put(Dst, 12448);
2565 break;
2566 #undef TV2MARKOFS
2567 case BC_USETS:
2568 dasm_put(Dst, 12460, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2569 break;
2570 case BC_USETN:
2571 dasm_put(Dst, 12556);
2572 if (sse) {
2573 dasm_put(Dst, 12561);
2574 } else {
2575 dasm_put(Dst, 10810);
2577 dasm_put(Dst, 12569, offsetof(GCfuncL, uvptr), DtA(->v));
2578 if (sse) {
2579 dasm_put(Dst, 12578);
2580 } else {
2581 dasm_put(Dst, 12584);
2583 dasm_put(Dst, 10286);
2584 break;
2585 case BC_USETP:
2586 dasm_put(Dst, 12587, offsetof(GCfuncL, uvptr), DtA(->v));
2587 break;
2588 case BC_UCLO:
2589 dasm_put(Dst, 12627, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2590 break;
2592 case BC_FNEW:
2593 dasm_put(Dst, 12683, Dt1(->base), Dt1(->base), LJ_TFUNC);
2594 break;
2596 /* -- Table ops --------------------------------------------------------- */
2598 case BC_TNEW:
2599 dasm_put(Dst, 12750, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2600 break;
2601 case BC_TDUP:
2602 dasm_put(Dst, 12874, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2603 break;
2605 case BC_GGET:
2606 dasm_put(Dst, 12973, Dt7(->env));
2607 break;
2608 case BC_GSET:
2609 dasm_put(Dst, 12993, Dt7(->env));
2610 break;
2612 case BC_TGETV:
2613 dasm_put(Dst, 13013, LJ_TTAB);
2614 if (LJ_DUALNUM) {
2615 dasm_put(Dst, 13036, LJ_TISNUM);
2616 } else {
2617 dasm_put(Dst, 13050, LJ_TISNUM);
2618 if (sse) {
2619 dasm_put(Dst, 13061);
2620 } else {
2622 dasm_put(Dst, 13082);
2624 dasm_put(Dst, 13087, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index, LJ_TNIL);
2625 dasm_put(Dst, 13179, LJ_TSTR);
2626 break;
2627 case BC_TGETS:
2628 dasm_put(Dst, 13197, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2629 dasm_put(Dst, 13282, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2630 break;
2631 case BC_TGETB:
2632 dasm_put(Dst, 13354, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2633 dasm_put(Dst, 13450, LJ_TNIL);
2634 break;
2636 case BC_TSETV:
2637 dasm_put(Dst, 13467, LJ_TTAB);
2638 if (LJ_DUALNUM) {
2639 dasm_put(Dst, 13036, LJ_TISNUM);
2640 } else {
2641 dasm_put(Dst, 13050, LJ_TISNUM);
2642 if (sse) {
2643 dasm_put(Dst, 13061);
2644 } else {
2646 dasm_put(Dst, 13490);
2648 dasm_put(Dst, 13495, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex);
2649 dasm_put(Dst, 13576, LJ_TSTR, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2650 break;
2651 case BC_TSETS:
2652 dasm_put(Dst, 13635, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2653 dasm_put(Dst, 13712, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2654 dasm_put(Dst, 13799, 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));
2655 break;
2656 case BC_TSETB:
2657 dasm_put(Dst, 13891, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2658 dasm_put(Dst, 13986, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2659 break;
2661 case BC_TSETM:
2662 dasm_put(Dst, 14034, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2663 dasm_put(Dst, 14184, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2664 break;
2666 /* -- Calls and vararg handling ----------------------------------------- */
2668 case BC_CALL: case BC_CALLM:
2669 dasm_put(Dst, 11299);
2670 if (op == BC_CALLM) {
2671 dasm_put(Dst, 14204);
2673 dasm_put(Dst, 14209, LJ_TFUNC, Dt7(->pc));
2674 break;
2676 case BC_CALLMT:
2677 dasm_put(Dst, 14204);
2678 break;
2679 case BC_CALLT:
2680 dasm_put(Dst, 14252, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2681 dasm_put(Dst, 14370, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2682 break;
2684 case BC_ITERC:
2685 dasm_put(Dst, 14444, LJ_TFUNC, 2+1, Dt7(->pc));
2686 break;
2688 case BC_ITERN:
2689 #if LJ_HASJIT
2690 #endif
2691 dasm_put(Dst, 14516, Dt6(->asize), Dt6(->array), LJ_TNIL);
2692 if (LJ_DUALNUM) {
2693 dasm_put(Dst, 11198, LJ_TISNUM);
2694 } else if (sse) {
2695 dasm_put(Dst, 11276);
2696 } else {
2697 dasm_put(Dst, 14568);
2699 dasm_put(Dst, 14574);
2700 if (LJ_DUALNUM) {
2701 } else if (sse) {
2702 dasm_put(Dst, 11163);
2703 } else {
2704 dasm_put(Dst, 11175);
2706 dasm_put(Dst, 14587, -BCBIAS_J*4);
2707 if (!LJ_DUALNUM && !sse) {
2708 dasm_put(Dst, 14641);
2710 dasm_put(Dst, 14647, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key), DtB(->val));
2711 break;
2713 case BC_ISNEXT:
2714 dasm_put(Dst, 14726, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2715 break;
2717 case BC_VARG:
2718 dasm_put(Dst, 14827, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2719 dasm_put(Dst, 14994, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2720 break;
2722 /* -- Returns ----------------------------------------------------------- */
2724 case BC_RETM:
2725 dasm_put(Dst, 14204);
2726 break;
2728 case BC_RET: case BC_RET0: case BC_RET1:
2729 if (op != BC_RET0) {
2730 dasm_put(Dst, 15064);
2732 dasm_put(Dst, 15068, FRAME_TYPE);
2733 switch (op) {
2734 case BC_RET:
2735 dasm_put(Dst, 15087);
2736 break;
2737 case BC_RET1:
2738 dasm_put(Dst, 15141);
2739 /* fallthrough */
2740 case BC_RET0:
2741 dasm_put(Dst, 15151);
2742 default:
2743 break;
2745 dasm_put(Dst, 15162, Dt7(->pc), PC2PROTO(k));
2746 if (op == BC_RET) {
2747 dasm_put(Dst, 15210, LJ_TNIL);
2748 } else {
2749 dasm_put(Dst, 15221, LJ_TNIL);
2751 dasm_put(Dst, 15228, -FRAME_VARG, FRAME_TYPEP);
2752 if (op != BC_RET0) {
2753 dasm_put(Dst, 15252);
2755 dasm_put(Dst, 4732);
2756 break;
2758 /* -- Loops and branches ------------------------------------------------ */
2761 case BC_FORL:
2762 #if LJ_HASJIT
2763 dasm_put(Dst, 15256, HOTCOUNT_PCMASK, GG_DISP2HOT);
2764 #endif
2765 break;
2767 case BC_JFORI:
2768 case BC_JFORL:
2769 #if !LJ_HASJIT
2770 break;
2771 #endif
2772 case BC_FORI:
2773 case BC_IFORL:
2774 vk = (op == BC_IFORL || op == BC_JFORL);
2775 dasm_put(Dst, 15277);
2776 if (LJ_DUALNUM) {
2777 dasm_put(Dst, 15281, LJ_TISNUM);
2778 if (!vk) {
2779 dasm_put(Dst, 15291, LJ_TISNUM, LJ_TISNUM);
2780 } else {
2781 #ifdef LUA_USE_ASSERT
2782 dasm_put(Dst, 15320, LJ_TISNUM, LJ_TISNUM);
2783 #endif
2784 dasm_put(Dst, 15339);
2786 dasm_put(Dst, 15358, LJ_TISNUM);
2787 if (op == BC_FORI) {
2788 dasm_put(Dst, 15369, -BCBIAS_J*4);
2789 } else if (op == BC_JFORI) {
2790 dasm_put(Dst, 15383, -BCBIAS_J*4, BC_JLOOP);
2791 } else if (op == BC_IFORL) {
2792 dasm_put(Dst, 15401, -BCBIAS_J*4);
2793 } else {
2794 dasm_put(Dst, 15393, BC_JLOOP);
2796 dasm_put(Dst, 15415);
2797 if (vk) {
2798 dasm_put(Dst, 15440);
2800 dasm_put(Dst, 15358, LJ_TISNUM);
2801 if (op == BC_FORI) {
2802 dasm_put(Dst, 15449);
2803 } else if (op == BC_JFORI) {
2804 dasm_put(Dst, 15454, -BCBIAS_J*4, BC_JLOOP);
2805 } else if (op == BC_IFORL) {
2806 dasm_put(Dst, 15468);
2807 } else {
2808 dasm_put(Dst, 15464, BC_JLOOP);
2810 dasm_put(Dst, 15473);
2811 } else if (!vk) {
2812 dasm_put(Dst, 15480, LJ_TISNUM);
2814 if (!vk) {
2815 dasm_put(Dst, 15486, LJ_TISNUM);
2816 } else {
2817 #ifdef LUA_USE_ASSERT
2818 dasm_put(Dst, 15500, LJ_TISNUM, LJ_TISNUM);
2819 #endif
2821 dasm_put(Dst, 15519);
2822 if (!vk) {
2823 dasm_put(Dst, 15523, LJ_TISNUM);
2825 if (sse) {
2826 dasm_put(Dst, 15532);
2827 if (vk) {
2828 dasm_put(Dst, 15544);
2829 } else {
2830 dasm_put(Dst, 15563);
2832 dasm_put(Dst, 15568);
2833 } else {
2834 dasm_put(Dst, 15581);
2835 if (vk) {
2836 dasm_put(Dst, 15587);
2837 } else {
2838 dasm_put(Dst, 15603);
2840 dasm_put(Dst, 15611);
2841 if (cmov) {
2842 dasm_put(Dst, 10241);
2843 } else {
2844 dasm_put(Dst, 10247);
2846 if (!cmov) {
2847 dasm_put(Dst, 15616);
2850 if (op == BC_FORI) {
2851 if (LJ_DUALNUM) {
2852 dasm_put(Dst, 15622);
2853 } else {
2854 dasm_put(Dst, 15627, -BCBIAS_J*4);
2856 } else if (op == BC_JFORI) {
2857 dasm_put(Dst, 15637, -BCBIAS_J*4, BC_JLOOP);
2858 } else if (op == BC_IFORL) {
2859 if (LJ_DUALNUM) {
2860 dasm_put(Dst, 15651);
2861 } else {
2862 dasm_put(Dst, 15656, -BCBIAS_J*4);
2864 } else {
2865 dasm_put(Dst, 15647, BC_JLOOP);
2867 if (LJ_DUALNUM) {
2868 dasm_put(Dst, 10170);
2869 } else {
2870 dasm_put(Dst, 10944);
2872 if (sse) {
2873 dasm_put(Dst, 15666);
2875 break;
2877 case BC_ITERL:
2878 #if LJ_HASJIT
2879 dasm_put(Dst, 15256, HOTCOUNT_PCMASK, GG_DISP2HOT);
2880 #endif
2881 break;
2883 case BC_JITERL:
2884 #if !LJ_HASJIT
2885 break;
2886 #endif
2887 case BC_IITERL:
2888 dasm_put(Dst, 15677, LJ_TNIL);
2889 if (op == BC_JITERL) {
2890 dasm_put(Dst, 15692, BC_JLOOP);
2891 } else {
2892 dasm_put(Dst, 15706, -BCBIAS_J*4);
2894 dasm_put(Dst, 10284);
2895 break;
2897 case BC_LOOP:
2898 #if LJ_HASJIT
2899 dasm_put(Dst, 15256, HOTCOUNT_PCMASK, GG_DISP2HOT);
2900 #endif
2901 break;
2903 case BC_ILOOP:
2904 dasm_put(Dst, 10286);
2905 break;
2907 case BC_JLOOP:
2908 #if LJ_HASJIT
2909 dasm_put(Dst, 15722, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
2910 #endif
2911 break;
2913 case BC_JMP:
2914 dasm_put(Dst, 15763, -BCBIAS_J*4);
2915 break;
2917 /* -- Function headers -------------------------------------------------- */
2920 ** Reminder: A function may be called with func/args above L->maxstack,
2921 ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot,
2922 ** too. This means all FUNC* ops (including fast functions) must check
2923 ** for stack overflow _before_ adding more slots!
2926 case BC_FUNCF:
2927 #if LJ_HASJIT
2928 dasm_put(Dst, 15789, HOTCOUNT_PCMASK, GG_DISP2HOT);
2929 #endif
2930 case BC_FUNCV: /* NYI: compiled vararg functions. */
2931 break;
2933 case BC_JFUNCF:
2934 #if !LJ_HASJIT
2935 break;
2936 #endif
2937 case BC_IFUNCF:
2938 dasm_put(Dst, 15810, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
2939 if (op == BC_JFUNCF) {
2940 dasm_put(Dst, 15841, BC_JLOOP);
2941 } else {
2942 dasm_put(Dst, 10286);
2944 dasm_put(Dst, 15850, LJ_TNIL);
2945 break;
2947 case BC_JFUNCV:
2948 #if !LJ_HASJIT
2949 break;
2950 #endif
2951 dasm_put(Dst, 9393);
2952 break; /* NYI: compiled vararg functions. */
2954 case BC_IFUNCV:
2955 dasm_put(Dst, 15872, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
2956 if (op == BC_JFUNCV) {
2957 dasm_put(Dst, 15841, BC_JLOOP);
2958 } else {
2959 dasm_put(Dst, 15969, -4+PC2PROTO(k));
2961 dasm_put(Dst, 15994, LJ_TNIL);
2962 break;
2964 case BC_FUNCC:
2965 case BC_FUNCCW:
2966 dasm_put(Dst, 16016, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
2967 if (op == BC_FUNCC) {
2968 dasm_put(Dst, 2404);
2969 } else {
2970 dasm_put(Dst, 16046);
2972 dasm_put(Dst, 16054, DISPATCH_GL(vmstate), ~LJ_VMST_C);
2973 if (op == BC_FUNCC) {
2974 dasm_put(Dst, 16064);
2975 } else {
2976 dasm_put(Dst, 16069, DISPATCH_GL(wrapf));
2978 dasm_put(Dst, 16075, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
2979 break;
2981 /* ---------------------------------------------------------------------- */
2983 default:
2984 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
2985 exit(2);
2986 break;
2990 static int build_backend(BuildCtx *ctx)
2992 int op;
2993 int cmov = 1;
2994 int sse = 0;
2995 #ifdef LUAJIT_CPU_NOCMOV
2996 cmov = 0;
2997 #endif
2998 #if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
2999 sse = 1;
3000 #endif
3002 dasm_growpc(Dst, BC__MAX);
3004 build_subroutines(ctx, cmov, sse);
3006 dasm_put(Dst, 16101);
3007 for (op = 0; op < BC__MAX; op++)
3008 build_ins(ctx, (BCOp)op, op, cmov, sse);
3010 return BC__MAX;
3013 /* Emit pseudo frame-info for all assembler functions. */
3014 static void emit_asm_debug(BuildCtx *ctx)
3016 #if LJ_64
3017 #define SZPTR "8"
3018 #define BSZPTR "3"
3019 #define REG_SP "0x7"
3020 #define REG_RA "0x10"
3021 #else
3022 #define SZPTR "4"
3023 #define BSZPTR "2"
3024 #define REG_SP "0x4"
3025 #define REG_RA "0x8"
3026 #endif
3027 switch (ctx->mode) {
3028 case BUILD_elfasm:
3029 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
3030 fprintf(ctx->fp,
3031 ".Lframe0:\n"
3032 "\t.long .LECIE0-.LSCIE0\n"
3033 ".LSCIE0:\n"
3034 "\t.long 0xffffffff\n"
3035 "\t.byte 0x1\n"
3036 "\t.string \"\"\n"
3037 "\t.uleb128 0x1\n"
3038 "\t.sleb128 -" SZPTR "\n"
3039 "\t.byte " REG_RA "\n"
3040 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3041 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3042 "\t.align " SZPTR "\n"
3043 ".LECIE0:\n\n");
3044 fprintf(ctx->fp,
3045 ".LSFDE0:\n"
3046 "\t.long .LEFDE0-.LASFDE0\n"
3047 ".LASFDE0:\n"
3048 "\t.long .Lframe0\n"
3049 "\t.long .Lbegin\n"
3050 "\t.long %d\n"
3051 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3052 #if LJ_64
3053 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3054 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3055 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3056 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3057 #else
3058 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3059 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3060 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3061 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3062 #endif
3063 "\t.align " SZPTR "\n"
3064 ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
3065 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
3066 fprintf(ctx->fp,
3067 ".Lframe1:\n"
3068 "\t.long .LECIE1-.LSCIE1\n"
3069 ".LSCIE1:\n"
3070 "\t.long 0\n"
3071 "\t.byte 0x1\n"
3072 "\t.string \"zPR\"\n"
3073 "\t.uleb128 0x1\n"
3074 "\t.sleb128 -" SZPTR "\n"
3075 "\t.byte " REG_RA "\n"
3076 "\t.uleb128 6\n" /* augmentation length */
3077 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3078 "\t.long lj_err_unwind_dwarf-.\n"
3079 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3080 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3081 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3082 "\t.align " SZPTR "\n"
3083 ".LECIE1:\n\n");
3084 fprintf(ctx->fp,
3085 ".LSFDE1:\n"
3086 "\t.long .LEFDE1-.LASFDE1\n"
3087 ".LASFDE1:\n"
3088 "\t.long .LASFDE1-.Lframe1\n"
3089 "\t.long .Lbegin-.\n"
3090 "\t.long %d\n"
3091 "\t.uleb128 0\n" /* augmentation length */
3092 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3093 #if LJ_64
3094 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3095 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3096 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3097 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3098 #else
3099 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3100 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3101 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3102 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3103 #endif
3104 "\t.align " SZPTR "\n"
3105 ".LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
3106 break;
3107 case BUILD_coffasm:
3108 fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n");
3109 fprintf(ctx->fp,
3110 "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n",
3111 LJ_32 ? "_" : "");
3112 fprintf(ctx->fp,
3113 "Lframe1:\n"
3114 "\t.long LECIE1-LSCIE1\n"
3115 "LSCIE1:\n"
3116 "\t.long 0\n"
3117 "\t.byte 0x1\n"
3118 "\t.string \"zP\"\n"
3119 "\t.uleb128 0x1\n"
3120 "\t.sleb128 -" SZPTR "\n"
3121 "\t.byte " REG_RA "\n"
3122 "\t.uleb128 5\n" /* augmentation length */
3123 "\t.byte 0x00\n" /* absptr */
3124 "\t.long %slj_err_unwind_dwarf\n"
3125 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3126 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3127 "\t.align " SZPTR "\n"
3128 "LECIE1:\n\n", LJ_32 ? "_" : "");
3129 fprintf(ctx->fp,
3130 "LSFDE1:\n"
3131 "\t.long LEFDE1-LASFDE1\n"
3132 "LASFDE1:\n"
3133 "\t.long LASFDE1-Lframe1\n"
3134 "\t.long %slj_vm_asm_begin\n"
3135 "\t.long %d\n"
3136 "\t.uleb128 0\n" /* augmentation length */
3137 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3138 #if LJ_64
3139 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3140 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3141 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3142 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3143 #else
3144 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3145 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3146 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3147 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3148 #endif
3149 "\t.align " SZPTR "\n"
3150 "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE);
3151 break;
3152 /* Mental note: never let Apple design an assembler.
3153 ** Or a linker. Or a plastic case. But I digress.
3155 case BUILD_machasm: {
3156 int i;
3157 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
3158 fprintf(ctx->fp,
3159 "EH_frame1:\n"
3160 "\t.set L$set$x,LECIEX-LSCIEX\n"
3161 "\t.long L$set$x\n"
3162 "LSCIEX:\n"
3163 "\t.long 0\n"
3164 "\t.byte 0x1\n"
3165 "\t.ascii \"zPR\\0\"\n"
3166 "\t.byte 0x1\n"
3167 "\t.byte 128-" SZPTR "\n"
3168 "\t.byte " REG_RA "\n"
3169 "\t.byte 6\n" /* augmentation length */
3170 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
3171 #if LJ_64
3172 "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n"
3173 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3174 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3175 #else
3176 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
3177 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3178 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
3179 #endif
3180 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3181 "\t.align " BSZPTR "\n"
3182 "LECIEX:\n\n");
3183 for (i = 0; i < ctx->nsym; i++) {
3184 const char *name = ctx->sym[i].name;
3185 int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
3186 if (size == 0) continue;
3187 fprintf(ctx->fp,
3188 "%s.eh:\n"
3189 "LSFDE%d:\n"
3190 "\t.set L$set$%d,LEFDE%d-LASFDE%d\n"
3191 "\t.long L$set$%d\n"
3192 "LASFDE%d:\n"
3193 "\t.long LASFDE%d-EH_frame1\n"
3194 "\t.long %s-.\n"
3195 "\t.long %d\n"
3196 "\t.byte 0\n" /* augmentation length */
3197 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
3198 #if LJ_64
3199 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3200 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3201 "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */
3202 "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */
3203 #else
3204 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3205 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
3206 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
3207 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
3208 #endif
3209 "\t.align " BSZPTR "\n"
3210 "LEFDE%d:\n\n",
3211 name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i);
3213 #if LJ_64
3214 fprintf(ctx->fp, "\t.subsections_via_symbols\n");
3215 #else
3216 fprintf(ctx->fp,
3217 "\t.non_lazy_symbol_pointer\n"
3218 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
3219 ".indirect_symbol _lj_err_unwind_dwarf\n"
3220 ".long 0\n");
3221 #endif
3223 break;
3224 default: /* Difficult for other modes. */
3225 break;