ARM: Add partial support for FFI.
[luajit-2.0.git] / src / buildvm_x64.h
blobfb6f57f98bcacc3df92c3cc796a6756297c1d947
1 /*
2 ** This file has been pre-processed with DynASM.
3 ** http://luajit.org/dynasm.html
4 ** DynASM version 1.2.2, DynASM x64 version 1.2.2
5 ** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
6 */
8 #if DASM_VERSION != 10202
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[16015] = {
16 254,1,248,10,252,247,195,237,15,132,244,11,131,227,252,248,41,218,72,141,
17 76,25,252,248,139,90,252,252,199,68,10,4,237,248,12,131,192,1,137,68,36,4,
18 252,247,195,237,15,132,244,13,248,14,129,252,243,239,252,247,195,237,15,133,
19 244,10,65,199,134,233,237,131,227,252,248,41,211,252,247,219,131,232,1,15,
20 132,244,248,248,1,72,139,44,10,72,137,106,252,248,131,194,8,131,232,1,15,
21 133,244,1,248,2,255,139,108,36,24,137,157,233,248,3,139,68,36,4,139,76,36,
22 16,248,4,57,193,15,133,244,252,248,5,131,252,234,8,137,149,233,248,15,72,
23 139,76,36,32,72,137,141,233,49,192,248,16,72,131,196,40,65,94,65,95,91,93,
24 195,248,6,15,130,244,253,59,149,233,15,135,244,254,199,66,252,252,237,131,
25 194,8,131,192,1,252,233,244,4,248,7,255,133,201,15,132,244,5,41,193,141,20,
26 202,252,233,244,5,248,8,137,149,233,137,68,36,4,137,206,137,252,239,232,251,
27 1,0,139,149,233,252,233,244,3,248,17,137,252,240,72,137,252,252,248,18,139,
28 108,36,24,139,173,233,199,133,233,237,252,233,244,16,248,19,139,124,36,24,
29 137,198,72,131,196,40,65,94,65,95,91,93,252,233,251,1,1,248,20,72,129,231,
30 239,72,137,252,252,248,21,255,139,108,36,24,72,199,193,252,248,252,255,252,
31 255,252,255,184,237,139,149,233,68,139,181,233,65,129,198,239,139,90,252,
32 252,199,66,252,252,237,65,199,134,233,237,252,233,244,12,248,22,190,237,252,
33 233,244,248,248,23,131,232,8,252,233,244,247,248,24,141,68,194,252,248,248,
34 1,15,182,139,233,131,195,4,137,149,233,255,137,133,233,137,92,36,28,137,206,
35 248,2,137,252,239,232,251,1,0,139,149,233,139,133,233,139,106,252,248,41,
36 208,193,232,3,131,192,1,139,157,233,139,11,15,182,252,233,15,182,205,131,
37 195,4,65,252,255,36,252,238,248,25,85,83,65,87,65,86,72,131,252,236,40,137,
38 252,253,137,124,36,24,137,252,241,187,237,49,192,76,141,188,253,36,233,68,
39 139,181,233,65,129,198,239,76,137,189,233,137,68,36,28,72,137,68,36,32,137,
40 68,36,16,137,68,36,20,56,133,233,15,132,244,249,65,199,134,233,237,136,133,
41 233,139,149,233,139,133,233,41,200,193,232,3,131,192,1,41,209,139,90,252,
42 252,137,68,36,4,252,247,195,237,255,15,132,244,13,252,233,244,14,248,26,85,
43 83,65,87,65,86,72,131,252,236,40,187,237,137,76,36,20,252,233,244,247,248,
44 27,85,83,65,87,65,86,72,131,252,236,40,187,237,248,1,137,84,36,16,137,252,
45 253,137,124,36,24,137,252,241,76,139,189,233,76,137,124,36,32,137,108,36,
46 28,72,137,165,233,248,2,68,139,181,233,65,129,198,239,248,3,65,199,134,233,
47 237,139,149,233,255,1,203,41,211,139,133,233,41,200,193,232,3,131,192,1,248,
48 28,139,105,252,248,129,121,253,252,252,239,15,133,244,29,248,30,137,202,137,
49 90,252,252,139,157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,
50 255,36,252,238,248,31,85,83,65,87,65,86,72,131,252,236,40,137,252,253,137,
51 124,36,24,137,108,36,28,68,139,189,233,68,43,189,233,199,68,36,20,0,0,0,0,
52 68,137,124,36,16,76,139,189,233,76,137,124,36,32,72,137,165,233,252,255,209,
53 133,192,15,132,244,15,137,193,187,237,252,233,244,2,248,11,1,209,131,227,
54 252,248,137,213,41,218,199,68,193,252,252,237,137,200,139,93,252,244,72,99,
55 77,252,240,133,201,15,132,244,247,255,76,141,61,245,76,1,252,249,68,139,122,
56 252,248,69,139,191,233,69,139,191,233,252,255,225,248,1,41,213,193,252,237,
57 3,141,69,252,255,252,233,244,32,248,33,15,182,75,252,255,131,252,237,16,141,
58 12,202,41,252,233,15,132,244,34,252,247,217,193,252,233,3,139,124,36,24,137,
59 151,233,137,202,72,139,8,72,137,77,0,137,252,238,252,233,244,35,248,36,137,
60 4,36,199,68,36,4,237,72,141,4,36,128,123,252,252,235,15,133,244,247,65,141,
61 142,233,137,41,199,65,4,237,255,137,205,252,233,244,248,248,37,15,182,67,
62 252,254,255,199,68,36,4,237,137,4,36,255,252,242,15,42,192,252,242,15,17,
63 4,36,255,72,141,4,36,252,233,244,247,248,38,15,182,67,252,254,141,4,194,248,
64 1,15,182,107,252,255,141,44,252,234,248,2,139,124,36,24,137,151,233,137,252,
65 238,72,137,194,137,252,253,137,92,36,28,232,251,1,2,139,149,233,133,192,15,
66 132,244,249,248,34,15,182,75,252,253,72,139,40,72,137,44,202,139,3,15,182,
67 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,139,141,233,
68 137,89,252,244,141,153,233,41,211,139,105,252,248,184,237,252,233,244,30,
69 248,39,137,4,36,199,68,36,4,237,72,141,4,36,128,123,252,252,235,15,133,244,
70 247,255,65,141,142,233,137,41,199,65,4,237,137,205,252,233,244,248,248,40,
71 15,182,67,252,254,255,72,141,4,36,252,233,244,247,248,41,15,182,67,252,254,
72 141,4,194,248,1,15,182,107,252,255,141,44,252,234,248,2,139,124,36,24,137,
73 151,233,137,252,238,72,137,194,137,252,253,137,92,36,28,232,251,1,3,139,149,
74 233,133,192,15,132,244,249,15,182,75,252,253,72,139,44,202,72,137,40,248,
75 42,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
76 248,3,139,141,233,137,89,252,244,15,182,67,252,253,72,139,44,194,72,137,105,
77 16,141,153,233,41,211,139,105,252,248,184,237,252,233,244,30,248,43,139,108,
78 36,24,137,149,233,141,52,202,141,20,194,137,252,239,15,182,75,252,252,137,
79 92,36,28,232,251,1,4,248,3,139,149,233,255,131,252,248,1,15,135,244,44,248,
80 4,141,91,4,15,130,244,252,248,5,15,183,67,252,254,141,156,253,131,233,248,
81 6,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
82 248,45,131,195,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,46,129,
83 120,253,4,239,252,233,244,4,248,47,131,252,235,4,137,206,137,252,233,139,
84 108,36,24,137,149,233,255,137,194,137,252,239,137,92,36,28,232,251,1,5,252,
85 233,244,3,248,48,255,131,252,235,4,139,108,36,24,137,149,233,137,252,239,
86 139,115,252,252,137,92,36,28,232,251,1,6,252,233,244,3,255,248,49,255,15,
87 182,107,252,255,255,248,50,65,141,4,199,252,233,244,247,248,51,255,248,52,
88 65,141,4,199,141,44,252,234,149,252,233,244,248,248,53,141,4,194,137,197,
89 252,233,244,248,248,54,255,248,55,141,4,194,248,1,141,44,252,234,248,2,141,
90 12,202,68,15,182,67,252,252,137,206,137,193,139,124,36,24,137,151,233,137,
91 252,234,137,252,253,137,92,36,28,232,251,1,7,139,149,233,133,192,15,132,244,
92 42,248,44,137,193,41,208,137,89,252,244,141,152,233,184,237,252,233,244,28,
93 248,56,139,108,36,24,137,149,233,141,52,194,137,252,239,137,92,36,28,232,
94 251,1,8,139,149,233,252,233,244,44,248,57,141,76,202,8,248,29,137,76,36,4,
95 137,4,36,131,252,233,8,139,108,36,24,137,149,233,255,137,206,141,20,193,137,
96 252,239,137,92,36,28,232,251,1,9,139,149,233,139,76,36,4,139,4,36,139,105,
97 252,248,131,192,1,65,57,215,15,132,244,58,137,202,137,90,252,252,139,157,
98 233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,248,
99 59,139,108,36,24,137,149,233,137,206,137,252,239,137,92,36,28,232,251,1,10,
100 139,149,233,139,67,252,252,15,182,204,15,182,232,193,232,16,65,252,255,164,
101 253,252,238,233,248,60,129,252,248,239,15,130,244,61,139,106,4,129,252,253,
102 239,15,131,244,61,139,90,252,252,137,68,36,4,137,106,252,252,139,42,137,106,
103 252,248,131,232,2,15,132,244,248,137,209,248,1,131,193,8,72,139,41,72,137,
104 105,252,248,131,232,1,15,133,244,1,248,2,255,139,68,36,4,252,233,244,62,248,
105 63,129,252,248,239,15,130,244,61,139,106,4,137,252,233,193,252,249,15,131,
106 252,249,252,254,15,132,244,249,184,237,252,247,213,57,232,255,15,71,197,255,
107 15,134,244,247,137,232,248,1,255,248,2,139,106,252,248,139,132,253,197,233,
108 139,90,252,252,199,66,252,252,237,137,66,252,248,252,233,244,64,248,3,184,
109 237,252,233,244,2,248,65,129,252,248,239,15,130,244,61,139,106,4,139,90,252,
110 252,129,252,253,239,15,133,244,252,248,1,139,42,139,173,233,248,2,133,252,
111 237,199,66,252,252,237,255,15,132,244,64,65,139,134,233,199,66,252,252,237,
112 137,106,252,248,139,141,233,35,136,233,105,201,239,3,141,233,248,3,129,185,
113 233,239,15,133,244,250,57,129,233,15,132,244,251,248,4,139,137,233,133,201,
114 15,133,244,3,255,252,233,244,64,248,5,139,105,4,129,252,253,239,15,132,244,
115 64,139,1,137,106,252,252,137,66,252,248,252,233,244,64,248,6,129,252,253,
116 239,15,132,244,1,129,252,253,239,15,135,244,254,129,252,253,239,15,134,244,
117 253,189,237,252,233,244,254,248,7,255,189,237,248,8,252,247,213,65,139,172,
118 253,174,233,252,233,244,2,248,66,129,252,248,239,15,130,244,61,129,122,253,
119 4,239,15,133,244,61,139,42,131,189,233,0,15,133,244,61,129,122,253,12,239,
120 15,133,244,61,139,66,8,137,133,233,139,90,252,252,199,66,252,252,237,255,
121 137,106,252,248,252,246,133,233,235,15,132,244,247,128,165,233,235,65,139,
122 134,233,65,137,174,233,137,133,233,248,1,252,233,244,64,248,67,129,252,248,
123 239,15,130,244,61,129,122,253,4,239,15,133,244,61,137,213,139,50,141,82,8,
124 139,124,36,24,232,251,1,11,137,252,234,72,139,40,139,90,252,252,72,137,106,
125 252,248,252,233,244,64,248,68,255,129,252,248,239,15,133,244,61,129,122,253,
126 4,239,255,15,133,244,247,139,42,252,233,244,69,248,1,15,135,244,61,255,15,
127 131,244,61,255,252,242,15,16,2,252,233,244,70,255,221,2,252,233,244,71,255,
128 248,72,129,252,248,239,15,130,244,61,139,90,252,252,129,122,253,4,239,15,
129 133,244,249,139,2,248,2,199,66,252,252,237,137,66,252,248,252,233,244,64,
130 248,3,129,122,253,4,239,15,135,244,61,65,131,190,233,0,15,133,244,61,65,139,
131 174,233,65,59,174,233,255,15,130,244,247,232,244,73,248,1,139,108,36,24,137,
132 149,233,137,92,36,28,137,214,137,252,239,255,232,251,1,12,255,232,251,1,13,
133 255,139,149,233,252,233,244,2,248,74,129,252,248,239,15,130,244,61,15,132,
134 244,248,248,1,129,122,253,4,239,15,133,244,61,139,108,36,24,137,149,233,137,
135 149,233,139,90,252,252,139,50,141,82,8,137,252,239,137,92,36,28,232,251,1,
136 14,139,149,233,133,192,15,132,244,249,72,139,106,8,72,139,66,16,72,137,106,
137 252,248,72,137,2,248,75,184,237,255,252,233,244,76,248,2,199,66,12,237,252,
138 233,244,1,248,3,199,66,252,252,237,252,233,244,64,248,77,129,252,248,239,
139 15,130,244,61,139,42,129,122,253,4,239,15,133,244,61,255,131,189,233,0,15,
140 133,244,61,255,139,106,252,248,139,133,233,139,90,252,252,199,66,252,252,
141 237,137,66,252,248,199,66,12,237,184,237,252,233,244,76,248,78,129,252,248,
142 239,15,130,244,61,129,122,253,4,239,15,133,244,61,129,122,253,12,239,255,
143 139,90,252,252,255,139,66,8,131,192,1,199,66,252,252,237,137,66,252,248,255,
144 252,242,15,16,66,8,72,189,237,237,102,72,15,110,205,252,242,15,88,193,252,
145 242,15,45,192,252,242,15,17,66,252,248,255,139,42,59,133,233,15,131,244,248,
146 193,224,3,3,133,233,248,1,129,120,253,4,239,15,132,244,79,72,139,40,72,137,
147 42,252,233,244,75,248,2,131,189,233,0,15,132,244,79,137,252,239,137,213,137,
148 198,232,251,1,15,137,252,234,133,192,15,133,244,1,248,79,184,237,252,233,
149 244,76,248,80,255,139,106,252,248,139,133,233,139,90,252,252,199,66,252,252,
150 237,137,66,252,248,255,199,66,12,237,199,66,8,0,0,0,0,255,15,87,192,252,242,
151 15,17,66,8,255,217,252,238,221,90,8,255,184,237,252,233,244,76,248,81,129,
152 252,248,239,15,130,244,61,141,74,8,131,232,1,187,237,248,1,65,15,182,174,
153 233,193,252,237,235,131,229,1,1,252,235,252,233,244,28,248,82,129,252,248,
154 239,15,130,244,61,129,122,253,12,239,15,133,244,61,255,139,106,4,137,106,
155 12,199,66,4,237,139,42,139,90,8,137,106,8,137,26,141,74,16,131,232,2,187,
156 237,252,233,244,1,248,83,129,252,248,239,15,130,244,61,139,42,139,90,252,
157 252,137,92,36,28,137,44,36,129,122,253,4,239,15,133,244,61,72,131,189,233,
158 0,15,133,244,61,128,189,233,235,15,135,244,61,139,141,233,15,132,244,247,
159 255,59,141,233,15,132,244,61,248,1,141,92,193,252,240,59,157,233,15,135,244,
160 61,137,157,233,139,108,36,24,137,149,233,131,194,8,137,149,233,141,108,194,
161 232,72,41,221,57,203,15,132,244,249,248,2,72,139,4,43,72,137,67,252,248,131,
162 252,235,8,57,203,15,133,244,2,248,3,137,206,139,60,36,232,244,25,65,199,134,
163 233,237,255,139,108,36,24,139,28,36,139,149,233,129,252,248,239,15,135,244,
164 254,248,4,139,139,233,68,139,187,233,137,139,233,68,137,252,251,41,203,15,
165 132,244,252,141,4,26,193,252,235,3,59,133,233,15,135,244,255,137,213,72,41,
166 205,248,5,72,139,1,72,137,4,41,131,193,8,68,57,252,249,15,133,244,5,248,6,
167 141,67,2,199,66,252,252,237,248,7,139,92,36,28,137,68,36,4,72,199,193,252,
168 248,252,255,252,255,252,255,252,247,195,237,255,15,132,244,13,252,233,244,
169 14,248,8,199,66,252,252,237,139,139,233,131,252,233,8,137,139,233,72,139,
170 1,72,137,2,184,237,252,233,244,7,248,9,139,12,36,68,137,185,233,137,222,137,
171 252,239,232,251,1,0,139,28,36,139,149,233,252,233,244,4,248,84,139,106,252,
172 248,139,173,233,139,90,252,252,137,92,36,28,137,44,36,72,131,189,233,0,15,
173 133,244,61,255,128,189,233,235,15,135,244,61,139,141,233,15,132,244,247,59,
174 141,233,15,132,244,61,248,1,141,92,193,252,248,59,157,233,15,135,244,61,137,
175 157,233,139,108,36,24,137,149,233,137,149,233,141,108,194,252,240,72,41,221,
176 57,203,15,132,244,249,248,2,255,72,139,4,43,72,137,67,252,248,131,252,235,
177 8,57,203,15,133,244,2,248,3,137,206,139,60,36,232,244,25,65,199,134,233,237,
178 139,108,36,24,139,28,36,139,149,233,129,252,248,239,15,135,244,254,248,4,
179 139,139,233,68,139,187,233,137,139,233,68,137,252,251,41,203,15,132,244,252,
180 141,4,26,193,252,235,3,59,133,233,15,135,244,255,255,137,213,72,41,205,248,
181 5,72,139,1,72,137,4,41,131,193,8,68,57,252,249,15,133,244,5,248,6,141,67,
182 1,248,7,139,92,36,28,137,68,36,4,49,201,252,247,195,237,15,132,244,13,252,
183 233,244,14,248,8,137,222,137,252,239,232,251,1,16,248,9,139,12,36,68,137,
184 185,233,137,222,137,252,239,232,251,1,0,139,28,36,139,149,233,252,233,244,
185 4,248,85,139,108,36,24,72,252,247,133,233,237,15,132,244,61,255,137,149,233,
186 141,68,194,252,248,137,133,233,49,192,72,137,133,233,176,235,136,133,233,
187 252,233,244,16,255,248,69,255,248,71,139,90,252,252,221,90,252,248,252,233,
188 244,64,255,248,86,129,252,248,239,15,130,244,61,255,129,122,253,4,239,15,
189 133,244,248,139,42,131,252,253,0,15,137,244,69,252,247,221,15,136,244,247,
190 248,87,248,69,139,90,252,252,199,66,252,252,237,137,106,252,248,252,233,244,
191 64,248,1,139,90,252,252,199,66,252,252,0,0,224,65,199,66,252,248,0,0,0,0,
192 252,233,244,64,248,2,15,135,244,61,255,129,122,253,4,239,15,131,244,61,255,
193 252,242,15,16,2,72,184,237,237,102,72,15,110,200,15,84,193,248,70,139,90,
194 252,252,252,242,15,17,66,252,248,255,221,2,217,225,248,70,248,71,139,90,252,
195 252,221,90,252,248,255,248,64,184,237,248,76,137,68,36,4,248,62,252,247,195,
196 237,15,133,244,253,248,5,56,67,252,255,15,135,244,252,15,182,75,252,253,72,
197 252,247,209,141,20,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
198 252,255,36,252,238,248,6,199,68,194,252,244,237,131,192,1,252,233,244,5,248,
199 7,72,199,193,252,248,252,255,252,255,252,255,252,233,244,14,248,88,255,129,
200 122,253,4,239,15,133,244,247,139,42,252,233,244,69,248,1,15,135,244,61,255,
201 252,242,15,16,2,232,244,89,255,252,242,15,45,232,129,252,253,0,0,0,128,15,
202 133,244,69,252,242,15,42,205,102,15,46,193,15,138,244,70,15,132,244,69,255,
203 221,2,232,244,89,255,248,90,255,252,242,15,16,2,232,244,91,255,221,2,232,
204 244,91,255,248,92,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
205 244,61,252,242,15,81,2,252,233,244,70,255,248,92,129,252,248,239,15,130,244,
206 61,129,122,253,4,239,15,131,244,61,221,2,217,252,250,252,233,244,71,255,248,
207 93,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,217,252,
208 237,221,2,217,252,241,252,233,244,71,248,94,129,252,248,239,15,130,244,61,
209 129,122,253,4,239,15,131,244,61,217,252,236,221,2,217,252,241,252,233,244,
210 71,248,95,129,252,248,239,255,15,130,244,61,129,122,253,4,239,15,131,244,
211 61,221,2,232,244,96,252,233,244,71,248,97,129,252,248,239,15,130,244,61,129,
212 122,253,4,239,15,131,244,61,221,2,217,252,254,252,233,244,71,248,98,129,252,
213 248,239,255,15,130,244,61,129,122,253,4,239,15,131,244,61,221,2,217,252,255,
214 252,233,244,71,248,99,129,252,248,239,15,130,244,61,129,122,253,4,239,15,
215 131,244,61,221,2,217,252,242,221,216,252,233,244,71,248,100,129,252,248,239,
216 15,130,244,61,255,129,122,253,4,239,15,131,244,61,221,2,217,192,216,200,217,
217 232,222,225,217,252,250,217,252,243,252,233,244,71,248,101,129,252,248,239,
218 15,130,244,61,129,122,253,4,239,15,131,244,61,221,2,217,192,216,200,217,232,
219 222,225,217,252,250,217,201,217,252,243,252,233,244,71,248,102,129,252,248,
220 239,15,130,244,61,129,122,253,4,239,15,131,244,61,255,221,2,217,232,217,252,
221 243,252,233,244,71,255,248,103,129,252,248,239,15,130,244,61,129,122,253,
222 4,239,15,131,244,61,252,242,15,16,2,255,137,213,232,251,1,17,137,252,234,
223 252,233,244,70,255,248,104,129,252,248,239,15,130,244,61,129,122,253,4,239,
224 15,131,244,61,252,242,15,16,2,255,137,213,232,251,1,18,137,252,234,252,233,
225 244,70,255,248,105,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
226 244,61,252,242,15,16,2,255,137,213,232,251,1,19,137,252,234,252,233,244,70,
227 248,106,255,248,107,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
228 244,61,252,242,15,16,2,139,106,252,248,252,242,15,89,133,233,252,233,244,
229 70,255,248,107,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,
230 61,221,2,139,106,252,248,220,141,233,252,233,244,71,255,248,108,129,252,248,
231 239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,
232 244,61,221,2,221,66,8,217,252,243,252,233,244,71,248,109,129,252,248,239,
233 15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,255,15,131,
234 244,61,221,66,8,221,2,217,252,253,221,217,252,233,244,71,248,110,129,252,
235 248,239,15,130,244,61,139,106,4,129,252,253,239,15,131,244,61,139,90,252,
236 252,139,2,137,106,252,252,137,66,252,248,209,229,129,252,253,0,0,224,252,
237 255,15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,
238 32,0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,
239 137,44,36,219,4,36,255,139,106,252,252,129,229,252,255,252,255,15,128,129,
240 205,0,0,224,63,137,106,252,252,248,2,255,252,242,15,17,2,255,221,26,255,184,
241 237,252,233,244,76,248,3,255,15,87,192,252,233,244,2,255,217,252,238,252,
242 233,244,2,255,248,4,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,
243 252,242,15,89,193,252,242,15,17,66,252,248,255,221,2,199,4,36,0,0,128,90,
244 216,12,36,221,90,252,248,255,139,106,252,252,184,52,4,0,0,209,229,252,233,
245 244,1,255,248,111,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
246 244,61,252,242,15,16,2,255,248,111,129,252,248,239,15,130,244,61,129,122,
247 253,4,239,15,131,244,61,221,2,255,139,106,4,139,90,252,252,209,229,129,252,
248 253,0,0,224,252,255,15,132,244,250,255,15,40,224,232,244,112,252,242,15,92,
249 224,248,1,252,242,15,17,66,252,248,252,242,15,17,34,255,217,192,232,244,112,
250 220,252,233,248,1,221,90,252,248,221,26,255,139,66,252,252,139,106,4,49,232,
251 15,136,244,249,248,2,184,237,252,233,244,76,248,3,129,252,245,0,0,0,128,137,
252 106,4,252,233,244,2,248,4,255,15,87,228,252,233,244,1,255,217,252,238,217,
253 201,252,233,244,1,255,248,113,129,252,248,239,15,130,244,61,129,122,253,4,
254 239,15,131,244,61,129,122,253,12,239,15,131,244,61,221,66,8,221,2,248,1,217,
255 252,248,223,224,158,15,138,244,1,221,217,252,233,244,71,255,248,114,129,252,
256 248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,
257 15,131,244,61,252,242,15,16,2,252,242,15,16,74,8,232,244,115,252,233,244,
258 70,255,248,114,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,
259 61,129,122,253,12,239,15,131,244,61,221,2,221,66,8,232,244,115,252,233,244,
260 71,255,248,116,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,
261 1,57,193,15,131,244,69,129,124,253,202,252,252,239,15,133,244,249,59,108,
262 202,252,248,15,79,108,202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,
263 61,255,252,233,244,252,248,4,15,135,244,61,255,252,242,15,16,2,248,5,57,193,
264 15,131,244,70,129,124,253,202,252,252,239,255,15,130,244,252,15,135,244,61,
265 252,242,15,42,76,202,252,248,252,233,244,253,255,248,6,252,242,15,16,76,202,
266 252,248,248,7,252,242,15,93,193,131,193,1,252,233,244,5,255,248,117,185,2,
267 0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,1,57,193,15,131,244,
268 69,129,124,253,202,252,252,239,15,133,244,249,59,108,202,252,248,15,76,108,
269 202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,61,255,248,6,252,242,
270 15,16,76,202,252,248,248,7,252,242,15,95,193,131,193,1,252,233,244,5,255,
271 248,9,221,216,252,233,244,61,255,248,118,129,252,248,239,15,130,244,61,129,
272 122,253,4,239,15,133,244,61,139,42,255,139,173,233,252,233,244,69,255,252,
273 242,15,42,133,233,252,233,244,70,255,219,133,233,252,233,244,71,255,248,119,
274 129,252,248,239,15,133,244,61,129,122,253,4,239,15,133,244,61,139,42,139,
275 90,252,252,131,189,233,1,15,130,244,79,15,182,173,233,255,252,242,15,42,197,
276 252,233,244,70,255,137,44,36,219,4,36,252,233,244,71,255,248,120,65,139,174,
277 233,65,59,174,233,15,130,244,247,232,244,73,248,1,129,252,248,239,15,133,
278 244,61,129,122,253,4,239,255,15,133,244,61,139,42,129,252,253,252,255,0,0,
279 0,15,135,244,61,137,108,36,4,255,15,131,244,61,252,242,15,44,42,129,252,253,
280 252,255,0,0,0,15,135,244,61,137,108,36,4,255,15,131,244,61,221,2,219,92,36,
281 4,129,124,36,4,252,255,0,0,0,15,135,244,61,255,199,68,36,8,1,0,0,0,72,141,
282 68,36,4,248,121,139,108,36,24,137,149,233,139,84,36,8,72,137,198,137,252,
283 239,137,92,36,28,232,251,1,20,139,149,233,139,90,252,252,199,66,252,252,237,
284 137,66,252,248,252,233,244,64,248,122,65,139,174,233,65,59,174,233,15,130,
285 244,247,232,244,73,248,1,199,68,36,4,252,255,252,255,252,255,252,255,129,
286 252,248,239,15,130,244,61,15,134,244,247,129,122,253,20,239,255,15,133,244,
287 61,139,106,16,137,108,36,4,255,15,131,244,61,252,242,15,44,106,16,137,108,
288 36,4,255,15,131,244,61,221,66,16,219,92,36,4,255,248,1,129,122,253,4,239,
289 15,133,244,61,129,122,253,12,239,255,139,42,137,108,36,8,139,173,233,255,
290 139,74,8,255,252,242,15,44,74,8,255,139,68,36,4,57,197,15,130,244,251,248,
291 2,133,201,15,142,244,253,248,3,139,108,36,8,41,200,15,140,244,123,141,172,
292 253,13,233,131,192,1,248,4,137,68,36,8,137,232,252,233,244,121,248,5,15,140,
293 244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248,7,255,15,
294 132,244,254,1,252,233,131,193,1,15,143,244,3,248,8,185,1,0,0,0,252,233,244,
295 3,248,123,49,192,252,233,244,4,248,124,129,252,248,239,15,130,244,61,65,139,
296 174,233,65,59,174,233,15,130,244,247,232,244,73,248,1,255,129,122,253,4,239,
297 15,133,244,61,129,122,253,12,239,139,42,255,15,133,244,61,139,66,8,255,15,
298 131,244,61,252,242,15,44,66,8,255,15,131,244,61,221,66,8,219,92,36,4,139,
299 68,36,4,255,133,192,15,142,244,123,131,189,233,1,15,130,244,123,15,133,244,
300 125,65,57,134,233,15,130,244,125,15,182,141,233,65,139,174,233,137,68,36,
301 8,248,1,136,77,0,131,197,1,131,232,1,15,133,244,1,65,139,134,233,252,233,
302 244,121,248,126,129,252,248,239,255,15,130,244,61,65,139,174,233,65,59,174,
303 233,15,130,244,247,232,244,73,248,1,129,122,253,4,239,15,133,244,61,139,42,
304 139,133,233,133,192,15,132,244,123,65,57,134,233,15,130,244,127,129,197,239,
305 137,92,36,4,137,68,36,8,65,139,158,233,248,1,255,15,182,77,0,131,197,1,131,
306 232,1,136,12,3,15,133,244,1,137,216,139,92,36,4,252,233,244,121,248,128,129,
307 252,248,239,15,130,244,61,65,139,174,233,65,59,174,233,15,130,244,247,232,
308 244,73,248,1,129,122,253,4,239,15,133,244,61,139,42,139,133,233,65,57,134,
309 233,255,15,130,244,127,129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,
310 252,233,244,249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,
311 249,90,15,135,244,248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,
312 244,1,137,216,139,92,36,4,252,233,244,121,248,129,129,252,248,239,15,130,
313 244,61,255,65,139,174,233,65,59,174,233,15,130,244,247,232,244,73,248,1,129,
314 122,253,4,239,15,133,244,61,139,42,139,133,233,65,57,134,233,15,130,244,127,
315 129,197,239,137,92,36,4,137,68,36,8,65,139,158,233,252,233,244,249,248,1,
316 15,182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,
317 248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,139,
318 92,36,4,252,233,244,121,248,130,129,252,248,239,15,130,244,61,129,122,253,
319 4,239,15,133,244,61,137,213,139,58,232,251,1,21,137,252,234,255,137,197,252,
320 233,244,69,255,252,242,15,42,192,252,233,244,70,255,248,131,129,122,253,4,
321 239,255,15,133,244,247,139,42,252,233,244,87,248,1,15,135,244,61,255,252,
322 242,15,16,2,72,189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,126,
323 197,255,252,233,244,87,255,248,132,255,72,189,237,237,102,72,15,110,205,255,
324 199,4,36,0,0,192,89,255,15,133,244,247,139,42,252,233,244,248,248,1,15,135,
325 244,61,255,252,242,15,16,2,252,242,15,88,193,102,15,126,197,255,248,2,137,
326 68,36,4,141,68,194,252,240,248,1,57,208,15,134,244,87,129,120,253,4,239,255,
327 15,133,244,248,35,40,131,232,8,252,233,244,1,248,2,15,135,244,133,255,15,
328 131,244,133,255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,33,205,255,
329 131,232,8,252,233,244,1,248,134,255,15,133,244,248,11,40,131,232,8,252,233,
330 244,1,248,2,15,135,244,133,255,252,242,15,16,0,252,242,15,88,193,102,15,126,
331 193,9,205,255,131,232,8,252,233,244,1,248,135,255,15,133,244,248,51,40,131,
332 232,8,252,233,244,1,248,2,15,135,244,133,255,252,242,15,16,0,252,242,15,88,
333 193,102,15,126,193,49,205,255,131,232,8,252,233,244,1,248,136,129,122,253,
334 4,239,255,248,2,15,205,252,233,244,87,248,137,129,122,253,4,239,255,248,2,
335 252,247,213,255,248,87,252,242,15,42,197,252,233,244,70,255,248,133,139,68,
336 36,4,252,233,244,61,255,248,138,129,122,253,4,239,255,248,2,129,122,253,12,
337 239,15,133,244,61,139,74,8,255,248,138,129,252,248,239,15,130,244,61,129,
338 122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,
339 2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
340 242,15,88,202,102,15,126,197,102,15,126,201,255,211,229,252,233,244,87,255,
341 248,139,129,122,253,4,239,255,248,139,129,252,248,239,15,130,244,61,129,122,
342 253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,2,
343 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,252,237,252,233,244,87,
345 255,248,140,129,122,253,4,239,255,248,140,129,252,248,239,15,130,244,61,129,
346 122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,
347 2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
348 242,15,88,202,102,15,126,197,102,15,126,201,255,211,252,253,252,233,244,87,
349 255,248,141,129,122,253,4,239,255,248,141,129,252,248,239,15,130,244,61,129,
350 122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,
351 2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
352 242,15,88,202,102,15,126,197,102,15,126,201,255,211,197,252,233,244,87,255,
353 248,142,129,122,253,4,239,255,248,142,129,252,248,239,15,130,244,61,129,122,
354 253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,2,
355 252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
356 242,15,88,202,102,15,126,197,102,15,126,201,255,211,205,252,233,244,87,248,
357 125,184,237,252,233,244,61,248,127,184,237,248,61,139,108,36,24,139,90,252,
358 252,137,92,36,28,137,149,233,141,68,194,252,248,141,136,233,137,133,233,139,
359 66,252,248,59,141,233,15,135,244,251,137,252,239,252,255,144,233,139,149,
360 233,133,192,15,143,244,76,248,1,255,139,141,233,41,209,193,252,233,3,133,
361 192,141,65,1,139,106,252,248,15,133,244,32,139,157,233,139,11,15,182,252,
362 233,15,182,205,131,195,4,65,252,255,36,252,238,248,32,137,209,252,247,195,
363 237,15,133,244,249,15,182,107,252,253,72,252,247,213,141,20,252,234,252,233,
364 244,28,248,3,137,221,131,229,252,248,41,252,234,252,233,244,28,248,5,190,
365 237,137,252,239,232,251,1,0,139,149,233,49,192,252,233,244,1,248,73,93,72,
366 137,108,36,8,139,108,36,24,137,92,36,28,137,149,233,255,141,68,194,252,248,
367 137,252,239,137,133,233,232,251,1,22,139,149,233,139,133,233,41,208,193,232,
368 3,131,192,1,72,139,108,36,8,85,195,248,143,255,65,15,182,134,233,168,235,
369 15,133,244,251,168,235,15,133,244,247,168,235,15,132,244,247,65,252,255,142,
370 233,252,233,244,247,255,248,144,65,15,182,134,233,168,235,15,133,244,251,
371 252,233,244,247,248,145,65,15,182,134,233,168,235,15,133,244,251,168,235,
372 15,132,244,251,65,252,255,142,233,15,132,244,247,168,235,15,132,244,251,248,
373 1,255,139,108,36,24,137,149,233,137,222,137,252,239,232,251,1,23,248,3,139,
374 149,233,248,4,15,182,75,252,253,248,5,15,182,107,252,252,15,183,67,252,254,
375 65,252,255,164,253,252,238,233,248,146,131,195,4,139,77,232,137,76,36,4,252,
376 233,244,4,248,147,255,139,106,252,248,139,173,233,15,182,133,233,141,4,194,
377 139,108,36,24,137,149,233,137,133,233,137,222,65,141,190,233,73,137,174,233,
378 137,92,36,28,232,251,1,24,252,233,244,3,255,248,148,137,92,36,28,255,248,
379 149,255,137,92,36,28,131,203,1,248,1,255,141,68,194,252,248,139,108,36,24,
380 137,149,233,137,133,233,137,222,137,252,239,232,251,1,25,199,68,36,28,0,0,
381 0,0,255,131,227,252,254,255,139,149,233,72,137,193,139,133,233,41,208,72,
382 137,205,15,182,75,252,253,193,232,3,131,192,1,252,255,229,248,150,255,65,
383 85,65,84,65,83,65,82,65,81,65,80,87,86,85,72,141,108,36,88,85,83,82,81,80,
384 15,182,69,252,248,138,101,252,240,76,137,125,252,248,76,137,117,252,240,68,
385 139,117,0,65,139,142,233,65,199,134,233,237,65,137,134,233,65,137,142,233,
386 72,129,252,236,239,72,131,197,128,252,242,68,15,17,125,252,248,252,242,68,
387 15,17,117,252,240,252,242,68,15,17,109,232,252,242,68,15,17,101,224,252,242,
388 68,15,17,93,216,252,242,68,15,17,85,208,252,242,68,15,17,77,200,252,242,68,
389 15,17,69,192,252,242,15,17,125,184,252,242,15,17,117,176,252,242,15,17,109,
390 168,252,242,15,17,101,160,252,242,15,17,93,152,252,242,15,17,85,144,252,242,
391 15,17,77,136,252,242,15,17,69,128,65,139,174,233,65,139,150,233,73,137,174,
392 233,65,199,134,233,0,0,0,0,137,149,233,72,137,230,65,141,190,233,232,251,
393 1,26,72,139,141,233,72,129,225,239,72,137,204,137,169,233,139,149,233,139,
394 153,233,252,233,244,247,255,248,151,255,72,131,196,16,248,1,76,139,108,36,
395 8,76,139,36,36,133,192,15,136,244,249,137,68,36,4,68,139,122,252,248,69,139,
396 191,233,69,139,191,233,65,199,134,233,0,0,0,0,65,199,134,233,237,139,3,15,
397 182,204,15,182,232,131,195,4,193,232,16,129,252,253,239,15,130,244,248,139,
398 68,36,4,248,2,65,252,255,36,252,238,248,3,252,247,216,137,252,239,137,198,
399 232,251,1,1,255,248,89,255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,
400 36,4,102,37,252,255,252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,
401 108,36,4,139,68,36,8,195,255,248,152,72,184,237,237,102,72,15,110,208,72,
402 184,237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,
403 244,247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,
404 184,237,237,102,72,15,110,208,252,242,15,194,193,1,102,15,84,194,252,242,
405 15,92,200,15,40,193,248,1,195,248,91,255,217,124,36,4,137,68,36,8,102,184,
406 0,8,102,11,68,36,4,102,37,252,255,252,251,102,137,68,36,6,217,108,36,6,217,
407 252,252,217,108,36,4,139,68,36,8,195,255,248,153,72,184,237,237,102,72,15,
408 110,208,72,184,237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,
409 217,15,134,244,247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,
410 15,86,202,72,184,237,237,102,72,15,110,208,252,242,15,194,193,6,102,15,84,
411 194,252,242,15,92,200,15,40,193,248,1,195,248,112,255,217,124,36,4,137,68,
412 36,8,102,184,0,12,102,11,68,36,4,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,15,40,193,252,242,15,88,203,252,242,15,92,203,72,
416 184,237,237,102,72,15,110,216,252,242,15,194,193,1,102,15,84,195,252,242,
417 15,92,200,102,15,86,202,15,40,193,248,1,195,248,155,255,15,40,232,252,242,
418 15,94,193,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,
419 15,40,224,102,15,84,226,102,15,46,220,15,134,244,247,102,15,85,208,252,242,
420 15,88,227,252,242,15,92,227,102,15,86,226,72,184,237,237,102,72,15,110,208,
421 252,242,15,194,196,1,102,15,84,194,252,242,15,92,224,15,40,197,252,242,15,
422 89,204,252,242,15,92,193,195,248,1,252,242,15,89,200,15,40,197,252,242,15,
423 92,193,195,255,217,193,216,252,241,217,124,36,4,102,184,0,4,102,11,68,36,
424 4,102,37,252,255,252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,
425 36,4,222,201,222,252,233,195,255,248,96,217,252,234,222,201,248,156,217,84,
426 36,252,248,129,124,36,252,248,0,0,128,127,15,132,244,247,129,124,36,252,248,
427 0,0,128,252,255,15,132,244,248,248,157,217,192,217,252,252,220,252,233,217,
428 201,217,252,240,217,232,222,193,217,252,253,221,217,248,1,195,248,2,221,216,
429 217,252,238,195,255,248,115,255,248,158,252,242,15,45,193,252,242,15,42,208,
430 102,15,46,202,15,133,244,254,15,138,244,255,248,159,131,252,248,1,15,142,
431 244,252,248,1,169,1,0,0,0,15,133,244,248,252,242,15,89,192,209,232,252,233,
432 244,1,248,2,209,232,15,132,244,251,15,40,200,248,3,252,242,15,89,192,209,
433 232,15,132,244,250,15,131,244,3,255,252,242,15,89,200,252,233,244,3,248,4,
434 252,242,15,89,193,248,5,195,248,6,15,132,244,5,15,130,244,253,252,247,216,
435 232,244,1,72,184,237,237,102,72,15,110,200,252,242,15,94,200,15,40,193,195,
436 248,7,72,184,237,237,102,72,15,110,192,195,248,8,102,72,15,126,200,72,209,
437 224,72,193,192,12,72,61,252,254,15,0,0,15,132,244,248,102,72,15,126,192,72,
438 209,224,15,132,244,250,255,72,193,192,12,72,61,252,254,15,0,0,15,132,244,
439 251,252,242,15,17,76,36,252,240,252,242,15,17,68,36,252,248,221,68,36,252,
440 240,221,68,36,252,248,217,252,241,217,192,217,252,252,220,252,233,217,201,
441 217,252,240,217,232,222,193,217,252,253,221,217,221,92,36,252,248,252,242,
442 15,16,68,36,252,248,195,248,9,72,184,237,237,102,72,15,110,208,102,15,46,
443 194,15,132,244,247,15,40,193,248,1,195,248,2,72,184,237,237,102,72,15,110,
444 208,102,15,84,194,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,
445 1,102,15,80,193,15,87,192,136,196,15,146,208,48,224,15,133,244,1,248,3,72,
446 184,237,237,255,102,72,15,110,192,195,248,4,102,15,80,193,133,192,15,133,
447 244,3,15,87,192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,192,195,
448 248,160,255,131,252,255,1,15,130,244,89,15,132,244,91,131,252,255,3,15,130,
449 244,112,15,135,244,248,252,242,15,81,192,195,248,2,252,242,15,17,68,36,252,
450 248,221,68,36,252,248,131,252,255,5,15,135,244,248,15,132,244,247,232,244,
451 96,252,233,244,253,248,1,232,244,156,255,252,233,244,253,248,2,131,252,255,
452 7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,241,252,233,244,
453 253,248,1,217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,255,9,
454 15,132,244,247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,244,
455 253,248,1,255,217,252,254,252,233,244,253,248,2,131,252,255,11,15,132,244,
456 247,15,135,244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,216,
457 248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,255,139,124,36,12,
458 221,68,36,4,131,252,255,1,15,130,244,89,15,132,244,91,131,252,255,3,15,130,
459 244,112,15,135,244,248,217,252,250,195,248,2,131,252,255,5,15,130,244,96,
460 15,132,244,156,131,252,255,7,15,132,244,247,15,135,244,248,217,252,237,217,
461 201,217,252,241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,255,
462 9,15,132,244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,
463 1,217,252,254,195,248,2,131,252,255,11,15,132,244,247,15,135,244,255,217,
464 252,255,195,248,1,217,252,242,221,216,195,255,248,9,204,255,248,161,255,131,
465 252,255,1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,
466 15,92,193,195,248,2,131,252,255,3,15,132,244,247,15,135,244,248,252,242,15,
467 89,193,195,248,1,252,242,15,94,193,195,248,2,131,252,255,5,15,130,244,155,
468 15,132,244,115,131,252,255,7,15,132,244,247,15,135,244,248,72,184,237,237,
469 255,102,72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,110,200,
470 15,84,193,195,248,2,131,252,255,9,15,135,244,248,252,242,15,17,68,36,252,
471 248,252,242,15,17,76,36,252,240,221,68,36,252,248,221,68,36,252,240,15,132,
472 244,247,217,252,243,248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,
473 248,1,217,201,217,252,253,221,217,252,233,244,7,248,2,131,252,255,11,15,132,
474 244,247,15,135,244,255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,
475 248,9,204,255,139,68,36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,
476 244,247,15,135,244,248,222,193,195,248,1,222,252,233,195,248,2,131,252,248,
477 3,15,132,244,247,15,135,244,248,222,201,195,248,1,222,252,249,195,248,2,131,
478 252,248,5,15,130,244,155,15,132,244,115,131,252,248,7,15,132,244,247,15,135,
479 244,248,255,221,216,217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,
480 9,15,132,244,247,15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,
481 221,217,195,248,2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,
482 233,219,209,221,217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,
483 223,224,252,246,196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,
484 225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,
485 162,137,252,248,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,195,248,163,
486 255,85,72,137,229,83,72,137,252,251,139,131,233,72,41,196,255,15,182,139,
487 233,131,252,233,1,15,136,244,248,248,1,72,139,132,253,203,233,72,137,132,
488 253,204,233,131,252,233,1,15,137,244,1,248,2,15,182,131,233,72,139,187,233,
489 72,139,179,233,72,139,147,233,72,139,139,233,76,139,131,233,76,139,139,233,
490 133,192,15,132,244,251,15,40,131,233,15,40,139,233,255,15,40,147,233,15,40,
491 155,233,131,252,248,4,15,134,244,251,15,40,163,233,15,40,171,233,15,40,179,
492 233,15,40,187,233,248,5,252,255,147,233,72,137,131,233,15,41,131,233,72,137,
493 147,233,15,41,139,233,255,72,139,93,252,248,201,195,255,248,164,255,249,255,
494 129,124,253,202,4,239,15,133,244,253,129,124,253,194,4,239,15,133,244,254,
495 139,44,202,131,195,4,59,44,194,255,15,141,244,255,255,15,140,244,255,255,
496 15,143,244,255,255,15,142,244,255,255,248,6,15,183,67,252,254,141,156,253,
497 131,233,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,
498 36,252,238,248,7,15,135,244,43,129,124,253,194,4,239,15,130,244,247,15,133,
499 244,43,255,252,242,15,42,4,194,252,233,244,248,255,221,4,202,219,4,194,252,
500 233,244,249,255,248,8,15,135,244,43,255,252,242,15,42,12,202,252,242,15,16,
501 4,194,131,195,4,102,15,46,193,255,15,134,244,9,255,15,135,244,9,255,15,130,
502 244,9,255,15,131,244,9,255,252,233,244,6,255,219,4,202,252,233,244,248,255,
503 129,124,253,202,4,239,15,131,244,43,129,124,253,194,4,239,15,131,244,43,255,
504 248,1,252,242,15,16,4,194,248,2,131,195,4,102,15,46,4,202,248,3,255,248,1,
505 221,4,202,248,2,221,4,194,248,3,131,195,4,255,223,252,233,221,216,255,218,
506 252,233,223,224,158,255,15,134,244,247,255,15,135,244,247,255,15,130,244,
507 247,255,15,131,244,247,255,15,183,67,252,254,141,156,253,131,233,248,1,139,
508 3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,
509 108,194,4,131,195,4,255,129,252,253,239,15,133,244,253,129,124,253,202,4,
510 239,15,133,244,254,139,44,194,59,44,202,255,15,133,244,255,255,15,132,244,
511 255,255,15,183,67,252,254,141,156,253,131,233,248,9,139,3,15,182,204,15,182,
512 232,131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,135,244,251,129,124,
513 253,202,4,239,15,130,244,247,15,133,244,251,255,252,242,15,42,4,202,255,219,
514 4,202,255,252,233,244,248,248,8,15,135,244,251,255,252,242,15,42,4,194,102,
515 15,46,4,202,255,219,4,194,221,4,202,255,252,233,244,250,255,129,252,253,239,
516 15,131,244,251,129,124,253,202,4,239,15,131,244,251,255,248,1,252,242,15,
517 16,4,202,248,2,102,15,46,4,194,248,4,255,248,1,221,4,202,248,2,221,4,194,
518 248,4,255,15,138,244,248,15,133,244,248,255,15,138,244,248,15,132,244,247,
519 255,248,1,15,183,67,252,254,141,156,253,131,233,248,2,255,248,2,15,183,67,
520 252,254,141,156,253,131,233,248,1,255,252,233,244,9,255,248,5,255,129,252,
521 253,239,15,132,244,48,129,124,253,202,4,239,15,132,244,48,255,57,108,202,
522 4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,57,193,15,
523 132,244,1,129,252,253,239,15,135,244,2,139,169,233,133,252,237,15,132,244,
524 2,252,246,133,233,235,15,133,244,2,255,49,252,237,255,189,1,0,0,0,255,252,
525 233,244,47,255,248,3,129,252,253,239,255,15,133,244,9,255,252,233,244,48,
526 255,72,252,247,208,139,108,202,4,131,195,4,129,252,253,239,15,133,244,249,
527 139,12,202,65,59,12,135,255,139,108,202,4,131,195,4,255,129,252,253,239,15,
528 133,244,253,65,129,124,253,199,4,239,15,133,244,254,65,139,44,199,59,44,202,
529 255,15,183,67,252,254,141,156,253,131,233,248,9,139,3,15,182,204,15,182,232,
530 131,195,4,193,232,16,65,252,255,36,252,238,248,7,15,135,244,249,65,129,124,
531 253,199,4,239,15,130,244,247,255,252,242,65,15,42,4,199,255,65,219,4,199,
532 255,252,233,244,248,248,8,255,252,242,15,42,4,202,102,65,15,46,4,199,255,
533 219,4,202,65,221,4,199,255,129,252,253,239,15,131,244,249,255,248,1,252,242,
534 65,15,16,4,199,248,2,102,15,46,4,202,248,4,255,248,1,65,221,4,199,248,2,221,
535 4,202,248,4,255,72,252,247,208,139,108,202,4,131,195,4,57,197,255,15,133,
536 244,249,15,183,67,252,254,141,156,253,131,233,248,2,139,3,15,182,204,15,182,
537 232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,129,252,253,239,15,133,
538 244,2,252,233,244,48,255,15,132,244,248,129,252,253,239,15,132,244,48,15,
539 183,67,252,254,141,156,253,131,233,248,2,139,3,15,182,204,15,182,232,131,
540 195,4,193,232,16,65,252,255,36,252,238,255,139,108,194,4,131,195,4,129,252,
541 253,239,255,137,108,202,4,139,44,194,137,44,202,255,72,139,44,194,72,137,
542 44,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
543 238,255,49,252,237,129,124,253,194,4,239,129,213,239,137,108,202,4,139,3,
544 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,129,
545 124,253,194,4,239,15,133,244,251,139,44,194,252,247,221,15,128,244,250,199,
546 68,202,4,237,137,44,202,248,9,139,3,15,182,204,15,182,232,131,195,4,193,232,
547 16,65,252,255,36,252,238,248,4,199,68,202,4,0,0,224,65,199,4,202,0,0,0,0,
548 252,233,244,9,248,5,15,135,244,53,255,129,124,253,194,4,239,15,131,244,53,
549 255,252,242,15,16,4,194,72,184,237,237,102,72,15,110,200,15,87,193,252,242,
550 15,17,4,202,255,221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,
551 133,244,248,139,4,194,255,139,128,233,248,1,199,68,202,4,237,137,4,202,255,
552 15,87,192,252,242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,128,233,
553 248,1,221,28,202,255,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
554 252,255,36,252,238,248,2,129,124,253,194,4,239,15,133,244,56,139,60,194,137,
555 213,232,251,1,21,255,252,242,15,42,192,255,137,252,234,15,182,75,252,253,
556 252,233,244,1,255,15,182,252,236,15,182,192,255,129,124,253,252,234,4,239,
557 15,133,244,50,65,129,124,253,199,4,239,15,133,244,50,139,44,252,234,65,3,
558 44,199,15,128,244,49,255,129,124,253,252,234,4,239,15,133,244,52,65,129,124,
559 253,199,4,239,15,133,244,52,65,139,4,199,3,4,252,234,15,128,244,51,255,129,
560 124,253,252,234,4,239,15,133,244,55,129,124,253,194,4,239,15,133,244,55,139,
561 44,252,234,3,44,194,15,128,244,54,255,199,68,202,4,237,255,129,124,253,252,
562 234,4,239,15,131,244,50,255,65,129,124,253,199,4,239,15,131,244,50,255,252,
563 242,15,16,4,252,234,252,242,65,15,88,4,199,255,221,4,252,234,65,220,4,199,
564 255,129,124,253,252,234,4,239,15,131,244,52,255,65,129,124,253,199,4,239,
565 15,131,244,52,255,252,242,65,15,16,4,199,252,242,15,88,4,252,234,255,65,221,
566 4,199,220,4,252,234,255,129,124,253,252,234,4,239,15,131,244,55,129,124,253,
567 194,4,239,15,131,244,55,255,252,242,15,16,4,252,234,252,242,15,88,4,194,255,
568 221,4,252,234,220,4,194,255,129,124,253,252,234,4,239,15,133,244,50,65,129,
569 124,253,199,4,239,15,133,244,50,139,44,252,234,65,43,44,199,15,128,244,49,
570 255,129,124,253,252,234,4,239,15,133,244,52,65,129,124,253,199,4,239,15,133,
571 244,52,65,139,4,199,43,4,252,234,15,128,244,51,255,129,124,253,252,234,4,
572 239,15,133,244,55,129,124,253,194,4,239,15,133,244,55,139,44,252,234,43,44,
573 194,15,128,244,54,255,252,242,15,16,4,252,234,252,242,65,15,92,4,199,255,
574 221,4,252,234,65,220,36,199,255,252,242,65,15,16,4,199,252,242,15,92,4,252,
575 234,255,65,221,4,199,220,36,252,234,255,252,242,15,16,4,252,234,252,242,15,
576 92,4,194,255,221,4,252,234,220,36,194,255,129,124,253,252,234,4,239,15,133,
577 244,50,65,129,124,253,199,4,239,15,133,244,50,139,44,252,234,65,15,175,44,
578 199,15,128,244,49,255,129,124,253,252,234,4,239,15,133,244,52,65,129,124,
579 253,199,4,239,15,133,244,52,65,139,4,199,15,175,4,252,234,15,128,244,51,255,
580 129,124,253,252,234,4,239,15,133,244,55,129,124,253,194,4,239,15,133,244,
581 55,139,44,252,234,15,175,44,194,15,128,244,54,255,252,242,15,16,4,252,234,
582 252,242,65,15,89,4,199,255,221,4,252,234,65,220,12,199,255,252,242,65,15,
583 16,4,199,252,242,15,89,4,252,234,255,65,221,4,199,220,12,252,234,255,252,
584 242,15,16,4,252,234,252,242,15,89,4,194,255,221,4,252,234,220,12,194,255,
585 252,242,15,16,4,252,234,252,242,65,15,94,4,199,255,221,4,252,234,65,220,52,
586 199,255,252,242,65,15,16,4,199,252,242,15,94,4,252,234,255,65,221,4,199,220,
587 52,252,234,255,252,242,15,16,4,252,234,252,242,15,94,4,194,255,221,4,252,
588 234,220,52,194,255,252,242,15,16,4,252,234,252,242,65,15,16,12,199,255,221,
589 4,252,234,65,221,4,199,255,252,242,65,15,16,4,199,252,242,15,16,12,252,234,
590 255,65,221,4,199,221,4,252,234,255,252,242,15,16,4,252,234,252,242,15,16,
591 12,194,255,221,4,252,234,221,4,194,255,248,165,232,244,155,255,252,233,244,
592 165,255,232,244,115,255,15,182,252,236,15,182,192,139,124,36,24,137,151,233,
593 141,52,194,137,194,41,252,234,248,35,137,252,253,137,92,36,28,232,251,1,27,
594 139,149,233,133,192,15,133,244,44,15,182,107,252,255,15,182,75,252,253,72,
595 139,4,252,234,72,137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,
596 16,65,252,255,36,252,238,255,72,252,247,208,65,139,4,135,199,68,202,4,237,
597 137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
598 252,238,255,15,191,192,199,68,202,4,237,137,4,202,255,15,191,192,252,242,
599 15,42,192,252,242,15,17,4,202,255,223,67,252,254,221,28,202,255,252,242,65,
600 15,16,4,199,252,242,15,17,4,202,255,65,221,4,199,221,28,202,255,72,252,247,
601 208,137,68,202,4,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,
602 255,36,252,238,255,141,76,202,12,141,68,194,4,189,237,137,105,252,248,248,
603 1,137,41,131,193,8,57,193,15,134,244,1,139,3,15,182,204,15,182,232,131,195,
604 4,193,232,16,65,252,255,36,252,238,255,139,106,252,248,139,172,253,133,233,
605 139,173,233,72,139,69,0,72,137,4,202,139,3,15,182,204,15,182,232,131,195,
606 4,193,232,16,65,252,255,36,252,238,255,139,106,252,248,139,172,253,141,233,
607 128,189,233,0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,69,4,15,132,
608 244,247,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,204,15,182,
609 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,129,232,239,129,252,
610 248,239,15,134,244,1,252,246,129,233,235,15,132,244,1,137,252,238,137,213,
611 65,141,190,233,255,232,251,1,28,137,252,234,252,233,244,1,255,72,252,247,
612 208,139,106,252,248,139,172,253,141,233,65,139,12,135,139,133,233,137,8,199,
613 64,4,237,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,204,15,182,
614 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,252,246,129,233,235,
615 15,132,244,1,128,189,233,0,15,132,244,1,137,213,137,198,65,141,190,233,232,
616 251,1,28,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,65,15,
617 16,4,199,255,139,172,253,141,233,139,141,233,255,252,242,15,17,1,255,221,
618 25,255,72,252,247,208,139,106,252,248,139,172,253,141,233,139,141,233,137,
619 65,4,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
620 255,141,156,253,131,233,139,108,36,24,131,189,233,0,15,132,244,247,137,149,
621 233,141,52,202,137,252,239,232,251,1,29,139,149,233,248,1,139,3,15,182,204,
622 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,72,252,247,208,
623 139,108,36,24,137,149,233,139,82,252,248,65,139,52,135,137,252,239,137,92,
624 36,28,232,251,1,30,139,149,233,15,182,75,252,253,137,4,202,199,68,202,4,237,
625 139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,
626 139,108,36,24,137,149,233,65,139,142,233,65,59,142,233,137,92,36,28,15,131,
627 244,251,248,1,137,194,37,252,255,7,0,0,193,252,234,11,61,252,255,7,0,0,15,
628 132,244,249,248,2,137,252,239,137,198,232,251,1,31,139,149,233,15,182,75,
629 252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,195,4,
630 193,232,16,65,252,255,36,252,238,248,3,184,1,8,0,0,252,233,244,2,248,5,137,
631 252,239,232,251,1,32,15,183,67,252,254,252,233,244,1,255,72,252,247,208,139,
632 108,36,24,65,139,142,233,137,92,36,28,65,59,142,233,137,149,233,15,131,244,
633 249,248,2,65,139,52,135,137,252,239,232,251,1,33,139,149,233,15,182,75,252,
634 253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,195,4,193,
635 232,16,65,252,255,36,252,238,248,3,137,252,239,232,251,1,32,15,183,67,252,
636 254,72,252,247,208,252,233,244,2,255,72,252,247,208,139,106,252,248,139,173,
637 233,65,139,4,135,252,233,244,166,255,72,252,247,208,139,106,252,248,139,173,
638 233,65,139,4,135,252,233,244,167,255,15,182,252,236,15,182,192,129,124,253,
639 252,234,4,239,15,133,244,38,139,44,252,234,255,129,124,253,194,4,239,15,133,
640 244,251,139,4,194,255,129,124,253,194,4,239,15,131,244,251,255,252,242,15,
641 16,4,194,252,242,15,45,192,252,242,15,42,200,102,15,46,193,255,15,133,244,
642 38,255,59,133,233,15,131,244,38,193,224,3,3,133,233,129,120,253,4,239,15,
643 132,244,248,72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,232,131,
644 195,4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,244,249,
645 139,141,233,252,246,129,233,235,15,132,244,38,15,182,75,252,253,248,3,199,
646 68,202,4,237,252,233,244,1,248,5,255,129,124,253,194,4,239,15,133,244,38,
647 139,4,194,252,233,244,166,255,15,182,252,236,15,182,192,72,252,247,208,65,
648 139,4,135,129,124,253,252,234,4,239,15,133,244,36,139,44,252,234,248,166,
649 139,141,233,35,136,233,105,201,239,3,141,233,248,1,129,185,233,239,15,133,
650 244,250,57,129,233,15,133,244,250,129,121,253,4,239,15,132,244,251,15,182,
651 67,252,253,72,139,41,72,137,44,194,248,2,255,139,3,15,182,204,15,182,232,
652 131,195,4,193,232,16,65,252,255,36,252,238,248,3,15,182,67,252,253,199,68,
653 194,4,237,252,233,244,2,248,4,139,137,233,133,201,15,133,244,1,248,5,139,
654 141,233,133,201,15,132,244,3,252,246,129,233,235,15,133,244,3,252,233,244,
655 36,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,37,
656 139,44,252,234,59,133,233,15,131,244,37,193,224,3,3,133,233,129,120,253,4,
657 239,15,132,244,248,72,139,40,72,137,44,202,248,1,139,3,15,182,204,15,182,
658 232,131,195,4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,
659 244,249,139,141,233,252,246,129,233,235,15,132,244,37,255,15,182,75,252,253,
660 248,3,199,68,202,4,237,252,233,244,1,255,15,182,252,236,15,182,192,129,124,
661 253,252,234,4,239,15,133,244,41,139,44,252,234,255,15,133,244,41,255,59,133,
662 233,15,131,244,41,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,
663 1,252,246,133,233,235,15,133,244,253,248,2,72,139,44,202,72,137,40,139,3,
664 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,3,131,
665 189,233,0,15,132,244,1,139,141,233,252,246,129,233,235,255,15,132,244,41,
666 15,182,75,252,253,252,233,244,1,248,5,129,124,253,194,4,239,15,133,244,41,
667 139,4,194,252,233,244,167,248,7,128,165,233,235,65,139,142,233,65,137,174,
668 233,137,141,233,15,182,75,252,253,252,233,244,2,255,15,182,252,236,15,182,
669 192,72,252,247,208,65,139,4,135,129,124,253,252,234,4,239,15,133,244,39,139,
670 44,252,234,248,167,139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,
671 233,248,1,129,185,233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,
672 253,4,239,15,132,244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,
673 3,15,182,67,252,253,72,139,44,194,72,137,41,139,3,15,182,204,15,182,232,131,
674 195,4,193,232,16,65,252,255,36,252,238,248,4,131,189,233,0,15,132,244,2,137,
675 12,36,139,141,233,252,246,129,233,235,15,132,244,39,139,12,36,252,233,244,
676 2,248,5,139,137,233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244,
677 252,252,246,129,233,235,15,132,244,39,248,6,137,4,36,199,68,36,4,237,137,
678 108,36,8,139,124,36,24,137,151,233,72,141,20,36,137,252,238,137,252,253,137,
679 92,36,28,232,251,1,34,139,149,233,139,108,36,8,137,193,252,233,244,2,248,
680 7,128,165,233,235,65,139,134,233,65,137,174,233,137,133,233,252,233,244,3,
681 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,40,139,
682 44,252,234,59,133,233,15,131,244,40,193,224,3,3,133,233,129,120,253,4,239,
683 15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,2,72,139,12,202,
684 72,137,8,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
685 238,248,3,131,189,233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,
686 15,132,244,40,15,182,75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,
687 142,233,65,137,174,233,137,141,233,15,182,75,252,253,252,233,244,2,255,68,
688 137,60,36,69,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,
689 235,15,133,244,253,248,2,139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,
690 59,133,233,15,135,244,251,68,41,252,248,65,193,231,3,68,3,189,233,248,3,72,
691 139,41,131,193,8,73,137,47,65,131,199,8,131,232,1,15,133,244,3,248,4,68,139,
692 60,36,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
693 238,248,5,139,124,36,24,137,151,233,137,252,238,137,194,137,252,253,137,92,
694 36,28,232,251,1,35,139,149,233,15,182,75,252,253,252,233,244,1,248,7,255,
695 128,165,233,235,65,139,134,233,65,137,174,233,137,133,233,252,233,244,2,255,
696 3,68,36,4,255,129,124,253,202,4,239,139,44,202,15,133,244,57,141,84,202,8,
697 137,90,252,252,139,157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,
698 252,255,36,252,238,255,141,76,202,8,65,137,215,139,105,252,248,129,121,253,
699 252,252,239,15,133,244,29,248,58,139,90,252,252,252,247,195,237,15,133,244,
700 253,248,1,137,106,252,248,137,68,36,4,131,232,1,15,132,244,249,248,2,72,139,
701 41,131,193,8,73,137,47,65,131,199,8,131,232,1,15,133,244,2,139,106,252,248,
702 248,3,139,68,36,4,128,189,233,1,15,135,244,251,248,4,139,157,233,139,11,15,
703 182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,248,5,255,252,247,
704 195,237,15,133,244,4,15,182,75,252,253,72,252,247,209,141,12,202,68,139,121,
705 252,248,69,139,191,233,69,139,191,233,252,233,244,4,248,7,129,252,235,239,
706 252,247,195,237,15,133,244,254,41,218,65,137,215,139,90,252,252,252,233,244,
707 1,248,8,129,195,239,252,233,244,1,255,141,76,202,8,72,139,105,232,72,139,
708 65,252,240,72,137,41,72,137,65,8,139,105,224,139,65,228,137,105,252,248,137,
709 65,252,252,129,252,248,239,184,237,15,133,244,29,137,202,137,90,252,252,139,
710 157,233,139,11,15,182,252,233,15,182,205,131,195,4,65,252,255,36,252,238,
711 255,68,137,60,36,68,137,116,36,4,139,108,202,252,240,139,68,202,252,248,68,
712 139,181,233,131,195,4,68,139,189,233,248,1,68,57,252,240,15,131,244,251,65,
713 129,124,253,199,4,239,15,132,244,250,255,219,68,202,252,248,255,73,139,44,
714 199,72,137,108,202,8,131,192,1,255,137,68,202,252,248,248,2,15,183,67,252,
715 254,141,156,253,131,233,248,3,68,139,116,36,4,68,139,60,36,139,3,15,182,204,
716 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,4,131,192,1,255,
717 137,68,202,252,248,255,252,233,244,1,248,5,68,41,252,240,248,6,59,133,233,
718 15,135,244,3,68,105,252,248,239,68,3,189,233,65,129,191,233,239,15,132,244,
719 253,70,141,116,48,1,73,139,175,233,73,139,135,233,72,137,44,202,72,137,68,
720 202,8,68,137,116,202,252,248,252,233,244,2,248,7,131,192,1,252,233,244,6,
721 255,129,124,253,202,252,236,239,15,133,244,251,139,108,202,232,129,124,253,
722 202,252,244,239,15,133,244,251,129,124,253,202,252,252,239,15,133,244,251,
723 128,189,233,235,15,133,244,251,141,156,253,131,233,199,68,202,252,248,0,0,
724 0,0,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
725 252,238,248,5,198,67,252,252,235,141,156,253,131,233,198,3,235,252,233,244,
726 1,255,15,182,252,236,15,182,192,68,137,60,36,68,141,188,253,194,233,141,12,
727 202,68,43,122,252,252,133,252,237,15,132,244,251,141,108,252,233,252,248,
728 65,57,215,15,131,244,248,248,1,73,139,71,252,248,65,131,199,8,72,137,1,131,
729 193,8,57,252,233,15,131,244,249,65,57,215,15,130,244,1,248,2,199,65,4,237,
730 131,193,8,57,252,233,15,130,244,2,248,3,68,139,60,36,139,3,15,182,204,15,
731 182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,5,199,68,36,4,1,0,
732 0,0,137,208,68,41,252,248,15,134,244,3,137,197,193,252,237,3,131,197,1,137,
733 108,36,4,139,108,36,24,1,200,59,133,233,15,135,244,253,248,6,255,73,139,71,
734 252,248,65,131,199,8,72,137,1,131,193,8,65,57,215,15,130,244,6,252,233,244,
735 3,248,7,137,149,233,137,141,233,137,92,36,28,65,41,215,139,116,36,4,131,252,
736 238,1,137,252,239,232,251,1,0,139,149,233,139,141,233,65,1,215,252,233,244,
737 6,255,193,225,3,255,248,1,139,90,252,252,137,68,36,4,252,247,195,237,15,133,
738 244,253,255,248,13,65,137,215,131,232,1,15,132,244,249,248,2,73,139,44,15,
739 73,137,111,252,248,65,131,199,8,131,232,1,15,133,244,2,248,3,139,68,36,4,
740 15,182,107,252,255,248,5,57,197,15,135,244,252,255,72,139,44,10,72,137,106,
741 252,248,255,248,5,56,67,252,255,15,135,244,252,255,15,182,75,252,253,72,252,
742 247,209,141,20,202,68,139,122,252,248,69,139,191,233,69,139,191,233,139,3,
743 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,6,255,
744 65,199,71,252,252,237,65,131,199,8,255,199,68,194,252,244,237,255,131,192,
745 1,252,233,244,5,248,7,141,171,233,252,247,197,237,15,133,244,14,41,252,234,
746 255,1,252,233,255,137,221,209,252,237,129,229,239,102,65,131,172,253,46,233,
747 1,15,132,244,147,255,141,12,202,255,129,121,253,4,239,15,133,244,255,255,
748 129,121,253,12,239,15,133,244,59,129,121,253,20,239,15,133,244,59,139,41,
749 131,121,16,0,15,140,244,251,255,129,121,253,12,239,15,133,244,164,129,121,
750 253,20,239,15,133,244,164,255,139,105,16,133,252,237,15,136,244,251,3,41,
751 15,128,244,247,137,41,255,59,105,8,199,65,28,237,137,105,24,255,15,142,244,
752 253,248,1,248,6,141,156,253,131,233,255,141,156,253,131,233,15,183,67,252,
753 254,15,142,245,248,1,248,6,255,15,143,244,253,248,6,141,156,253,131,233,248,
754 1,255,248,7,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
755 252,238,248,5,255,3,41,15,128,244,1,137,41,255,15,141,244,7,255,141,156,253,
756 131,233,15,183,67,252,254,15,141,245,255,15,140,244,7,255,252,233,244,6,248,
757 9,255,129,121,253,4,239,255,15,131,244,59,129,121,253,12,239,15,131,244,59,
758 255,129,121,253,12,239,15,131,244,164,129,121,253,20,239,15,131,244,164,255,
759 139,105,20,255,129,252,253,239,15,131,244,59,255,252,242,15,16,1,252,242,
760 15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,237,15,136,244,
761 249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15,17,65,24,255,221,
762 65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15,136,244,247,255,
763 221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,67,252,254,255,15,131,
764 244,7,255,15,131,244,248,141,156,253,131,233,255,141,156,253,131,233,15,183,
765 67,252,254,15,131,245,255,15,130,244,7,255,15,130,244,248,141,156,253,131,
766 233,255,248,3,102,15,46,193,252,233,244,1,255,141,12,202,139,105,4,129,252,
767 253,239,15,132,244,247,255,137,105,252,252,139,41,137,105,252,248,252,233,
768 245,255,141,156,253,131,233,139,1,137,105,252,252,137,65,252,248,255,65,139,
769 142,233,139,4,129,72,139,128,233,139,108,36,24,65,137,150,233,65,137,174,
770 233,76,137,36,36,76,137,108,36,8,72,131,252,236,16,252,255,224,255,141,156,
771 253,131,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
772 252,238,255,137,221,209,252,237,129,229,239,102,65,131,172,253,46,233,1,15,
773 132,244,149,255,68,139,187,233,139,108,36,24,141,12,202,59,141,233,15,135,
774 244,24,15,182,139,233,57,200,15,134,244,249,248,2,255,15,183,67,252,254,252,
775 233,245,255,248,3,199,68,194,252,252,237,131,192,1,57,200,15,134,244,3,252,
776 233,244,2,255,141,44,197,237,141,4,194,68,139,122,252,248,137,104,252,252,
777 68,137,120,252,248,139,108,36,24,141,12,200,59,141,233,15,135,244,23,137,
778 209,137,194,15,182,171,233,133,252,237,15,132,244,248,248,1,131,193,8,57,
779 209,15,131,244,249,68,139,121,252,248,68,137,56,68,139,121,252,252,68,137,
780 120,4,131,192,8,199,65,252,252,237,131,252,237,1,15,133,244,1,248,2,255,68,
781 139,187,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
782 252,238,255,248,3,199,64,4,237,131,192,8,131,252,237,1,15,133,244,3,252,233,
783 244,2,255,139,106,252,248,76,139,189,233,139,108,36,24,141,68,194,252,248,
784 137,149,233,141,136,233,59,141,233,137,133,233,255,76,137,252,254,137,252,
785 239,255,15,135,244,22,65,199,134,233,237,255,65,252,255,215,255,65,252,255,
786 150,233,255,65,199,134,233,237,139,149,233,141,12,194,252,247,217,3,141,233,
787 139,90,252,252,252,233,244,12,255,254,0
790 enum {
791 GLOB_vm_returnp,
792 GLOB_cont_dispatch,
793 GLOB_vm_returnc,
794 GLOB_BC_RET_Z,
795 GLOB_vm_return,
796 GLOB_vm_leave_cp,
797 GLOB_vm_leave_unw,
798 GLOB_vm_unwind_c,
799 GLOB_vm_unwind_c_eh,
800 GLOB_vm_unwind_rethrow,
801 GLOB_vm_unwind_ff,
802 GLOB_vm_unwind_ff_eh,
803 GLOB_vm_growstack_c,
804 GLOB_vm_growstack_v,
805 GLOB_vm_growstack_f,
806 GLOB_vm_resume,
807 GLOB_vm_pcall,
808 GLOB_vm_call,
809 GLOB_vm_call_dispatch,
810 GLOB_vmeta_call,
811 GLOB_vm_call_dispatch_f,
812 GLOB_vm_cpcall,
813 GLOB_vm_call_tail,
814 GLOB_cont_cat,
815 GLOB_cont_ra,
816 GLOB_BC_CAT_Z,
817 GLOB_vmeta_tgets,
818 GLOB_vmeta_tgetb,
819 GLOB_vmeta_tgetv,
820 GLOB_vmeta_tsets,
821 GLOB_vmeta_tsetb,
822 GLOB_vmeta_tsetv,
823 GLOB_cont_nop,
824 GLOB_vmeta_comp,
825 GLOB_vmeta_binop,
826 GLOB_cont_condt,
827 GLOB_cont_condf,
828 GLOB_vmeta_equal,
829 GLOB_vmeta_equal_cd,
830 GLOB_vmeta_arith_vno,
831 GLOB_vmeta_arith_vn,
832 GLOB_vmeta_arith_nvo,
833 GLOB_vmeta_arith_nv,
834 GLOB_vmeta_unm,
835 GLOB_vmeta_arith_vvo,
836 GLOB_vmeta_arith_vv,
837 GLOB_vmeta_len,
838 GLOB_vmeta_call_ra,
839 GLOB_BC_CALLT_Z,
840 GLOB_vmeta_for,
841 GLOB_ff_assert,
842 GLOB_fff_fallback,
843 GLOB_fff_res_,
844 GLOB_ff_type,
845 GLOB_fff_res1,
846 GLOB_ff_getmetatable,
847 GLOB_ff_setmetatable,
848 GLOB_ff_rawget,
849 GLOB_ff_tonumber,
850 GLOB_fff_resi,
851 GLOB_fff_resxmm0,
852 GLOB_fff_resn,
853 GLOB_ff_tostring,
854 GLOB_fff_gcstep,
855 GLOB_ff_next,
856 GLOB_fff_res2,
857 GLOB_fff_res,
858 GLOB_ff_pairs,
859 GLOB_ff_ipairs_aux,
860 GLOB_fff_res0,
861 GLOB_ff_ipairs,
862 GLOB_ff_pcall,
863 GLOB_ff_xpcall,
864 GLOB_ff_coroutine_resume,
865 GLOB_ff_coroutine_wrap_aux,
866 GLOB_ff_coroutine_yield,
867 GLOB_ff_math_abs,
868 GLOB_fff_resbit,
869 GLOB_ff_math_floor,
870 GLOB_vm_floor,
871 GLOB_ff_math_ceil,
872 GLOB_vm_ceil,
873 GLOB_ff_math_sqrt,
874 GLOB_ff_math_log,
875 GLOB_ff_math_log10,
876 GLOB_ff_math_exp,
877 GLOB_vm_exp,
878 GLOB_ff_math_sin,
879 GLOB_ff_math_cos,
880 GLOB_ff_math_tan,
881 GLOB_ff_math_asin,
882 GLOB_ff_math_acos,
883 GLOB_ff_math_atan,
884 GLOB_ff_math_sinh,
885 GLOB_ff_math_cosh,
886 GLOB_ff_math_tanh,
887 GLOB_ff_math_deg,
888 GLOB_ff_math_rad,
889 GLOB_ff_math_atan2,
890 GLOB_ff_math_ldexp,
891 GLOB_ff_math_frexp,
892 GLOB_ff_math_modf,
893 GLOB_vm_trunc,
894 GLOB_ff_math_fmod,
895 GLOB_ff_math_pow,
896 GLOB_vm_pow,
897 GLOB_ff_math_min,
898 GLOB_ff_math_max,
899 GLOB_ff_string_len,
900 GLOB_ff_string_byte,
901 GLOB_ff_string_char,
902 GLOB_fff_newstr,
903 GLOB_ff_string_sub,
904 GLOB_fff_emptystr,
905 GLOB_ff_string_rep,
906 GLOB_fff_fallback_2,
907 GLOB_ff_string_reverse,
908 GLOB_fff_fallback_1,
909 GLOB_ff_string_lower,
910 GLOB_ff_string_upper,
911 GLOB_ff_table_getn,
912 GLOB_ff_bit_tobit,
913 GLOB_ff_bit_band,
914 GLOB_fff_fallback_bit_op,
915 GLOB_ff_bit_bor,
916 GLOB_ff_bit_bxor,
917 GLOB_ff_bit_bswap,
918 GLOB_ff_bit_bnot,
919 GLOB_ff_bit_lshift,
920 GLOB_ff_bit_rshift,
921 GLOB_ff_bit_arshift,
922 GLOB_ff_bit_rol,
923 GLOB_ff_bit_ror,
924 GLOB_vm_record,
925 GLOB_vm_rethook,
926 GLOB_vm_inshook,
927 GLOB_cont_hook,
928 GLOB_vm_hotloop,
929 GLOB_vm_callhook,
930 GLOB_vm_hotcall,
931 GLOB_vm_exit_handler,
932 GLOB_vm_exit_interp,
933 GLOB_vm_floor_sse,
934 GLOB_vm_ceil_sse,
935 GLOB_vm_trunc_sse,
936 GLOB_vm_mod,
937 GLOB_vm_exp2,
938 GLOB_vm_exp2raw,
939 GLOB_vm_pow_sse,
940 GLOB_vm_powi_sse,
941 GLOB_vm_foldfpm,
942 GLOB_vm_foldarith,
943 GLOB_vm_cpuid,
944 GLOB_vm_ffi_call,
945 GLOB_assert_bad_for_arg_type,
946 GLOB_BC_MODVN_Z,
947 GLOB_BC_TGETS_Z,
948 GLOB_BC_TSETS_Z,
949 GLOB__MAX
951 static const char *const globnames[] = {
952 "vm_returnp",
953 "cont_dispatch",
954 "vm_returnc",
955 "BC_RET_Z",
956 "vm_return",
957 "vm_leave_cp",
958 "vm_leave_unw",
959 "vm_unwind_c@8",
960 "vm_unwind_c_eh",
961 "vm_unwind_rethrow",
962 "vm_unwind_ff@4",
963 "vm_unwind_ff_eh",
964 "vm_growstack_c",
965 "vm_growstack_v",
966 "vm_growstack_f",
967 "vm_resume",
968 "vm_pcall",
969 "vm_call",
970 "vm_call_dispatch",
971 "vmeta_call",
972 "vm_call_dispatch_f",
973 "vm_cpcall",
974 "vm_call_tail",
975 "cont_cat",
976 "cont_ra",
977 "BC_CAT_Z",
978 "vmeta_tgets",
979 "vmeta_tgetb",
980 "vmeta_tgetv",
981 "vmeta_tsets",
982 "vmeta_tsetb",
983 "vmeta_tsetv",
984 "cont_nop",
985 "vmeta_comp",
986 "vmeta_binop",
987 "cont_condt",
988 "cont_condf",
989 "vmeta_equal",
990 "vmeta_equal_cd",
991 "vmeta_arith_vno",
992 "vmeta_arith_vn",
993 "vmeta_arith_nvo",
994 "vmeta_arith_nv",
995 "vmeta_unm",
996 "vmeta_arith_vvo",
997 "vmeta_arith_vv",
998 "vmeta_len",
999 "vmeta_call_ra",
1000 "BC_CALLT_Z",
1001 "vmeta_for",
1002 "ff_assert",
1003 "fff_fallback",
1004 "fff_res_",
1005 "ff_type",
1006 "fff_res1",
1007 "ff_getmetatable",
1008 "ff_setmetatable",
1009 "ff_rawget",
1010 "ff_tonumber",
1011 "fff_resi",
1012 "fff_resxmm0",
1013 "fff_resn",
1014 "ff_tostring",
1015 "fff_gcstep",
1016 "ff_next",
1017 "fff_res2",
1018 "fff_res",
1019 "ff_pairs",
1020 "ff_ipairs_aux",
1021 "fff_res0",
1022 "ff_ipairs",
1023 "ff_pcall",
1024 "ff_xpcall",
1025 "ff_coroutine_resume",
1026 "ff_coroutine_wrap_aux",
1027 "ff_coroutine_yield",
1028 "ff_math_abs",
1029 "fff_resbit",
1030 "ff_math_floor",
1031 "vm_floor",
1032 "ff_math_ceil",
1033 "vm_ceil",
1034 "ff_math_sqrt",
1035 "ff_math_log",
1036 "ff_math_log10",
1037 "ff_math_exp",
1038 "vm_exp",
1039 "ff_math_sin",
1040 "ff_math_cos",
1041 "ff_math_tan",
1042 "ff_math_asin",
1043 "ff_math_acos",
1044 "ff_math_atan",
1045 "ff_math_sinh",
1046 "ff_math_cosh",
1047 "ff_math_tanh",
1048 "ff_math_deg",
1049 "ff_math_rad",
1050 "ff_math_atan2",
1051 "ff_math_ldexp",
1052 "ff_math_frexp",
1053 "ff_math_modf",
1054 "vm_trunc",
1055 "ff_math_fmod",
1056 "ff_math_pow",
1057 "vm_pow",
1058 "ff_math_min",
1059 "ff_math_max",
1060 "ff_string_len",
1061 "ff_string_byte",
1062 "ff_string_char",
1063 "fff_newstr",
1064 "ff_string_sub",
1065 "fff_emptystr",
1066 "ff_string_rep",
1067 "fff_fallback_2",
1068 "ff_string_reverse",
1069 "fff_fallback_1",
1070 "ff_string_lower",
1071 "ff_string_upper",
1072 "ff_table_getn",
1073 "ff_bit_tobit",
1074 "ff_bit_band",
1075 "fff_fallback_bit_op",
1076 "ff_bit_bor",
1077 "ff_bit_bxor",
1078 "ff_bit_bswap",
1079 "ff_bit_bnot",
1080 "ff_bit_lshift",
1081 "ff_bit_rshift",
1082 "ff_bit_arshift",
1083 "ff_bit_rol",
1084 "ff_bit_ror",
1085 "vm_record",
1086 "vm_rethook",
1087 "vm_inshook",
1088 "cont_hook",
1089 "vm_hotloop",
1090 "vm_callhook",
1091 "vm_hotcall",
1092 "vm_exit_handler",
1093 "vm_exit_interp",
1094 "vm_floor_sse",
1095 "vm_ceil_sse",
1096 "vm_trunc_sse",
1097 "vm_mod",
1098 "vm_exp2",
1099 "vm_exp2raw",
1100 "vm_pow_sse",
1101 "vm_powi_sse",
1102 "vm_foldfpm",
1103 "vm_foldarith",
1104 "vm_cpuid",
1105 "vm_ffi_call@4",
1106 "assert_bad_for_arg_type",
1107 "BC_MODVN_Z",
1108 "BC_TGETS_Z",
1109 "BC_TSETS_Z",
1110 (const char *)0
1112 static const char *const extnames[] = {
1113 "lj_state_growstack@8",
1114 "lj_err_throw@8",
1115 "lj_meta_tget",
1116 "lj_meta_tset",
1117 "lj_meta_comp",
1118 "lj_meta_equal",
1119 "lj_meta_equal_cd@8",
1120 "lj_meta_arith",
1121 "lj_meta_len@8",
1122 "lj_meta_call",
1123 "lj_meta_for@8",
1124 "lj_tab_get",
1125 "lj_str_fromnumber@8",
1126 "lj_str_fromnum@8",
1127 "lj_tab_next",
1128 "lj_tab_getinth@8",
1129 "lj_ffh_coroutine_wrap_err@8",
1130 "lj_wrapper_sinh",
1131 "lj_wrapper_cosh",
1132 "lj_wrapper_tanh",
1133 "lj_str_new",
1134 "lj_tab_len@4",
1135 "lj_gc_step@4",
1136 "lj_dispatch_ins@8",
1137 "lj_trace_hot@8",
1138 "lj_dispatch_call@8",
1139 "lj_trace_exit@8",
1140 "lj_meta_cat",
1141 "lj_gc_barrieruv@8",
1142 "lj_func_closeuv@8",
1143 "lj_func_newL_gc",
1144 "lj_tab_new",
1145 "lj_gc_step_fixtop@4",
1146 "lj_tab_dup@8",
1147 "lj_tab_newkey",
1148 "lj_tab_reasize",
1149 (const char *)0
1151 #define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1152 #define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1153 #define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1154 #define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1155 #define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1156 #define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1157 #define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1158 #define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1159 #define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1160 #define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1161 #define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1162 #define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1163 #define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V)
1164 #define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1165 #define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1166 #define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto))
1168 /* Generate subroutines used by opcodes and other parts of the VM. */
1169 /* The .code_sub section should be last to help static branch prediction. */
1170 static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1172 dasm_put(Dst, 0);
1173 dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C);
1174 dasm_put(Dst, 109, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL);
1175 dasm_put(Dst, 200, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK);
1176 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));
1177 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);
1178 dasm_put(Dst, 548, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1179 dasm_put(Dst, 648, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL);
1180 dasm_put(Dst, 819, 0, Dt7(->pc), PC2PROTO(k), Dt1(->base), LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1181 dasm_put(Dst, 944);
1182 if (LJ_DUALNUM) {
1183 dasm_put(Dst, 958, LJ_TISNUM);
1184 } else if (sse) {
1185 dasm_put(Dst, 967);
1186 } else {
1188 dasm_put(Dst, 979, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET);
1189 dasm_put(Dst, 1125, DISPATCH_GL(tmptv), LJ_TTAB);
1190 if (LJ_DUALNUM) {
1191 dasm_put(Dst, 958, LJ_TISNUM);
1192 } else if (sse) {
1193 dasm_put(Dst, 967);
1194 } else {
1196 dasm_put(Dst, 1149, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base));
1197 dasm_put(Dst, 1321, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1198 dasm_put(Dst, 1420);
1199 #if LJ_HASFFI
1200 dasm_put(Dst, 1440, Dt1(->base));
1201 #endif
1202 dasm_put(Dst, 1471);
1203 #if LJ_DUALNUM
1204 dasm_put(Dst, 1474);
1205 #endif
1206 dasm_put(Dst, 1480);
1207 #if LJ_DUALNUM
1208 dasm_put(Dst, 952);
1209 #endif
1210 dasm_put(Dst, 1493);
1211 #if LJ_DUALNUM
1212 dasm_put(Dst, 1474);
1213 #endif
1214 dasm_put(Dst, 1522, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base), Dt1(->base));
1215 dasm_put(Dst, 1654, Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND);
1216 dasm_put(Dst, 1838, 1+1, ~LJ_TNUMX);
1217 if (cmov) {
1218 dasm_put(Dst, 1883);
1219 } else {
1220 dasm_put(Dst, 1887);
1222 dasm_put(Dst, 1896, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, ~LJ_TLIGHTUD, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL);
1223 dasm_put(Dst, 1975, DISPATCH_GL(gcroot)+4*(GCROOT_MMNAME+MM_metatable), LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next));
1224 dasm_put(Dst, 2033, LJ_TNIL, LJ_TUDATA, LJ_TNUMX, LJ_TISNUM, LJ_TLIGHTUD);
1225 dasm_put(Dst, 2099, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB);
1226 dasm_put(Dst, 2170, Dt6(->marked), LJ_GC_BLACK, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist), 2+1, LJ_TTAB);
1227 dasm_put(Dst, 2260, 1+1, LJ_TISNUM);
1228 if (LJ_DUALNUM) {
1229 dasm_put(Dst, 2274);
1230 } else {
1231 dasm_put(Dst, 2291);
1233 if (sse) {
1234 dasm_put(Dst, 2296);
1235 } else {
1236 dasm_put(Dst, 2306);
1238 dasm_put(Dst, 2313, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1239 dasm_put(Dst, 2382, Dt1(->base));
1240 if (LJ_DUALNUM) {
1241 dasm_put(Dst, 2408);
1242 } else {
1243 dasm_put(Dst, 2413);
1245 dasm_put(Dst, 2418, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2);
1246 dasm_put(Dst, 2510, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1247 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1248 dasm_put(Dst, 2557, Dt6(->metatable));
1249 #endif
1250 dasm_put(Dst, 2566, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1251 if (LJ_DUALNUM) {
1252 dasm_put(Dst, 2552);
1253 } else {
1254 dasm_put(Dst, 2291);
1256 dasm_put(Dst, 2621);
1257 if (LJ_DUALNUM) {
1258 dasm_put(Dst, 2626, LJ_TISNUM);
1259 } else if (sse) {
1260 dasm_put(Dst, 2642, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1261 } else {
1263 dasm_put(Dst, 2675, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1264 dasm_put(Dst, 2537, 1+1, LJ_TTAB);
1265 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1266 dasm_put(Dst, 2557, Dt6(->metatable));
1267 #endif
1268 dasm_put(Dst, 2752, Dt8(->upvalue[0]), LJ_TFUNC);
1269 if (LJ_DUALNUM) {
1270 dasm_put(Dst, 2773, LJ_TISNUM);
1271 } else if (sse) {
1272 dasm_put(Dst, 2785);
1273 } else {
1274 dasm_put(Dst, 2795);
1276 dasm_put(Dst, 2802, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC);
1277 dasm_put(Dst, 2867, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top));
1278 dasm_put(Dst, 2956, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1279 dasm_put(Dst, 3043, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE);
1280 dasm_put(Dst, 3158, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe));
1281 dasm_put(Dst, 3253, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1282 dasm_put(Dst, 3319, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack));
1283 dasm_put(Dst, 3408, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME);
1284 dasm_put(Dst, 3518, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1285 if (!LJ_DUALNUM) {
1286 dasm_put(Dst, 3545);
1288 if (sse) {
1289 dasm_put(Dst, 3548);
1291 dasm_put(Dst, 3563, 1+1);
1292 if (LJ_DUALNUM) {
1293 dasm_put(Dst, 3574, LJ_TISNUM, LJ_TISNUM);
1294 } else {
1295 dasm_put(Dst, 3654, LJ_TISNUM);
1297 if (sse) {
1298 dasm_put(Dst, 3664, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1299 } else {
1300 dasm_put(Dst, 3695);
1302 dasm_put(Dst, 3712, 1+1, FRAME_TYPE, LJ_TNIL);
1303 if (LJ_DUALNUM) {
1304 dasm_put(Dst, 3809, LJ_TISNUM);
1305 } else {
1306 dasm_put(Dst, 3654, LJ_TISNUM);
1308 if (sse) {
1309 dasm_put(Dst, 3831);
1310 if (LJ_DUALNUM) {
1311 dasm_put(Dst, 3840);
1313 dasm_put(Dst, 2301);
1314 } else {
1315 dasm_put(Dst, 3874);
1316 if (LJ_DUALNUM) {
1317 } else {
1318 dasm_put(Dst, 2308);
1321 dasm_put(Dst, 3880);
1322 if (LJ_DUALNUM) {
1323 dasm_put(Dst, 3809, LJ_TISNUM);
1324 } else {
1325 dasm_put(Dst, 3654, LJ_TISNUM);
1327 if (sse) {
1328 dasm_put(Dst, 3883);
1329 if (LJ_DUALNUM) {
1330 dasm_put(Dst, 3840);
1332 dasm_put(Dst, 2301);
1333 } else {
1334 dasm_put(Dst, 3892);
1335 if (LJ_DUALNUM) {
1336 } else {
1337 dasm_put(Dst, 2308);
1340 if (sse) {
1341 dasm_put(Dst, 3898, 1+1, LJ_TISNUM);
1342 } else {
1343 dasm_put(Dst, 3927, 1+1, LJ_TISNUM);
1345 dasm_put(Dst, 3956, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1346 dasm_put(Dst, 4025, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1347 dasm_put(Dst, 4082, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1348 dasm_put(Dst, 4145, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1349 dasm_put(Dst, 4235);
1350 if (sse) {
1351 dasm_put(Dst, 4247, 1+1, LJ_TISNUM);
1352 } else {
1354 dasm_put(Dst, 4272);
1355 if (sse) {
1356 dasm_put(Dst, 4286, 1+1, LJ_TISNUM);
1357 } else {
1359 dasm_put(Dst, 4311);
1360 if (sse) {
1361 dasm_put(Dst, 4325, 1+1, LJ_TISNUM);
1362 } else {
1364 dasm_put(Dst, 4350);
1365 if (sse) {
1366 dasm_put(Dst, 4366, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1367 } else {
1368 dasm_put(Dst, 4405, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1370 dasm_put(Dst, 4438, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1371 dasm_put(Dst, 4503, 1+1, LJ_TISNUM);
1372 if (sse) {
1373 dasm_put(Dst, 4602);
1374 } else {
1375 dasm_put(Dst, 4608);
1377 dasm_put(Dst, 4615);
1378 if (sse) {
1379 dasm_put(Dst, 4640);
1380 } else {
1381 dasm_put(Dst, 4646);
1383 dasm_put(Dst, 4649, 1+2);
1384 if (sse) {
1385 dasm_put(Dst, 4658);
1386 } else {
1387 dasm_put(Dst, 4666);
1389 dasm_put(Dst, 4674);
1390 if (sse) {
1391 dasm_put(Dst, 4677, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
1392 } else {
1393 dasm_put(Dst, 4704);
1395 dasm_put(Dst, 4721);
1396 if (sse) {
1397 dasm_put(Dst, 4737, 1+1, LJ_TISNUM);
1398 } else {
1399 dasm_put(Dst, 4762, 1+1, LJ_TISNUM);
1401 dasm_put(Dst, 4784);
1402 if (sse) {
1403 dasm_put(Dst, 4806);
1404 } else {
1405 dasm_put(Dst, 4832);
1407 dasm_put(Dst, 4849, 1+2);
1408 if (sse) {
1409 dasm_put(Dst, 4889);
1410 } else {
1411 dasm_put(Dst, 4897);
1413 dasm_put(Dst, 4907, 2+1, LJ_TISNUM, LJ_TISNUM);
1414 if (sse) {
1415 dasm_put(Dst, 4959, 2+1, LJ_TISNUM, LJ_TISNUM);
1416 } else {
1417 dasm_put(Dst, 5006, 2+1, LJ_TISNUM, LJ_TISNUM);
1419 dasm_put(Dst, 5047, LJ_TISNUM);
1420 if (LJ_DUALNUM) {
1421 dasm_put(Dst, 5060, LJ_TISNUM);
1422 if (sse) {
1423 dasm_put(Dst, 4602);
1424 } else {
1426 dasm_put(Dst, 5110);
1427 } else {
1428 dasm_put(Dst, 2291);
1430 if (sse) {
1431 dasm_put(Dst, 5121, LJ_TISNUM);
1432 if (LJ_DUALNUM) {
1433 dasm_put(Dst, 5142);
1434 } else {
1435 dasm_put(Dst, 2291);
1437 dasm_put(Dst, 5163);
1438 } else {
1440 dasm_put(Dst, 5188, LJ_TISNUM);
1441 if (LJ_DUALNUM) {
1442 dasm_put(Dst, 5201, LJ_TISNUM);
1443 if (sse) {
1444 dasm_put(Dst, 4602);
1445 } else {
1447 dasm_put(Dst, 5110);
1448 } else {
1449 dasm_put(Dst, 2291);
1451 if (sse) {
1452 dasm_put(Dst, 5121, LJ_TISNUM);
1453 if (LJ_DUALNUM) {
1454 dasm_put(Dst, 5142);
1455 } else {
1456 dasm_put(Dst, 2291);
1458 dasm_put(Dst, 5251);
1459 } else {
1461 if (!sse) {
1462 dasm_put(Dst, 5276);
1464 dasm_put(Dst, 5285, 1+1, LJ_TSTR);
1465 if (LJ_DUALNUM) {
1466 dasm_put(Dst, 5307, Dt5(->len));
1467 } else if (sse) {
1468 dasm_put(Dst, 5315, Dt5(->len));
1469 } else {
1470 dasm_put(Dst, 5326, Dt5(->len));
1472 dasm_put(Dst, 5334, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1473 if (LJ_DUALNUM) {
1474 dasm_put(Dst, 5310);
1475 } else if (sse) {
1476 dasm_put(Dst, 5372);
1477 } else {
1478 dasm_put(Dst, 5382);
1480 dasm_put(Dst, 5393, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1481 if (LJ_DUALNUM) {
1482 dasm_put(Dst, 5426);
1483 } else if (sse) {
1484 dasm_put(Dst, 5449);
1485 } else {
1486 dasm_put(Dst, 5475);
1488 dasm_put(Dst, 5499, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1489 if (LJ_DUALNUM) {
1490 dasm_put(Dst, 5608);
1491 } else if (sse) {
1492 dasm_put(Dst, 5620);
1493 } else {
1494 dasm_put(Dst, 5635);
1496 dasm_put(Dst, 5647, LJ_TSTR, LJ_TISNUM);
1497 if (LJ_DUALNUM) {
1498 dasm_put(Dst, 2552);
1499 } else {
1500 dasm_put(Dst, 2291);
1502 dasm_put(Dst, 5664, Dt5(->len));
1503 if (LJ_DUALNUM) {
1504 dasm_put(Dst, 5674);
1505 } else if (sse) {
1506 dasm_put(Dst, 5678);
1507 } else {
1509 dasm_put(Dst, 5685, sizeof(GCstr)-1);
1510 dasm_put(Dst, 5760, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1511 dasm_put(Dst, 5821, LJ_TSTR, LJ_TISNUM);
1512 if (LJ_DUALNUM) {
1513 dasm_put(Dst, 5838);
1514 } else if (sse) {
1515 dasm_put(Dst, 5846);
1516 } else {
1517 dasm_put(Dst, 5857);
1519 dasm_put(Dst, 5873, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1520 dasm_put(Dst, 5941, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1521 dasm_put(Dst, 6008, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1522 dasm_put(Dst, 6081, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1523 dasm_put(Dst, 6166, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1524 dasm_put(Dst, 6240, 1+1, LJ_TTAB);
1525 if (LJ_DUALNUM) {
1526 dasm_put(Dst, 6307);
1527 } else if (sse) {
1528 dasm_put(Dst, 6314);
1529 } else {
1531 dasm_put(Dst, 6324, LJ_TISNUM);
1532 if (LJ_DUALNUM) {
1533 dasm_put(Dst, 6332);
1534 } else {
1535 dasm_put(Dst, 2291);
1537 if (sse) {
1538 dasm_put(Dst, 6349, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1539 } else {
1541 dasm_put(Dst, 106);
1542 if (LJ_DUALNUM || sse) {
1543 if (!sse) {
1545 dasm_put(Dst, 6373);
1546 } else {
1548 dasm_put(Dst, 6378);
1549 if (sse) {
1550 dasm_put(Dst, 6381, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1551 } else {
1552 dasm_put(Dst, 6391);
1554 dasm_put(Dst, 2268, LJ_TISNUM);
1555 if (LJ_DUALNUM) {
1556 dasm_put(Dst, 6399);
1557 } else {
1558 dasm_put(Dst, 2291);
1560 if (sse) {
1561 dasm_put(Dst, 6416);
1562 } else {
1564 dasm_put(Dst, 6431, LJ_TISNUM);
1565 if (LJ_DUALNUM) {
1566 dasm_put(Dst, 6456);
1567 } else {
1568 dasm_put(Dst, 6476);
1570 if (sse) {
1571 dasm_put(Dst, 6481);
1572 } else {
1574 dasm_put(Dst, 6498);
1575 if (sse) {
1576 dasm_put(Dst, 6381, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1577 } else {
1578 dasm_put(Dst, 6391);
1580 dasm_put(Dst, 2268, LJ_TISNUM);
1581 if (LJ_DUALNUM) {
1582 dasm_put(Dst, 6399);
1583 } else {
1584 dasm_put(Dst, 2291);
1586 if (sse) {
1587 dasm_put(Dst, 6416);
1588 } else {
1590 dasm_put(Dst, 6431, LJ_TISNUM);
1591 if (LJ_DUALNUM) {
1592 dasm_put(Dst, 6508);
1593 } else {
1594 dasm_put(Dst, 6476);
1596 if (sse) {
1597 dasm_put(Dst, 6528);
1598 } else {
1600 dasm_put(Dst, 6545);
1601 if (sse) {
1602 dasm_put(Dst, 6381, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1603 } else {
1604 dasm_put(Dst, 6391);
1606 dasm_put(Dst, 2268, LJ_TISNUM);
1607 if (LJ_DUALNUM) {
1608 dasm_put(Dst, 6399);
1609 } else {
1610 dasm_put(Dst, 2291);
1612 if (sse) {
1613 dasm_put(Dst, 6416);
1614 } else {
1616 dasm_put(Dst, 6431, LJ_TISNUM);
1617 if (LJ_DUALNUM) {
1618 dasm_put(Dst, 6555);
1619 } else {
1620 dasm_put(Dst, 6476);
1622 if (sse) {
1623 dasm_put(Dst, 6575);
1624 } else {
1626 dasm_put(Dst, 6592, LJ_TISNUM);
1627 if (LJ_DUALNUM) {
1628 dasm_put(Dst, 6399);
1629 } else {
1630 dasm_put(Dst, 2291);
1632 if (sse) {
1633 dasm_put(Dst, 6349, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1634 } else {
1636 dasm_put(Dst, 6607, LJ_TISNUM);
1637 if (LJ_DUALNUM) {
1638 dasm_put(Dst, 6399);
1639 } else {
1640 dasm_put(Dst, 2291);
1642 if (sse) {
1643 dasm_put(Dst, 6349, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1644 } else {
1646 dasm_put(Dst, 6623);
1647 if (LJ_DUALNUM) {
1648 dasm_put(Dst, 6373);
1649 } else if (sse) {
1650 dasm_put(Dst, 6629);
1651 } else {
1653 dasm_put(Dst, 6641);
1654 if (LJ_DUALNUM) {
1655 dasm_put(Dst, 6652, LJ_TISNUM);
1656 if (LJ_DUALNUM) {
1657 dasm_put(Dst, 6399);
1658 } else {
1659 dasm_put(Dst, 2291);
1661 if (sse) {
1662 dasm_put(Dst, 6349, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1663 } else {
1665 dasm_put(Dst, 6660, LJ_TISNUM);
1666 } else if (sse) {
1667 dasm_put(Dst, 6675, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1668 } else {
1670 dasm_put(Dst, 6742);
1671 if (LJ_DUALNUM) {
1672 dasm_put(Dst, 6749, LJ_TISNUM);
1673 if (LJ_DUALNUM) {
1674 dasm_put(Dst, 6399);
1675 } else {
1676 dasm_put(Dst, 2291);
1678 if (sse) {
1679 dasm_put(Dst, 6349, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1680 } else {
1682 dasm_put(Dst, 6660, LJ_TISNUM);
1683 } else if (sse) {
1684 dasm_put(Dst, 6757, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1685 } else {
1687 dasm_put(Dst, 6824);
1688 if (LJ_DUALNUM) {
1689 dasm_put(Dst, 6832, LJ_TISNUM);
1690 if (LJ_DUALNUM) {
1691 dasm_put(Dst, 6399);
1692 } else {
1693 dasm_put(Dst, 2291);
1695 if (sse) {
1696 dasm_put(Dst, 6349, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1697 } else {
1699 dasm_put(Dst, 6660, LJ_TISNUM);
1700 } else if (sse) {
1701 dasm_put(Dst, 6840, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1702 } else {
1704 dasm_put(Dst, 6907);
1705 if (LJ_DUALNUM) {
1706 dasm_put(Dst, 6915, LJ_TISNUM);
1707 if (LJ_DUALNUM) {
1708 dasm_put(Dst, 6399);
1709 } else {
1710 dasm_put(Dst, 2291);
1712 if (sse) {
1713 dasm_put(Dst, 6349, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1714 } else {
1716 dasm_put(Dst, 6660, LJ_TISNUM);
1717 } else if (sse) {
1718 dasm_put(Dst, 6923, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1719 } else {
1721 dasm_put(Dst, 6990);
1722 if (LJ_DUALNUM) {
1723 dasm_put(Dst, 6997, LJ_TISNUM);
1724 if (LJ_DUALNUM) {
1725 dasm_put(Dst, 6399);
1726 } else {
1727 dasm_put(Dst, 2291);
1729 if (sse) {
1730 dasm_put(Dst, 6349, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1731 } else {
1733 dasm_put(Dst, 6660, LJ_TISNUM);
1734 } else if (sse) {
1735 dasm_put(Dst, 7005, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1736 } else {
1738 dasm_put(Dst, 7072, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1739 dasm_put(Dst, 7148, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base));
1740 dasm_put(Dst, 7275, Dt1(->top), Dt1(->base), Dt1(->top));
1741 #if LJ_HASJIT
1742 dasm_put(Dst, 7314, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1743 #endif
1744 dasm_put(Dst, 7347, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE);
1745 dasm_put(Dst, 7401, Dt1(->base), Dt1(->base), GG_DISP2STATIC);
1746 #if LJ_HASJIT
1747 dasm_put(Dst, 7468, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L));
1748 #endif
1749 dasm_put(Dst, 7515);
1750 #if LJ_HASJIT
1751 dasm_put(Dst, 7342);
1752 #endif
1753 dasm_put(Dst, 7522);
1754 #if LJ_HASJIT
1755 dasm_put(Dst, 7525);
1756 #endif
1757 dasm_put(Dst, 7535, Dt1(->base), Dt1(->top));
1758 #if LJ_HASJIT
1759 dasm_put(Dst, 7568);
1760 #endif
1761 dasm_put(Dst, 7573, Dt1(->base), Dt1(->top));
1762 #if LJ_HASJIT
1763 dasm_put(Dst, 7604, 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);
1764 #endif
1765 dasm_put(Dst, 7843);
1766 #if LJ_HASJIT
1767 dasm_put(Dst, 7846, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF);
1768 #endif
1769 dasm_put(Dst, 7946);
1770 if (!sse) {
1771 dasm_put(Dst, 7949);
1773 dasm_put(Dst, 7994, (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));
1774 if (!sse) {
1775 dasm_put(Dst, 8080);
1777 dasm_put(Dst, 8125, (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));
1778 if (!sse) {
1779 dasm_put(Dst, 8211);
1781 dasm_put(Dst, 8250, (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));
1782 if (sse) {
1783 dasm_put(Dst, 8339, (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));
1784 } else {
1785 dasm_put(Dst, 8453);
1787 dasm_put(Dst, 8500);
1788 if (!sse) {
1789 } else {
1790 dasm_put(Dst, 8577);
1792 dasm_put(Dst, 8580);
1793 dasm_put(Dst, 8665, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1794 dasm_put(Dst, 8768, (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));
1795 dasm_put(Dst, 8930);
1796 #if LJ_HASJIT
1797 if (sse) {
1798 dasm_put(Dst, 8971);
1799 dasm_put(Dst, 9041);
1800 dasm_put(Dst, 9113);
1801 } else {
1802 dasm_put(Dst, 9165);
1803 dasm_put(Dst, 9257);
1805 dasm_put(Dst, 9303);
1806 #endif
1807 dasm_put(Dst, 9307);
1808 if (sse) {
1809 dasm_put(Dst, 9310, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1810 dasm_put(Dst, 9395, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1811 } else {
1812 dasm_put(Dst, 9523);
1813 dasm_put(Dst, 9606);
1814 if (cmov) {
1815 dasm_put(Dst, 9661);
1816 } else {
1817 dasm_put(Dst, 9680);
1819 dasm_put(Dst, 9303);
1821 dasm_put(Dst, 9721);
1822 #if LJ_HASFFI
1823 #define DtE(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
1824 dasm_put(Dst, 9745, DtE(->spadj));
1825 #if LJ_TARGET_WINDOWS
1826 #endif
1827 dasm_put(Dst, 9761, 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]));
1828 dasm_put(Dst, 9840, 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]));
1829 #if LJ_TARGET_WINDOWS
1830 #endif
1831 dasm_put(Dst, 9895);
1832 #endif
1833 dasm_put(Dst, 9903);
1834 #ifdef LUA_USE_ASSERT
1835 dasm_put(Dst, 9305);
1836 #endif
1837 dasm_put(Dst, 9305);
1840 /* Generate the code for a single instruction. */
1841 static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1843 int vk = 0;
1844 dasm_put(Dst, 9906, defop);
1846 switch (op) {
1848 /* -- Comparison ops ---------------------------------------------------- */
1850 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1853 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1854 if (LJ_DUALNUM) {
1855 dasm_put(Dst, 9908, LJ_TISNUM, LJ_TISNUM);
1856 switch (op) {
1857 case BC_ISLT:
1858 dasm_put(Dst, 9938);
1859 break;
1860 case BC_ISGE:
1861 dasm_put(Dst, 9943);
1862 break;
1863 case BC_ISLE:
1864 dasm_put(Dst, 9948);
1865 break;
1866 case BC_ISGT:
1867 dasm_put(Dst, 9953);
1868 break;
1869 default: break; /* Shut up GCC. */
1871 dasm_put(Dst, 9958, -BCBIAS_J*4, LJ_TISNUM);
1872 if (sse) {
1873 dasm_put(Dst, 10013);
1874 } else {
1875 dasm_put(Dst, 10024);
1877 dasm_put(Dst, 10035);
1878 if (sse) {
1879 dasm_put(Dst, 10042);
1880 switch (op) {
1881 case BC_ISLT:
1882 dasm_put(Dst, 10062);
1883 break;
1884 case BC_ISGE:
1885 dasm_put(Dst, 10067);
1886 break;
1887 case BC_ISLE:
1888 dasm_put(Dst, 10072);
1889 break;
1890 case BC_ISGT:
1891 dasm_put(Dst, 10077);
1892 break;
1893 default: break; /* Shut up GCC. */
1895 dasm_put(Dst, 10082);
1896 } else {
1897 dasm_put(Dst, 10087);
1899 } else {
1900 dasm_put(Dst, 10095, LJ_TISNUM, LJ_TISNUM);
1902 if (sse) {
1903 dasm_put(Dst, 10116);
1904 } else {
1905 dasm_put(Dst, 10137);
1906 if (cmov) {
1907 dasm_put(Dst, 10153);
1908 } else {
1909 dasm_put(Dst, 10159);
1912 if (LJ_DUALNUM) {
1913 switch (op) {
1914 case BC_ISLT:
1915 dasm_put(Dst, 10062);
1916 break;
1917 case BC_ISGE:
1918 dasm_put(Dst, 10067);
1919 break;
1920 case BC_ISLE:
1921 dasm_put(Dst, 10072);
1922 break;
1923 case BC_ISGT:
1924 dasm_put(Dst, 10077);
1925 break;
1926 default: break; /* Shut up GCC. */
1928 dasm_put(Dst, 10082);
1929 } else {
1930 switch (op) {
1931 case BC_ISLT:
1932 dasm_put(Dst, 10166);
1933 break;
1934 case BC_ISGE:
1935 dasm_put(Dst, 10171);
1936 break;
1937 case BC_ISLE:
1938 dasm_put(Dst, 10176);
1939 break;
1940 case BC_ISGT:
1941 dasm_put(Dst, 10181);
1942 break;
1943 default: break; /* Shut up GCC. */
1945 dasm_put(Dst, 10186, -BCBIAS_J*4);
1947 break;
1949 case BC_ISEQV: case BC_ISNEV:
1950 vk = op == BC_ISEQV;
1951 dasm_put(Dst, 10219);
1952 if (LJ_DUALNUM) {
1953 dasm_put(Dst, 10227, LJ_TISNUM, LJ_TISNUM);
1954 if (vk) {
1955 dasm_put(Dst, 10252);
1956 } else {
1957 dasm_put(Dst, 10257);
1959 dasm_put(Dst, 10262, -BCBIAS_J*4, LJ_TISNUM);
1960 if (sse) {
1961 dasm_put(Dst, 10315);
1962 } else {
1963 dasm_put(Dst, 10322);
1965 dasm_put(Dst, 10326);
1966 if (sse) {
1967 dasm_put(Dst, 10337);
1968 } else {
1969 dasm_put(Dst, 10349);
1971 dasm_put(Dst, 10356);
1972 } else {
1973 dasm_put(Dst, 10361, LJ_TISNUM, LJ_TISNUM);
1975 if (sse) {
1976 dasm_put(Dst, 10380);
1977 } else {
1978 dasm_put(Dst, 10398);
1979 if (cmov) {
1980 dasm_put(Dst, 10153);
1981 } else {
1982 dasm_put(Dst, 10159);
1985 iseqne_fp:
1986 if (vk) {
1987 dasm_put(Dst, 10411);
1988 } else {
1989 dasm_put(Dst, 10420);
1991 iseqne_end:
1992 if (vk) {
1993 dasm_put(Dst, 10429, -BCBIAS_J*4);
1994 if (!LJ_HASFFI) {
1995 dasm_put(Dst, 4655);
1997 } else {
1998 if (!LJ_HASFFI) {
1999 dasm_put(Dst, 4655);
2001 dasm_put(Dst, 10444, -BCBIAS_J*4);
2003 if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV ||
2004 op == BC_ISEQN || op == BC_ISNEN)) {
2005 dasm_put(Dst, 10459);
2006 } else {
2007 dasm_put(Dst, 10198);
2009 if (op == BC_ISEQV || op == BC_ISNEV) {
2010 dasm_put(Dst, 10464);
2011 if (LJ_HASFFI) {
2012 dasm_put(Dst, 10467, LJ_TCDATA, LJ_TCDATA);
2014 dasm_put(Dst, 10486, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
2015 if (vk) {
2016 dasm_put(Dst, 10542);
2017 } else {
2018 dasm_put(Dst, 10546);
2020 dasm_put(Dst, 10552);
2021 } else if (LJ_HASFFI) {
2022 dasm_put(Dst, 10557, LJ_TCDATA);
2023 if (LJ_DUALNUM && vk) {
2024 dasm_put(Dst, 10564);
2025 } else {
2026 dasm_put(Dst, 10537);
2028 dasm_put(Dst, 10569);
2030 break;
2031 case BC_ISEQS: case BC_ISNES:
2032 vk = op == BC_ISEQS;
2033 dasm_put(Dst, 10574, LJ_TSTR);
2034 iseqne_test:
2035 if (vk) {
2036 dasm_put(Dst, 10415);
2037 } else {
2038 dasm_put(Dst, 814);
2040 goto iseqne_end;
2041 case BC_ISEQN: case BC_ISNEN:
2042 vk = op == BC_ISEQN;
2043 dasm_put(Dst, 10601);
2044 if (LJ_DUALNUM) {
2045 dasm_put(Dst, 10609, LJ_TISNUM, LJ_TISNUM);
2046 if (vk) {
2047 dasm_put(Dst, 10252);
2048 } else {
2049 dasm_put(Dst, 10257);
2051 dasm_put(Dst, 10636, -BCBIAS_J*4, LJ_TISNUM);
2052 if (sse) {
2053 dasm_put(Dst, 10686);
2054 } else {
2055 dasm_put(Dst, 10694);
2057 dasm_put(Dst, 10699);
2058 if (sse) {
2059 dasm_put(Dst, 10706);
2060 } else {
2061 dasm_put(Dst, 10719);
2063 dasm_put(Dst, 10356);
2064 } else {
2065 dasm_put(Dst, 10727, LJ_TISNUM);
2067 if (sse) {
2068 dasm_put(Dst, 10736);
2069 } else {
2070 dasm_put(Dst, 10755);
2071 if (cmov) {
2072 dasm_put(Dst, 10153);
2073 } else {
2074 dasm_put(Dst, 10159);
2077 goto iseqne_fp;
2078 case BC_ISEQP: case BC_ISNEP:
2079 vk = op == BC_ISEQP;
2080 dasm_put(Dst, 10769);
2081 if (!LJ_HASFFI) goto iseqne_test;
2082 if (vk) {
2083 dasm_put(Dst, 10783, -BCBIAS_J*4, LJ_TCDATA);
2084 } else {
2085 dasm_put(Dst, 10834, LJ_TCDATA, -BCBIAS_J*4);
2087 break;
2089 /* -- Unary test and copy ops ------------------------------------------- */
2091 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
2092 dasm_put(Dst, 10879, LJ_TISTRUECOND);
2093 if (op == BC_IST || op == BC_ISTC) {
2094 dasm_put(Dst, 10181);
2095 } else {
2096 dasm_put(Dst, 10176);
2098 if (op == BC_ISTC || op == BC_ISFC) {
2099 dasm_put(Dst, 10891);
2101 dasm_put(Dst, 10186, -BCBIAS_J*4);
2102 break;
2104 /* -- Unary ops --------------------------------------------------------- */
2106 case BC_MOV:
2107 dasm_put(Dst, 10902);
2108 break;
2109 case BC_NOT:
2110 dasm_put(Dst, 10931, LJ_TISTRUECOND, LJ_TTRUE);
2111 break;
2112 case BC_UNM:
2113 if (LJ_DUALNUM) {
2114 dasm_put(Dst, 10968, LJ_TISNUM, LJ_TISNUM);
2115 } else {
2116 dasm_put(Dst, 11046, LJ_TISNUM);
2118 if (sse) {
2119 dasm_put(Dst, 11057, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
2120 } else {
2121 dasm_put(Dst, 11082);
2123 if (LJ_DUALNUM) {
2124 dasm_put(Dst, 10459);
2125 } else {
2126 dasm_put(Dst, 10198);
2128 break;
2129 case BC_LEN:
2130 dasm_put(Dst, 11091, LJ_TSTR);
2131 if (LJ_DUALNUM) {
2132 dasm_put(Dst, 11105, Dt5(->len), LJ_TISNUM);
2133 } else if (sse) {
2134 dasm_put(Dst, 11119, Dt5(->len));
2135 } else {
2136 dasm_put(Dst, 11137, Dt5(->len));
2138 dasm_put(Dst, 11146, LJ_TTAB);
2139 if (LJ_DUALNUM) {
2140 } else if (sse) {
2141 dasm_put(Dst, 11188);
2142 } else {
2144 dasm_put(Dst, 11194);
2145 break;
2147 /* -- Binary ops -------------------------------------------------------- */
2150 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
2151 if (LJ_DUALNUM) {
2152 dasm_put(Dst, 11207);
2153 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2154 switch (vk) {
2155 case 0:
2156 dasm_put(Dst, 11215, LJ_TISNUM, LJ_TISNUM);
2157 break;
2158 case 1:
2159 dasm_put(Dst, 11250, LJ_TISNUM, LJ_TISNUM);
2160 break;
2161 default:
2162 dasm_put(Dst, 11285, LJ_TISNUM, LJ_TISNUM);
2163 break;
2165 dasm_put(Dst, 11318, LJ_TISNUM);
2166 if (vk == 1) {
2167 dasm_put(Dst, 11115);
2168 } else {
2169 dasm_put(Dst, 10898);
2171 dasm_put(Dst, 10198);
2172 } else {
2173 dasm_put(Dst, 11207);
2174 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2175 switch (vk) {
2176 case 0:
2177 dasm_put(Dst, 11324, LJ_TISNUM);
2178 if (LJ_DUALNUM) {
2179 dasm_put(Dst, 11336, LJ_TISNUM);
2181 if (sse) {
2182 dasm_put(Dst, 11348);
2183 } else {
2184 dasm_put(Dst, 11363);
2186 break;
2187 case 1:
2188 dasm_put(Dst, 11372, LJ_TISNUM);
2189 if (LJ_DUALNUM) {
2190 dasm_put(Dst, 11384, LJ_TISNUM);
2192 if (sse) {
2193 dasm_put(Dst, 11396);
2194 } else {
2195 dasm_put(Dst, 11411);
2197 break;
2198 default:
2199 dasm_put(Dst, 11420, LJ_TISNUM, LJ_TISNUM);
2200 if (sse) {
2201 dasm_put(Dst, 11442);
2202 } else {
2203 dasm_put(Dst, 11456);
2205 break;
2207 if (sse) {
2208 dasm_put(Dst, 11075);
2209 } else {
2210 dasm_put(Dst, 11087);
2212 dasm_put(Dst, 10198);
2214 break;
2215 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
2216 if (LJ_DUALNUM) {
2217 dasm_put(Dst, 11207);
2218 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2219 switch (vk) {
2220 case 0:
2221 dasm_put(Dst, 11464, LJ_TISNUM, LJ_TISNUM);
2222 break;
2223 case 1:
2224 dasm_put(Dst, 11499, LJ_TISNUM, LJ_TISNUM);
2225 break;
2226 default:
2227 dasm_put(Dst, 11534, LJ_TISNUM, LJ_TISNUM);
2228 break;
2230 dasm_put(Dst, 11318, LJ_TISNUM);
2231 if (vk == 1) {
2232 dasm_put(Dst, 11115);
2233 } else {
2234 dasm_put(Dst, 10898);
2236 dasm_put(Dst, 10198);
2237 } else {
2238 dasm_put(Dst, 11207);
2239 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2240 switch (vk) {
2241 case 0:
2242 dasm_put(Dst, 11324, LJ_TISNUM);
2243 if (LJ_DUALNUM) {
2244 dasm_put(Dst, 11336, LJ_TISNUM);
2246 if (sse) {
2247 dasm_put(Dst, 11567);
2248 } else {
2249 dasm_put(Dst, 11582);
2251 break;
2252 case 1:
2253 dasm_put(Dst, 11372, LJ_TISNUM);
2254 if (LJ_DUALNUM) {
2255 dasm_put(Dst, 11384, LJ_TISNUM);
2257 if (sse) {
2258 dasm_put(Dst, 11591);
2259 } else {
2260 dasm_put(Dst, 11606);
2262 break;
2263 default:
2264 dasm_put(Dst, 11420, LJ_TISNUM, LJ_TISNUM);
2265 if (sse) {
2266 dasm_put(Dst, 11615);
2267 } else {
2268 dasm_put(Dst, 11629);
2270 break;
2272 if (sse) {
2273 dasm_put(Dst, 11075);
2274 } else {
2275 dasm_put(Dst, 11087);
2277 dasm_put(Dst, 10198);
2279 break;
2280 case BC_MULVN: case BC_MULNV: case BC_MULVV:
2281 if (LJ_DUALNUM) {
2282 dasm_put(Dst, 11207);
2283 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2284 switch (vk) {
2285 case 0:
2286 dasm_put(Dst, 11637, LJ_TISNUM, LJ_TISNUM);
2287 break;
2288 case 1:
2289 dasm_put(Dst, 11673, LJ_TISNUM, LJ_TISNUM);
2290 break;
2291 default:
2292 dasm_put(Dst, 11709, LJ_TISNUM, LJ_TISNUM);
2293 break;
2295 dasm_put(Dst, 11318, LJ_TISNUM);
2296 if (vk == 1) {
2297 dasm_put(Dst, 11115);
2298 } else {
2299 dasm_put(Dst, 10898);
2301 dasm_put(Dst, 10198);
2302 } else {
2303 dasm_put(Dst, 11207);
2304 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2305 switch (vk) {
2306 case 0:
2307 dasm_put(Dst, 11324, LJ_TISNUM);
2308 if (LJ_DUALNUM) {
2309 dasm_put(Dst, 11336, LJ_TISNUM);
2311 if (sse) {
2312 dasm_put(Dst, 11743);
2313 } else {
2314 dasm_put(Dst, 11758);
2316 break;
2317 case 1:
2318 dasm_put(Dst, 11372, LJ_TISNUM);
2319 if (LJ_DUALNUM) {
2320 dasm_put(Dst, 11384, LJ_TISNUM);
2322 if (sse) {
2323 dasm_put(Dst, 11767);
2324 } else {
2325 dasm_put(Dst, 11782);
2327 break;
2328 default:
2329 dasm_put(Dst, 11420, LJ_TISNUM, LJ_TISNUM);
2330 if (sse) {
2331 dasm_put(Dst, 11791);
2332 } else {
2333 dasm_put(Dst, 11805);
2335 break;
2337 if (sse) {
2338 dasm_put(Dst, 11075);
2339 } else {
2340 dasm_put(Dst, 11087);
2342 dasm_put(Dst, 10198);
2344 break;
2345 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
2346 dasm_put(Dst, 11207);
2347 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2348 switch (vk) {
2349 case 0:
2350 dasm_put(Dst, 11324, LJ_TISNUM);
2351 if (LJ_DUALNUM) {
2352 dasm_put(Dst, 11336, LJ_TISNUM);
2354 if (sse) {
2355 dasm_put(Dst, 11813);
2356 } else {
2357 dasm_put(Dst, 11828);
2359 break;
2360 case 1:
2361 dasm_put(Dst, 11372, LJ_TISNUM);
2362 if (LJ_DUALNUM) {
2363 dasm_put(Dst, 11384, LJ_TISNUM);
2365 if (sse) {
2366 dasm_put(Dst, 11837);
2367 } else {
2368 dasm_put(Dst, 11852);
2370 break;
2371 default:
2372 dasm_put(Dst, 11420, LJ_TISNUM, LJ_TISNUM);
2373 if (sse) {
2374 dasm_put(Dst, 11861);
2375 } else {
2376 dasm_put(Dst, 11875);
2378 break;
2380 if (sse) {
2381 dasm_put(Dst, 11075);
2382 } else {
2383 dasm_put(Dst, 11087);
2385 dasm_put(Dst, 10198);
2386 break;
2387 case BC_MODVN:
2388 dasm_put(Dst, 11207);
2389 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2390 switch (vk) {
2391 case 0:
2392 dasm_put(Dst, 11324, LJ_TISNUM);
2393 if (LJ_DUALNUM) {
2394 dasm_put(Dst, 11336, LJ_TISNUM);
2396 if (sse) {
2397 dasm_put(Dst, 11883);
2398 } else {
2399 dasm_put(Dst, 11898);
2401 break;
2402 case 1:
2403 dasm_put(Dst, 11372, LJ_TISNUM);
2404 if (LJ_DUALNUM) {
2405 dasm_put(Dst, 11384, LJ_TISNUM);
2407 if (sse) {
2408 dasm_put(Dst, 11907);
2409 } else {
2410 dasm_put(Dst, 11922);
2412 break;
2413 default:
2414 dasm_put(Dst, 11420, LJ_TISNUM, LJ_TISNUM);
2415 if (sse) {
2416 dasm_put(Dst, 11931);
2417 } else {
2418 dasm_put(Dst, 11945);
2420 break;
2422 dasm_put(Dst, 11953);
2423 if (sse) {
2424 dasm_put(Dst, 11075);
2425 } else {
2426 dasm_put(Dst, 11087);
2428 dasm_put(Dst, 10198);
2429 break;
2430 case BC_MODNV: case BC_MODVV:
2431 dasm_put(Dst, 11207);
2432 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2433 switch (vk) {
2434 case 0:
2435 dasm_put(Dst, 11324, LJ_TISNUM);
2436 if (LJ_DUALNUM) {
2437 dasm_put(Dst, 11336, LJ_TISNUM);
2439 if (sse) {
2440 dasm_put(Dst, 11883);
2441 } else {
2442 dasm_put(Dst, 11898);
2444 break;
2445 case 1:
2446 dasm_put(Dst, 11372, LJ_TISNUM);
2447 if (LJ_DUALNUM) {
2448 dasm_put(Dst, 11384, LJ_TISNUM);
2450 if (sse) {
2451 dasm_put(Dst, 11907);
2452 } else {
2453 dasm_put(Dst, 11922);
2455 break;
2456 default:
2457 dasm_put(Dst, 11420, LJ_TISNUM, LJ_TISNUM);
2458 if (sse) {
2459 dasm_put(Dst, 11931);
2460 } else {
2461 dasm_put(Dst, 11945);
2463 break;
2465 dasm_put(Dst, 11959);
2466 break;
2467 case BC_POW:
2468 dasm_put(Dst, 11207);
2469 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2470 switch (vk) {
2471 case 0:
2472 dasm_put(Dst, 11324, LJ_TISNUM);
2473 if (LJ_DUALNUM) {
2474 dasm_put(Dst, 11336, LJ_TISNUM);
2476 if (sse) {
2477 dasm_put(Dst, 11883);
2478 } else {
2479 dasm_put(Dst, 11898);
2481 break;
2482 case 1:
2483 dasm_put(Dst, 11372, LJ_TISNUM);
2484 if (LJ_DUALNUM) {
2485 dasm_put(Dst, 11384, LJ_TISNUM);
2487 if (sse) {
2488 dasm_put(Dst, 11907);
2489 } else {
2490 dasm_put(Dst, 11922);
2492 break;
2493 default:
2494 dasm_put(Dst, 11420, LJ_TISNUM, LJ_TISNUM);
2495 if (sse) {
2496 dasm_put(Dst, 11931);
2497 } else {
2498 dasm_put(Dst, 11945);
2500 break;
2502 dasm_put(Dst, 11964);
2503 if (sse) {
2504 dasm_put(Dst, 11075);
2505 } else {
2506 dasm_put(Dst, 11087);
2508 dasm_put(Dst, 10198);
2509 break;
2511 case BC_CAT:
2512 dasm_put(Dst, 11968, Dt1(->base), Dt1(->base));
2513 break;
2515 /* -- Constant ops ------------------------------------------------------ */
2517 case BC_KSTR:
2518 dasm_put(Dst, 12052, LJ_TSTR);
2519 break;
2520 case BC_KCDATA:
2521 #if LJ_HASFFI
2522 dasm_put(Dst, 12052, LJ_TCDATA);
2523 #endif
2524 break;
2525 case BC_KSHORT:
2526 if (LJ_DUALNUM) {
2527 dasm_put(Dst, 12089, LJ_TISNUM);
2528 } else if (sse) {
2529 dasm_put(Dst, 12101);
2530 } else {
2531 dasm_put(Dst, 12116);
2533 dasm_put(Dst, 10198);
2534 break;
2535 case BC_KNUM:
2536 if (sse) {
2537 dasm_put(Dst, 12124);
2538 } else {
2539 dasm_put(Dst, 12138);
2541 dasm_put(Dst, 10198);
2542 break;
2543 case BC_KPRI:
2544 dasm_put(Dst, 12146);
2545 break;
2546 case BC_KNIL:
2547 dasm_put(Dst, 12175, LJ_TNIL);
2548 break;
2550 /* -- Upvalue and function ops ------------------------------------------ */
2552 case BC_UGET:
2553 dasm_put(Dst, 12223, offsetof(GCfuncL, uvptr), DtA(->v));
2554 break;
2555 case BC_USETV:
2556 #define TV2MARKOFS \
2557 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2558 dasm_put(Dst, 12264, 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);
2559 dasm_put(Dst, 12360);
2560 break;
2561 #undef TV2MARKOFS
2562 case BC_USETS:
2563 dasm_put(Dst, 12372, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2564 break;
2565 case BC_USETN:
2566 dasm_put(Dst, 12468);
2567 if (sse) {
2568 dasm_put(Dst, 12473);
2569 } else {
2570 dasm_put(Dst, 10722);
2572 dasm_put(Dst, 12481, offsetof(GCfuncL, uvptr), DtA(->v));
2573 if (sse) {
2574 dasm_put(Dst, 12490);
2575 } else {
2576 dasm_put(Dst, 12496);
2578 dasm_put(Dst, 10198);
2579 break;
2580 case BC_USETP:
2581 dasm_put(Dst, 12499, offsetof(GCfuncL, uvptr), DtA(->v));
2582 break;
2583 case BC_UCLO:
2584 dasm_put(Dst, 12539, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2585 break;
2587 case BC_FNEW:
2588 dasm_put(Dst, 12595, Dt1(->base), Dt1(->base), LJ_TFUNC);
2589 break;
2591 /* -- Table ops --------------------------------------------------------- */
2593 case BC_TNEW:
2594 dasm_put(Dst, 12662, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2595 break;
2596 case BC_TDUP:
2597 dasm_put(Dst, 12786, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2598 break;
2600 case BC_GGET:
2601 dasm_put(Dst, 12885, Dt7(->env));
2602 break;
2603 case BC_GSET:
2604 dasm_put(Dst, 12905, Dt7(->env));
2605 break;
2607 case BC_TGETV:
2608 dasm_put(Dst, 12925, LJ_TTAB);
2609 if (LJ_DUALNUM) {
2610 dasm_put(Dst, 12948, LJ_TISNUM);
2611 } else {
2612 dasm_put(Dst, 12962, LJ_TISNUM);
2613 if (sse) {
2614 dasm_put(Dst, 12973);
2615 } else {
2617 dasm_put(Dst, 12994);
2619 dasm_put(Dst, 12999, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index, LJ_TNIL);
2620 dasm_put(Dst, 13091, LJ_TSTR);
2621 break;
2622 case BC_TGETS:
2623 dasm_put(Dst, 13109, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2624 dasm_put(Dst, 13194, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2625 break;
2626 case BC_TGETB:
2627 dasm_put(Dst, 13266, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2628 dasm_put(Dst, 13362, LJ_TNIL);
2629 break;
2631 case BC_TSETV:
2632 dasm_put(Dst, 13379, LJ_TTAB);
2633 if (LJ_DUALNUM) {
2634 dasm_put(Dst, 12948, LJ_TISNUM);
2635 } else {
2636 dasm_put(Dst, 12962, LJ_TISNUM);
2637 if (sse) {
2638 dasm_put(Dst, 12973);
2639 } else {
2641 dasm_put(Dst, 13402);
2643 dasm_put(Dst, 13407, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex);
2644 dasm_put(Dst, 13488, LJ_TSTR, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2645 break;
2646 case BC_TSETS:
2647 dasm_put(Dst, 13547, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2648 dasm_put(Dst, 13624, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2649 dasm_put(Dst, 13711, 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));
2650 break;
2651 case BC_TSETB:
2652 dasm_put(Dst, 13803, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2653 dasm_put(Dst, 13898, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2654 break;
2656 case BC_TSETM:
2657 dasm_put(Dst, 13946, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2658 dasm_put(Dst, 14096, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2659 break;
2661 /* -- Calls and vararg handling ----------------------------------------- */
2663 case BC_CALL: case BC_CALLM:
2664 dasm_put(Dst, 11211);
2665 if (op == BC_CALLM) {
2666 dasm_put(Dst, 14116);
2668 dasm_put(Dst, 14121, LJ_TFUNC, Dt7(->pc));
2669 break;
2671 case BC_CALLMT:
2672 dasm_put(Dst, 14116);
2673 break;
2674 case BC_CALLT:
2675 dasm_put(Dst, 14164, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2676 dasm_put(Dst, 14282, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2677 break;
2679 case BC_ITERC:
2680 dasm_put(Dst, 14356, LJ_TFUNC, 2+1, Dt7(->pc));
2681 break;
2683 case BC_ITERN:
2684 #if LJ_HASJIT
2685 #endif
2686 dasm_put(Dst, 14428, Dt6(->asize), Dt6(->array), LJ_TNIL);
2687 if (LJ_DUALNUM) {
2688 dasm_put(Dst, 11110, LJ_TISNUM);
2689 } else if (sse) {
2690 dasm_put(Dst, 11188);
2691 } else {
2692 dasm_put(Dst, 14480);
2694 dasm_put(Dst, 14486);
2695 if (LJ_DUALNUM) {
2696 } else if (sse) {
2697 dasm_put(Dst, 11075);
2698 } else {
2699 dasm_put(Dst, 11087);
2701 dasm_put(Dst, 14499, -BCBIAS_J*4);
2702 if (!LJ_DUALNUM && !sse) {
2703 dasm_put(Dst, 14553);
2705 dasm_put(Dst, 14559, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key), DtB(->val));
2706 break;
2708 case BC_ISNEXT:
2709 dasm_put(Dst, 14638, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2710 break;
2712 case BC_VARG:
2713 dasm_put(Dst, 14739, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2714 dasm_put(Dst, 14906, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2715 break;
2717 /* -- Returns ----------------------------------------------------------- */
2719 case BC_RETM:
2720 dasm_put(Dst, 14116);
2721 break;
2723 case BC_RET: case BC_RET0: case BC_RET1:
2724 if (op != BC_RET0) {
2725 dasm_put(Dst, 14976);
2727 dasm_put(Dst, 14980, FRAME_TYPE);
2728 switch (op) {
2729 case BC_RET:
2730 dasm_put(Dst, 14999);
2731 break;
2732 case BC_RET1:
2733 dasm_put(Dst, 15053);
2734 /* fallthrough */
2735 case BC_RET0:
2736 dasm_put(Dst, 15063);
2737 default:
2738 break;
2740 dasm_put(Dst, 15074, Dt7(->pc), PC2PROTO(k));
2741 if (op == BC_RET) {
2742 dasm_put(Dst, 15122, LJ_TNIL);
2743 } else {
2744 dasm_put(Dst, 15133, LJ_TNIL);
2746 dasm_put(Dst, 15140, -FRAME_VARG, FRAME_TYPEP);
2747 if (op != BC_RET0) {
2748 dasm_put(Dst, 15164);
2750 dasm_put(Dst, 4732);
2751 break;
2753 /* -- Loops and branches ------------------------------------------------ */
2756 case BC_FORL:
2757 #if LJ_HASJIT
2758 dasm_put(Dst, 15168, HOTCOUNT_PCMASK, GG_DISP2HOT);
2759 #endif
2760 break;
2762 case BC_JFORI:
2763 case BC_JFORL:
2764 #if !LJ_HASJIT
2765 break;
2766 #endif
2767 case BC_FORI:
2768 case BC_IFORL:
2769 vk = (op == BC_IFORL || op == BC_JFORL);
2770 dasm_put(Dst, 15189);
2771 if (LJ_DUALNUM) {
2772 dasm_put(Dst, 15193, LJ_TISNUM);
2773 if (!vk) {
2774 dasm_put(Dst, 15203, LJ_TISNUM, LJ_TISNUM);
2775 } else {
2776 #ifdef LUA_USE_ASSERT
2777 dasm_put(Dst, 15232, LJ_TISNUM, LJ_TISNUM);
2778 #endif
2779 dasm_put(Dst, 15251);
2781 dasm_put(Dst, 15270, LJ_TISNUM);
2782 if (op == BC_FORI) {
2783 dasm_put(Dst, 15281, -BCBIAS_J*4);
2784 } else if (op == BC_JFORI) {
2785 dasm_put(Dst, 15295, -BCBIAS_J*4, BC_JLOOP);
2786 } else if (op == BC_IFORL) {
2787 dasm_put(Dst, 15313, -BCBIAS_J*4);
2788 } else {
2789 dasm_put(Dst, 15305, BC_JLOOP);
2791 dasm_put(Dst, 15327);
2792 if (vk) {
2793 dasm_put(Dst, 15352);
2795 dasm_put(Dst, 15270, LJ_TISNUM);
2796 if (op == BC_FORI) {
2797 dasm_put(Dst, 15361);
2798 } else if (op == BC_JFORI) {
2799 dasm_put(Dst, 15366, -BCBIAS_J*4, BC_JLOOP);
2800 } else if (op == BC_IFORL) {
2801 dasm_put(Dst, 15380);
2802 } else {
2803 dasm_put(Dst, 15376, BC_JLOOP);
2805 dasm_put(Dst, 15385);
2806 } else if (!vk) {
2807 dasm_put(Dst, 15392, LJ_TISNUM);
2809 if (!vk) {
2810 dasm_put(Dst, 15398, LJ_TISNUM);
2811 } else {
2812 #ifdef LUA_USE_ASSERT
2813 dasm_put(Dst, 15412, LJ_TISNUM, LJ_TISNUM);
2814 #endif
2816 dasm_put(Dst, 15431);
2817 if (!vk) {
2818 dasm_put(Dst, 15435, LJ_TISNUM);
2820 if (sse) {
2821 dasm_put(Dst, 15444);
2822 if (vk) {
2823 dasm_put(Dst, 15456);
2824 } else {
2825 dasm_put(Dst, 15475);
2827 dasm_put(Dst, 15480);
2828 } else {
2829 dasm_put(Dst, 15493);
2830 if (vk) {
2831 dasm_put(Dst, 15499);
2832 } else {
2833 dasm_put(Dst, 15515);
2835 dasm_put(Dst, 15523);
2836 if (cmov) {
2837 dasm_put(Dst, 10153);
2838 } else {
2839 dasm_put(Dst, 10159);
2841 if (!cmov) {
2842 dasm_put(Dst, 15528);
2845 if (op == BC_FORI) {
2846 if (LJ_DUALNUM) {
2847 dasm_put(Dst, 15534);
2848 } else {
2849 dasm_put(Dst, 15539, -BCBIAS_J*4);
2851 } else if (op == BC_JFORI) {
2852 dasm_put(Dst, 15549, -BCBIAS_J*4, BC_JLOOP);
2853 } else if (op == BC_IFORL) {
2854 if (LJ_DUALNUM) {
2855 dasm_put(Dst, 15563);
2856 } else {
2857 dasm_put(Dst, 15568, -BCBIAS_J*4);
2859 } else {
2860 dasm_put(Dst, 15559, BC_JLOOP);
2862 if (LJ_DUALNUM) {
2863 dasm_put(Dst, 10082);
2864 } else {
2865 dasm_put(Dst, 10856);
2867 if (sse) {
2868 dasm_put(Dst, 15578);
2870 break;
2872 case BC_ITERL:
2873 #if LJ_HASJIT
2874 dasm_put(Dst, 15168, HOTCOUNT_PCMASK, GG_DISP2HOT);
2875 #endif
2876 break;
2878 case BC_JITERL:
2879 #if !LJ_HASJIT
2880 break;
2881 #endif
2882 case BC_IITERL:
2883 dasm_put(Dst, 15589, LJ_TNIL);
2884 if (op == BC_JITERL) {
2885 dasm_put(Dst, 15604, BC_JLOOP);
2886 } else {
2887 dasm_put(Dst, 15618, -BCBIAS_J*4);
2889 dasm_put(Dst, 10196);
2890 break;
2892 case BC_LOOP:
2893 #if LJ_HASJIT
2894 dasm_put(Dst, 15168, HOTCOUNT_PCMASK, GG_DISP2HOT);
2895 #endif
2896 break;
2898 case BC_ILOOP:
2899 dasm_put(Dst, 10198);
2900 break;
2902 case BC_JLOOP:
2903 #if LJ_HASJIT
2904 dasm_put(Dst, 15634, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
2905 #endif
2906 break;
2908 case BC_JMP:
2909 dasm_put(Dst, 15675, -BCBIAS_J*4);
2910 break;
2912 /* -- Function headers -------------------------------------------------- */
2915 ** Reminder: A function may be called with func/args above L->maxstack,
2916 ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot,
2917 ** too. This means all FUNC* ops (including fast functions) must check
2918 ** for stack overflow _before_ adding more slots!
2921 case BC_FUNCF:
2922 #if LJ_HASJIT
2923 dasm_put(Dst, 15701, HOTCOUNT_PCMASK, GG_DISP2HOT);
2924 #endif
2925 case BC_FUNCV: /* NYI: compiled vararg functions. */
2926 break;
2928 case BC_JFUNCF:
2929 #if !LJ_HASJIT
2930 break;
2931 #endif
2932 case BC_IFUNCF:
2933 dasm_put(Dst, 15722, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
2934 if (op == BC_JFUNCF) {
2935 dasm_put(Dst, 15753, BC_JLOOP);
2936 } else {
2937 dasm_put(Dst, 10198);
2939 dasm_put(Dst, 15762, LJ_TNIL);
2940 break;
2942 case BC_JFUNCV:
2943 #if !LJ_HASJIT
2944 break;
2945 #endif
2946 dasm_put(Dst, 9305);
2947 break; /* NYI: compiled vararg functions. */
2949 case BC_IFUNCV:
2950 dasm_put(Dst, 15784, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
2951 if (op == BC_JFUNCV) {
2952 dasm_put(Dst, 15753, BC_JLOOP);
2953 } else {
2954 dasm_put(Dst, 15881, -4+PC2PROTO(k));
2956 dasm_put(Dst, 15906, LJ_TNIL);
2957 break;
2959 case BC_FUNCC:
2960 case BC_FUNCCW:
2961 dasm_put(Dst, 15928, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
2962 if (op == BC_FUNCC) {
2963 dasm_put(Dst, 2404);
2964 } else {
2965 dasm_put(Dst, 15958);
2967 dasm_put(Dst, 15966, DISPATCH_GL(vmstate), ~LJ_VMST_C);
2968 if (op == BC_FUNCC) {
2969 dasm_put(Dst, 15976);
2970 } else {
2971 dasm_put(Dst, 15981, DISPATCH_GL(wrapf));
2973 dasm_put(Dst, 15987, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
2974 break;
2976 /* ---------------------------------------------------------------------- */
2978 default:
2979 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
2980 exit(2);
2981 break;
2985 static int build_backend(BuildCtx *ctx)
2987 int op;
2988 int cmov = 1;
2989 int sse = 0;
2990 #ifdef LUAJIT_CPU_NOCMOV
2991 cmov = 0;
2992 #endif
2993 #if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
2994 sse = 1;
2995 #endif
2997 dasm_growpc(Dst, BC__MAX);
2999 build_subroutines(ctx, cmov, sse);
3001 dasm_put(Dst, 16013);
3002 for (op = 0; op < BC__MAX; op++)
3003 build_ins(ctx, (BCOp)op, op, cmov, sse);
3005 return BC__MAX;
3008 /* Emit pseudo frame-info for all assembler functions. */
3009 static void emit_asm_debug(BuildCtx *ctx)
3011 #if LJ_64
3012 #define SZPTR "8"
3013 #define BSZPTR "3"
3014 #define REG_SP "0x7"
3015 #define REG_RA "0x10"
3016 #else
3017 #define SZPTR "4"
3018 #define BSZPTR "2"
3019 #define REG_SP "0x4"
3020 #define REG_RA "0x8"
3021 #endif
3022 switch (ctx->mode) {
3023 case BUILD_elfasm:
3024 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
3025 fprintf(ctx->fp,
3026 ".Lframe0:\n"
3027 "\t.long .LECIE0-.LSCIE0\n"
3028 ".LSCIE0:\n"
3029 "\t.long 0xffffffff\n"
3030 "\t.byte 0x1\n"
3031 "\t.string \"\"\n"
3032 "\t.uleb128 0x1\n"
3033 "\t.sleb128 -" SZPTR "\n"
3034 "\t.byte " REG_RA "\n"
3035 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3036 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3037 "\t.align " SZPTR "\n"
3038 ".LECIE0:\n\n");
3039 fprintf(ctx->fp,
3040 ".LSFDE0:\n"
3041 "\t.long .LEFDE0-.LASFDE0\n"
3042 ".LASFDE0:\n"
3043 "\t.long .Lframe0\n"
3044 "\t.long .Lbegin\n"
3045 "\t.long %d\n"
3046 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3047 #if LJ_64
3048 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3049 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3050 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3051 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3052 #else
3053 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3054 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3055 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3056 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3057 #endif
3058 "\t.align " SZPTR "\n"
3059 ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
3060 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
3061 fprintf(ctx->fp,
3062 ".Lframe1:\n"
3063 "\t.long .LECIE1-.LSCIE1\n"
3064 ".LSCIE1:\n"
3065 "\t.long 0\n"
3066 "\t.byte 0x1\n"
3067 "\t.string \"zPR\"\n"
3068 "\t.uleb128 0x1\n"
3069 "\t.sleb128 -" SZPTR "\n"
3070 "\t.byte " REG_RA "\n"
3071 "\t.uleb128 6\n" /* augmentation length */
3072 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3073 "\t.long lj_err_unwind_dwarf-.\n"
3074 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3075 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3076 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3077 "\t.align " SZPTR "\n"
3078 ".LECIE1:\n\n");
3079 fprintf(ctx->fp,
3080 ".LSFDE1:\n"
3081 "\t.long .LEFDE1-.LASFDE1\n"
3082 ".LASFDE1:\n"
3083 "\t.long .LASFDE1-.Lframe1\n"
3084 "\t.long .Lbegin-.\n"
3085 "\t.long %d\n"
3086 "\t.uleb128 0\n" /* augmentation length */
3087 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3088 #if LJ_64
3089 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3090 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3091 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3092 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3093 #else
3094 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3095 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3096 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3097 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3098 #endif
3099 "\t.align " SZPTR "\n"
3100 ".LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
3101 break;
3102 case BUILD_coffasm:
3103 fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n");
3104 fprintf(ctx->fp,
3105 "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n",
3106 LJ_32 ? "_" : "");
3107 fprintf(ctx->fp,
3108 "Lframe1:\n"
3109 "\t.long LECIE1-LSCIE1\n"
3110 "LSCIE1:\n"
3111 "\t.long 0\n"
3112 "\t.byte 0x1\n"
3113 "\t.string \"zP\"\n"
3114 "\t.uleb128 0x1\n"
3115 "\t.sleb128 -" SZPTR "\n"
3116 "\t.byte " REG_RA "\n"
3117 "\t.uleb128 5\n" /* augmentation length */
3118 "\t.byte 0x00\n" /* absptr */
3119 "\t.long %slj_err_unwind_dwarf\n"
3120 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3121 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3122 "\t.align " SZPTR "\n"
3123 "LECIE1:\n\n", LJ_32 ? "_" : "");
3124 fprintf(ctx->fp,
3125 "LSFDE1:\n"
3126 "\t.long LEFDE1-LASFDE1\n"
3127 "LASFDE1:\n"
3128 "\t.long LASFDE1-Lframe1\n"
3129 "\t.long %slj_vm_asm_begin\n"
3130 "\t.long %d\n"
3131 "\t.uleb128 0\n" /* augmentation length */
3132 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3133 #if LJ_64
3134 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3135 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3136 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3137 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3138 #else
3139 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3140 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3141 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3142 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3143 #endif
3144 "\t.align " SZPTR "\n"
3145 "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE);
3146 break;
3147 /* Mental note: never let Apple design an assembler.
3148 ** Or a linker. Or a plastic case. But I digress.
3150 case BUILD_machasm: {
3151 int i;
3152 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
3153 fprintf(ctx->fp,
3154 "EH_frame1:\n"
3155 "\t.set L$set$x,LECIEX-LSCIEX\n"
3156 "\t.long L$set$x\n"
3157 "LSCIEX:\n"
3158 "\t.long 0\n"
3159 "\t.byte 0x1\n"
3160 "\t.ascii \"zPR\\0\"\n"
3161 "\t.byte 0x1\n"
3162 "\t.byte 128-" SZPTR "\n"
3163 "\t.byte " REG_RA "\n"
3164 "\t.byte 6\n" /* augmentation length */
3165 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
3166 #if LJ_64
3167 "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n"
3168 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3169 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3170 #else
3171 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
3172 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3173 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
3174 #endif
3175 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3176 "\t.align " BSZPTR "\n"
3177 "LECIEX:\n\n");
3178 for (i = 0; i < ctx->nsym; i++) {
3179 const char *name = ctx->sym[i].name;
3180 int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
3181 if (size == 0) continue;
3182 fprintf(ctx->fp,
3183 "%s.eh:\n"
3184 "LSFDE%d:\n"
3185 "\t.set L$set$%d,LEFDE%d-LASFDE%d\n"
3186 "\t.long L$set$%d\n"
3187 "LASFDE%d:\n"
3188 "\t.long LASFDE%d-EH_frame1\n"
3189 "\t.long %s-.\n"
3190 "\t.long %d\n"
3191 "\t.byte 0\n" /* augmentation length */
3192 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
3193 #if LJ_64
3194 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3195 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3196 "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */
3197 "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */
3198 #else
3199 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3200 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
3201 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
3202 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
3203 #endif
3204 "\t.align " BSZPTR "\n"
3205 "LEFDE%d:\n\n",
3206 name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i);
3208 #if LJ_64
3209 fprintf(ctx->fp, "\t.subsections_via_symbols\n");
3210 #else
3211 fprintf(ctx->fp,
3212 "\t.non_lazy_symbol_pointer\n"
3213 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
3214 ".indirect_symbol _lj_err_unwind_dwarf\n"
3215 ".long 0\n");
3216 #endif
3218 break;
3219 default: /* Difficult for other modes. */
3220 break;