x64: Fix math.random() code generation.
[luajit-2.0.git] / src / buildvm_x64.h
blob4e4eca54462b28d7c38f17fb4b4d90a477067c72
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[16156] = {
16 254,1,248,10,252,247,195,237,15,132,244,11,131,227,252,248,41,218,72,141,
17 76,25,252,248,139,90,252,252,199,68,10,4,237,248,12,131,192,1,137,68,36,4,
18 252,247,195,237,15,132,244,13,248,14,129,252,243,239,252,247,195,237,15,133,
19 244,10,65,199,134,233,237,131,227,252,248,41,211,252,247,219,131,232,1,15,
20 132,244,248,248,1,72,139,44,10,72,137,106,252,248,131,194,8,131,232,1,15,
21 133,244,1,248,2,255,139,108,36,24,137,157,233,248,3,139,68,36,4,139,76,36,
22 16,248,4,57,193,15,133,244,252,248,5,131,252,234,8,137,149,233,248,15,72,
23 139,76,36,32,72,137,141,233,49,192,248,16,72,131,196,40,65,94,65,95,91,93,
24 195,248,6,15,130,244,253,59,149,233,15,135,244,254,199,66,252,252,237,131,
25 194,8,131,192,1,252,233,244,4,248,7,255,133,201,15,132,244,5,41,193,141,20,
26 202,252,233,244,5,248,8,137,149,233,137,68,36,4,137,206,137,252,239,232,251,
27 1,0,139,149,233,252,233,244,3,248,17,137,252,240,72,137,252,252,248,18,139,
28 108,36,24,139,173,233,199,133,233,237,252,233,244,16,248,19,139,124,36,24,
29 137,198,72,131,196,40,65,94,65,95,91,93,252,233,251,1,1,248,20,72,129,231,
30 239,72,137,252,252,248,21,255,139,108,36,24,72,199,193,252,248,252,255,252,
31 255,252,255,184,237,139,149,233,68,139,181,233,65,129,198,239,139,90,252,
32 252,199,66,252,252,237,65,199,134,233,237,252,233,244,12,248,22,190,237,252,
33 233,244,248,248,23,131,232,8,252,233,244,247,248,24,141,68,194,252,248,248,
34 1,15,182,139,233,131,195,4,137,149,233,255,137,133,233,137,92,36,28,137,206,
35 248,2,137,252,239,232,251,1,0,139,149,233,139,133,233,139,106,252,248,41,
36 208,193,232,3,131,192,1,139,157,233,139,11,15,182,252,233,15,182,205,131,
37 195,4,65,252,255,36,252,238,248,25,85,83,65,87,65,86,72,131,252,236,40,137,
38 252,253,137,124,36,24,137,252,241,187,237,49,192,76,141,188,253,36,233,68,
39 139,181,233,65,129,198,239,76,137,189,233,137,68,36,28,72,137,68,36,32,137,
40 68,36,16,137,68,36,20,56,133,233,15,132,244,249,65,199,134,233,237,136,133,
41 233,139,149,233,139,133,233,41,200,193,232,3,131,192,1,41,209,139,90,252,
42 252,137,68,36,4,252,247,195,237,255,15,132,244,13,252,233,244,14,248,26,85,
43 83,65,87,65,86,72,131,252,236,40,187,237,137,76,36,20,252,233,244,247,248,
44 27,85,83,65,87,65,86,72,131,252,236,40,187,237,248,1,137,84,36,16,137,252,
45 253,137,124,36,24,137,252,241,76,139,189,233,76,137,124,36,32,137,108,36,
46 28,72,137,165,233,248,2,68,139,181,233,65,129,198,239,248,3,65,199,134,233,
47 237,139,149,233,255,1,203,41,211,139,133,233,41,200,193,232,3,131,192,1,248,
48 28,139,105,252,248,129,121,253,252,252,239,15,133,244,29,248,30,137,202,137,
49 90,252,252,139,157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,
50 255,36,252,238,248,31,85,83,65,87,65,86,72,131,252,236,40,137,252,253,137,
51 124,36,24,137,108,36,28,68,139,189,233,68,43,189,233,199,68,36,20,0,0,0,0,
52 68,137,124,36,16,76,139,189,233,76,137,124,36,32,72,137,165,233,252,255,209,
53 133,192,15,132,244,15,137,193,187,237,252,233,244,2,248,11,1,209,131,227,
54 252,248,137,213,41,218,199,68,193,252,252,237,137,200,139,93,252,244,72,99,
55 77,252,240,133,201,15,132,244,247,255,76,141,61,245,76,1,252,249,68,139,122,
56 252,248,69,139,191,233,69,139,191,233,252,255,225,248,1,41,213,193,252,237,
57 3,141,69,252,255,252,233,244,32,248,33,15,182,75,252,255,131,252,237,16,141,
58 12,202,41,252,233,15,132,244,34,252,247,217,193,252,233,3,139,124,36,24,137,
59 151,233,137,202,72,139,8,72,137,77,0,137,252,238,252,233,244,35,248,36,137,
60 4,36,199,68,36,4,237,72,141,4,36,128,123,252,252,235,15,133,244,247,65,141,
61 142,233,137,41,199,65,4,237,255,137,205,252,233,244,248,248,37,15,182,67,
62 252,254,255,199,68,36,4,237,137,4,36,255,252,242,15,42,192,252,242,15,17,
63 4,36,255,72,141,4,36,252,233,244,247,248,38,15,182,67,252,254,141,4,194,248,
64 1,15,182,107,252,255,141,44,252,234,248,2,139,124,36,24,137,151,233,137,252,
65 238,72,137,194,137,252,253,137,92,36,28,232,251,1,2,139,149,233,133,192,15,
66 132,244,249,248,34,15,182,75,252,253,72,139,40,72,137,44,202,139,3,15,182,
67 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,139,141,233,
68 137,89,252,244,141,153,233,41,211,139,105,252,248,184,237,252,233,244,30,
69 248,39,137,4,36,199,68,36,4,237,72,141,4,36,128,123,252,252,235,15,133,244,
70 247,255,65,141,142,233,137,41,199,65,4,237,137,205,252,233,244,248,248,40,
71 15,182,67,252,254,255,72,141,4,36,252,233,244,247,248,41,15,182,67,252,254,
72 141,4,194,248,1,15,182,107,252,255,141,44,252,234,248,2,139,124,36,24,137,
73 151,233,137,252,238,72,137,194,137,252,253,137,92,36,28,232,251,1,3,139,149,
74 233,133,192,15,132,244,249,15,182,75,252,253,72,139,44,202,72,137,40,248,
75 42,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
76 248,3,139,141,233,137,89,252,244,15,182,67,252,253,72,139,44,194,72,137,105,
77 16,141,153,233,41,211,139,105,252,248,184,237,252,233,244,30,248,43,139,108,
78 36,24,137,149,233,141,52,202,141,20,194,137,252,239,15,182,75,252,252,137,
79 92,36,28,232,251,1,4,248,3,139,149,233,255,131,252,248,1,15,135,244,44,248,
80 4,141,91,4,15,130,244,252,248,5,15,183,67,252,254,141,156,253,131,233,248,
81 6,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
82 248,45,131,195,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,46,129,
83 120,253,4,239,252,233,244,4,248,47,131,252,235,4,137,206,137,252,233,139,
84 108,36,24,137,149,233,255,137,194,137,252,239,137,92,36,28,232,251,1,5,252,
85 233,244,3,248,48,255,131,252,235,4,139,108,36,24,137,149,233,137,252,239,
86 139,115,252,252,137,92,36,28,232,251,1,6,252,233,244,3,255,248,49,255,15,
87 182,107,252,255,255,248,50,65,141,4,199,252,233,244,247,248,51,255,248,52,
88 65,141,4,199,141,44,252,234,149,252,233,244,248,248,53,141,4,194,137,197,
89 252,233,244,248,248,54,255,248,55,141,4,194,248,1,141,44,252,234,248,2,141,
90 12,202,68,15,182,67,252,252,137,206,137,193,139,124,36,24,137,151,233,137,
91 252,234,137,252,253,137,92,36,28,232,251,1,7,139,149,233,133,192,15,132,244,
92 42,248,44,137,193,41,208,137,89,252,244,141,152,233,184,237,252,233,244,28,
93 248,56,139,108,36,24,137,149,233,141,52,194,137,252,239,137,92,36,28,232,
94 251,1,8,139,149,233,255,133,192,15,133,244,44,15,183,67,252,254,139,60,194,
95 252,233,244,57,255,252,233,244,44,255,248,58,141,76,202,8,248,29,137,76,36,
96 4,137,4,36,131,252,233,8,139,108,36,24,137,149,233,137,206,141,20,193,137,
97 252,239,137,92,36,28,232,251,1,9,139,149,233,139,76,36,4,139,4,36,139,105,
98 252,248,131,192,1,65,57,215,15,132,244,59,137,202,137,90,252,252,139,157,
99 233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,248,
100 60,139,108,36,24,137,149,233,137,206,137,252,239,137,92,36,28,232,251,1,10,
101 139,149,233,139,67,252,252,15,182,204,15,182,232,193,232,16,65,252,255,164,
102 253,252,238,233,248,61,129,252,248,239,15,130,244,62,139,106,4,129,252,253,
103 239,15,131,244,62,139,90,252,252,137,68,36,4,137,106,252,252,139,42,137,106,
104 252,248,131,232,2,15,132,244,248,255,137,209,248,1,131,193,8,72,139,41,72,
105 137,105,252,248,131,232,1,15,133,244,1,248,2,139,68,36,4,252,233,244,63,248,
106 64,129,252,248,239,15,130,244,62,139,106,4,137,252,233,193,252,249,15,131,
107 252,249,252,254,15,132,244,249,184,237,252,247,213,57,232,255,15,71,197,255,
108 15,134,244,247,137,232,248,1,255,248,2,139,106,252,248,139,132,253,197,233,
109 139,90,252,252,199,66,252,252,237,137,66,252,248,252,233,244,65,248,3,184,
110 237,252,233,244,2,248,66,129,252,248,239,15,130,244,62,139,106,4,139,90,252,
111 252,129,252,253,239,15,133,244,252,248,1,139,42,139,173,233,248,2,133,252,
112 237,199,66,252,252,237,255,15,132,244,65,65,139,134,233,199,66,252,252,237,
113 137,106,252,248,139,141,233,35,136,233,105,201,239,3,141,233,248,3,129,185,
114 233,239,15,133,244,250,57,129,233,15,132,244,251,248,4,139,137,233,133,201,
115 15,133,244,3,255,252,233,244,65,248,5,139,105,4,129,252,253,239,15,132,244,
116 65,139,1,137,106,252,252,137,66,252,248,252,233,244,65,248,6,129,252,253,
117 239,15,132,244,1,129,252,253,239,15,135,244,254,129,252,253,239,15,134,244,
118 253,189,237,252,233,244,254,248,7,255,189,237,248,8,252,247,213,65,139,172,
119 253,174,233,252,233,244,2,248,67,129,252,248,239,15,130,244,62,129,122,253,
120 4,239,15,133,244,62,139,42,131,189,233,0,15,133,244,62,129,122,253,12,239,
121 15,133,244,62,139,66,8,137,133,233,139,90,252,252,199,66,252,252,237,255,
122 137,106,252,248,252,246,133,233,235,15,132,244,247,128,165,233,235,65,139,
123 134,233,65,137,174,233,137,133,233,248,1,252,233,244,65,248,68,129,252,248,
124 239,15,130,244,62,129,122,253,4,239,15,133,244,62,137,213,139,50,141,82,8,
125 139,124,36,24,232,251,1,11,137,252,234,72,139,40,139,90,252,252,72,137,106,
126 252,248,252,233,244,65,248,69,255,129,252,248,239,15,133,244,62,129,122,253,
127 4,239,255,15,133,244,247,139,42,252,233,244,70,248,1,15,135,244,62,255,15,
128 131,244,62,255,252,242,15,16,2,252,233,244,71,255,221,2,252,233,244,72,255,
129 248,73,129,252,248,239,15,130,244,62,139,90,252,252,129,122,253,4,239,15,
130 133,244,249,139,2,248,2,199,66,252,252,237,137,66,252,248,252,233,244,65,
131 248,3,129,122,253,4,239,15,135,244,62,65,131,190,233,0,15,133,244,62,65,139,
132 174,233,65,59,174,233,255,15,130,244,247,232,244,74,248,1,139,108,36,24,137,
133 149,233,137,92,36,28,137,214,137,252,239,255,232,251,1,12,255,232,251,1,13,
134 255,139,149,233,252,233,244,2,248,75,129,252,248,239,15,130,244,62,15,132,
135 244,248,248,1,129,122,253,4,239,15,133,244,62,139,108,36,24,137,149,233,137,
136 149,233,139,90,252,252,139,50,141,82,8,137,252,239,137,92,36,28,232,251,1,
137 14,139,149,233,133,192,15,132,244,249,72,139,106,8,72,139,66,16,72,137,106,
138 252,248,72,137,2,248,76,184,237,255,252,233,244,77,248,2,199,66,12,237,252,
139 233,244,1,248,3,199,66,252,252,237,252,233,244,65,248,78,129,252,248,239,
140 15,130,244,62,139,42,129,122,253,4,239,15,133,244,62,255,131,189,233,0,15,
141 133,244,62,255,139,106,252,248,139,133,233,139,90,252,252,199,66,252,252,
142 237,137,66,252,248,199,66,12,237,184,237,252,233,244,77,248,79,129,252,248,
143 239,15,130,244,62,129,122,253,4,239,15,133,244,62,129,122,253,12,239,255,
144 139,90,252,252,255,139,66,8,131,192,1,199,66,252,252,237,137,66,252,248,255,
145 252,242,15,16,66,8,72,189,237,237,102,72,15,110,205,252,242,15,88,193,252,
146 242,15,45,192,252,242,15,17,66,252,248,255,139,42,59,133,233,15,131,244,248,
147 193,224,3,3,133,233,248,1,129,120,253,4,239,15,132,244,80,72,139,40,72,137,
148 42,252,233,244,76,248,2,131,189,233,0,15,132,244,80,137,252,239,137,213,137,
149 198,232,251,1,15,137,252,234,133,192,15,133,244,1,248,80,184,237,252,233,
150 244,77,248,81,255,139,106,252,248,139,133,233,139,90,252,252,199,66,252,252,
151 237,137,66,252,248,255,199,66,12,237,199,66,8,0,0,0,0,255,15,87,192,252,242,
152 15,17,66,8,255,217,252,238,221,90,8,255,184,237,252,233,244,77,248,82,129,
153 252,248,239,15,130,244,62,141,74,8,131,232,1,187,237,248,1,65,15,182,174,
154 233,193,252,237,235,131,229,1,1,252,235,252,233,244,28,248,83,129,252,248,
155 239,15,130,244,62,129,122,253,12,239,15,133,244,62,255,139,106,4,137,106,
156 12,199,66,4,237,139,42,139,90,8,137,106,8,137,26,141,74,16,131,232,2,187,
157 237,252,233,244,1,248,84,129,252,248,239,15,130,244,62,139,42,139,90,252,
158 252,137,92,36,28,137,44,36,129,122,253,4,239,15,133,244,62,72,131,189,233,
159 0,15,133,244,62,128,189,233,235,15,135,244,62,139,141,233,15,132,244,247,
160 255,59,141,233,15,132,244,62,248,1,141,92,193,252,240,59,157,233,15,135,244,
161 62,137,157,233,139,108,36,24,137,149,233,131,194,8,137,149,233,141,108,194,
162 232,72,41,221,57,203,15,132,244,249,248,2,72,139,4,43,72,137,67,252,248,131,
163 252,235,8,57,203,15,133,244,2,248,3,137,206,139,60,36,232,244,25,65,199,134,
164 233,237,255,139,108,36,24,139,28,36,139,149,233,129,252,248,239,15,135,244,
165 254,248,4,139,139,233,68,139,187,233,137,139,233,68,137,252,251,41,203,15,
166 132,244,252,141,4,26,193,252,235,3,59,133,233,15,135,244,255,137,213,72,41,
167 205,248,5,72,139,1,72,137,4,41,131,193,8,68,57,252,249,15,133,244,5,248,6,
168 141,67,2,199,66,252,252,237,248,7,139,92,36,28,137,68,36,4,72,199,193,252,
169 248,252,255,252,255,252,255,252,247,195,237,255,15,132,244,13,252,233,244,
170 14,248,8,199,66,252,252,237,139,139,233,131,252,233,8,137,139,233,72,139,
171 1,72,137,2,184,237,252,233,244,7,248,9,139,12,36,68,137,185,233,137,222,137,
172 252,239,232,251,1,0,139,28,36,139,149,233,252,233,244,4,248,85,139,106,252,
173 248,139,173,233,139,90,252,252,137,92,36,28,137,44,36,72,131,189,233,0,15,
174 133,244,62,255,128,189,233,235,15,135,244,62,139,141,233,15,132,244,247,59,
175 141,233,15,132,244,62,248,1,141,92,193,252,248,59,157,233,15,135,244,62,137,
176 157,233,139,108,36,24,137,149,233,137,149,233,141,108,194,252,240,72,41,221,
177 57,203,15,132,244,249,248,2,255,72,139,4,43,72,137,67,252,248,131,252,235,
178 8,57,203,15,133,244,2,248,3,137,206,139,60,36,232,244,25,65,199,134,233,237,
179 139,108,36,24,139,28,36,139,149,233,129,252,248,239,15,135,244,254,248,4,
180 139,139,233,68,139,187,233,137,139,233,68,137,252,251,41,203,15,132,244,252,
181 141,4,26,193,252,235,3,59,133,233,15,135,244,255,255,137,213,72,41,205,248,
182 5,72,139,1,72,137,4,41,131,193,8,68,57,252,249,15,133,244,5,248,6,141,67,
183 1,248,7,139,92,36,28,137,68,36,4,49,201,252,247,195,237,15,132,244,13,252,
184 233,244,14,248,8,137,222,137,252,239,232,251,1,16,248,9,139,12,36,68,137,
185 185,233,137,222,137,252,239,232,251,1,0,139,28,36,139,149,233,252,233,244,
186 4,248,86,139,108,36,24,72,252,247,133,233,237,15,132,244,62,255,137,149,233,
187 141,68,194,252,248,137,133,233,49,192,72,137,133,233,176,235,136,133,233,
188 252,233,244,16,255,248,70,255,248,72,139,90,252,252,221,90,252,248,252,233,
189 244,65,255,248,87,129,252,248,239,15,130,244,62,255,129,122,253,4,239,15,
190 133,244,248,139,42,131,252,253,0,15,137,244,70,252,247,221,15,136,244,247,
191 248,88,248,70,139,90,252,252,199,66,252,252,237,137,106,252,248,252,233,244,
192 65,248,1,139,90,252,252,199,66,252,252,0,0,224,65,199,66,252,248,0,0,0,0,
193 252,233,244,65,248,2,15,135,244,62,255,129,122,253,4,239,15,131,244,62,255,
194 252,242,15,16,2,72,184,237,237,102,72,15,110,200,15,84,193,248,71,139,90,
195 252,252,252,242,15,17,66,252,248,255,221,2,217,225,248,71,248,72,139,90,252,
196 252,221,90,252,248,255,248,65,184,237,248,77,137,68,36,4,248,63,252,247,195,
197 237,15,133,244,253,248,5,56,67,252,255,15,135,244,252,15,182,75,252,253,72,
198 252,247,209,141,20,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
199 252,255,36,252,238,248,6,199,68,194,252,244,237,131,192,1,252,233,244,5,248,
200 7,72,199,193,252,248,252,255,252,255,252,255,252,233,244,14,248,89,255,129,
201 122,253,4,239,15,133,244,247,139,42,252,233,244,70,248,1,15,135,244,62,255,
202 252,242,15,16,2,232,244,90,255,252,242,15,45,232,129,252,253,0,0,0,128,15,
203 133,244,70,252,242,15,42,205,102,15,46,193,15,138,244,71,15,132,244,70,255,
204 221,2,232,244,90,255,248,91,255,252,242,15,16,2,232,244,92,255,221,2,232,
205 244,92,255,248,93,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
206 244,62,252,242,15,81,2,252,233,244,71,255,248,93,129,252,248,239,15,130,244,
207 62,129,122,253,4,239,15,131,244,62,221,2,217,252,250,252,233,244,72,255,248,
208 94,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,244,62,217,252,
209 237,221,2,217,252,241,252,233,244,72,248,95,129,252,248,239,15,130,244,62,
210 129,122,253,4,239,15,131,244,62,217,252,236,221,2,217,252,241,252,233,244,
211 72,248,96,129,252,248,239,255,15,130,244,62,129,122,253,4,239,15,131,244,
212 62,221,2,232,244,97,252,233,244,72,248,98,129,252,248,239,15,130,244,62,129,
213 122,253,4,239,15,131,244,62,221,2,217,252,254,252,233,244,72,248,99,129,252,
214 248,239,255,15,130,244,62,129,122,253,4,239,15,131,244,62,221,2,217,252,255,
215 252,233,244,72,248,100,129,252,248,239,15,130,244,62,129,122,253,4,239,15,
216 131,244,62,221,2,217,252,242,221,216,252,233,244,72,248,101,129,252,248,239,
217 15,130,244,62,255,129,122,253,4,239,15,131,244,62,221,2,217,192,216,200,217,
218 232,222,225,217,252,250,217,252,243,252,233,244,72,248,102,129,252,248,239,
219 15,130,244,62,129,122,253,4,239,15,131,244,62,221,2,217,192,216,200,217,232,
220 222,225,217,252,250,217,201,217,252,243,252,233,244,72,248,103,129,252,248,
221 239,15,130,244,62,129,122,253,4,239,15,131,244,62,255,221,2,217,232,217,252,
222 243,252,233,244,72,255,248,104,129,252,248,239,15,130,244,62,129,122,253,
223 4,239,15,131,244,62,252,242,15,16,2,255,137,213,232,251,1,17,137,252,234,
224 252,233,244,71,255,248,105,129,252,248,239,15,130,244,62,129,122,253,4,239,
225 15,131,244,62,252,242,15,16,2,255,137,213,232,251,1,18,137,252,234,252,233,
226 244,71,255,248,106,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
227 244,62,252,242,15,16,2,255,137,213,232,251,1,19,137,252,234,252,233,244,71,
228 248,107,255,248,108,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
229 244,62,252,242,15,16,2,139,106,252,248,252,242,15,89,133,233,252,233,244,
230 71,255,248,108,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,244,
231 62,221,2,139,106,252,248,220,141,233,252,233,244,72,255,248,109,129,252,248,
232 239,15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,15,131,
233 244,62,221,2,221,66,8,217,252,243,252,233,244,72,248,110,129,252,248,239,
234 15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,255,15,131,
235 244,62,221,66,8,221,2,217,252,253,221,217,252,233,244,72,248,111,129,252,
236 248,239,15,130,244,62,139,106,4,129,252,253,239,15,131,244,62,139,90,252,
237 252,139,2,137,106,252,252,137,66,252,248,209,229,129,252,253,0,0,224,252,
238 255,15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,
239 32,0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,
240 137,44,36,219,4,36,255,139,106,252,252,129,229,252,255,252,255,15,128,129,
241 205,0,0,224,63,137,106,252,252,248,2,255,252,242,15,17,2,255,221,26,255,184,
242 237,252,233,244,77,248,3,255,15,87,192,252,233,244,2,255,217,252,238,252,
243 233,244,2,255,248,4,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,
244 252,242,15,89,193,252,242,15,17,66,252,248,255,221,2,199,4,36,0,0,128,90,
245 216,12,36,221,90,252,248,255,139,106,252,252,184,52,4,0,0,209,229,252,233,
246 244,1,255,248,112,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
247 244,62,252,242,15,16,2,255,248,112,129,252,248,239,15,130,244,62,129,122,
248 253,4,239,15,131,244,62,221,2,255,139,106,4,139,90,252,252,209,229,129,252,
249 253,0,0,224,252,255,15,132,244,250,255,15,40,224,232,244,113,252,242,15,92,
250 224,248,1,252,242,15,17,66,252,248,252,242,15,17,34,255,217,192,232,244,113,
251 220,252,233,248,1,221,90,252,248,221,26,255,139,66,252,252,139,106,4,49,232,
252 15,136,244,249,248,2,184,237,252,233,244,77,248,3,129,252,245,0,0,0,128,137,
253 106,4,252,233,244,2,248,4,255,15,87,228,252,233,244,1,255,217,252,238,217,
254 201,252,233,244,1,255,248,114,129,252,248,239,15,130,244,62,129,122,253,4,
255 239,15,131,244,62,129,122,253,12,239,15,131,244,62,221,66,8,221,2,248,1,217,
256 252,248,223,224,158,15,138,244,1,221,217,252,233,244,72,255,248,115,129,252,
257 248,239,15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,
258 15,131,244,62,252,242,15,16,2,252,242,15,16,74,8,232,244,116,252,233,244,
259 71,255,248,115,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,244,
260 62,129,122,253,12,239,15,131,244,62,221,2,221,66,8,232,244,116,252,233,244,
261 72,255,248,117,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,
262 1,57,193,15,131,244,70,129,124,253,202,252,252,239,15,133,244,249,59,108,
263 202,252,248,15,79,108,202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,
264 62,255,252,233,244,252,248,4,15,135,244,62,255,252,242,15,16,2,248,5,57,193,
265 15,131,244,71,129,124,253,202,252,252,239,255,15,130,244,252,15,135,244,62,
266 252,242,15,42,76,202,252,248,252,233,244,253,255,248,6,252,242,15,16,76,202,
267 252,248,248,7,252,242,15,93,193,131,193,1,252,233,244,5,255,248,118,185,2,
268 0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,1,57,193,15,131,244,
269 70,129,124,253,202,252,252,239,15,133,244,249,59,108,202,252,248,15,76,108,
270 202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,62,255,248,6,252,242,
271 15,16,76,202,252,248,248,7,252,242,15,95,193,131,193,1,252,233,244,5,255,
272 248,9,221,216,252,233,244,62,255,248,119,129,252,248,239,15,130,244,62,129,
273 122,253,4,239,15,133,244,62,139,42,255,139,173,233,252,233,244,70,255,252,
274 242,15,42,133,233,252,233,244,71,255,219,133,233,252,233,244,72,255,248,120,
275 129,252,248,239,15,133,244,62,129,122,253,4,239,15,133,244,62,139,42,139,
276 90,252,252,131,189,233,1,15,130,244,80,15,182,173,233,255,252,242,15,42,197,
277 252,233,244,71,255,137,44,36,219,4,36,252,233,244,72,255,248,121,65,139,174,
278 233,65,59,174,233,15,130,244,247,232,244,74,248,1,129,252,248,239,15,133,
279 244,62,129,122,253,4,239,255,15,133,244,62,139,42,129,252,253,252,255,0,0,
280 0,15,135,244,62,137,108,36,4,255,15,131,244,62,252,242,15,44,42,129,252,253,
281 252,255,0,0,0,15,135,244,62,137,108,36,4,255,15,131,244,62,221,2,219,92,36,
282 4,129,124,36,4,252,255,0,0,0,15,135,244,62,255,199,68,36,8,1,0,0,0,72,141,
283 68,36,4,248,122,139,108,36,24,137,149,233,139,84,36,8,72,137,198,137,252,
284 239,137,92,36,28,232,251,1,20,139,149,233,139,90,252,252,199,66,252,252,237,
285 137,66,252,248,252,233,244,65,248,123,65,139,174,233,65,59,174,233,15,130,
286 244,247,232,244,74,248,1,199,68,36,4,252,255,252,255,252,255,252,255,129,
287 252,248,239,15,130,244,62,15,134,244,247,129,122,253,20,239,255,15,133,244,
288 62,139,106,16,137,108,36,4,255,15,131,244,62,252,242,15,44,106,16,137,108,
289 36,4,255,15,131,244,62,221,66,16,219,92,36,4,255,248,1,129,122,253,4,239,
290 15,133,244,62,129,122,253,12,239,255,139,42,137,108,36,8,139,173,233,255,
291 139,74,8,255,252,242,15,44,74,8,255,139,68,36,4,57,197,15,130,244,251,248,
292 2,133,201,15,142,244,253,248,3,139,108,36,8,41,200,15,140,244,124,141,172,
293 253,13,233,131,192,1,248,4,137,68,36,8,137,232,252,233,244,122,248,5,15,140,
294 244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248,7,255,15,
295 132,244,254,1,252,233,131,193,1,15,143,244,3,248,8,185,1,0,0,0,252,233,244,
296 3,248,124,49,192,252,233,244,4,248,125,129,252,248,239,15,130,244,62,65,139,
297 174,233,65,59,174,233,15,130,244,247,232,244,74,248,1,255,129,122,253,4,239,
298 15,133,244,62,129,122,253,12,239,139,42,255,15,133,244,62,139,66,8,255,15,
299 131,244,62,252,242,15,44,66,8,255,15,131,244,62,221,66,8,219,92,36,4,139,
300 68,36,4,255,133,192,15,142,244,124,131,189,233,1,15,130,244,124,15,133,244,
301 126,65,57,134,233,15,130,244,126,15,182,141,233,65,139,174,233,137,68,36,
302 8,248,1,136,77,0,131,197,1,131,232,1,15,133,244,1,65,139,134,233,252,233,
303 244,122,248,127,129,252,248,239,255,15,130,244,62,65,139,174,233,65,59,174,
304 233,15,130,244,247,232,244,74,248,1,129,122,253,4,239,15,133,244,62,139,42,
305 139,133,233,133,192,15,132,244,124,65,57,134,233,15,130,244,128,129,197,239,
306 137,92,36,4,137,68,36,8,65,139,158,233,248,1,255,15,182,77,0,131,197,1,131,
307 232,1,136,12,3,15,133,244,1,137,216,139,92,36,4,252,233,244,122,248,129,129,
308 252,248,239,15,130,244,62,65,139,174,233,65,59,174,233,15,130,244,247,232,
309 244,74,248,1,129,122,253,4,239,15,133,244,62,139,42,139,133,233,65,57,134,
310 233,255,15,130,244,128,129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,
311 252,233,244,249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,
312 249,90,15,135,244,248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,
313 244,1,137,216,139,92,36,4,252,233,244,122,248,130,129,252,248,239,15,130,
314 244,62,255,65,139,174,233,65,59,174,233,15,130,244,247,232,244,74,248,1,129,
315 122,253,4,239,15,133,244,62,139,42,139,133,233,65,57,134,233,15,130,244,128,
316 129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,252,233,244,249,248,1,
317 15,182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,
318 248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,139,
319 92,36,4,252,233,244,122,248,131,129,252,248,239,15,130,244,62,129,122,253,
320 4,239,15,133,244,62,137,213,139,58,232,251,1,21,137,252,234,255,137,197,252,
321 233,244,70,255,252,242,15,42,192,252,233,244,71,255,248,132,129,252,248,239,
322 15,130,244,62,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244,88,
323 248,1,15,135,244,62,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,
324 252,242,15,88,193,102,15,126,197,255,252,233,244,88,255,248,133,129,252,248,
325 239,15,130,244,62,255,72,189,237,237,102,72,15,110,205,255,199,4,36,0,0,192,
326 89,255,15,133,244,247,139,42,252,233,244,248,248,1,15,135,244,62,255,252,
327 242,15,16,2,252,242,15,88,193,102,15,126,197,255,248,2,137,68,36,4,141,68,
328 194,252,240,248,1,57,208,15,134,244,88,129,120,253,4,239,255,15,133,244,248,
329 35,40,131,232,8,252,233,244,1,248,2,15,135,244,134,255,15,131,244,134,255,
330 252,242,15,16,0,252,242,15,88,193,102,15,126,193,33,205,255,131,232,8,252,
331 233,244,1,248,135,129,252,248,239,15,130,244,62,255,15,133,244,248,11,40,
332 131,232,8,252,233,244,1,248,2,15,135,244,134,255,252,242,15,16,0,252,242,
333 15,88,193,102,15,126,193,9,205,255,131,232,8,252,233,244,1,248,136,129,252,
334 248,239,15,130,244,62,255,15,133,244,248,51,40,131,232,8,252,233,244,1,248,
335 2,15,135,244,134,255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,49,
336 205,255,131,232,8,252,233,244,1,248,137,129,252,248,239,15,130,244,62,129,
337 122,253,4,239,255,248,2,15,205,252,233,244,88,248,138,129,252,248,239,15,
338 130,244,62,129,122,253,4,239,255,248,2,252,247,213,255,248,88,252,242,15,
339 42,197,252,233,244,71,255,248,134,139,68,36,4,252,233,244,62,255,248,139,
340 129,252,248,239,15,130,244,62,129,122,253,4,239,255,248,2,129,122,253,12,
341 239,15,133,244,62,139,74,8,255,248,139,129,252,248,239,15,130,244,62,129,
342 122,253,4,239,15,131,244,62,129,122,253,12,239,15,131,244,62,252,242,15,16,
343 2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
344 242,15,88,202,102,15,126,197,102,15,126,201,255,211,229,252,233,244,88,255,
345 248,140,129,252,248,239,15,130,244,62,129,122,253,4,239,255,248,140,129,252,
346 248,239,15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,
347 15,131,244,62,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,
348 110,213,252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,
349 255,211,252,237,252,233,244,88,255,248,141,129,252,248,239,15,130,244,62,
350 129,122,253,4,239,255,248,141,129,252,248,239,15,130,244,62,129,122,253,4,
351 239,15,131,244,62,129,122,253,12,239,15,131,244,62,252,242,15,16,2,252,242,
352 15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,
353 88,202,102,15,126,197,102,15,126,201,255,211,252,253,252,233,244,88,255,248,
354 142,129,252,248,239,15,130,244,62,129,122,253,4,239,255,248,142,129,252,248,
355 239,15,130,244,62,129,122,253,4,239,15,131,244,62,129,122,253,12,239,15,131,
356 244,62,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,
357 252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,255,211,
358 197,252,233,244,88,255,248,143,129,252,248,239,15,130,244,62,129,122,253,
359 4,239,255,248,143,129,252,248,239,15,130,244,62,129,122,253,4,239,15,131,
360 244,62,129,122,253,12,239,15,131,244,62,252,242,15,16,2,252,242,15,16,74,
361 8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102,
362 15,126,197,102,15,126,201,255,211,205,252,233,244,88,248,126,184,237,252,
363 233,244,62,248,128,184,237,248,62,139,108,36,24,139,90,252,252,137,92,36,
364 28,137,149,233,141,68,194,252,248,141,136,233,137,133,233,139,66,252,248,
365 59,141,233,15,135,244,251,137,252,239,252,255,144,233,139,149,233,133,192,
366 15,143,244,77,248,1,255,139,141,233,41,209,193,252,233,3,133,192,141,65,1,
367 139,106,252,248,15,133,244,32,139,157,233,139,11,15,182,252,233,15,182,205,
368 131,195,4,65,252,255,36,252,238,248,32,137,209,252,247,195,237,15,133,244,
369 249,15,182,107,252,253,72,252,247,213,141,20,252,234,252,233,244,28,248,3,
370 137,221,131,229,252,248,41,252,234,252,233,244,28,248,5,190,237,137,252,239,
371 232,251,1,0,139,149,233,49,192,252,233,244,1,248,74,93,72,137,108,36,8,139,
372 108,36,24,137,92,36,28,137,149,233,255,141,68,194,252,248,137,252,239,137,
373 133,233,232,251,1,22,139,149,233,139,133,233,41,208,193,232,3,131,192,1,72,
374 139,108,36,8,85,195,248,144,255,65,15,182,134,233,168,235,15,133,244,251,
375 168,235,15,133,244,247,168,235,15,132,244,247,65,252,255,142,233,252,233,
376 244,247,255,248,145,65,15,182,134,233,168,235,15,133,244,251,252,233,244,
377 247,248,146,65,15,182,134,233,168,235,15,133,244,251,168,235,15,132,244,251,
378 65,252,255,142,233,15,132,244,247,168,235,15,132,244,251,248,1,255,139,108,
379 36,24,137,149,233,137,222,137,252,239,232,251,1,23,248,3,139,149,233,248,
380 4,15,182,75,252,253,248,5,15,182,107,252,252,15,183,67,252,254,65,252,255,
381 164,253,252,238,233,248,147,131,195,4,139,77,232,137,76,36,4,252,233,244,
382 4,248,148,255,139,106,252,248,139,173,233,15,182,133,233,141,4,194,139,108,
383 36,24,137,149,233,137,133,233,137,222,65,141,190,233,73,137,174,233,137,92,
384 36,28,232,251,1,24,252,233,244,3,255,248,149,137,92,36,28,255,248,150,255,
385 137,92,36,28,131,203,1,248,1,255,141,68,194,252,248,139,108,36,24,137,149,
386 233,137,133,233,137,222,137,252,239,232,251,1,25,199,68,36,28,0,0,0,0,255,
387 131,227,252,254,255,139,149,233,72,137,193,139,133,233,41,208,72,137,205,
388 15,182,75,252,253,193,232,3,131,192,1,252,255,229,248,151,255,65,85,65,84,
389 65,83,65,82,65,81,65,80,87,86,85,72,141,108,36,88,85,83,82,81,80,15,182,69,
390 252,248,138,101,252,240,76,137,125,252,248,76,137,117,252,240,68,139,117,
391 0,65,139,142,233,65,199,134,233,237,65,137,134,233,65,137,142,233,72,129,
392 252,236,239,72,131,197,128,252,242,68,15,17,125,252,248,252,242,68,15,17,
393 117,252,240,252,242,68,15,17,109,232,252,242,68,15,17,101,224,252,242,68,
394 15,17,93,216,252,242,68,15,17,85,208,252,242,68,15,17,77,200,252,242,68,15,
395 17,69,192,252,242,15,17,125,184,252,242,15,17,117,176,252,242,15,17,109,168,
396 252,242,15,17,101,160,252,242,15,17,93,152,252,242,15,17,85,144,252,242,15,
397 17,77,136,252,242,15,17,69,128,65,139,174,233,65,139,150,233,73,137,174,233,
398 65,199,134,233,0,0,0,0,137,149,233,72,137,230,65,141,190,233,232,251,1,26,
399 72,139,141,233,72,129,225,239,72,137,204,137,169,233,139,149,233,139,153,
400 233,252,233,244,247,255,248,152,255,72,131,196,16,248,1,76,139,108,36,8,76,
401 139,36,36,133,192,15,136,244,249,137,68,36,4,68,139,122,252,248,69,139,191,
402 233,69,139,191,233,65,199,134,233,0,0,0,0,65,199,134,233,237,139,3,15,182,
403 204,15,182,232,131,195,4,193,232,16,129,252,253,239,15,130,244,248,139,68,
404 36,4,248,2,65,252,255,36,252,238,248,3,252,247,216,137,252,239,137,198,232,
405 251,1,1,255,248,90,255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,
406 4,102,37,252,255,252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,
407 36,4,139,68,36,8,195,255,248,153,72,184,237,237,102,72,15,110,208,72,184,
408 237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,
409 247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,
410 237,237,102,72,15,110,208,252,242,15,194,193,1,102,15,84,194,252,242,15,92,
411 200,15,40,193,248,1,195,248,92,255,217,124,36,4,137,68,36,8,102,184,0,8,102,
412 11,68,36,4,102,37,252,255,252,251,102,137,68,36,6,217,108,36,6,217,252,252,
413 217,108,36,4,139,68,36,8,195,255,248,154,72,184,237,237,102,72,15,110,208,
414 72,184,237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,
415 134,244,247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,
416 72,184,237,237,102,72,15,110,208,252,242,15,194,193,6,102,15,84,194,252,242,
417 15,92,200,15,40,193,248,1,195,248,113,255,217,124,36,4,137,68,36,8,102,184,
418 0,12,102,11,68,36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,
419 139,68,36,8,195,255,248,155,72,184,237,237,102,72,15,110,208,72,184,237,237,
420 102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,
421 15,85,208,15,40,193,252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,
422 72,15,110,216,252,242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,
423 86,202,15,40,193,248,1,195,248,156,255,15,40,232,252,242,15,94,193,72,184,
424 237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,
425 15,84,226,102,15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,
426 242,15,92,227,102,15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,
427 196,1,102,15,84,194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,
428 15,92,193,195,248,1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,
429 217,193,216,252,241,217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,
430 252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,
431 252,233,195,255,248,97,217,252,234,222,201,248,157,217,84,36,252,248,129,
432 124,36,252,248,0,0,128,127,15,132,244,247,129,124,36,252,248,0,0,128,252,
433 255,15,132,244,248,248,158,217,192,217,252,252,220,252,233,217,201,217,252,
434 240,217,232,222,193,217,252,253,221,217,248,1,195,248,2,221,216,217,252,238,
435 195,255,248,116,255,248,159,252,242,15,45,193,252,242,15,42,208,102,15,46,
436 202,15,133,244,254,15,138,244,255,248,160,131,252,248,1,15,142,244,252,248,
437 1,169,1,0,0,0,15,133,244,248,252,242,15,89,192,209,232,252,233,244,1,248,
438 2,209,232,15,132,244,251,15,40,200,248,3,252,242,15,89,192,209,232,15,132,
439 244,250,15,131,244,3,255,252,242,15,89,200,252,233,244,3,248,4,252,242,15,
440 89,193,248,5,195,248,6,15,132,244,5,15,130,244,253,252,247,216,232,244,1,
441 72,184,237,237,102,72,15,110,200,252,242,15,94,200,15,40,193,195,248,7,72,
442 184,237,237,102,72,15,110,192,195,248,8,102,72,15,126,200,72,209,224,72,193,
443 192,12,72,61,252,254,15,0,0,15,132,244,248,102,72,15,126,192,72,209,224,15,
444 132,244,250,255,72,193,192,12,72,61,252,254,15,0,0,15,132,244,251,252,242,
445 15,17,76,36,252,240,252,242,15,17,68,36,252,248,221,68,36,252,240,221,68,
446 36,252,248,217,252,241,217,192,217,252,252,220,252,233,217,201,217,252,240,
447 217,232,222,193,217,252,253,221,217,221,92,36,252,248,252,242,15,16,68,36,
448 252,248,195,248,9,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,
449 247,15,40,193,248,1,195,248,2,72,184,237,237,102,72,15,110,208,102,15,84,
450 194,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,1,102,15,80,
451 193,15,87,192,136,196,15,146,208,48,224,15,133,244,1,248,3,72,184,237,237,
452 255,102,72,15,110,192,195,248,4,102,15,80,193,133,192,15,133,244,3,15,87,
453 192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,192,195,248,161,255,
454 131,252,255,1,15,130,244,90,15,132,244,92,131,252,255,3,15,130,244,113,15,
455 135,244,248,252,242,15,81,192,195,248,2,252,242,15,17,68,36,252,248,221,68,
456 36,252,248,131,252,255,5,15,135,244,248,15,132,244,247,232,244,97,252,233,
457 244,253,248,1,232,244,157,255,252,233,244,253,248,2,131,252,255,7,15,132,
458 244,247,15,135,244,248,217,252,237,217,201,217,252,241,252,233,244,253,248,
459 1,217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,255,9,15,132,
460 244,247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,244,253,248,
461 1,255,217,252,254,252,233,244,253,248,2,131,252,255,11,15,132,244,247,15,
462 135,244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,216,248,7,221,
463 92,36,252,248,252,242,15,16,68,36,252,248,195,255,139,124,36,12,221,68,36,
464 4,131,252,255,1,15,130,244,90,15,132,244,92,131,252,255,3,15,130,244,113,
465 15,135,244,248,217,252,250,195,248,2,131,252,255,5,15,130,244,97,15,132,244,
466 157,131,252,255,7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,
467 241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,255,9,15,132,
468 244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,1,217,
469 252,254,195,248,2,131,252,255,11,15,132,244,247,15,135,244,255,217,252,255,
470 195,248,1,217,252,242,221,216,195,255,248,9,204,255,248,162,255,131,252,255,
471 1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15,92,
472 193,195,248,2,131,252,255,3,15,132,244,247,15,135,244,248,252,242,15,89,193,
473 195,248,1,252,242,15,94,193,195,248,2,131,252,255,5,15,130,244,156,15,132,
474 244,116,131,252,255,7,15,132,244,247,15,135,244,248,72,184,237,237,255,102,
475 72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,110,200,15,84,
476 193,195,248,2,131,252,255,9,15,135,244,248,252,242,15,17,68,36,252,248,252,
477 242,15,17,76,36,252,240,221,68,36,252,248,221,68,36,252,240,15,132,244,247,
478 217,252,243,248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,248,1,
479 217,201,217,252,253,221,217,252,233,244,7,248,2,131,252,255,11,15,132,244,
480 247,15,135,244,255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,
481 9,204,255,139,68,36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,
482 247,15,135,244,248,222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,
483 15,132,244,247,15,135,244,248,222,201,195,248,1,222,252,249,195,248,2,131,
484 252,248,5,15,130,244,156,15,132,244,116,131,252,248,7,15,132,244,247,15,135,
485 244,248,255,221,216,217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,
486 9,15,132,244,247,15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,
487 221,217,195,248,2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,
488 233,219,209,221,217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,
489 223,224,252,246,196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,
490 225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,
491 163,137,252,248,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,195,248,164,
492 255,85,72,137,229,83,72,137,252,251,139,131,233,72,41,196,255,15,182,139,
493 233,131,252,233,1,15,136,244,248,248,1,72,139,132,253,203,233,72,137,132,
494 253,204,233,131,252,233,1,15,137,244,1,248,2,15,182,131,233,72,139,187,233,
495 72,139,179,233,72,139,147,233,72,139,139,233,76,139,131,233,76,139,139,233,
496 133,192,15,132,244,251,15,40,131,233,15,40,139,233,255,15,40,147,233,15,40,
497 155,233,131,252,248,4,15,134,244,251,15,40,163,233,15,40,171,233,15,40,179,
498 233,15,40,187,233,248,5,252,255,147,233,72,137,131,233,15,41,131,233,72,137,
499 147,233,15,41,139,233,255,72,139,93,252,248,201,195,255,248,165,255,249,255,
500 129,124,253,202,4,239,15,133,244,253,129,124,253,194,4,239,15,133,244,254,
501 139,44,202,131,195,4,59,44,194,255,15,141,244,255,255,15,140,244,255,255,
502 15,143,244,255,255,15,142,244,255,255,248,6,15,183,67,252,254,141,156,253,
503 131,233,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,
504 36,252,238,248,7,15,135,244,43,129,124,253,194,4,239,15,130,244,247,15,133,
505 244,43,255,252,242,15,42,4,194,252,233,244,248,255,221,4,202,219,4,194,252,
506 233,244,249,255,248,8,15,135,244,43,255,252,242,15,42,12,202,252,242,15,16,
507 4,194,131,195,4,102,15,46,193,255,15,134,244,9,255,15,135,244,9,255,15,130,
508 244,9,255,15,131,244,9,255,252,233,244,6,255,219,4,202,252,233,244,248,255,
509 129,124,253,202,4,239,15,131,244,43,129,124,253,194,4,239,15,131,244,43,255,
510 248,1,252,242,15,16,4,194,248,2,131,195,4,102,15,46,4,202,248,3,255,248,1,
511 221,4,202,248,2,221,4,194,248,3,131,195,4,255,223,252,233,221,216,255,218,
512 252,233,223,224,158,255,15,134,244,247,255,15,135,244,247,255,15,130,244,
513 247,255,15,131,244,247,255,15,183,67,252,254,141,156,253,131,233,248,1,139,
514 3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,
515 108,194,4,131,195,4,255,129,252,253,239,15,133,244,253,129,124,253,202,4,
516 239,15,133,244,254,139,44,194,59,44,202,255,15,133,244,255,255,15,132,244,
517 255,255,15,183,67,252,254,141,156,253,131,233,248,9,139,3,15,182,204,15,182,
518 232,131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,135,244,251,129,124,
519 253,202,4,239,15,130,244,247,15,133,244,251,255,252,242,15,42,4,202,255,219,
520 4,202,255,252,233,244,248,248,8,15,135,244,251,255,252,242,15,42,4,194,102,
521 15,46,4,202,255,219,4,194,221,4,202,255,252,233,244,250,255,129,252,253,239,
522 15,131,244,251,129,124,253,202,4,239,15,131,244,251,255,248,1,252,242,15,
523 16,4,202,248,2,102,15,46,4,194,248,4,255,248,1,221,4,202,248,2,221,4,194,
524 248,4,255,15,138,244,248,15,133,244,248,255,15,138,244,248,15,132,244,247,
525 255,248,1,15,183,67,252,254,141,156,253,131,233,248,2,255,248,2,15,183,67,
526 252,254,141,156,253,131,233,248,1,255,252,233,244,9,255,248,5,255,129,252,
527 253,239,15,132,244,48,129,124,253,202,4,239,15,132,244,48,255,57,108,202,
528 4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,57,193,15,
529 132,244,1,129,252,253,239,15,135,244,2,139,169,233,133,252,237,15,132,244,
530 2,252,246,133,233,235,15,133,244,2,255,49,252,237,255,189,1,0,0,0,255,252,
531 233,244,47,255,248,3,129,252,253,239,255,15,133,244,9,255,252,233,244,48,
532 255,72,252,247,208,139,108,202,4,131,195,4,129,252,253,239,15,133,244,249,
533 139,12,202,65,59,12,135,255,139,108,202,4,131,195,4,255,129,252,253,239,15,
534 133,244,253,65,129,124,253,199,4,239,15,133,244,254,65,139,44,199,59,44,202,
535 255,15,183,67,252,254,141,156,253,131,233,248,9,139,3,15,182,204,15,182,232,
536 131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,135,244,249,65,129,124,
537 253,199,4,239,15,130,244,247,255,252,242,65,15,42,4,199,255,65,219,4,199,
538 255,252,233,244,248,248,8,255,252,242,15,42,4,202,102,65,15,46,4,199,255,
539 219,4,202,65,221,4,199,255,129,252,253,239,15,131,244,249,255,248,1,252,242,
540 65,15,16,4,199,248,2,102,15,46,4,202,248,4,255,248,1,65,221,4,199,248,2,221,
541 4,202,248,4,255,72,252,247,208,139,108,202,4,131,195,4,57,197,255,15,133,
542 244,249,15,183,67,252,254,141,156,253,131,233,248,2,139,3,15,182,204,15,182,
543 232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,129,252,253,239,15,133,
544 244,2,252,233,244,48,255,15,132,244,248,129,252,253,239,15,132,244,48,15,
545 183,67,252,254,141,156,253,131,233,248,2,139,3,15,182,204,15,182,232,131,
546 195,4,193,232,16,65,252,255,36,252,238,255,139,108,194,4,131,195,4,129,252,
547 253,239,255,137,108,202,4,139,44,194,137,44,202,255,72,139,44,194,72,137,
548 44,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
549 238,255,49,252,237,129,124,253,194,4,239,129,213,239,137,108,202,4,139,3,
550 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,129,
551 124,253,194,4,239,15,133,244,251,139,44,194,252,247,221,15,128,244,250,199,
552 68,202,4,237,137,44,202,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,
553 16,65,252,255,36,252,238,248,4,199,68,202,4,0,0,224,65,199,4,202,0,0,0,0,
554 252,233,244,9,248,5,15,135,244,53,255,129,124,253,194,4,239,15,131,244,53,
555 255,252,242,15,16,4,194,72,184,237,237,102,72,15,110,200,15,87,193,252,242,
556 15,17,4,202,255,221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,
557 133,244,248,139,4,194,255,139,128,233,248,1,199,68,202,4,237,137,4,202,255,
558 15,87,192,252,242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,128,233,
559 248,1,221,28,202,255,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
560 252,255,36,252,238,248,2,129,124,253,194,4,239,15,133,244,56,139,60,194,255,
561 139,175,233,131,252,253,0,15,133,244,255,248,3,255,248,57,137,213,232,251,
562 1,21,255,252,242,15,42,192,255,137,252,234,15,182,75,252,253,252,233,244,
563 1,255,248,9,252,246,133,233,235,15,133,244,3,252,233,244,56,255,15,182,252,
564 236,15,182,192,255,129,124,253,252,234,4,239,15,133,244,50,65,129,124,253,
565 199,4,239,15,133,244,50,139,44,252,234,65,3,44,199,15,128,244,49,255,129,
566 124,253,252,234,4,239,15,133,244,52,65,129,124,253,199,4,239,15,133,244,52,
567 65,139,4,199,3,4,252,234,15,128,244,51,255,129,124,253,252,234,4,239,15,133,
568 244,55,129,124,253,194,4,239,15,133,244,55,139,44,252,234,3,44,194,15,128,
569 244,54,255,199,68,202,4,237,255,129,124,253,252,234,4,239,15,131,244,50,255,
570 65,129,124,253,199,4,239,15,131,244,50,255,252,242,15,16,4,252,234,252,242,
571 65,15,88,4,199,255,221,4,252,234,65,220,4,199,255,129,124,253,252,234,4,239,
572 15,131,244,52,255,65,129,124,253,199,4,239,15,131,244,52,255,252,242,65,15,
573 16,4,199,252,242,15,88,4,252,234,255,65,221,4,199,220,4,252,234,255,129,124,
574 253,252,234,4,239,15,131,244,55,129,124,253,194,4,239,15,131,244,55,255,252,
575 242,15,16,4,252,234,252,242,15,88,4,194,255,221,4,252,234,220,4,194,255,129,
576 124,253,252,234,4,239,15,133,244,50,65,129,124,253,199,4,239,15,133,244,50,
577 139,44,252,234,65,43,44,199,15,128,244,49,255,129,124,253,252,234,4,239,15,
578 133,244,52,65,129,124,253,199,4,239,15,133,244,52,65,139,4,199,43,4,252,234,
579 15,128,244,51,255,129,124,253,252,234,4,239,15,133,244,55,129,124,253,194,
580 4,239,15,133,244,55,139,44,252,234,43,44,194,15,128,244,54,255,252,242,15,
581 16,4,252,234,252,242,65,15,92,4,199,255,221,4,252,234,65,220,36,199,255,252,
582 242,65,15,16,4,199,252,242,15,92,4,252,234,255,65,221,4,199,220,36,252,234,
583 255,252,242,15,16,4,252,234,252,242,15,92,4,194,255,221,4,252,234,220,36,
584 194,255,129,124,253,252,234,4,239,15,133,244,50,65,129,124,253,199,4,239,
585 15,133,244,50,139,44,252,234,65,15,175,44,199,15,128,244,49,255,129,124,253,
586 252,234,4,239,15,133,244,52,65,129,124,253,199,4,239,15,133,244,52,65,139,
587 4,199,15,175,4,252,234,15,128,244,51,255,129,124,253,252,234,4,239,15,133,
588 244,55,129,124,253,194,4,239,15,133,244,55,139,44,252,234,15,175,44,194,15,
589 128,244,54,255,252,242,15,16,4,252,234,252,242,65,15,89,4,199,255,221,4,252,
590 234,65,220,12,199,255,252,242,65,15,16,4,199,252,242,15,89,4,252,234,255,
591 65,221,4,199,220,12,252,234,255,252,242,15,16,4,252,234,252,242,15,89,4,194,
592 255,221,4,252,234,220,12,194,255,252,242,15,16,4,252,234,252,242,65,15,94,
593 4,199,255,221,4,252,234,65,220,52,199,255,252,242,65,15,16,4,199,252,242,
594 15,94,4,252,234,255,65,221,4,199,220,52,252,234,255,252,242,15,16,4,252,234,
595 252,242,15,94,4,194,255,221,4,252,234,220,52,194,255,252,242,15,16,4,252,
596 234,252,242,65,15,16,12,199,255,221,4,252,234,65,221,4,199,255,252,242,65,
597 15,16,4,199,252,242,15,16,12,252,234,255,65,221,4,199,221,4,252,234,255,252,
598 242,15,16,4,252,234,252,242,15,16,12,194,255,221,4,252,234,221,4,194,255,
599 248,166,232,244,156,255,252,233,244,166,255,232,244,116,255,15,182,252,236,
600 15,182,192,139,124,36,24,137,151,233,141,52,194,137,194,41,252,234,248,35,
601 137,252,253,137,92,36,28,232,251,1,27,139,149,233,133,192,15,133,244,44,15,
602 182,107,252,255,15,182,75,252,253,72,139,4,252,234,72,137,4,202,139,3,15,
603 182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,72,252,
604 247,208,65,139,4,135,199,68,202,4,237,137,4,202,139,3,15,182,204,15,182,232,
605 131,195,4,193,232,16,65,252,255,36,252,238,255,15,191,192,199,68,202,4,237,
606 137,4,202,255,15,191,192,252,242,15,42,192,252,242,15,17,4,202,255,223,67,
607 252,254,221,28,202,255,252,242,65,15,16,4,199,252,242,15,17,4,202,255,65,
608 221,4,199,221,28,202,255,72,252,247,208,137,68,202,4,139,3,15,182,204,15,
609 182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,141,76,202,12,141,
610 68,194,4,189,237,137,105,252,248,248,1,137,41,131,193,8,57,193,15,134,244,
611 1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
612 255,139,106,252,248,139,172,253,133,233,139,173,233,72,139,69,0,72,137,4,
613 202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
614 255,139,106,252,248,139,172,253,141,233,128,189,233,0,139,173,233,139,12,
615 194,139,68,194,4,137,77,0,137,69,4,15,132,244,247,252,246,133,233,235,15,
616 133,244,248,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,
617 255,36,252,238,248,2,129,232,239,129,252,248,239,15,134,244,1,252,246,129,
618 233,235,15,132,244,1,137,252,238,137,213,65,141,190,233,255,232,251,1,28,
619 137,252,234,252,233,244,1,255,72,252,247,208,139,106,252,248,139,172,253,
620 141,233,65,139,12,135,139,133,233,137,8,199,64,4,237,252,246,133,233,235,
621 15,133,244,248,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
622 252,255,36,252,238,248,2,252,246,129,233,235,15,132,244,1,128,189,233,0,15,
623 132,244,1,137,213,137,198,65,141,190,233,232,251,1,28,137,252,234,252,233,
624 244,1,255,139,106,252,248,255,252,242,65,15,16,4,199,255,139,172,253,141,
625 233,139,141,233,255,252,242,15,17,1,255,221,25,255,72,252,247,208,139,106,
626 252,248,139,172,253,141,233,139,141,233,137,65,4,139,3,15,182,204,15,182,
627 232,131,195,4,193,232,16,65,252,255,36,252,238,255,141,156,253,131,233,139,
628 108,36,24,131,189,233,0,15,132,244,247,137,149,233,141,52,202,137,252,239,
629 232,251,1,29,139,149,233,248,1,139,3,15,182,204,15,182,232,131,195,4,193,
630 232,16,65,252,255,36,252,238,255,72,252,247,208,139,108,36,24,137,149,233,
631 139,82,252,248,65,139,52,135,137,252,239,137,92,36,28,232,251,1,30,139,149,
632 233,15,182,75,252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,
633 232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,108,36,24,137,149,
634 233,65,139,142,233,65,59,142,233,137,92,36,28,15,131,244,251,248,1,137,194,
635 37,252,255,7,0,0,193,252,234,11,61,252,255,7,0,0,15,132,244,249,248,2,137,
636 252,239,137,198,232,251,1,31,139,149,233,15,182,75,252,253,137,4,202,199,
637 68,202,4,237,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,
638 36,252,238,248,3,184,1,8,0,0,252,233,244,2,248,5,137,252,239,232,251,1,32,
639 15,183,67,252,254,252,233,244,1,255,72,252,247,208,139,108,36,24,65,139,142,
640 233,137,92,36,28,65,59,142,233,137,149,233,15,131,244,249,248,2,65,139,52,
641 135,137,252,239,232,251,1,33,139,149,233,15,182,75,252,253,137,4,202,199,
642 68,202,4,237,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,
643 36,252,238,248,3,137,252,239,232,251,1,32,15,183,67,252,254,72,252,247,208,
644 252,233,244,2,255,72,252,247,208,139,106,252,248,139,173,233,65,139,4,135,
645 252,233,244,167,255,72,252,247,208,139,106,252,248,139,173,233,65,139,4,135,
646 252,233,244,168,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,
647 133,244,38,139,44,252,234,255,129,124,253,194,4,239,15,133,244,251,139,4,
648 194,255,129,124,253,194,4,239,15,131,244,251,255,252,242,15,16,4,194,252,
649 242,15,45,192,252,242,15,42,200,102,15,46,193,255,15,133,244,38,255,59,133,
650 233,15,131,244,38,193,224,3,3,133,233,129,120,253,4,239,15,132,244,248,72,
651 139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,
652 16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,244,249,139,141,233,252,
653 246,129,233,235,15,132,244,38,15,182,75,252,253,248,3,199,68,202,4,237,252,
654 233,244,1,248,5,255,129,124,253,194,4,239,15,133,244,38,139,4,194,252,233,
655 244,167,255,15,182,252,236,15,182,192,72,252,247,208,65,139,4,135,129,124,
656 253,252,234,4,239,15,133,244,36,139,44,252,234,248,167,139,141,233,35,136,
657 233,105,201,239,3,141,233,248,1,129,185,233,239,15,133,244,250,57,129,233,
658 15,133,244,250,129,121,253,4,239,15,132,244,251,15,182,67,252,253,72,139,
659 41,72,137,44,194,248,2,255,139,3,15,182,204,15,182,232,131,195,4,193,232,
660 16,65,252,255,36,252,238,248,3,15,182,67,252,253,199,68,194,4,237,252,233,
661 244,2,248,4,139,137,233,133,201,15,133,244,1,248,5,139,141,233,133,201,15,
662 132,244,3,252,246,129,233,235,15,133,244,3,252,233,244,36,255,15,182,252,
663 236,15,182,192,129,124,253,252,234,4,239,15,133,244,37,139,44,252,234,59,
664 133,233,15,131,244,37,193,224,3,3,133,233,129,120,253,4,239,15,132,244,248,
665 72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,
666 16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,244,249,139,141,233,252,
667 246,129,233,235,15,132,244,37,255,15,182,75,252,253,248,3,199,68,202,4,237,
668 252,233,244,1,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,
669 133,244,41,139,44,252,234,255,15,133,244,41,255,59,133,233,15,131,244,41,
670 193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,1,252,246,133,233,
671 235,15,133,244,253,248,2,72,139,44,202,72,137,40,139,3,15,182,204,15,182,
672 232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,131,189,233,0,15,132,
673 244,1,139,141,233,252,246,129,233,235,255,15,132,244,41,15,182,75,252,253,
674 252,233,244,1,248,5,129,124,253,194,4,239,15,133,244,41,139,4,194,252,233,
675 244,168,248,7,128,165,233,235,65,139,142,233,65,137,174,233,137,141,233,15,
676 182,75,252,253,252,233,244,2,255,15,182,252,236,15,182,192,72,252,247,208,
677 65,139,4,135,129,124,253,252,234,4,239,15,133,244,39,139,44,252,234,248,168,
678 139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,233,248,1,129,185,
679 233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,253,4,239,15,132,
680 244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,3,15,182,67,252,
681 253,72,139,44,194,72,137,41,139,3,15,182,204,15,182,232,131,195,4,193,232,
682 16,65,252,255,36,252,238,248,4,131,189,233,0,15,132,244,2,137,12,36,139,141,
683 233,252,246,129,233,235,15,132,244,39,139,12,36,252,233,244,2,248,5,139,137,
684 233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244,252,252,246,129,
685 233,235,15,132,244,39,248,6,137,4,36,199,68,36,4,237,137,108,36,8,139,124,
686 36,24,137,151,233,72,141,20,36,137,252,238,137,252,253,137,92,36,28,232,251,
687 1,34,139,149,233,139,108,36,8,137,193,252,233,244,2,248,7,128,165,233,235,
688 65,139,134,233,65,137,174,233,137,133,233,252,233,244,3,255,15,182,252,236,
689 15,182,192,129,124,253,252,234,4,239,15,133,244,40,139,44,252,234,59,133,
690 233,15,131,244,40,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,
691 1,252,246,133,233,235,15,133,244,253,248,2,72,139,12,202,72,137,8,139,3,15,
692 182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,131,189,
693 233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,15,132,244,40,15,182,
694 75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,142,233,65,137,174,
695 233,137,141,233,15,182,75,252,253,252,233,244,2,255,68,137,60,36,69,139,60,
696 199,248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,133,244,253,248,
697 2,139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,59,133,233,15,135,244,
698 251,68,41,252,248,65,193,231,3,68,3,189,233,248,3,72,139,41,131,193,8,73,
699 137,47,65,131,199,8,131,232,1,15,133,244,3,248,4,68,139,60,36,139,3,15,182,
700 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,5,139,124,36,
701 24,137,151,233,137,252,238,137,194,137,252,253,137,92,36,28,232,251,1,35,
702 139,149,233,15,182,75,252,253,252,233,244,1,248,7,255,128,165,233,235,65,
703 139,134,233,65,137,174,233,137,133,233,252,233,244,2,255,3,68,36,4,255,129,
704 124,253,202,4,239,139,44,202,15,133,244,58,141,84,202,8,137,90,252,252,139,
705 157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,
706 255,141,76,202,8,65,137,215,139,105,252,248,129,121,253,252,252,239,15,133,
707 244,29,248,59,139,90,252,252,252,247,195,237,15,133,244,253,248,1,137,106,
708 252,248,137,68,36,4,131,232,1,15,132,244,249,248,2,72,139,41,131,193,8,73,
709 137,47,65,131,199,8,131,232,1,15,133,244,2,139,106,252,248,248,3,139,68,36,
710 4,128,189,233,1,15,135,244,251,248,4,139,157,233,139,11,15,182,252,233,15,
711 182,205,131,195,4,65,252,255,36,252,238,248,5,255,252,247,195,237,15,133,
712 244,4,15,182,75,252,253,72,252,247,209,141,12,202,68,139,121,252,248,69,139,
713 191,233,69,139,191,233,252,233,244,4,248,7,129,252,235,239,252,247,195,237,
714 15,133,244,254,41,218,65,137,215,139,90,252,252,252,233,244,1,248,8,129,195,
715 239,252,233,244,1,255,141,76,202,8,72,139,105,232,72,139,65,252,240,72,137,
716 41,72,137,65,8,139,105,224,139,65,228,137,105,252,248,137,65,252,252,129,
717 252,248,239,184,237,15,133,244,29,137,202,137,90,252,252,139,157,233,139,
718 11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,255,68,137,60,
719 36,68,137,116,36,4,139,108,202,252,240,139,68,202,252,248,68,139,181,233,
720 131,195,4,68,139,189,233,248,1,68,57,252,240,15,131,244,251,65,129,124,253,
721 199,4,239,15,132,244,250,255,219,68,202,252,248,255,73,139,44,199,72,137,
722 108,202,8,131,192,1,255,137,68,202,252,248,248,2,15,183,67,252,254,141,156,
723 253,131,233,248,3,68,139,116,36,4,68,139,60,36,139,3,15,182,204,15,182,232,
724 131,195,4,193,232,16,65,252,255,36,252,238,248,4,131,192,1,255,137,68,202,
725 252,248,255,252,233,244,1,248,5,68,41,252,240,248,6,59,133,233,15,135,244,
726 3,68,105,252,248,239,68,3,189,233,65,129,191,233,239,15,132,244,253,70,141,
727 116,48,1,73,139,175,233,73,139,135,233,72,137,44,202,72,137,68,202,8,68,137,
728 116,202,252,248,252,233,244,2,248,7,131,192,1,252,233,244,6,255,129,124,253,
729 202,252,236,239,15,133,244,251,139,108,202,232,129,124,253,202,252,244,239,
730 15,133,244,251,129,124,253,202,252,252,239,15,133,244,251,128,189,233,235,
731 15,133,244,251,141,156,253,131,233,199,68,202,252,248,0,0,0,0,248,1,139,3,
732 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,5,198,
733 67,252,252,235,141,156,253,131,233,198,3,235,252,233,244,1,255,15,182,252,
734 236,15,182,192,68,137,60,36,68,141,188,253,194,233,141,12,202,68,43,122,252,
735 252,133,252,237,15,132,244,251,141,108,252,233,252,248,65,57,215,15,131,244,
736 248,248,1,73,139,71,252,248,65,131,199,8,72,137,1,131,193,8,57,252,233,15,
737 131,244,249,65,57,215,15,130,244,1,248,2,199,65,4,237,131,193,8,57,252,233,
738 15,130,244,2,248,3,68,139,60,36,139,3,15,182,204,15,182,232,131,195,4,193,
739 232,16,65,252,255,36,252,238,248,5,199,68,36,4,1,0,0,0,137,208,68,41,252,
740 248,15,134,244,3,137,197,193,252,237,3,131,197,1,137,108,36,4,139,108,36,
741 24,1,200,59,133,233,15,135,244,253,248,6,255,73,139,71,252,248,65,131,199,
742 8,72,137,1,131,193,8,65,57,215,15,130,244,6,252,233,244,3,248,7,137,149,233,
743 137,141,233,137,92,36,28,65,41,215,139,116,36,4,131,252,238,1,137,252,239,
744 232,251,1,0,139,149,233,139,141,233,65,1,215,252,233,244,6,255,193,225,3,
745 255,248,1,139,90,252,252,137,68,36,4,252,247,195,237,15,133,244,253,255,248,
746 13,65,137,215,131,232,1,15,132,244,249,248,2,73,139,44,15,73,137,111,252,
747 248,65,131,199,8,131,232,1,15,133,244,2,248,3,139,68,36,4,15,182,107,252,
748 255,248,5,57,197,15,135,244,252,255,72,139,44,10,72,137,106,252,248,255,248,
749 5,56,67,252,255,15,135,244,252,255,15,182,75,252,253,72,252,247,209,141,20,
750 202,68,139,122,252,248,69,139,191,233,69,139,191,233,139,3,15,182,204,15,
751 182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,6,255,65,199,71,252,
752 252,237,65,131,199,8,255,199,68,194,252,244,237,255,131,192,1,252,233,244,
753 5,248,7,141,171,233,252,247,197,237,15,133,244,14,41,252,234,255,1,252,233,
754 255,137,221,209,252,237,129,229,239,102,65,129,172,253,46,233,238,15,130,
755 244,148,255,141,12,202,255,129,121,253,4,239,15,133,244,255,255,129,121,253,
756 12,239,15,133,244,60,129,121,253,20,239,15,133,244,60,139,41,131,121,16,0,
757 15,140,244,251,255,129,121,253,12,239,15,133,244,165,129,121,253,20,239,15,
758 133,244,165,255,139,105,16,133,252,237,15,136,244,251,3,41,15,128,244,247,
759 137,41,255,59,105,8,199,65,28,237,137,105,24,255,15,142,244,253,248,1,248,
760 6,141,156,253,131,233,255,141,156,253,131,233,15,183,67,252,254,15,142,245,
761 248,1,248,6,255,15,143,244,253,248,6,141,156,253,131,233,248,1,255,248,7,
762 139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,
763 5,255,3,41,15,128,244,1,137,41,255,15,141,244,7,255,141,156,253,131,233,15,
764 183,67,252,254,15,141,245,255,15,140,244,7,255,252,233,244,6,248,9,255,129,
765 121,253,4,239,255,15,131,244,60,129,121,253,12,239,15,131,244,60,255,129,
766 121,253,12,239,15,131,244,165,129,121,253,20,239,15,131,244,165,255,139,105,
767 20,255,129,252,253,239,15,131,244,60,255,252,242,15,16,1,252,242,15,16,73,
768 8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,237,15,136,244,249,255,
769 15,140,244,249,255,102,15,46,200,248,1,252,242,15,17,65,24,255,221,65,8,221,
770 1,255,220,65,16,221,17,221,81,24,133,252,237,15,136,244,247,255,221,81,24,
771 15,140,244,247,255,217,201,248,1,255,15,183,67,252,254,255,15,131,244,7,255,
772 15,131,244,248,141,156,253,131,233,255,141,156,253,131,233,15,183,67,252,
773 254,15,131,245,255,15,130,244,7,255,15,130,244,248,141,156,253,131,233,255,
774 248,3,102,15,46,193,252,233,244,1,255,141,12,202,139,105,4,129,252,253,239,
775 15,132,244,247,255,137,105,252,252,139,41,137,105,252,248,252,233,245,255,
776 141,156,253,131,233,139,1,137,105,252,252,137,65,252,248,255,65,139,142,233,
777 139,4,129,72,139,128,233,139,108,36,24,65,137,150,233,65,137,174,233,76,137,
778 36,36,76,137,108,36,8,72,131,252,236,16,252,255,224,255,141,156,253,131,233,
779 139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,
780 137,221,209,252,237,129,229,239,102,65,129,172,253,46,233,238,15,130,244,
781 150,255,68,139,187,233,139,108,36,24,141,12,202,59,141,233,15,135,244,24,
782 15,182,139,233,57,200,15,134,244,249,248,2,255,15,183,67,252,254,252,233,
783 245,255,248,3,199,68,194,252,252,237,131,192,1,57,200,15,134,244,3,252,233,
784 244,2,255,141,44,197,237,141,4,194,68,139,122,252,248,137,104,252,252,68,
785 137,120,252,248,139,108,36,24,141,12,200,59,141,233,15,135,244,23,137,209,
786 137,194,15,182,171,233,133,252,237,15,132,244,248,248,1,131,193,8,57,209,
787 15,131,244,249,68,139,121,252,248,68,137,56,68,139,121,252,252,68,137,120,
788 4,131,192,8,199,65,252,252,237,131,252,237,1,15,133,244,1,248,2,255,68,139,
789 187,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
790 238,255,248,3,199,64,4,237,131,192,8,131,252,237,1,15,133,244,3,252,233,244,
791 2,255,139,106,252,248,76,139,189,233,139,108,36,24,141,68,194,252,248,137,
792 149,233,141,136,233,59,141,233,137,133,233,255,76,137,252,254,137,252,239,
793 255,15,135,244,22,65,199,134,233,237,255,65,252,255,215,255,65,252,255,150,
794 233,255,65,199,134,233,237,139,149,233,141,12,194,252,247,217,3,141,233,139,
795 90,252,252,252,233,244,12,255,254,0
798 enum {
799 GLOB_vm_returnp,
800 GLOB_cont_dispatch,
801 GLOB_vm_returnc,
802 GLOB_BC_RET_Z,
803 GLOB_vm_return,
804 GLOB_vm_leave_cp,
805 GLOB_vm_leave_unw,
806 GLOB_vm_unwind_c,
807 GLOB_vm_unwind_c_eh,
808 GLOB_vm_unwind_rethrow,
809 GLOB_vm_unwind_ff,
810 GLOB_vm_unwind_ff_eh,
811 GLOB_vm_growstack_c,
812 GLOB_vm_growstack_v,
813 GLOB_vm_growstack_f,
814 GLOB_vm_resume,
815 GLOB_vm_pcall,
816 GLOB_vm_call,
817 GLOB_vm_call_dispatch,
818 GLOB_vmeta_call,
819 GLOB_vm_call_dispatch_f,
820 GLOB_vm_cpcall,
821 GLOB_vm_call_tail,
822 GLOB_cont_cat,
823 GLOB_cont_ra,
824 GLOB_BC_CAT_Z,
825 GLOB_vmeta_tgets,
826 GLOB_vmeta_tgetb,
827 GLOB_vmeta_tgetv,
828 GLOB_vmeta_tsets,
829 GLOB_vmeta_tsetb,
830 GLOB_vmeta_tsetv,
831 GLOB_cont_nop,
832 GLOB_vmeta_comp,
833 GLOB_vmeta_binop,
834 GLOB_cont_condt,
835 GLOB_cont_condf,
836 GLOB_vmeta_equal,
837 GLOB_vmeta_equal_cd,
838 GLOB_vmeta_arith_vno,
839 GLOB_vmeta_arith_vn,
840 GLOB_vmeta_arith_nvo,
841 GLOB_vmeta_arith_nv,
842 GLOB_vmeta_unm,
843 GLOB_vmeta_arith_vvo,
844 GLOB_vmeta_arith_vv,
845 GLOB_vmeta_len,
846 GLOB_BC_LEN_Z,
847 GLOB_vmeta_call_ra,
848 GLOB_BC_CALLT_Z,
849 GLOB_vmeta_for,
850 GLOB_ff_assert,
851 GLOB_fff_fallback,
852 GLOB_fff_res_,
853 GLOB_ff_type,
854 GLOB_fff_res1,
855 GLOB_ff_getmetatable,
856 GLOB_ff_setmetatable,
857 GLOB_ff_rawget,
858 GLOB_ff_tonumber,
859 GLOB_fff_resi,
860 GLOB_fff_resxmm0,
861 GLOB_fff_resn,
862 GLOB_ff_tostring,
863 GLOB_fff_gcstep,
864 GLOB_ff_next,
865 GLOB_fff_res2,
866 GLOB_fff_res,
867 GLOB_ff_pairs,
868 GLOB_ff_ipairs_aux,
869 GLOB_fff_res0,
870 GLOB_ff_ipairs,
871 GLOB_ff_pcall,
872 GLOB_ff_xpcall,
873 GLOB_ff_coroutine_resume,
874 GLOB_ff_coroutine_wrap_aux,
875 GLOB_ff_coroutine_yield,
876 GLOB_ff_math_abs,
877 GLOB_fff_resbit,
878 GLOB_ff_math_floor,
879 GLOB_vm_floor,
880 GLOB_ff_math_ceil,
881 GLOB_vm_ceil,
882 GLOB_ff_math_sqrt,
883 GLOB_ff_math_log,
884 GLOB_ff_math_log10,
885 GLOB_ff_math_exp,
886 GLOB_vm_exp_x87,
887 GLOB_ff_math_sin,
888 GLOB_ff_math_cos,
889 GLOB_ff_math_tan,
890 GLOB_ff_math_asin,
891 GLOB_ff_math_acos,
892 GLOB_ff_math_atan,
893 GLOB_ff_math_sinh,
894 GLOB_ff_math_cosh,
895 GLOB_ff_math_tanh,
896 GLOB_ff_math_deg,
897 GLOB_ff_math_rad,
898 GLOB_ff_math_atan2,
899 GLOB_ff_math_ldexp,
900 GLOB_ff_math_frexp,
901 GLOB_ff_math_modf,
902 GLOB_vm_trunc,
903 GLOB_ff_math_fmod,
904 GLOB_ff_math_pow,
905 GLOB_vm_pow,
906 GLOB_ff_math_min,
907 GLOB_ff_math_max,
908 GLOB_ff_string_len,
909 GLOB_ff_string_byte,
910 GLOB_ff_string_char,
911 GLOB_fff_newstr,
912 GLOB_ff_string_sub,
913 GLOB_fff_emptystr,
914 GLOB_ff_string_rep,
915 GLOB_fff_fallback_2,
916 GLOB_ff_string_reverse,
917 GLOB_fff_fallback_1,
918 GLOB_ff_string_lower,
919 GLOB_ff_string_upper,
920 GLOB_ff_table_getn,
921 GLOB_ff_bit_tobit,
922 GLOB_ff_bit_band,
923 GLOB_fff_fallback_bit_op,
924 GLOB_ff_bit_bor,
925 GLOB_ff_bit_bxor,
926 GLOB_ff_bit_bswap,
927 GLOB_ff_bit_bnot,
928 GLOB_ff_bit_lshift,
929 GLOB_ff_bit_rshift,
930 GLOB_ff_bit_arshift,
931 GLOB_ff_bit_rol,
932 GLOB_ff_bit_ror,
933 GLOB_vm_record,
934 GLOB_vm_rethook,
935 GLOB_vm_inshook,
936 GLOB_cont_hook,
937 GLOB_vm_hotloop,
938 GLOB_vm_callhook,
939 GLOB_vm_hotcall,
940 GLOB_vm_exit_handler,
941 GLOB_vm_exit_interp,
942 GLOB_vm_floor_sse,
943 GLOB_vm_ceil_sse,
944 GLOB_vm_trunc_sse,
945 GLOB_vm_mod,
946 GLOB_vm_exp2_x87,
947 GLOB_vm_exp2raw,
948 GLOB_vm_pow_sse,
949 GLOB_vm_powi_sse,
950 GLOB_vm_foldfpm,
951 GLOB_vm_foldarith,
952 GLOB_vm_cpuid,
953 GLOB_vm_ffi_call,
954 GLOB_assert_bad_for_arg_type,
955 GLOB_BC_MODVN_Z,
956 GLOB_BC_TGETS_Z,
957 GLOB_BC_TSETS_Z,
958 GLOB__MAX
960 static const char *const globnames[] = {
961 "vm_returnp",
962 "cont_dispatch",
963 "vm_returnc",
964 "BC_RET_Z",
965 "vm_return",
966 "vm_leave_cp",
967 "vm_leave_unw",
968 "vm_unwind_c@8",
969 "vm_unwind_c_eh",
970 "vm_unwind_rethrow",
971 "vm_unwind_ff@4",
972 "vm_unwind_ff_eh",
973 "vm_growstack_c",
974 "vm_growstack_v",
975 "vm_growstack_f",
976 "vm_resume",
977 "vm_pcall",
978 "vm_call",
979 "vm_call_dispatch",
980 "vmeta_call",
981 "vm_call_dispatch_f",
982 "vm_cpcall",
983 "vm_call_tail",
984 "cont_cat",
985 "cont_ra",
986 "BC_CAT_Z",
987 "vmeta_tgets",
988 "vmeta_tgetb",
989 "vmeta_tgetv",
990 "vmeta_tsets",
991 "vmeta_tsetb",
992 "vmeta_tsetv",
993 "cont_nop",
994 "vmeta_comp",
995 "vmeta_binop",
996 "cont_condt",
997 "cont_condf",
998 "vmeta_equal",
999 "vmeta_equal_cd",
1000 "vmeta_arith_vno",
1001 "vmeta_arith_vn",
1002 "vmeta_arith_nvo",
1003 "vmeta_arith_nv",
1004 "vmeta_unm",
1005 "vmeta_arith_vvo",
1006 "vmeta_arith_vv",
1007 "vmeta_len",
1008 "BC_LEN_Z",
1009 "vmeta_call_ra",
1010 "BC_CALLT_Z",
1011 "vmeta_for",
1012 "ff_assert",
1013 "fff_fallback",
1014 "fff_res_",
1015 "ff_type",
1016 "fff_res1",
1017 "ff_getmetatable",
1018 "ff_setmetatable",
1019 "ff_rawget",
1020 "ff_tonumber",
1021 "fff_resi",
1022 "fff_resxmm0",
1023 "fff_resn",
1024 "ff_tostring",
1025 "fff_gcstep",
1026 "ff_next",
1027 "fff_res2",
1028 "fff_res",
1029 "ff_pairs",
1030 "ff_ipairs_aux",
1031 "fff_res0",
1032 "ff_ipairs",
1033 "ff_pcall",
1034 "ff_xpcall",
1035 "ff_coroutine_resume",
1036 "ff_coroutine_wrap_aux",
1037 "ff_coroutine_yield",
1038 "ff_math_abs",
1039 "fff_resbit",
1040 "ff_math_floor",
1041 "vm_floor",
1042 "ff_math_ceil",
1043 "vm_ceil",
1044 "ff_math_sqrt",
1045 "ff_math_log",
1046 "ff_math_log10",
1047 "ff_math_exp",
1048 "vm_exp_x87",
1049 "ff_math_sin",
1050 "ff_math_cos",
1051 "ff_math_tan",
1052 "ff_math_asin",
1053 "ff_math_acos",
1054 "ff_math_atan",
1055 "ff_math_sinh",
1056 "ff_math_cosh",
1057 "ff_math_tanh",
1058 "ff_math_deg",
1059 "ff_math_rad",
1060 "ff_math_atan2",
1061 "ff_math_ldexp",
1062 "ff_math_frexp",
1063 "ff_math_modf",
1064 "vm_trunc",
1065 "ff_math_fmod",
1066 "ff_math_pow",
1067 "vm_pow",
1068 "ff_math_min",
1069 "ff_math_max",
1070 "ff_string_len",
1071 "ff_string_byte",
1072 "ff_string_char",
1073 "fff_newstr",
1074 "ff_string_sub",
1075 "fff_emptystr",
1076 "ff_string_rep",
1077 "fff_fallback_2",
1078 "ff_string_reverse",
1079 "fff_fallback_1",
1080 "ff_string_lower",
1081 "ff_string_upper",
1082 "ff_table_getn",
1083 "ff_bit_tobit",
1084 "ff_bit_band",
1085 "fff_fallback_bit_op",
1086 "ff_bit_bor",
1087 "ff_bit_bxor",
1088 "ff_bit_bswap",
1089 "ff_bit_bnot",
1090 "ff_bit_lshift",
1091 "ff_bit_rshift",
1092 "ff_bit_arshift",
1093 "ff_bit_rol",
1094 "ff_bit_ror",
1095 "vm_record",
1096 "vm_rethook",
1097 "vm_inshook",
1098 "cont_hook",
1099 "vm_hotloop",
1100 "vm_callhook",
1101 "vm_hotcall",
1102 "vm_exit_handler",
1103 "vm_exit_interp",
1104 "vm_floor_sse",
1105 "vm_ceil_sse",
1106 "vm_trunc_sse",
1107 "vm_mod",
1108 "vm_exp2_x87",
1109 "vm_exp2raw",
1110 "vm_pow_sse",
1111 "vm_powi_sse",
1112 "vm_foldfpm",
1113 "vm_foldarith",
1114 "vm_cpuid",
1115 "vm_ffi_call@4",
1116 "assert_bad_for_arg_type",
1117 "BC_MODVN_Z",
1118 "BC_TGETS_Z",
1119 "BC_TSETS_Z",
1120 (const char *)0
1122 static const char *const extnames[] = {
1123 "lj_state_growstack@8",
1124 "lj_err_throw@8",
1125 "lj_meta_tget",
1126 "lj_meta_tset",
1127 "lj_meta_comp",
1128 "lj_meta_equal",
1129 "lj_meta_equal_cd@8",
1130 "lj_meta_arith",
1131 "lj_meta_len@8",
1132 "lj_meta_call",
1133 "lj_meta_for@8",
1134 "lj_tab_get",
1135 "lj_str_fromnumber@8",
1136 "lj_str_fromnum@8",
1137 "lj_tab_next",
1138 "lj_tab_getinth@8",
1139 "lj_ffh_coroutine_wrap_err@8",
1140 "lj_vm_sinh",
1141 "lj_vm_cosh",
1142 "lj_vm_tanh",
1143 "lj_str_new",
1144 "lj_tab_len@4",
1145 "lj_gc_step@4",
1146 "lj_dispatch_ins@8",
1147 "lj_trace_hot@8",
1148 "lj_dispatch_call@8",
1149 "lj_trace_exit@8",
1150 "lj_meta_cat",
1151 "lj_gc_barrieruv@8",
1152 "lj_func_closeuv@8",
1153 "lj_func_newL_gc",
1154 "lj_tab_new",
1155 "lj_gc_step_fixtop@4",
1156 "lj_tab_dup@8",
1157 "lj_tab_newkey",
1158 "lj_tab_reasize",
1159 (const char *)0
1161 #define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1162 #define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1163 #define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1164 #define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1165 #define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1166 #define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1167 #define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1168 #define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1169 #define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1170 #define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1171 #define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1172 #define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1173 #define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V)
1174 #define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1175 #define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1176 #define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto))
1178 /* Generate subroutines used by opcodes and other parts of the VM. */
1179 /* The .code_sub section should be last to help static branch prediction. */
1180 static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1182 dasm_put(Dst, 0);
1183 dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C);
1184 dasm_put(Dst, 109, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL);
1185 dasm_put(Dst, 200, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK);
1186 dasm_put(Dst, 302, 1+1, Dt1(->base), Dt1(->glref), GG_G2DISP, LJ_TFALSE, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, LUA_MINSTACK, -4+PC2PROTO(framesize), Dt1(->base));
1187 dasm_put(Dst, 385, Dt1(->top), Dt1(->base), Dt1(->top), Dt7(->pc), FRAME_CP, CFRAME_RESUME, Dt1(->glref), GG_G2DISP, Dt1(->cframe), Dt1(->status), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->status), Dt1(->base), Dt1(->top), FRAME_TYPE);
1188 dasm_put(Dst, 548, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1189 dasm_put(Dst, 648, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL);
1190 dasm_put(Dst, 819, 0, Dt7(->pc), PC2PROTO(k), Dt1(->base), LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1191 dasm_put(Dst, 944);
1192 if (LJ_DUALNUM) {
1193 dasm_put(Dst, 958, LJ_TISNUM);
1194 } else if (sse) {
1195 dasm_put(Dst, 967);
1196 } else {
1198 dasm_put(Dst, 979, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET);
1199 dasm_put(Dst, 1125, DISPATCH_GL(tmptv), LJ_TTAB);
1200 if (LJ_DUALNUM) {
1201 dasm_put(Dst, 958, LJ_TISNUM);
1202 } else if (sse) {
1203 dasm_put(Dst, 967);
1204 } else {
1206 dasm_put(Dst, 1149, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base));
1207 dasm_put(Dst, 1321, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1208 dasm_put(Dst, 1420);
1209 #if LJ_HASFFI
1210 dasm_put(Dst, 1440, Dt1(->base));
1211 #endif
1212 dasm_put(Dst, 1471);
1213 #if LJ_DUALNUM
1214 dasm_put(Dst, 1474);
1215 #endif
1216 dasm_put(Dst, 1480);
1217 #if LJ_DUALNUM
1218 dasm_put(Dst, 952);
1219 #endif
1220 dasm_put(Dst, 1493);
1221 #if LJ_DUALNUM
1222 dasm_put(Dst, 1474);
1223 #endif
1224 dasm_put(Dst, 1522, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base));
1225 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1226 dasm_put(Dst, 1624);
1227 #else
1228 dasm_put(Dst, 1643);
1229 #endif
1230 dasm_put(Dst, 1648, Dt1(->base), Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND);
1231 dasm_put(Dst, 1834, 1+1, ~LJ_TNUMX);
1232 if (cmov) {
1233 dasm_put(Dst, 1903);
1234 } else {
1235 dasm_put(Dst, 1907);
1237 dasm_put(Dst, 1916, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, ~LJ_TLIGHTUD, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL);
1238 dasm_put(Dst, 1995, DISPATCH_GL(gcroot)+4*(GCROOT_MMNAME+MM_metatable), LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next));
1239 dasm_put(Dst, 2053, LJ_TNIL, LJ_TUDATA, LJ_TNUMX, LJ_TISNUM, LJ_TLIGHTUD);
1240 dasm_put(Dst, 2119, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB);
1241 dasm_put(Dst, 2190, Dt6(->marked), LJ_GC_BLACK, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist), 2+1, LJ_TTAB);
1242 dasm_put(Dst, 2280, 1+1, LJ_TISNUM);
1243 if (LJ_DUALNUM) {
1244 dasm_put(Dst, 2294);
1245 } else {
1246 dasm_put(Dst, 2311);
1248 if (sse) {
1249 dasm_put(Dst, 2316);
1250 } else {
1251 dasm_put(Dst, 2326);
1253 dasm_put(Dst, 2333, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1254 dasm_put(Dst, 2402, Dt1(->base));
1255 if (LJ_DUALNUM) {
1256 dasm_put(Dst, 2428);
1257 } else {
1258 dasm_put(Dst, 2433);
1260 dasm_put(Dst, 2438, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2);
1261 dasm_put(Dst, 2530, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1262 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1263 dasm_put(Dst, 2577, Dt6(->metatable));
1264 #endif
1265 dasm_put(Dst, 2586, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1266 if (LJ_DUALNUM) {
1267 dasm_put(Dst, 2572);
1268 } else {
1269 dasm_put(Dst, 2311);
1271 dasm_put(Dst, 2641);
1272 if (LJ_DUALNUM) {
1273 dasm_put(Dst, 2646, LJ_TISNUM);
1274 } else if (sse) {
1275 dasm_put(Dst, 2662, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1276 } else {
1278 dasm_put(Dst, 2695, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1279 dasm_put(Dst, 2557, 1+1, LJ_TTAB);
1280 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1281 dasm_put(Dst, 2577, Dt6(->metatable));
1282 #endif
1283 dasm_put(Dst, 2772, Dt8(->upvalue[0]), LJ_TFUNC);
1284 if (LJ_DUALNUM) {
1285 dasm_put(Dst, 2793, LJ_TISNUM);
1286 } else if (sse) {
1287 dasm_put(Dst, 2805);
1288 } else {
1289 dasm_put(Dst, 2815);
1291 dasm_put(Dst, 2822, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC);
1292 dasm_put(Dst, 2887, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top));
1293 dasm_put(Dst, 2976, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1294 dasm_put(Dst, 3063, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE);
1295 dasm_put(Dst, 3178, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe));
1296 dasm_put(Dst, 3273, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1297 dasm_put(Dst, 3339, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack));
1298 dasm_put(Dst, 3428, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME);
1299 dasm_put(Dst, 3538, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1300 if (!LJ_DUALNUM) {
1301 dasm_put(Dst, 3565);
1303 if (sse) {
1304 dasm_put(Dst, 3568);
1306 dasm_put(Dst, 3583, 1+1);
1307 if (LJ_DUALNUM) {
1308 dasm_put(Dst, 3594, LJ_TISNUM, LJ_TISNUM);
1309 } else {
1310 dasm_put(Dst, 3674, LJ_TISNUM);
1312 if (sse) {
1313 dasm_put(Dst, 3684, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1314 } else {
1315 dasm_put(Dst, 3715);
1317 dasm_put(Dst, 3732, 1+1, FRAME_TYPE, LJ_TNIL);
1318 if (LJ_DUALNUM) {
1319 dasm_put(Dst, 3829, LJ_TISNUM);
1320 } else {
1321 dasm_put(Dst, 3674, LJ_TISNUM);
1323 if (sse) {
1324 dasm_put(Dst, 3851);
1325 if (LJ_DUALNUM) {
1326 dasm_put(Dst, 3860);
1328 dasm_put(Dst, 2321);
1329 } else {
1330 dasm_put(Dst, 3894);
1331 if (LJ_DUALNUM) {
1332 } else {
1333 dasm_put(Dst, 2328);
1336 dasm_put(Dst, 3900);
1337 if (LJ_DUALNUM) {
1338 dasm_put(Dst, 3829, LJ_TISNUM);
1339 } else {
1340 dasm_put(Dst, 3674, LJ_TISNUM);
1342 if (sse) {
1343 dasm_put(Dst, 3903);
1344 if (LJ_DUALNUM) {
1345 dasm_put(Dst, 3860);
1347 dasm_put(Dst, 2321);
1348 } else {
1349 dasm_put(Dst, 3912);
1350 if (LJ_DUALNUM) {
1351 } else {
1352 dasm_put(Dst, 2328);
1355 if (sse) {
1356 dasm_put(Dst, 3918, 1+1, LJ_TISNUM);
1357 } else {
1358 dasm_put(Dst, 3947, 1+1, LJ_TISNUM);
1360 dasm_put(Dst, 3976, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1361 dasm_put(Dst, 4045, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1362 dasm_put(Dst, 4102, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1363 dasm_put(Dst, 4165, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1364 dasm_put(Dst, 4255);
1365 if (sse) {
1366 dasm_put(Dst, 4267, 1+1, LJ_TISNUM);
1367 } else {
1369 dasm_put(Dst, 4292);
1370 if (sse) {
1371 dasm_put(Dst, 4306, 1+1, LJ_TISNUM);
1372 } else {
1374 dasm_put(Dst, 4331);
1375 if (sse) {
1376 dasm_put(Dst, 4345, 1+1, LJ_TISNUM);
1377 } else {
1379 dasm_put(Dst, 4370);
1380 if (sse) {
1381 dasm_put(Dst, 4386, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1382 } else {
1383 dasm_put(Dst, 4425, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1385 dasm_put(Dst, 4458, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1386 dasm_put(Dst, 4523, 1+1, LJ_TISNUM);
1387 if (sse) {
1388 dasm_put(Dst, 4622);
1389 } else {
1390 dasm_put(Dst, 4628);
1392 dasm_put(Dst, 4635);
1393 if (sse) {
1394 dasm_put(Dst, 4660);
1395 } else {
1396 dasm_put(Dst, 4666);
1398 dasm_put(Dst, 4669, 1+2);
1399 if (sse) {
1400 dasm_put(Dst, 4678);
1401 } else {
1402 dasm_put(Dst, 4686);
1404 dasm_put(Dst, 4694);
1405 if (sse) {
1406 dasm_put(Dst, 4697, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
1407 } else {
1408 dasm_put(Dst, 4724);
1410 dasm_put(Dst, 4741);
1411 if (sse) {
1412 dasm_put(Dst, 4757, 1+1, LJ_TISNUM);
1413 } else {
1414 dasm_put(Dst, 4782, 1+1, LJ_TISNUM);
1416 dasm_put(Dst, 4804);
1417 if (sse) {
1418 dasm_put(Dst, 4826);
1419 } else {
1420 dasm_put(Dst, 4852);
1422 dasm_put(Dst, 4869, 1+2);
1423 if (sse) {
1424 dasm_put(Dst, 4909);
1425 } else {
1426 dasm_put(Dst, 4917);
1428 dasm_put(Dst, 4927, 2+1, LJ_TISNUM, LJ_TISNUM);
1429 if (sse) {
1430 dasm_put(Dst, 4979, 2+1, LJ_TISNUM, LJ_TISNUM);
1431 } else {
1432 dasm_put(Dst, 5026, 2+1, LJ_TISNUM, LJ_TISNUM);
1434 dasm_put(Dst, 5067, LJ_TISNUM);
1435 if (LJ_DUALNUM) {
1436 dasm_put(Dst, 5080, LJ_TISNUM);
1437 if (sse) {
1438 dasm_put(Dst, 4622);
1439 } else {
1441 dasm_put(Dst, 5130);
1442 } else {
1443 dasm_put(Dst, 2311);
1445 if (sse) {
1446 dasm_put(Dst, 5141, LJ_TISNUM);
1447 if (LJ_DUALNUM) {
1448 dasm_put(Dst, 5162);
1449 } else {
1450 dasm_put(Dst, 2311);
1452 dasm_put(Dst, 5183);
1453 } else {
1455 dasm_put(Dst, 5208, LJ_TISNUM);
1456 if (LJ_DUALNUM) {
1457 dasm_put(Dst, 5221, LJ_TISNUM);
1458 if (sse) {
1459 dasm_put(Dst, 4622);
1460 } else {
1462 dasm_put(Dst, 5130);
1463 } else {
1464 dasm_put(Dst, 2311);
1466 if (sse) {
1467 dasm_put(Dst, 5141, LJ_TISNUM);
1468 if (LJ_DUALNUM) {
1469 dasm_put(Dst, 5162);
1470 } else {
1471 dasm_put(Dst, 2311);
1473 dasm_put(Dst, 5271);
1474 } else {
1476 if (!sse) {
1477 dasm_put(Dst, 5296);
1479 dasm_put(Dst, 5305, 1+1, LJ_TSTR);
1480 if (LJ_DUALNUM) {
1481 dasm_put(Dst, 5327, Dt5(->len));
1482 } else if (sse) {
1483 dasm_put(Dst, 5335, Dt5(->len));
1484 } else {
1485 dasm_put(Dst, 5346, Dt5(->len));
1487 dasm_put(Dst, 5354, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1488 if (LJ_DUALNUM) {
1489 dasm_put(Dst, 5330);
1490 } else if (sse) {
1491 dasm_put(Dst, 5392);
1492 } else {
1493 dasm_put(Dst, 5402);
1495 dasm_put(Dst, 5413, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1496 if (LJ_DUALNUM) {
1497 dasm_put(Dst, 5446);
1498 } else if (sse) {
1499 dasm_put(Dst, 5469);
1500 } else {
1501 dasm_put(Dst, 5495);
1503 dasm_put(Dst, 5519, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1504 if (LJ_DUALNUM) {
1505 dasm_put(Dst, 5628);
1506 } else if (sse) {
1507 dasm_put(Dst, 5640);
1508 } else {
1509 dasm_put(Dst, 5655);
1511 dasm_put(Dst, 5667, LJ_TSTR, LJ_TISNUM);
1512 if (LJ_DUALNUM) {
1513 dasm_put(Dst, 2572);
1514 } else {
1515 dasm_put(Dst, 2311);
1517 dasm_put(Dst, 5684, Dt5(->len));
1518 if (LJ_DUALNUM) {
1519 dasm_put(Dst, 5694);
1520 } else if (sse) {
1521 dasm_put(Dst, 5698);
1522 } else {
1524 dasm_put(Dst, 5705, sizeof(GCstr)-1);
1525 dasm_put(Dst, 5780, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1526 dasm_put(Dst, 5841, LJ_TSTR, LJ_TISNUM);
1527 if (LJ_DUALNUM) {
1528 dasm_put(Dst, 5858);
1529 } else if (sse) {
1530 dasm_put(Dst, 5866);
1531 } else {
1532 dasm_put(Dst, 5877);
1534 dasm_put(Dst, 5893, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1535 dasm_put(Dst, 5961, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1536 dasm_put(Dst, 6028, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1537 dasm_put(Dst, 6101, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1538 dasm_put(Dst, 6186, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1539 dasm_put(Dst, 6260, 1+1, LJ_TTAB);
1540 if (LJ_DUALNUM) {
1541 dasm_put(Dst, 6327);
1542 } else if (sse) {
1543 dasm_put(Dst, 6334);
1544 } else {
1546 dasm_put(Dst, 6344, 1+1, LJ_TISNUM);
1547 if (LJ_DUALNUM) {
1548 dasm_put(Dst, 6360);
1549 } else {
1550 dasm_put(Dst, 2311);
1552 if (sse) {
1553 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1554 } else {
1556 dasm_put(Dst, 106);
1557 if (LJ_DUALNUM || sse) {
1558 if (!sse) {
1560 dasm_put(Dst, 6401);
1561 } else {
1563 dasm_put(Dst, 6406, 1+1);
1564 if (sse) {
1565 dasm_put(Dst, 6417, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1566 } else {
1567 dasm_put(Dst, 6427);
1569 dasm_put(Dst, 2288, LJ_TISNUM);
1570 if (LJ_DUALNUM) {
1571 dasm_put(Dst, 6435);
1572 } else {
1573 dasm_put(Dst, 2311);
1575 if (sse) {
1576 dasm_put(Dst, 6452);
1577 } else {
1579 dasm_put(Dst, 6467, LJ_TISNUM);
1580 if (LJ_DUALNUM) {
1581 dasm_put(Dst, 6492);
1582 } else {
1583 dasm_put(Dst, 6512);
1585 if (sse) {
1586 dasm_put(Dst, 6517);
1587 } else {
1589 dasm_put(Dst, 6534, 1+1);
1590 if (sse) {
1591 dasm_put(Dst, 6417, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1592 } else {
1593 dasm_put(Dst, 6427);
1595 dasm_put(Dst, 2288, LJ_TISNUM);
1596 if (LJ_DUALNUM) {
1597 dasm_put(Dst, 6435);
1598 } else {
1599 dasm_put(Dst, 2311);
1601 if (sse) {
1602 dasm_put(Dst, 6452);
1603 } else {
1605 dasm_put(Dst, 6467, LJ_TISNUM);
1606 if (LJ_DUALNUM) {
1607 dasm_put(Dst, 6552);
1608 } else {
1609 dasm_put(Dst, 6512);
1611 if (sse) {
1612 dasm_put(Dst, 6572);
1613 } else {
1615 dasm_put(Dst, 6589, 1+1);
1616 if (sse) {
1617 dasm_put(Dst, 6417, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1618 } else {
1619 dasm_put(Dst, 6427);
1621 dasm_put(Dst, 2288, LJ_TISNUM);
1622 if (LJ_DUALNUM) {
1623 dasm_put(Dst, 6435);
1624 } else {
1625 dasm_put(Dst, 2311);
1627 if (sse) {
1628 dasm_put(Dst, 6452);
1629 } else {
1631 dasm_put(Dst, 6467, LJ_TISNUM);
1632 if (LJ_DUALNUM) {
1633 dasm_put(Dst, 6607);
1634 } else {
1635 dasm_put(Dst, 6512);
1637 if (sse) {
1638 dasm_put(Dst, 6627);
1639 } else {
1641 dasm_put(Dst, 6644, 1+1, LJ_TISNUM);
1642 if (LJ_DUALNUM) {
1643 dasm_put(Dst, 6435);
1644 } else {
1645 dasm_put(Dst, 2311);
1647 if (sse) {
1648 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1649 } else {
1651 dasm_put(Dst, 6667, 1+1, LJ_TISNUM);
1652 if (LJ_DUALNUM) {
1653 dasm_put(Dst, 6435);
1654 } else {
1655 dasm_put(Dst, 2311);
1657 if (sse) {
1658 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1659 } else {
1661 dasm_put(Dst, 6691);
1662 if (LJ_DUALNUM) {
1663 dasm_put(Dst, 6401);
1664 } else if (sse) {
1665 dasm_put(Dst, 6697);
1666 } else {
1668 dasm_put(Dst, 6709);
1669 if (LJ_DUALNUM) {
1670 dasm_put(Dst, 6720, 1+1, LJ_TISNUM);
1671 if (LJ_DUALNUM) {
1672 dasm_put(Dst, 6435);
1673 } else {
1674 dasm_put(Dst, 2311);
1676 if (sse) {
1677 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1678 } else {
1680 dasm_put(Dst, 6736, LJ_TISNUM);
1681 } else if (sse) {
1682 dasm_put(Dst, 6751, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1683 } else {
1685 dasm_put(Dst, 6818);
1686 if (LJ_DUALNUM) {
1687 dasm_put(Dst, 6825, 1+1, LJ_TISNUM);
1688 if (LJ_DUALNUM) {
1689 dasm_put(Dst, 6435);
1690 } else {
1691 dasm_put(Dst, 2311);
1693 if (sse) {
1694 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1695 } else {
1697 dasm_put(Dst, 6736, LJ_TISNUM);
1698 } else if (sse) {
1699 dasm_put(Dst, 6841, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1700 } else {
1702 dasm_put(Dst, 6908);
1703 if (LJ_DUALNUM) {
1704 dasm_put(Dst, 6916, 1+1, LJ_TISNUM);
1705 if (LJ_DUALNUM) {
1706 dasm_put(Dst, 6435);
1707 } else {
1708 dasm_put(Dst, 2311);
1710 if (sse) {
1711 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1712 } else {
1714 dasm_put(Dst, 6736, LJ_TISNUM);
1715 } else if (sse) {
1716 dasm_put(Dst, 6932, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1717 } else {
1719 dasm_put(Dst, 6999);
1720 if (LJ_DUALNUM) {
1721 dasm_put(Dst, 7007, 1+1, LJ_TISNUM);
1722 if (LJ_DUALNUM) {
1723 dasm_put(Dst, 6435);
1724 } else {
1725 dasm_put(Dst, 2311);
1727 if (sse) {
1728 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1729 } else {
1731 dasm_put(Dst, 6736, LJ_TISNUM);
1732 } else if (sse) {
1733 dasm_put(Dst, 7023, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1734 } else {
1736 dasm_put(Dst, 7090);
1737 if (LJ_DUALNUM) {
1738 dasm_put(Dst, 7097, 1+1, LJ_TISNUM);
1739 if (LJ_DUALNUM) {
1740 dasm_put(Dst, 6435);
1741 } else {
1742 dasm_put(Dst, 2311);
1744 if (sse) {
1745 dasm_put(Dst, 6377, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1746 } else {
1748 dasm_put(Dst, 6736, LJ_TISNUM);
1749 } else if (sse) {
1750 dasm_put(Dst, 7113, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1751 } else {
1753 dasm_put(Dst, 7180, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1754 dasm_put(Dst, 7256, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base));
1755 dasm_put(Dst, 7383, Dt1(->top), Dt1(->base), Dt1(->top));
1756 #if LJ_HASJIT
1757 dasm_put(Dst, 7422, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1758 #endif
1759 dasm_put(Dst, 7455, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE);
1760 dasm_put(Dst, 7509, Dt1(->base), Dt1(->base), GG_DISP2STATIC);
1761 #if LJ_HASJIT
1762 dasm_put(Dst, 7576, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L));
1763 #endif
1764 dasm_put(Dst, 7623);
1765 #if LJ_HASJIT
1766 dasm_put(Dst, 7450);
1767 #endif
1768 dasm_put(Dst, 7630);
1769 #if LJ_HASJIT
1770 dasm_put(Dst, 7633);
1771 #endif
1772 dasm_put(Dst, 7643, Dt1(->base), Dt1(->top));
1773 #if LJ_HASJIT
1774 dasm_put(Dst, 7676);
1775 #endif
1776 dasm_put(Dst, 7681, Dt1(->base), Dt1(->top));
1777 #if LJ_HASJIT
1778 dasm_put(Dst, 7712, DISPATCH_GL(vmstate), DISPATCH_GL(vmstate), ~LJ_VMST_EXIT, DISPATCH_J(exitno), DISPATCH_J(parent), 16*8, DISPATCH_GL(jit_L), DISPATCH_GL(jit_base), DISPATCH_J(L), DISPATCH_GL(jit_L), Dt1(->base), GG_DISP2J, Dt1(->cframe), CFRAME_RAWMASK, CFRAME_OFS_L, Dt1(->base), CFRAME_OFS_PC);
1779 #endif
1780 dasm_put(Dst, 7951);
1781 #if LJ_HASJIT
1782 dasm_put(Dst, 7954, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF);
1783 #endif
1784 dasm_put(Dst, 8054);
1785 if (!sse) {
1786 dasm_put(Dst, 8057);
1788 dasm_put(Dst, 8102, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1789 if (!sse) {
1790 dasm_put(Dst, 8188);
1792 dasm_put(Dst, 8233, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(bff00000,00000000)), (unsigned int)((U64x(bff00000,00000000))>>32));
1793 if (!sse) {
1794 dasm_put(Dst, 8319);
1796 dasm_put(Dst, 8358, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1797 if (sse) {
1798 dasm_put(Dst, 8447, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1799 } else {
1800 dasm_put(Dst, 8561);
1802 dasm_put(Dst, 8608);
1803 if (!sse) {
1804 } else {
1805 dasm_put(Dst, 8685);
1807 dasm_put(Dst, 8688);
1808 dasm_put(Dst, 8773, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1809 dasm_put(Dst, 8876, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(7ff00000,00000000)), (unsigned int)((U64x(7ff00000,00000000))>>32));
1810 dasm_put(Dst, 9038);
1811 #if LJ_HASJIT
1812 if (sse) {
1813 dasm_put(Dst, 9079);
1814 dasm_put(Dst, 9149);
1815 dasm_put(Dst, 9221);
1816 } else {
1817 dasm_put(Dst, 9273);
1818 dasm_put(Dst, 9365);
1820 dasm_put(Dst, 9411);
1821 #endif
1822 dasm_put(Dst, 9415);
1823 if (sse) {
1824 dasm_put(Dst, 9418, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1825 dasm_put(Dst, 9503, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1826 } else {
1827 dasm_put(Dst, 9631);
1828 dasm_put(Dst, 9714);
1829 if (cmov) {
1830 dasm_put(Dst, 9769);
1831 } else {
1832 dasm_put(Dst, 9788);
1834 dasm_put(Dst, 9411);
1836 dasm_put(Dst, 9829);
1837 #if LJ_HASFFI
1838 #define DtE(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
1839 dasm_put(Dst, 9853, DtE(->spadj));
1840 #if LJ_TARGET_WINDOWS
1841 #endif
1842 dasm_put(Dst, 9869, 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]));
1843 dasm_put(Dst, 9948, 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]));
1844 #if LJ_TARGET_WINDOWS
1845 #endif
1846 dasm_put(Dst, 10003);
1847 #endif
1848 dasm_put(Dst, 10011);
1849 #ifdef LUA_USE_ASSERT
1850 dasm_put(Dst, 9413);
1851 #endif
1852 dasm_put(Dst, 9413);
1855 /* Generate the code for a single instruction. */
1856 static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1858 int vk = 0;
1859 dasm_put(Dst, 10014, defop);
1861 switch (op) {
1863 /* -- Comparison ops ---------------------------------------------------- */
1865 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1868 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1869 if (LJ_DUALNUM) {
1870 dasm_put(Dst, 10016, LJ_TISNUM, LJ_TISNUM);
1871 switch (op) {
1872 case BC_ISLT:
1873 dasm_put(Dst, 10046);
1874 break;
1875 case BC_ISGE:
1876 dasm_put(Dst, 10051);
1877 break;
1878 case BC_ISLE:
1879 dasm_put(Dst, 10056);
1880 break;
1881 case BC_ISGT:
1882 dasm_put(Dst, 10061);
1883 break;
1884 default: break; /* Shut up GCC. */
1886 dasm_put(Dst, 10066, -BCBIAS_J*4, LJ_TISNUM);
1887 if (sse) {
1888 dasm_put(Dst, 10121);
1889 } else {
1890 dasm_put(Dst, 10132);
1892 dasm_put(Dst, 10143);
1893 if (sse) {
1894 dasm_put(Dst, 10150);
1895 switch (op) {
1896 case BC_ISLT:
1897 dasm_put(Dst, 10170);
1898 break;
1899 case BC_ISGE:
1900 dasm_put(Dst, 10175);
1901 break;
1902 case BC_ISLE:
1903 dasm_put(Dst, 10180);
1904 break;
1905 case BC_ISGT:
1906 dasm_put(Dst, 10185);
1907 break;
1908 default: break; /* Shut up GCC. */
1910 dasm_put(Dst, 10190);
1911 } else {
1912 dasm_put(Dst, 10195);
1914 } else {
1915 dasm_put(Dst, 10203, LJ_TISNUM, LJ_TISNUM);
1917 if (sse) {
1918 dasm_put(Dst, 10224);
1919 } else {
1920 dasm_put(Dst, 10245);
1921 if (cmov) {
1922 dasm_put(Dst, 10261);
1923 } else {
1924 dasm_put(Dst, 10267);
1927 if (LJ_DUALNUM) {
1928 switch (op) {
1929 case BC_ISLT:
1930 dasm_put(Dst, 10170);
1931 break;
1932 case BC_ISGE:
1933 dasm_put(Dst, 10175);
1934 break;
1935 case BC_ISLE:
1936 dasm_put(Dst, 10180);
1937 break;
1938 case BC_ISGT:
1939 dasm_put(Dst, 10185);
1940 break;
1941 default: break; /* Shut up GCC. */
1943 dasm_put(Dst, 10190);
1944 } else {
1945 switch (op) {
1946 case BC_ISLT:
1947 dasm_put(Dst, 10274);
1948 break;
1949 case BC_ISGE:
1950 dasm_put(Dst, 10279);
1951 break;
1952 case BC_ISLE:
1953 dasm_put(Dst, 10284);
1954 break;
1955 case BC_ISGT:
1956 dasm_put(Dst, 10289);
1957 break;
1958 default: break; /* Shut up GCC. */
1960 dasm_put(Dst, 10294, -BCBIAS_J*4);
1962 break;
1964 case BC_ISEQV: case BC_ISNEV:
1965 vk = op == BC_ISEQV;
1966 dasm_put(Dst, 10327);
1967 if (LJ_DUALNUM) {
1968 dasm_put(Dst, 10335, LJ_TISNUM, LJ_TISNUM);
1969 if (vk) {
1970 dasm_put(Dst, 10360);
1971 } else {
1972 dasm_put(Dst, 10365);
1974 dasm_put(Dst, 10370, -BCBIAS_J*4, LJ_TISNUM);
1975 if (sse) {
1976 dasm_put(Dst, 10423);
1977 } else {
1978 dasm_put(Dst, 10430);
1980 dasm_put(Dst, 10434);
1981 if (sse) {
1982 dasm_put(Dst, 10445);
1983 } else {
1984 dasm_put(Dst, 10457);
1986 dasm_put(Dst, 10464);
1987 } else {
1988 dasm_put(Dst, 10469, LJ_TISNUM, LJ_TISNUM);
1990 if (sse) {
1991 dasm_put(Dst, 10488);
1992 } else {
1993 dasm_put(Dst, 10506);
1994 if (cmov) {
1995 dasm_put(Dst, 10261);
1996 } else {
1997 dasm_put(Dst, 10267);
2000 iseqne_fp:
2001 if (vk) {
2002 dasm_put(Dst, 10519);
2003 } else {
2004 dasm_put(Dst, 10528);
2006 iseqne_end:
2007 if (vk) {
2008 dasm_put(Dst, 10537, -BCBIAS_J*4);
2009 if (!LJ_HASFFI) {
2010 dasm_put(Dst, 4675);
2012 } else {
2013 if (!LJ_HASFFI) {
2014 dasm_put(Dst, 4675);
2016 dasm_put(Dst, 10552, -BCBIAS_J*4);
2018 if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV ||
2019 op == BC_ISEQN || op == BC_ISNEN)) {
2020 dasm_put(Dst, 10567);
2021 } else {
2022 dasm_put(Dst, 10306);
2024 if (op == BC_ISEQV || op == BC_ISNEV) {
2025 dasm_put(Dst, 10572);
2026 if (LJ_HASFFI) {
2027 dasm_put(Dst, 10575, LJ_TCDATA, LJ_TCDATA);
2029 dasm_put(Dst, 10594, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
2030 if (vk) {
2031 dasm_put(Dst, 10650);
2032 } else {
2033 dasm_put(Dst, 10654);
2035 dasm_put(Dst, 10660);
2036 } else if (LJ_HASFFI) {
2037 dasm_put(Dst, 10665, LJ_TCDATA);
2038 if (LJ_DUALNUM && vk) {
2039 dasm_put(Dst, 10672);
2040 } else {
2041 dasm_put(Dst, 10645);
2043 dasm_put(Dst, 10677);
2045 break;
2046 case BC_ISEQS: case BC_ISNES:
2047 vk = op == BC_ISEQS;
2048 dasm_put(Dst, 10682, LJ_TSTR);
2049 iseqne_test:
2050 if (vk) {
2051 dasm_put(Dst, 10523);
2052 } else {
2053 dasm_put(Dst, 814);
2055 goto iseqne_end;
2056 case BC_ISEQN: case BC_ISNEN:
2057 vk = op == BC_ISEQN;
2058 dasm_put(Dst, 10709);
2059 if (LJ_DUALNUM) {
2060 dasm_put(Dst, 10717, LJ_TISNUM, LJ_TISNUM);
2061 if (vk) {
2062 dasm_put(Dst, 10360);
2063 } else {
2064 dasm_put(Dst, 10365);
2066 dasm_put(Dst, 10744, -BCBIAS_J*4, LJ_TISNUM);
2067 if (sse) {
2068 dasm_put(Dst, 10794);
2069 } else {
2070 dasm_put(Dst, 10802);
2072 dasm_put(Dst, 10807);
2073 if (sse) {
2074 dasm_put(Dst, 10814);
2075 } else {
2076 dasm_put(Dst, 10827);
2078 dasm_put(Dst, 10464);
2079 } else {
2080 dasm_put(Dst, 10835, LJ_TISNUM);
2082 if (sse) {
2083 dasm_put(Dst, 10844);
2084 } else {
2085 dasm_put(Dst, 10863);
2086 if (cmov) {
2087 dasm_put(Dst, 10261);
2088 } else {
2089 dasm_put(Dst, 10267);
2092 goto iseqne_fp;
2093 case BC_ISEQP: case BC_ISNEP:
2094 vk = op == BC_ISEQP;
2095 dasm_put(Dst, 10877);
2096 if (!LJ_HASFFI) goto iseqne_test;
2097 if (vk) {
2098 dasm_put(Dst, 10891, -BCBIAS_J*4, LJ_TCDATA);
2099 } else {
2100 dasm_put(Dst, 10942, LJ_TCDATA, -BCBIAS_J*4);
2102 break;
2104 /* -- Unary test and copy ops ------------------------------------------- */
2106 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
2107 dasm_put(Dst, 10987, LJ_TISTRUECOND);
2108 if (op == BC_IST || op == BC_ISTC) {
2109 dasm_put(Dst, 10289);
2110 } else {
2111 dasm_put(Dst, 10284);
2113 if (op == BC_ISTC || op == BC_ISFC) {
2114 dasm_put(Dst, 10999);
2116 dasm_put(Dst, 10294, -BCBIAS_J*4);
2117 break;
2119 /* -- Unary ops --------------------------------------------------------- */
2121 case BC_MOV:
2122 dasm_put(Dst, 11010);
2123 break;
2124 case BC_NOT:
2125 dasm_put(Dst, 11039, LJ_TISTRUECOND, LJ_TTRUE);
2126 break;
2127 case BC_UNM:
2128 if (LJ_DUALNUM) {
2129 dasm_put(Dst, 11076, LJ_TISNUM, LJ_TISNUM);
2130 } else {
2131 dasm_put(Dst, 11154, LJ_TISNUM);
2133 if (sse) {
2134 dasm_put(Dst, 11165, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
2135 } else {
2136 dasm_put(Dst, 11190);
2138 if (LJ_DUALNUM) {
2139 dasm_put(Dst, 10567);
2140 } else {
2141 dasm_put(Dst, 10306);
2143 break;
2144 case BC_LEN:
2145 dasm_put(Dst, 11199, LJ_TSTR);
2146 if (LJ_DUALNUM) {
2147 dasm_put(Dst, 11213, Dt5(->len), LJ_TISNUM);
2148 } else if (sse) {
2149 dasm_put(Dst, 11227, Dt5(->len));
2150 } else {
2151 dasm_put(Dst, 11245, Dt5(->len));
2153 dasm_put(Dst, 11254, LJ_TTAB);
2154 #ifdef LUAJIT_ENABLE_LUA52COMPAT
2155 dasm_put(Dst, 11290, Dt6(->metatable));
2156 #endif
2157 dasm_put(Dst, 11304);
2158 if (LJ_DUALNUM) {
2159 } else if (sse) {
2160 dasm_put(Dst, 11313);
2161 } else {
2163 dasm_put(Dst, 11319);
2164 #ifdef LUAJIT_ENABLE_LUA52COMPAT
2165 dasm_put(Dst, 11332, Dt6(->nomm), 1<<MM_len);
2166 #endif
2167 break;
2169 /* -- Binary ops -------------------------------------------------------- */
2172 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
2173 if (LJ_DUALNUM) {
2174 dasm_put(Dst, 11348);
2175 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2176 switch (vk) {
2177 case 0:
2178 dasm_put(Dst, 11356, LJ_TISNUM, LJ_TISNUM);
2179 break;
2180 case 1:
2181 dasm_put(Dst, 11391, LJ_TISNUM, LJ_TISNUM);
2182 break;
2183 default:
2184 dasm_put(Dst, 11426, LJ_TISNUM, LJ_TISNUM);
2185 break;
2187 dasm_put(Dst, 11459, LJ_TISNUM);
2188 if (vk == 1) {
2189 dasm_put(Dst, 11223);
2190 } else {
2191 dasm_put(Dst, 11006);
2193 dasm_put(Dst, 10306);
2194 } else {
2195 dasm_put(Dst, 11348);
2196 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2197 switch (vk) {
2198 case 0:
2199 dasm_put(Dst, 11465, LJ_TISNUM);
2200 if (LJ_DUALNUM) {
2201 dasm_put(Dst, 11477, LJ_TISNUM);
2203 if (sse) {
2204 dasm_put(Dst, 11489);
2205 } else {
2206 dasm_put(Dst, 11504);
2208 break;
2209 case 1:
2210 dasm_put(Dst, 11513, LJ_TISNUM);
2211 if (LJ_DUALNUM) {
2212 dasm_put(Dst, 11525, LJ_TISNUM);
2214 if (sse) {
2215 dasm_put(Dst, 11537);
2216 } else {
2217 dasm_put(Dst, 11552);
2219 break;
2220 default:
2221 dasm_put(Dst, 11561, LJ_TISNUM, LJ_TISNUM);
2222 if (sse) {
2223 dasm_put(Dst, 11583);
2224 } else {
2225 dasm_put(Dst, 11597);
2227 break;
2229 if (sse) {
2230 dasm_put(Dst, 11183);
2231 } else {
2232 dasm_put(Dst, 11195);
2234 dasm_put(Dst, 10306);
2236 break;
2237 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
2238 if (LJ_DUALNUM) {
2239 dasm_put(Dst, 11348);
2240 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2241 switch (vk) {
2242 case 0:
2243 dasm_put(Dst, 11605, LJ_TISNUM, LJ_TISNUM);
2244 break;
2245 case 1:
2246 dasm_put(Dst, 11640, LJ_TISNUM, LJ_TISNUM);
2247 break;
2248 default:
2249 dasm_put(Dst, 11675, LJ_TISNUM, LJ_TISNUM);
2250 break;
2252 dasm_put(Dst, 11459, LJ_TISNUM);
2253 if (vk == 1) {
2254 dasm_put(Dst, 11223);
2255 } else {
2256 dasm_put(Dst, 11006);
2258 dasm_put(Dst, 10306);
2259 } else {
2260 dasm_put(Dst, 11348);
2261 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2262 switch (vk) {
2263 case 0:
2264 dasm_put(Dst, 11465, LJ_TISNUM);
2265 if (LJ_DUALNUM) {
2266 dasm_put(Dst, 11477, LJ_TISNUM);
2268 if (sse) {
2269 dasm_put(Dst, 11708);
2270 } else {
2271 dasm_put(Dst, 11723);
2273 break;
2274 case 1:
2275 dasm_put(Dst, 11513, LJ_TISNUM);
2276 if (LJ_DUALNUM) {
2277 dasm_put(Dst, 11525, LJ_TISNUM);
2279 if (sse) {
2280 dasm_put(Dst, 11732);
2281 } else {
2282 dasm_put(Dst, 11747);
2284 break;
2285 default:
2286 dasm_put(Dst, 11561, LJ_TISNUM, LJ_TISNUM);
2287 if (sse) {
2288 dasm_put(Dst, 11756);
2289 } else {
2290 dasm_put(Dst, 11770);
2292 break;
2294 if (sse) {
2295 dasm_put(Dst, 11183);
2296 } else {
2297 dasm_put(Dst, 11195);
2299 dasm_put(Dst, 10306);
2301 break;
2302 case BC_MULVN: case BC_MULNV: case BC_MULVV:
2303 if (LJ_DUALNUM) {
2304 dasm_put(Dst, 11348);
2305 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2306 switch (vk) {
2307 case 0:
2308 dasm_put(Dst, 11778, LJ_TISNUM, LJ_TISNUM);
2309 break;
2310 case 1:
2311 dasm_put(Dst, 11814, LJ_TISNUM, LJ_TISNUM);
2312 break;
2313 default:
2314 dasm_put(Dst, 11850, LJ_TISNUM, LJ_TISNUM);
2315 break;
2317 dasm_put(Dst, 11459, LJ_TISNUM);
2318 if (vk == 1) {
2319 dasm_put(Dst, 11223);
2320 } else {
2321 dasm_put(Dst, 11006);
2323 dasm_put(Dst, 10306);
2324 } else {
2325 dasm_put(Dst, 11348);
2326 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2327 switch (vk) {
2328 case 0:
2329 dasm_put(Dst, 11465, LJ_TISNUM);
2330 if (LJ_DUALNUM) {
2331 dasm_put(Dst, 11477, LJ_TISNUM);
2333 if (sse) {
2334 dasm_put(Dst, 11884);
2335 } else {
2336 dasm_put(Dst, 11899);
2338 break;
2339 case 1:
2340 dasm_put(Dst, 11513, LJ_TISNUM);
2341 if (LJ_DUALNUM) {
2342 dasm_put(Dst, 11525, LJ_TISNUM);
2344 if (sse) {
2345 dasm_put(Dst, 11908);
2346 } else {
2347 dasm_put(Dst, 11923);
2349 break;
2350 default:
2351 dasm_put(Dst, 11561, LJ_TISNUM, LJ_TISNUM);
2352 if (sse) {
2353 dasm_put(Dst, 11932);
2354 } else {
2355 dasm_put(Dst, 11946);
2357 break;
2359 if (sse) {
2360 dasm_put(Dst, 11183);
2361 } else {
2362 dasm_put(Dst, 11195);
2364 dasm_put(Dst, 10306);
2366 break;
2367 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
2368 dasm_put(Dst, 11348);
2369 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2370 switch (vk) {
2371 case 0:
2372 dasm_put(Dst, 11465, LJ_TISNUM);
2373 if (LJ_DUALNUM) {
2374 dasm_put(Dst, 11477, LJ_TISNUM);
2376 if (sse) {
2377 dasm_put(Dst, 11954);
2378 } else {
2379 dasm_put(Dst, 11969);
2381 break;
2382 case 1:
2383 dasm_put(Dst, 11513, LJ_TISNUM);
2384 if (LJ_DUALNUM) {
2385 dasm_put(Dst, 11525, LJ_TISNUM);
2387 if (sse) {
2388 dasm_put(Dst, 11978);
2389 } else {
2390 dasm_put(Dst, 11993);
2392 break;
2393 default:
2394 dasm_put(Dst, 11561, LJ_TISNUM, LJ_TISNUM);
2395 if (sse) {
2396 dasm_put(Dst, 12002);
2397 } else {
2398 dasm_put(Dst, 12016);
2400 break;
2402 if (sse) {
2403 dasm_put(Dst, 11183);
2404 } else {
2405 dasm_put(Dst, 11195);
2407 dasm_put(Dst, 10306);
2408 break;
2409 case BC_MODVN:
2410 dasm_put(Dst, 11348);
2411 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2412 switch (vk) {
2413 case 0:
2414 dasm_put(Dst, 11465, LJ_TISNUM);
2415 if (LJ_DUALNUM) {
2416 dasm_put(Dst, 11477, LJ_TISNUM);
2418 if (sse) {
2419 dasm_put(Dst, 12024);
2420 } else {
2421 dasm_put(Dst, 12039);
2423 break;
2424 case 1:
2425 dasm_put(Dst, 11513, LJ_TISNUM);
2426 if (LJ_DUALNUM) {
2427 dasm_put(Dst, 11525, LJ_TISNUM);
2429 if (sse) {
2430 dasm_put(Dst, 12048);
2431 } else {
2432 dasm_put(Dst, 12063);
2434 break;
2435 default:
2436 dasm_put(Dst, 11561, LJ_TISNUM, LJ_TISNUM);
2437 if (sse) {
2438 dasm_put(Dst, 12072);
2439 } else {
2440 dasm_put(Dst, 12086);
2442 break;
2444 dasm_put(Dst, 12094);
2445 if (sse) {
2446 dasm_put(Dst, 11183);
2447 } else {
2448 dasm_put(Dst, 11195);
2450 dasm_put(Dst, 10306);
2451 break;
2452 case BC_MODNV: case BC_MODVV:
2453 dasm_put(Dst, 11348);
2454 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2455 switch (vk) {
2456 case 0:
2457 dasm_put(Dst, 11465, LJ_TISNUM);
2458 if (LJ_DUALNUM) {
2459 dasm_put(Dst, 11477, LJ_TISNUM);
2461 if (sse) {
2462 dasm_put(Dst, 12024);
2463 } else {
2464 dasm_put(Dst, 12039);
2466 break;
2467 case 1:
2468 dasm_put(Dst, 11513, LJ_TISNUM);
2469 if (LJ_DUALNUM) {
2470 dasm_put(Dst, 11525, LJ_TISNUM);
2472 if (sse) {
2473 dasm_put(Dst, 12048);
2474 } else {
2475 dasm_put(Dst, 12063);
2477 break;
2478 default:
2479 dasm_put(Dst, 11561, LJ_TISNUM, LJ_TISNUM);
2480 if (sse) {
2481 dasm_put(Dst, 12072);
2482 } else {
2483 dasm_put(Dst, 12086);
2485 break;
2487 dasm_put(Dst, 12100);
2488 break;
2489 case BC_POW:
2490 dasm_put(Dst, 11348);
2491 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2492 switch (vk) {
2493 case 0:
2494 dasm_put(Dst, 11465, LJ_TISNUM);
2495 if (LJ_DUALNUM) {
2496 dasm_put(Dst, 11477, LJ_TISNUM);
2498 if (sse) {
2499 dasm_put(Dst, 12024);
2500 } else {
2501 dasm_put(Dst, 12039);
2503 break;
2504 case 1:
2505 dasm_put(Dst, 11513, LJ_TISNUM);
2506 if (LJ_DUALNUM) {
2507 dasm_put(Dst, 11525, LJ_TISNUM);
2509 if (sse) {
2510 dasm_put(Dst, 12048);
2511 } else {
2512 dasm_put(Dst, 12063);
2514 break;
2515 default:
2516 dasm_put(Dst, 11561, LJ_TISNUM, LJ_TISNUM);
2517 if (sse) {
2518 dasm_put(Dst, 12072);
2519 } else {
2520 dasm_put(Dst, 12086);
2522 break;
2524 dasm_put(Dst, 12105);
2525 if (sse) {
2526 dasm_put(Dst, 11183);
2527 } else {
2528 dasm_put(Dst, 11195);
2530 dasm_put(Dst, 10306);
2531 break;
2533 case BC_CAT:
2534 dasm_put(Dst, 12109, Dt1(->base), Dt1(->base));
2535 break;
2537 /* -- Constant ops ------------------------------------------------------ */
2539 case BC_KSTR:
2540 dasm_put(Dst, 12193, LJ_TSTR);
2541 break;
2542 case BC_KCDATA:
2543 #if LJ_HASFFI
2544 dasm_put(Dst, 12193, LJ_TCDATA);
2545 #endif
2546 break;
2547 case BC_KSHORT:
2548 if (LJ_DUALNUM) {
2549 dasm_put(Dst, 12230, LJ_TISNUM);
2550 } else if (sse) {
2551 dasm_put(Dst, 12242);
2552 } else {
2553 dasm_put(Dst, 12257);
2555 dasm_put(Dst, 10306);
2556 break;
2557 case BC_KNUM:
2558 if (sse) {
2559 dasm_put(Dst, 12265);
2560 } else {
2561 dasm_put(Dst, 12279);
2563 dasm_put(Dst, 10306);
2564 break;
2565 case BC_KPRI:
2566 dasm_put(Dst, 12287);
2567 break;
2568 case BC_KNIL:
2569 dasm_put(Dst, 12316, LJ_TNIL);
2570 break;
2572 /* -- Upvalue and function ops ------------------------------------------ */
2574 case BC_UGET:
2575 dasm_put(Dst, 12364, offsetof(GCfuncL, uvptr), DtA(->v));
2576 break;
2577 case BC_USETV:
2578 #define TV2MARKOFS \
2579 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2580 dasm_put(Dst, 12405, 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);
2581 dasm_put(Dst, 12501);
2582 break;
2583 #undef TV2MARKOFS
2584 case BC_USETS:
2585 dasm_put(Dst, 12513, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2586 break;
2587 case BC_USETN:
2588 dasm_put(Dst, 12609);
2589 if (sse) {
2590 dasm_put(Dst, 12614);
2591 } else {
2592 dasm_put(Dst, 10830);
2594 dasm_put(Dst, 12622, offsetof(GCfuncL, uvptr), DtA(->v));
2595 if (sse) {
2596 dasm_put(Dst, 12631);
2597 } else {
2598 dasm_put(Dst, 12637);
2600 dasm_put(Dst, 10306);
2601 break;
2602 case BC_USETP:
2603 dasm_put(Dst, 12640, offsetof(GCfuncL, uvptr), DtA(->v));
2604 break;
2605 case BC_UCLO:
2606 dasm_put(Dst, 12680, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2607 break;
2609 case BC_FNEW:
2610 dasm_put(Dst, 12736, Dt1(->base), Dt1(->base), LJ_TFUNC);
2611 break;
2613 /* -- Table ops --------------------------------------------------------- */
2615 case BC_TNEW:
2616 dasm_put(Dst, 12803, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2617 break;
2618 case BC_TDUP:
2619 dasm_put(Dst, 12927, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2620 break;
2622 case BC_GGET:
2623 dasm_put(Dst, 13026, Dt7(->env));
2624 break;
2625 case BC_GSET:
2626 dasm_put(Dst, 13046, Dt7(->env));
2627 break;
2629 case BC_TGETV:
2630 dasm_put(Dst, 13066, LJ_TTAB);
2631 if (LJ_DUALNUM) {
2632 dasm_put(Dst, 13089, LJ_TISNUM);
2633 } else {
2634 dasm_put(Dst, 13103, LJ_TISNUM);
2635 if (sse) {
2636 dasm_put(Dst, 13114);
2637 } else {
2639 dasm_put(Dst, 13135);
2641 dasm_put(Dst, 13140, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index, LJ_TNIL);
2642 dasm_put(Dst, 13232, LJ_TSTR);
2643 break;
2644 case BC_TGETS:
2645 dasm_put(Dst, 13250, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2646 dasm_put(Dst, 13335, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2647 break;
2648 case BC_TGETB:
2649 dasm_put(Dst, 13407, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2650 dasm_put(Dst, 13503, LJ_TNIL);
2651 break;
2653 case BC_TSETV:
2654 dasm_put(Dst, 13520, LJ_TTAB);
2655 if (LJ_DUALNUM) {
2656 dasm_put(Dst, 13089, LJ_TISNUM);
2657 } else {
2658 dasm_put(Dst, 13103, LJ_TISNUM);
2659 if (sse) {
2660 dasm_put(Dst, 13114);
2661 } else {
2663 dasm_put(Dst, 13543);
2665 dasm_put(Dst, 13548, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex);
2666 dasm_put(Dst, 13629, LJ_TSTR, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2667 break;
2668 case BC_TSETS:
2669 dasm_put(Dst, 13688, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2670 dasm_put(Dst, 13765, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2671 dasm_put(Dst, 13852, 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));
2672 break;
2673 case BC_TSETB:
2674 dasm_put(Dst, 13944, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2675 dasm_put(Dst, 14039, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2676 break;
2678 case BC_TSETM:
2679 dasm_put(Dst, 14087, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2680 dasm_put(Dst, 14237, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2681 break;
2683 /* -- Calls and vararg handling ----------------------------------------- */
2685 case BC_CALL: case BC_CALLM:
2686 dasm_put(Dst, 11352);
2687 if (op == BC_CALLM) {
2688 dasm_put(Dst, 14257);
2690 dasm_put(Dst, 14262, LJ_TFUNC, Dt7(->pc));
2691 break;
2693 case BC_CALLMT:
2694 dasm_put(Dst, 14257);
2695 break;
2696 case BC_CALLT:
2697 dasm_put(Dst, 14305, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2698 dasm_put(Dst, 14423, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2699 break;
2701 case BC_ITERC:
2702 dasm_put(Dst, 14497, LJ_TFUNC, 2+1, Dt7(->pc));
2703 break;
2705 case BC_ITERN:
2706 #if LJ_HASJIT
2707 #endif
2708 dasm_put(Dst, 14569, Dt6(->asize), Dt6(->array), LJ_TNIL);
2709 if (LJ_DUALNUM) {
2710 dasm_put(Dst, 11218, LJ_TISNUM);
2711 } else if (sse) {
2712 dasm_put(Dst, 11313);
2713 } else {
2714 dasm_put(Dst, 14621);
2716 dasm_put(Dst, 14627);
2717 if (LJ_DUALNUM) {
2718 } else if (sse) {
2719 dasm_put(Dst, 11183);
2720 } else {
2721 dasm_put(Dst, 11195);
2723 dasm_put(Dst, 14640, -BCBIAS_J*4);
2724 if (!LJ_DUALNUM && !sse) {
2725 dasm_put(Dst, 14694);
2727 dasm_put(Dst, 14700, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key), DtB(->val));
2728 break;
2730 case BC_ISNEXT:
2731 dasm_put(Dst, 14779, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2732 break;
2734 case BC_VARG:
2735 dasm_put(Dst, 14880, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2736 dasm_put(Dst, 15047, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2737 break;
2739 /* -- Returns ----------------------------------------------------------- */
2741 case BC_RETM:
2742 dasm_put(Dst, 14257);
2743 break;
2745 case BC_RET: case BC_RET0: case BC_RET1:
2746 if (op != BC_RET0) {
2747 dasm_put(Dst, 15117);
2749 dasm_put(Dst, 15121, FRAME_TYPE);
2750 switch (op) {
2751 case BC_RET:
2752 dasm_put(Dst, 15140);
2753 break;
2754 case BC_RET1:
2755 dasm_put(Dst, 15194);
2756 /* fallthrough */
2757 case BC_RET0:
2758 dasm_put(Dst, 15204);
2759 default:
2760 break;
2762 dasm_put(Dst, 15215, Dt7(->pc), PC2PROTO(k));
2763 if (op == BC_RET) {
2764 dasm_put(Dst, 15263, LJ_TNIL);
2765 } else {
2766 dasm_put(Dst, 15274, LJ_TNIL);
2768 dasm_put(Dst, 15281, -FRAME_VARG, FRAME_TYPEP);
2769 if (op != BC_RET0) {
2770 dasm_put(Dst, 15305);
2772 dasm_put(Dst, 4752);
2773 break;
2775 /* -- Loops and branches ------------------------------------------------ */
2778 case BC_FORL:
2779 #if LJ_HASJIT
2780 dasm_put(Dst, 15309, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2781 #endif
2782 break;
2784 case BC_JFORI:
2785 case BC_JFORL:
2786 #if !LJ_HASJIT
2787 break;
2788 #endif
2789 case BC_FORI:
2790 case BC_IFORL:
2791 vk = (op == BC_IFORL || op == BC_JFORL);
2792 dasm_put(Dst, 15330);
2793 if (LJ_DUALNUM) {
2794 dasm_put(Dst, 15334, LJ_TISNUM);
2795 if (!vk) {
2796 dasm_put(Dst, 15344, LJ_TISNUM, LJ_TISNUM);
2797 } else {
2798 #ifdef LUA_USE_ASSERT
2799 dasm_put(Dst, 15373, LJ_TISNUM, LJ_TISNUM);
2800 #endif
2801 dasm_put(Dst, 15392);
2803 dasm_put(Dst, 15411, LJ_TISNUM);
2804 if (op == BC_FORI) {
2805 dasm_put(Dst, 15422, -BCBIAS_J*4);
2806 } else if (op == BC_JFORI) {
2807 dasm_put(Dst, 15436, -BCBIAS_J*4, BC_JLOOP);
2808 } else if (op == BC_IFORL) {
2809 dasm_put(Dst, 15454, -BCBIAS_J*4);
2810 } else {
2811 dasm_put(Dst, 15446, BC_JLOOP);
2813 dasm_put(Dst, 15468);
2814 if (vk) {
2815 dasm_put(Dst, 15493);
2817 dasm_put(Dst, 15411, LJ_TISNUM);
2818 if (op == BC_FORI) {
2819 dasm_put(Dst, 15502);
2820 } else if (op == BC_JFORI) {
2821 dasm_put(Dst, 15507, -BCBIAS_J*4, BC_JLOOP);
2822 } else if (op == BC_IFORL) {
2823 dasm_put(Dst, 15521);
2824 } else {
2825 dasm_put(Dst, 15517, BC_JLOOP);
2827 dasm_put(Dst, 15526);
2828 } else if (!vk) {
2829 dasm_put(Dst, 15533, LJ_TISNUM);
2831 if (!vk) {
2832 dasm_put(Dst, 15539, LJ_TISNUM);
2833 } else {
2834 #ifdef LUA_USE_ASSERT
2835 dasm_put(Dst, 15553, LJ_TISNUM, LJ_TISNUM);
2836 #endif
2838 dasm_put(Dst, 15572);
2839 if (!vk) {
2840 dasm_put(Dst, 15576, LJ_TISNUM);
2842 if (sse) {
2843 dasm_put(Dst, 15585);
2844 if (vk) {
2845 dasm_put(Dst, 15597);
2846 } else {
2847 dasm_put(Dst, 15616);
2849 dasm_put(Dst, 15621);
2850 } else {
2851 dasm_put(Dst, 15634);
2852 if (vk) {
2853 dasm_put(Dst, 15640);
2854 } else {
2855 dasm_put(Dst, 15656);
2857 dasm_put(Dst, 15664);
2858 if (cmov) {
2859 dasm_put(Dst, 10261);
2860 } else {
2861 dasm_put(Dst, 10267);
2863 if (!cmov) {
2864 dasm_put(Dst, 15669);
2867 if (op == BC_FORI) {
2868 if (LJ_DUALNUM) {
2869 dasm_put(Dst, 15675);
2870 } else {
2871 dasm_put(Dst, 15680, -BCBIAS_J*4);
2873 } else if (op == BC_JFORI) {
2874 dasm_put(Dst, 15690, -BCBIAS_J*4, BC_JLOOP);
2875 } else if (op == BC_IFORL) {
2876 if (LJ_DUALNUM) {
2877 dasm_put(Dst, 15704);
2878 } else {
2879 dasm_put(Dst, 15709, -BCBIAS_J*4);
2881 } else {
2882 dasm_put(Dst, 15700, BC_JLOOP);
2884 if (LJ_DUALNUM) {
2885 dasm_put(Dst, 10190);
2886 } else {
2887 dasm_put(Dst, 10964);
2889 if (sse) {
2890 dasm_put(Dst, 15719);
2892 break;
2894 case BC_ITERL:
2895 #if LJ_HASJIT
2896 dasm_put(Dst, 15309, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2897 #endif
2898 break;
2900 case BC_JITERL:
2901 #if !LJ_HASJIT
2902 break;
2903 #endif
2904 case BC_IITERL:
2905 dasm_put(Dst, 15730, LJ_TNIL);
2906 if (op == BC_JITERL) {
2907 dasm_put(Dst, 15745, BC_JLOOP);
2908 } else {
2909 dasm_put(Dst, 15759, -BCBIAS_J*4);
2911 dasm_put(Dst, 10304);
2912 break;
2914 case BC_LOOP:
2915 #if LJ_HASJIT
2916 dasm_put(Dst, 15309, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2917 #endif
2918 break;
2920 case BC_ILOOP:
2921 dasm_put(Dst, 10306);
2922 break;
2924 case BC_JLOOP:
2925 #if LJ_HASJIT
2926 dasm_put(Dst, 15775, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
2927 #endif
2928 break;
2930 case BC_JMP:
2931 dasm_put(Dst, 15816, -BCBIAS_J*4);
2932 break;
2934 /* -- Function headers -------------------------------------------------- */
2937 ** Reminder: A function may be called with func/args above L->maxstack,
2938 ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot,
2939 ** too. This means all FUNC* ops (including fast functions) must check
2940 ** for stack overflow _before_ adding more slots!
2943 case BC_FUNCF:
2944 #if LJ_HASJIT
2945 dasm_put(Dst, 15842, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_CALL);
2946 #endif
2947 case BC_FUNCV: /* NYI: compiled vararg functions. */
2948 break;
2950 case BC_JFUNCF:
2951 #if !LJ_HASJIT
2952 break;
2953 #endif
2954 case BC_IFUNCF:
2955 dasm_put(Dst, 15863, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
2956 if (op == BC_JFUNCF) {
2957 dasm_put(Dst, 15894, BC_JLOOP);
2958 } else {
2959 dasm_put(Dst, 10306);
2961 dasm_put(Dst, 15903, LJ_TNIL);
2962 break;
2964 case BC_JFUNCV:
2965 #if !LJ_HASJIT
2966 break;
2967 #endif
2968 dasm_put(Dst, 9413);
2969 break; /* NYI: compiled vararg functions. */
2971 case BC_IFUNCV:
2972 dasm_put(Dst, 15925, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
2973 if (op == BC_JFUNCV) {
2974 dasm_put(Dst, 15894, BC_JLOOP);
2975 } else {
2976 dasm_put(Dst, 16022, -4+PC2PROTO(k));
2978 dasm_put(Dst, 16047, LJ_TNIL);
2979 break;
2981 case BC_FUNCC:
2982 case BC_FUNCCW:
2983 dasm_put(Dst, 16069, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
2984 if (op == BC_FUNCC) {
2985 dasm_put(Dst, 2424);
2986 } else {
2987 dasm_put(Dst, 16099);
2989 dasm_put(Dst, 16107, DISPATCH_GL(vmstate), ~LJ_VMST_C);
2990 if (op == BC_FUNCC) {
2991 dasm_put(Dst, 16117);
2992 } else {
2993 dasm_put(Dst, 16122, DISPATCH_GL(wrapf));
2995 dasm_put(Dst, 16128, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
2996 break;
2998 /* ---------------------------------------------------------------------- */
3000 default:
3001 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
3002 exit(2);
3003 break;
3007 static int build_backend(BuildCtx *ctx)
3009 int op;
3010 int cmov = 1;
3011 int sse = 0;
3012 #ifdef LUAJIT_CPU_NOCMOV
3013 cmov = 0;
3014 #endif
3015 #if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
3016 sse = 1;
3017 #endif
3019 dasm_growpc(Dst, BC__MAX);
3021 build_subroutines(ctx, cmov, sse);
3023 dasm_put(Dst, 16154);
3024 for (op = 0; op < BC__MAX; op++)
3025 build_ins(ctx, (BCOp)op, op, cmov, sse);
3027 return BC__MAX;
3030 /* Emit pseudo frame-info for all assembler functions. */
3031 static void emit_asm_debug(BuildCtx *ctx)
3033 #if LJ_64
3034 #define SZPTR "8"
3035 #define BSZPTR "3"
3036 #define REG_SP "0x7"
3037 #define REG_RA "0x10"
3038 #else
3039 #define SZPTR "4"
3040 #define BSZPTR "2"
3041 #define REG_SP "0x4"
3042 #define REG_RA "0x8"
3043 #endif
3044 switch (ctx->mode) {
3045 case BUILD_elfasm:
3046 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
3047 fprintf(ctx->fp,
3048 ".Lframe0:\n"
3049 "\t.long .LECIE0-.LSCIE0\n"
3050 ".LSCIE0:\n"
3051 "\t.long 0xffffffff\n"
3052 "\t.byte 0x1\n"
3053 "\t.string \"\"\n"
3054 "\t.uleb128 0x1\n"
3055 "\t.sleb128 -" SZPTR "\n"
3056 "\t.byte " REG_RA "\n"
3057 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3058 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3059 "\t.align " SZPTR "\n"
3060 ".LECIE0:\n\n");
3061 fprintf(ctx->fp,
3062 ".LSFDE0:\n"
3063 "\t.long .LEFDE0-.LASFDE0\n"
3064 ".LASFDE0:\n"
3065 "\t.long .Lframe0\n"
3066 "\t.long .Lbegin\n"
3067 "\t.long %d\n"
3068 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3069 #if LJ_64
3070 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3071 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3072 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3073 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3074 #else
3075 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3076 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3077 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3078 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3079 #endif
3080 "\t.align " SZPTR "\n"
3081 ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
3082 #if (defined(__sun__) && defined(__svr4__)) || defined(__solaris_)
3083 fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
3084 #else
3085 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
3086 #endif
3087 fprintf(ctx->fp,
3088 ".Lframe1:\n"
3089 "\t.long .LECIE1-.LSCIE1\n"
3090 ".LSCIE1:\n"
3091 "\t.long 0\n"
3092 "\t.byte 0x1\n"
3093 "\t.string \"zPR\"\n"
3094 "\t.uleb128 0x1\n"
3095 "\t.sleb128 -" SZPTR "\n"
3096 "\t.byte " REG_RA "\n"
3097 "\t.uleb128 6\n" /* augmentation length */
3098 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3099 "\t.long lj_err_unwind_dwarf-.\n"
3100 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3101 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3102 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3103 "\t.align " SZPTR "\n"
3104 ".LECIE1:\n\n");
3105 fprintf(ctx->fp,
3106 ".LSFDE1:\n"
3107 "\t.long .LEFDE1-.LASFDE1\n"
3108 ".LASFDE1:\n"
3109 "\t.long .LASFDE1-.Lframe1\n"
3110 "\t.long .Lbegin-.\n"
3111 "\t.long %d\n"
3112 "\t.uleb128 0\n" /* augmentation length */
3113 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3114 #if LJ_64
3115 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3116 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3117 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3118 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3119 #else
3120 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3121 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3122 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3123 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3124 #endif
3125 "\t.align " SZPTR "\n"
3126 ".LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
3127 break;
3128 case BUILD_coffasm:
3129 fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n");
3130 fprintf(ctx->fp,
3131 "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n",
3132 LJ_32 ? "_" : "");
3133 fprintf(ctx->fp,
3134 "Lframe1:\n"
3135 "\t.long LECIE1-LSCIE1\n"
3136 "LSCIE1:\n"
3137 "\t.long 0\n"
3138 "\t.byte 0x1\n"
3139 "\t.string \"zP\"\n"
3140 "\t.uleb128 0x1\n"
3141 "\t.sleb128 -" SZPTR "\n"
3142 "\t.byte " REG_RA "\n"
3143 "\t.uleb128 5\n" /* augmentation length */
3144 "\t.byte 0x00\n" /* absptr */
3145 "\t.long %slj_err_unwind_dwarf\n"
3146 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3147 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3148 "\t.align " SZPTR "\n"
3149 "LECIE1:\n\n", LJ_32 ? "_" : "");
3150 fprintf(ctx->fp,
3151 "LSFDE1:\n"
3152 "\t.long LEFDE1-LASFDE1\n"
3153 "LASFDE1:\n"
3154 "\t.long LASFDE1-Lframe1\n"
3155 "\t.long %slj_vm_asm_begin\n"
3156 "\t.long %d\n"
3157 "\t.uleb128 0\n" /* augmentation length */
3158 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3159 #if LJ_64
3160 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3161 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3162 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3163 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3164 #else
3165 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3166 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3167 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3168 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3169 #endif
3170 "\t.align " SZPTR "\n"
3171 "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE);
3172 break;
3173 /* Mental note: never let Apple design an assembler.
3174 ** Or a linker. Or a plastic case. But I digress.
3176 case BUILD_machasm: {
3177 int i;
3178 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
3179 fprintf(ctx->fp,
3180 "EH_frame1:\n"
3181 "\t.set L$set$x,LECIEX-LSCIEX\n"
3182 "\t.long L$set$x\n"
3183 "LSCIEX:\n"
3184 "\t.long 0\n"
3185 "\t.byte 0x1\n"
3186 "\t.ascii \"zPR\\0\"\n"
3187 "\t.byte 0x1\n"
3188 "\t.byte 128-" SZPTR "\n"
3189 "\t.byte " REG_RA "\n"
3190 "\t.byte 6\n" /* augmentation length */
3191 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
3192 #if LJ_64
3193 "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n"
3194 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3195 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3196 #else
3197 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
3198 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3199 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
3200 #endif
3201 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3202 "\t.align " BSZPTR "\n"
3203 "LECIEX:\n\n");
3204 for (i = 0; i < ctx->nsym; i++) {
3205 const char *name = ctx->sym[i].name;
3206 int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
3207 if (size == 0) continue;
3208 fprintf(ctx->fp,
3209 "%s.eh:\n"
3210 "LSFDE%d:\n"
3211 "\t.set L$set$%d,LEFDE%d-LASFDE%d\n"
3212 "\t.long L$set$%d\n"
3213 "LASFDE%d:\n"
3214 "\t.long LASFDE%d-EH_frame1\n"
3215 "\t.long %s-.\n"
3216 "\t.long %d\n"
3217 "\t.byte 0\n" /* augmentation length */
3218 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
3219 #if LJ_64
3220 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3221 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3222 "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */
3223 "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */
3224 #else
3225 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3226 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
3227 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
3228 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
3229 #endif
3230 "\t.align " BSZPTR "\n"
3231 "LEFDE%d:\n\n",
3232 name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i);
3234 #if LJ_64
3235 fprintf(ctx->fp, "\t.subsections_via_symbols\n");
3236 #else
3237 fprintf(ctx->fp,
3238 "\t.non_lazy_symbol_pointer\n"
3239 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
3240 ".indirect_symbol _lj_err_unwind_dwarf\n"
3241 ".long 0\n");
3242 #endif
3244 break;
3245 default: /* Difficult for other modes. */
3246 break;