Move math helpers to lj_vmmath.c. Add missing log2/exp2 for Symbian.
[luajit-2.0.git] / src / buildvm_x64win.h
blob9dbad9a393a505291bd75d8621362651e8f69544
1 /*
2 ** This file has been pre-processed with DynASM.
3 ** http://luajit.org/dynasm.html
4 ** DynASM version 1.3.0, DynASM x64 version 1.3.0
5 ** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
6 */
8 #if DASM_VERSION != 10300
9 #error "Version mismatch between DynASM and included encoding engine"
10 #endif
12 #define DASM_SECTION_CODE_OP 0
13 #define DASM_SECTION_CODE_SUB 1
14 #define DASM_MAXSECTION 2
15 static const unsigned char build_actionlist[15958] = {
16 254,1,248,10,252,247,198,237,15,132,244,11,131,230,252,248,41,252,242,72,
17 141,76,49,252,248,139,114,252,252,199,68,10,4,237,248,12,131,192,1,137,68,
18 36,84,252,247,198,237,15,132,244,13,248,14,129,252,246,239,252,247,198,237,
19 15,133,244,10,199,131,233,237,131,230,252,248,41,214,252,247,222,131,232,
20 1,15,132,244,248,248,1,72,139,44,10,72,137,106,252,248,131,194,8,131,232,
21 1,15,133,244,1,248,2,255,139,108,36,96,137,181,233,248,3,139,68,36,84,139,
22 76,36,88,248,4,57,193,15,133,244,252,248,5,131,252,234,8,137,149,233,248,
23 15,72,139,76,36,104,72,137,141,233,49,192,248,16,72,131,196,40,91,94,95,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,84,137,202,137,252,233,232,
27 251,1,0,139,149,233,252,233,244,3,248,17,137,208,72,137,204,248,18,139,108,
28 36,96,139,173,233,199,133,233,237,252,233,244,16,248,19,248,20,72,129,225,
29 239,72,137,204,248,21,255,139,108,36,96,72,199,193,252,248,252,255,252,255,
30 252,255,184,237,139,149,233,139,157,233,129,195,239,139,114,252,252,199,66,
31 252,252,237,199,131,233,237,252,233,244,12,248,22,186,237,252,233,244,248,
32 248,23,131,232,8,252,233,244,247,248,24,141,68,194,252,248,248,1,15,182,142,
33 233,131,198,4,137,149,233,255,137,133,233,137,116,36,100,137,202,248,2,137,
34 252,233,232,251,1,0,139,149,233,139,133,233,139,106,252,248,41,208,193,232,
35 3,131,192,1,139,181,233,139,14,15,182,252,233,15,182,205,131,198,4,252,255,
36 36,252,235,248,25,85,87,86,83,72,131,252,236,40,137,205,137,76,36,96,137,
37 209,190,237,49,192,72,141,188,253,36,233,139,157,233,129,195,239,72,137,189,
38 233,137,68,36,100,72,137,68,36,104,137,68,36,88,137,68,36,92,56,133,233,15,
39 132,244,249,199,131,233,237,136,133,233,139,149,233,139,133,233,41,200,193,
40 232,3,131,192,1,41,209,139,114,252,252,137,68,36,84,252,247,198,237,255,15,
41 132,244,13,252,233,244,14,248,26,85,87,86,83,72,131,252,236,40,190,237,68,
42 137,76,36,92,252,233,244,247,248,27,85,87,86,83,72,131,252,236,40,190,237,
43 248,1,68,137,68,36,88,137,205,137,76,36,96,137,209,72,139,189,233,72,137,
44 124,36,104,137,108,36,100,72,137,165,233,248,2,139,157,233,129,195,239,248,
45 3,199,131,233,237,139,149,233,255,1,206,41,214,139,133,233,41,200,193,232,
46 3,131,192,1,248,28,139,105,252,248,129,121,253,252,252,239,15,133,244,29,
47 248,30,137,202,137,114,252,252,139,181,233,139,14,15,182,252,233,15,182,205,
48 131,198,4,252,255,36,252,235,248,31,85,87,86,83,72,131,252,236,40,137,205,
49 137,76,36,96,137,108,36,100,139,189,233,43,189,233,199,68,36,92,0,0,0,0,137,
50 124,36,88,72,139,189,233,72,137,124,36,104,72,137,165,233,65,252,255,209,
51 133,192,15,132,244,15,137,193,190,237,252,233,244,2,248,11,1,209,131,230,
52 252,248,137,213,41,252,242,199,68,193,252,252,237,137,200,139,117,252,244,
53 72,99,77,252,240,133,201,15,132,244,247,255,72,141,61,245,72,1,252,249,139,
54 122,252,248,139,191,233,139,191,233,252,255,225,248,1,41,213,193,252,237,
55 3,141,69,252,255,252,233,244,32,248,33,15,182,78,252,255,131,252,237,16,141,
56 12,202,41,252,233,15,132,244,34,252,247,217,193,252,233,3,65,137,200,139,
57 76,36,96,137,145,233,72,139,0,72,137,69,0,137,252,234,252,233,244,35,248,
58 36,137,68,36,80,199,68,36,84,237,72,141,68,36,80,128,126,252,252,235,15,133,
59 244,247,141,139,233,137,41,199,65,4,237,255,137,205,252,233,244,248,248,37,
60 15,182,70,252,254,255,199,68,36,84,237,137,68,36,80,255,252,242,15,42,192,
61 252,242,15,17,68,36,80,255,72,141,68,36,80,252,233,244,247,248,38,15,182,
62 70,252,254,141,4,194,248,1,15,182,110,252,255,141,44,252,234,248,2,139,76,
63 36,96,137,145,233,137,252,234,73,137,192,137,205,137,116,36,100,232,251,1,
64 1,139,149,233,133,192,15,132,244,249,248,34,15,182,78,252,253,72,139,40,72,
65 137,44,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
66 235,248,3,139,141,233,137,113,252,244,141,177,233,41,214,139,105,252,248,
67 184,237,252,233,244,30,248,39,137,68,36,80,199,68,36,84,237,72,141,68,36,
68 80,128,126,252,252,235,15,133,244,247,255,141,139,233,137,41,199,65,4,237,
69 137,205,252,233,244,248,248,40,15,182,70,252,254,255,72,141,68,36,80,252,
70 233,244,247,248,41,15,182,70,252,254,141,4,194,248,1,15,182,110,252,255,141,
71 44,252,234,248,2,139,76,36,96,137,145,233,137,252,234,73,137,192,137,205,
72 137,116,36,100,232,251,1,2,139,149,233,133,192,15,132,244,249,15,182,78,252,
73 253,72,139,44,202,72,137,40,248,42,139,6,15,182,204,15,182,232,131,198,4,
74 193,232,16,252,255,36,252,235,248,3,139,141,233,137,113,252,244,15,182,70,
75 252,253,72,139,44,194,72,137,105,16,141,177,233,41,214,139,105,252,248,184,
76 237,252,233,244,30,248,43,139,108,36,96,137,149,233,68,141,4,194,141,20,202,
77 137,252,233,68,15,182,78,252,252,137,116,36,100,232,251,1,3,248,3,139,149,
78 233,255,131,252,248,1,15,135,244,44,248,4,141,118,4,15,130,244,252,248,5,
79 15,183,70,252,254,141,180,253,134,233,248,6,139,6,15,182,204,15,182,232,131,
80 198,4,193,232,16,252,255,36,252,235,248,45,131,198,4,129,120,253,4,239,15,
81 130,244,5,252,233,244,6,248,46,129,120,253,4,239,252,233,244,4,248,47,131,
82 252,238,4,65,137,192,65,137,252,233,139,108,36,96,137,149,233,255,137,202,
83 137,252,233,137,116,36,100,232,251,1,4,252,233,244,3,248,48,255,131,252,238,
84 4,139,108,36,96,137,149,233,137,252,233,139,86,252,252,137,116,36,100,232,
85 251,1,5,252,233,244,3,255,248,49,255,15,182,110,252,255,255,248,50,141,4,
86 199,252,233,244,247,248,51,255,248,52,141,4,199,141,44,252,234,149,252,233,
87 244,248,248,53,141,4,194,137,197,252,233,244,248,248,54,255,248,55,141,4,
88 194,248,1,141,44,252,234,248,2,141,12,202,65,137,232,65,137,193,15,182,70,
89 252,252,137,68,36,32,139,108,36,96,137,149,233,137,202,137,252,233,137,116,
90 36,100,232,251,1,6,139,149,233,133,192,15,132,244,42,248,44,137,193,41,208,
91 137,113,252,244,141,176,233,184,237,252,233,244,28,248,56,139,108,36,96,137,
92 149,233,141,20,194,137,252,233,137,116,36,100,232,251,1,7,139,149,233,252,
93 233,244,44,248,57,141,76,202,8,248,29,137,76,36,84,137,68,36,80,131,252,233,
94 8,139,108,36,96,137,149,233,255,137,202,68,141,4,193,137,252,233,137,116,
95 36,100,232,251,1,8,139,149,233,139,76,36,84,139,68,36,80,139,105,252,248,
96 131,192,1,57,215,15,132,244,58,137,202,137,114,252,252,139,181,233,139,14,
97 15,182,252,233,15,182,205,131,198,4,252,255,36,252,235,248,59,139,108,36,
98 96,137,149,233,137,202,137,252,233,137,116,36,100,232,251,1,9,139,149,233,
99 139,70,252,252,15,182,204,15,182,232,193,232,16,252,255,164,253,252,235,233,
100 248,60,129,252,248,239,15,130,244,61,139,106,4,129,252,253,239,15,131,244,
101 61,139,114,252,252,137,68,36,84,137,106,252,252,139,42,137,106,252,248,131,
102 232,2,15,132,244,248,137,209,248,1,131,193,8,72,139,41,72,137,105,252,248,
103 131,232,1,15,133,244,1,248,2,255,139,68,36,84,252,233,244,62,248,63,129,252,
104 248,239,15,130,244,61,139,106,4,137,252,233,193,252,249,15,131,252,249,252,
105 254,15,132,244,249,184,237,252,247,213,57,232,255,15,71,197,255,15,134,244,
106 247,137,232,248,1,255,248,2,139,106,252,248,139,132,253,197,233,139,114,252,
107 252,199,66,252,252,237,137,66,252,248,252,233,244,64,248,3,184,237,252,233,
108 244,2,248,65,129,252,248,239,15,130,244,61,139,106,4,139,114,252,252,129,
109 252,253,239,15,133,244,252,248,1,139,42,139,173,233,248,2,133,252,237,199,
110 66,252,252,237,255,15,132,244,64,139,131,233,199,66,252,252,237,137,106,252,
111 248,139,141,233,35,136,233,105,201,239,3,141,233,248,3,129,185,233,239,15,
112 133,244,250,57,129,233,15,132,244,251,248,4,139,137,233,133,201,15,133,244,
113 3,255,252,233,244,64,248,5,139,105,4,129,252,253,239,15,132,244,64,139,1,
114 137,106,252,252,137,66,252,248,252,233,244,64,248,6,129,252,253,239,15,132,
115 244,1,129,252,253,239,15,135,244,254,129,252,253,239,15,134,244,253,189,237,
116 252,233,244,254,248,7,255,189,237,248,8,252,247,213,139,172,253,171,233,252,
117 233,244,2,248,66,129,252,248,239,15,130,244,61,129,122,253,4,239,15,133,244,
118 61,139,42,131,189,233,0,15,133,244,61,129,122,253,12,239,15,133,244,61,139,
119 66,8,137,133,233,139,114,252,252,199,66,252,252,237,255,137,106,252,248,252,
120 246,133,233,235,15,132,244,247,128,165,233,235,139,131,233,137,171,233,137,
121 133,233,248,1,252,233,244,64,248,67,129,252,248,239,15,130,244,61,129,122,
122 253,4,239,15,133,244,61,137,213,68,141,66,8,139,18,139,76,36,96,232,251,1,
123 10,137,252,234,72,139,40,139,114,252,252,72,137,106,252,248,252,233,244,64,
124 248,68,255,129,252,248,239,15,133,244,61,129,122,253,4,239,255,15,133,244,
125 247,139,42,252,233,244,69,248,1,15,135,244,61,255,15,131,244,61,255,252,242,
126 15,16,2,252,233,244,70,255,221,2,252,233,244,71,255,248,72,129,252,248,239,
127 15,130,244,61,139,114,252,252,129,122,253,4,239,15,133,244,249,139,2,248,
128 2,199,66,252,252,237,137,66,252,248,252,233,244,64,248,3,129,122,253,4,239,
129 15,135,244,61,131,187,233,0,15,133,244,61,139,171,233,59,171,233,255,15,130,
130 244,247,232,244,73,248,1,139,108,36,96,137,149,233,137,116,36,100,137,252,
131 233,255,232,251,1,11,255,232,251,1,12,255,139,149,233,252,233,244,2,248,74,
132 129,252,248,239,15,130,244,61,15,132,244,248,248,1,129,122,253,4,239,15,133,
133 244,61,139,108,36,96,137,149,233,137,149,233,139,114,252,252,68,141,66,8,
134 139,18,137,252,233,137,116,36,100,232,251,1,13,139,149,233,133,192,15,132,
135 244,249,72,139,106,8,72,139,66,16,72,137,106,252,248,72,137,2,248,75,184,
136 237,255,252,233,244,76,248,2,199,66,12,237,252,233,244,1,248,3,199,66,252,
137 252,237,252,233,244,64,248,77,129,252,248,239,15,130,244,61,139,42,129,122,
138 253,4,239,15,133,244,61,255,131,189,233,0,15,133,244,61,255,139,106,252,248,
139 139,133,233,139,114,252,252,199,66,252,252,237,137,66,252,248,199,66,12,237,
140 184,237,252,233,244,76,248,78,129,252,248,239,15,130,244,61,129,122,253,4,
141 239,15,133,244,61,129,122,253,12,239,255,139,114,252,252,255,139,66,8,131,
142 192,1,199,66,252,252,237,137,66,252,248,255,252,242,15,16,66,8,72,189,237,
143 237,102,72,15,110,205,252,242,15,88,193,252,242,15,45,192,252,242,15,17,66,
144 252,248,255,139,42,59,133,233,15,131,244,248,193,224,3,3,133,233,248,1,129,
145 120,253,4,239,15,132,244,79,72,139,40,72,137,42,252,233,244,75,248,2,131,
146 189,233,0,15,132,244,79,137,252,233,137,213,137,194,232,251,1,14,137,252,
147 234,133,192,15,133,244,1,248,79,184,237,252,233,244,76,248,80,255,139,106,
148 252,248,139,133,233,139,114,252,252,199,66,252,252,237,137,66,252,248,255,
149 199,66,12,237,199,66,8,0,0,0,0,255,15,87,192,252,242,15,17,66,8,255,217,252,
150 238,221,90,8,255,184,237,252,233,244,76,248,81,129,252,248,239,15,130,244,
151 61,141,74,8,131,232,1,190,237,248,1,15,182,171,233,193,252,237,235,131,229,
152 1,1,252,238,252,233,244,28,248,82,129,252,248,239,15,130,244,61,129,122,253,
153 12,239,15,133,244,61,255,139,106,4,137,106,12,199,66,4,237,139,42,139,114,
154 8,137,106,8,137,50,141,74,16,131,232,2,190,237,252,233,244,1,248,83,129,252,
155 248,239,15,130,244,61,139,42,139,114,252,252,137,116,36,100,137,108,36,80,
156 129,122,253,4,239,15,133,244,61,72,131,189,233,0,15,133,244,61,128,189,233,
157 235,15,135,244,61,139,141,233,15,132,244,247,255,59,141,233,15,132,244,61,
158 248,1,141,116,193,252,240,59,181,233,15,135,244,61,137,181,233,139,108,36,
159 96,137,149,233,131,194,8,137,149,233,141,108,194,232,72,41,252,245,57,206,
160 15,132,244,249,248,2,72,139,4,46,72,137,70,252,248,131,252,238,8,57,206,15,
161 133,244,2,248,3,137,202,139,76,36,80,232,244,25,199,131,233,237,255,139,108,
162 36,96,139,116,36,80,139,149,233,129,252,248,239,15,135,244,254,248,4,139,
163 142,233,139,190,233,137,142,233,137,252,254,41,206,15,132,244,252,141,4,50,
164 193,252,238,3,59,133,233,15,135,244,255,137,213,72,41,205,248,5,72,139,1,
165 72,137,4,41,131,193,8,57,252,249,15,133,244,5,248,6,141,70,2,199,66,252,252,
166 237,248,7,139,116,36,100,137,68,36,84,72,199,193,252,248,252,255,252,255,
167 252,255,252,247,198,237,255,15,132,244,13,252,233,244,14,248,8,199,66,252,
168 252,237,139,142,233,131,252,233,8,137,142,233,72,139,1,72,137,2,184,237,252,
169 233,244,7,248,9,139,76,36,80,137,185,233,137,252,242,137,252,233,232,251,
170 1,0,139,116,36,80,139,149,233,252,233,244,4,248,84,139,106,252,248,139,173,
171 233,139,114,252,252,137,116,36,100,137,108,36,80,72,131,189,233,0,15,133,
172 244,61,255,128,189,233,235,15,135,244,61,139,141,233,15,132,244,247,59,141,
173 233,15,132,244,61,248,1,141,116,193,252,248,59,181,233,15,135,244,61,137,
174 181,233,139,108,36,96,137,149,233,137,149,233,141,108,194,252,240,72,41,252,
175 245,57,206,15,132,244,249,248,2,255,72,139,4,46,72,137,70,252,248,131,252,
176 238,8,57,206,15,133,244,2,248,3,137,202,139,76,36,80,232,244,25,199,131,233,
177 237,139,108,36,96,139,116,36,80,139,149,233,129,252,248,239,15,135,244,254,
178 248,4,139,142,233,139,190,233,137,142,233,137,252,254,41,206,15,132,244,252,
179 141,4,50,193,252,238,3,59,133,233,15,135,244,255,255,137,213,72,41,205,248,
180 5,72,139,1,72,137,4,41,131,193,8,57,252,249,15,133,244,5,248,6,141,70,1,248,
181 7,139,116,36,100,137,68,36,84,49,201,252,247,198,237,15,132,244,13,252,233,
182 244,14,248,8,137,252,242,137,252,233,232,251,1,15,248,9,139,76,36,80,137,
183 185,233,137,252,242,137,252,233,232,251,1,0,139,116,36,80,139,149,233,252,
184 233,244,4,248,85,139,108,36,96,72,252,247,133,233,237,15,132,244,61,255,137,
185 149,233,141,68,194,252,248,137,133,233,49,192,72,137,133,233,176,235,136,
186 133,233,252,233,244,16,255,248,69,255,248,71,139,114,252,252,221,90,252,248,
187 252,233,244,64,255,248,86,129,252,248,239,15,130,244,61,255,129,122,253,4,
188 239,15,133,244,248,139,42,131,252,253,0,15,137,244,69,252,247,221,15,136,
189 244,247,248,87,248,69,139,114,252,252,199,66,252,252,237,137,106,252,248,
190 252,233,244,64,248,1,139,114,252,252,199,66,252,252,0,0,224,65,199,66,252,
191 248,0,0,0,0,252,233,244,64,248,2,15,135,244,61,255,129,122,253,4,239,15,131,
192 244,61,255,252,242,15,16,2,72,184,237,237,102,72,15,110,200,15,84,193,248,
193 70,139,114,252,252,252,242,15,17,66,252,248,255,221,2,217,225,248,70,248,
194 71,139,114,252,252,221,90,252,248,255,248,64,184,237,248,76,137,68,36,84,
195 248,62,252,247,198,237,15,133,244,253,248,5,56,70,252,255,15,135,244,252,
196 15,182,78,252,253,72,252,247,209,141,20,202,139,6,15,182,204,15,182,232,131,
197 198,4,193,232,16,252,255,36,252,235,248,6,199,68,194,252,244,237,131,192,
198 1,252,233,244,5,248,7,72,199,193,252,248,252,255,252,255,252,255,252,233,
199 244,14,248,88,255,129,122,253,4,239,15,133,244,247,139,42,252,233,244,69,
200 248,1,15,135,244,61,255,252,242,15,16,2,232,244,89,255,252,242,15,45,232,
201 129,252,253,0,0,0,128,15,133,244,69,252,242,15,42,205,102,15,46,193,15,138,
202 244,70,15,132,244,69,255,221,2,232,244,89,255,248,90,255,252,242,15,16,2,
203 232,244,91,255,221,2,232,244,91,255,248,92,129,252,248,239,15,130,244,61,
204 129,122,253,4,239,15,131,244,61,252,242,15,81,2,252,233,244,70,255,248,92,
205 129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,221,2,217,252,
206 250,252,233,244,71,255,248,93,129,252,248,239,15,130,244,61,129,122,253,4,
207 239,15,131,244,61,217,252,237,221,2,217,252,241,252,233,244,71,248,94,129,
208 252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,217,252,236,221,
209 2,217,252,241,252,233,244,71,248,95,129,252,248,239,255,15,130,244,61,129,
210 122,253,4,239,15,131,244,61,221,2,232,244,96,252,233,244,71,248,97,129,252,
211 248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,221,2,217,252,254,252,
212 233,244,71,248,98,129,252,248,239,255,15,130,244,61,129,122,253,4,239,15,
213 131,244,61,221,2,217,252,255,252,233,244,71,248,99,129,252,248,239,15,130,
214 244,61,129,122,253,4,239,15,131,244,61,221,2,217,252,242,221,216,252,233,
215 244,71,248,100,129,252,248,239,15,130,244,61,255,129,122,253,4,239,15,131,
216 244,61,221,2,217,192,216,200,217,232,222,225,217,252,250,217,252,243,252,
217 233,244,71,248,101,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
218 244,61,221,2,217,192,216,200,217,232,222,225,217,252,250,217,201,217,252,
219 243,252,233,244,71,248,102,129,252,248,239,15,130,244,61,129,122,253,4,239,
220 15,131,244,61,255,221,2,217,232,217,252,243,252,233,244,71,255,248,103,129,
221 252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,252,242,15,16,2,
222 255,137,213,232,251,1,16,137,252,234,252,233,244,70,255,248,104,129,252,248,
223 239,15,130,244,61,129,122,253,4,239,15,131,244,61,252,242,15,16,2,255,137,
224 213,232,251,1,17,137,252,234,252,233,244,70,255,248,105,129,252,248,239,15,
225 130,244,61,129,122,253,4,239,15,131,244,61,252,242,15,16,2,255,137,213,232,
226 251,1,18,137,252,234,252,233,244,70,248,106,255,248,107,129,252,248,239,15,
227 130,244,61,129,122,253,4,239,15,131,244,61,252,242,15,16,2,139,106,252,248,
228 252,242,15,89,133,233,252,233,244,70,255,248,107,129,252,248,239,15,130,244,
229 61,129,122,253,4,239,15,131,244,61,221,2,139,106,252,248,220,141,233,252,
230 233,244,71,255,248,108,129,252,248,239,15,130,244,61,129,122,253,4,239,15,
231 131,244,61,129,122,253,12,239,15,131,244,61,221,2,221,66,8,217,252,243,252,
232 233,244,71,248,109,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,
233 244,61,129,122,253,12,239,255,15,131,244,61,221,66,8,221,2,217,252,253,221,
234 217,252,233,244,71,248,110,129,252,248,239,15,130,244,61,139,106,4,129,252,
235 253,239,15,131,244,61,139,114,252,252,139,2,137,106,252,252,137,66,252,248,
236 209,229,129,252,253,0,0,224,252,255,15,131,244,249,9,232,15,132,244,249,184,
237 252,254,3,0,0,129,252,253,0,0,32,0,15,130,244,250,248,1,193,252,237,21,41,
238 197,255,252,242,15,42,197,255,137,108,36,80,219,68,36,80,255,139,106,252,
239 252,129,229,252,255,252,255,15,128,129,205,0,0,224,63,137,106,252,252,248,
240 2,255,252,242,15,17,2,255,221,26,255,184,237,252,233,244,76,248,3,255,15,
241 87,192,252,233,244,2,255,217,252,238,252,233,244,2,255,248,4,255,252,242,
242 15,16,2,72,189,237,237,102,72,15,110,205,252,242,15,89,193,252,242,15,17,
243 66,252,248,255,221,2,199,68,36,80,0,0,128,90,216,76,36,80,221,90,252,248,
244 255,139,106,252,252,184,52,4,0,0,209,229,252,233,244,1,255,248,111,129,252,
245 248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,252,242,15,16,2,255,
246 248,111,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,221,
247 2,255,139,106,4,139,114,252,252,209,229,129,252,253,0,0,224,252,255,15,132,
248 244,250,255,15,40,224,232,244,112,252,242,15,92,224,248,1,252,242,15,17,66,
249 252,248,252,242,15,17,34,255,217,192,232,244,112,220,252,233,248,1,221,90,
250 252,248,221,26,255,139,66,252,252,139,106,4,49,232,15,136,244,249,248,2,184,
251 237,252,233,244,76,248,3,129,252,245,0,0,0,128,137,106,4,252,233,244,2,248,
252 4,255,15,87,228,252,233,244,1,255,217,252,238,217,201,252,233,244,1,255,248,
253 113,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,
254 253,12,239,15,131,244,61,221,66,8,221,2,248,1,217,252,248,223,224,158,15,
255 138,244,1,221,217,252,233,244,71,255,248,114,129,252,248,239,15,130,244,61,
256 129,122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,
257 15,16,2,252,242,15,16,74,8,232,244,115,252,233,244,70,255,248,114,129,252,
258 248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,
259 15,131,244,61,221,2,221,66,8,232,244,115,252,233,244,71,255,248,116,185,2,
260 0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,1,57,193,15,131,244,
261 69,129,124,253,202,252,252,239,15,133,244,249,59,108,202,252,248,15,79,108,
262 202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,61,255,252,233,244,252,
263 248,4,15,135,244,61,255,252,242,15,16,2,248,5,57,193,15,131,244,70,129,124,
264 253,202,252,252,239,255,15,130,244,252,15,135,244,61,252,242,15,42,76,202,
265 252,248,252,233,244,253,255,248,6,252,242,15,16,76,202,252,248,248,7,252,
266 242,15,93,193,131,193,1,252,233,244,5,255,248,117,185,2,0,0,0,129,122,253,
267 4,239,255,15,133,244,250,139,42,248,1,57,193,15,131,244,69,129,124,253,202,
268 252,252,239,15,133,244,249,59,108,202,252,248,15,76,108,202,252,248,131,193,
269 1,252,233,244,1,248,3,15,135,244,61,255,248,6,252,242,15,16,76,202,252,248,
270 248,7,252,242,15,95,193,131,193,1,252,233,244,5,255,248,9,221,216,252,233,
271 244,61,255,248,118,129,252,248,239,15,130,244,61,129,122,253,4,239,15,133,
272 244,61,139,42,255,139,173,233,252,233,244,69,255,252,242,15,42,133,233,252,
273 233,244,70,255,219,133,233,252,233,244,71,255,248,119,129,252,248,239,15,
274 133,244,61,129,122,253,4,239,15,133,244,61,139,42,139,114,252,252,131,189,
275 233,1,15,130,244,79,15,182,173,233,255,252,242,15,42,197,252,233,244,70,255,
276 137,108,36,80,219,68,36,80,252,233,244,71,255,248,120,139,171,233,59,171,
277 233,15,130,244,247,232,244,73,248,1,129,252,248,239,15,133,244,61,129,122,
278 253,4,239,255,15,133,244,61,139,42,129,252,253,252,255,0,0,0,15,135,244,61,
279 137,108,36,84,255,15,131,244,61,252,242,15,44,42,129,252,253,252,255,0,0,
280 0,15,135,244,61,137,108,36,84,255,15,131,244,61,221,2,219,92,36,84,129,124,
281 36,84,252,255,0,0,0,15,135,244,61,255,199,68,36,32,1,0,0,0,72,141,68,36,84,
282 248,121,139,108,36,96,137,149,233,68,139,68,36,32,72,137,194,137,252,233,
283 137,116,36,100,232,251,1,19,139,149,233,139,114,252,252,199,66,252,252,237,
284 137,66,252,248,252,233,244,64,248,122,139,171,233,59,171,233,15,130,244,247,
285 232,244,73,248,1,199,68,36,84,252,255,252,255,252,255,252,255,129,252,248,
286 239,15,130,244,61,15,134,244,247,129,122,253,20,239,255,15,133,244,61,139,
287 106,16,137,108,36,84,255,15,131,244,61,252,242,15,44,106,16,137,108,36,84,
288 255,15,131,244,61,221,66,16,219,92,36,84,255,248,1,129,122,253,4,239,15,133,
289 244,61,129,122,253,12,239,255,139,42,137,108,36,32,139,173,233,255,139,74,
290 8,255,252,242,15,44,74,8,255,139,68,36,84,57,197,15,130,244,251,248,2,133,
291 201,15,142,244,253,248,3,139,108,36,32,41,200,15,140,244,123,141,172,253,
292 13,233,131,192,1,248,4,137,68,36,32,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,139,
296 171,233,59,171,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,84,139,
299 68,36,84,255,133,192,15,142,244,123,131,189,233,1,15,130,244,123,15,133,244,
300 125,57,131,233,15,130,244,125,15,182,141,233,139,171,233,137,68,36,32,248,
301 1,136,77,0,131,197,1,131,232,1,15,133,244,1,139,131,233,252,233,244,121,248,
302 126,129,252,248,239,255,15,130,244,61,139,171,233,59,171,233,15,130,244,247,
303 232,244,73,248,1,129,122,253,4,239,15,133,244,61,139,42,139,133,233,133,192,
304 15,132,244,123,57,131,233,15,130,244,127,129,197,239,137,116,36,84,137,68,
305 36,32,139,179,233,248,1,255,15,182,77,0,131,197,1,131,232,1,136,12,6,15,133,
306 244,1,137,252,240,139,116,36,84,252,233,244,121,248,128,129,252,248,239,15,
307 130,244,61,139,171,233,59,171,233,15,130,244,247,232,244,73,248,1,129,122,
308 253,4,239,15,133,244,61,139,42,139,133,233,57,131,233,255,15,130,244,127,
309 129,197,239,137,116,36,84,137,68,36,32,139,179,233,252,233,244,249,248,1,
310 15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,249,90,15,135,244,248,
311 131,252,241,32,248,2,136,12,6,248,3,131,232,1,15,137,244,1,137,252,240,139,
312 116,36,84,252,233,244,121,248,129,129,252,248,239,15,130,244,61,255,139,171,
313 233,59,171,233,15,130,244,247,232,244,73,248,1,129,122,253,4,239,15,133,244,
314 61,139,42,139,133,233,57,131,233,15,130,244,127,129,197,239,137,116,36,84,
315 137,68,36,32,139,179,233,252,233,244,249,248,1,15,182,76,5,0,131,252,249,
316 97,15,130,244,248,255,131,252,249,122,15,135,244,248,131,252,241,32,248,2,
317 136,12,6,248,3,131,232,1,15,137,244,1,137,252,240,139,116,36,84,252,233,244,
318 121,248,130,129,252,248,239,15,130,244,61,129,122,253,4,239,15,133,244,61,
319 137,213,139,10,232,251,1,20,137,252,234,255,137,197,252,233,244,69,255,252,
320 242,15,42,192,252,233,244,70,255,248,131,129,252,248,239,15,130,244,61,129,
321 122,253,4,239,255,15,133,244,247,139,42,252,233,244,87,248,1,15,135,244,61,
322 255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,252,242,15,88,193,102,
323 15,126,197,255,252,233,244,87,255,248,132,129,252,248,239,15,130,244,61,255,
324 72,189,237,237,102,72,15,110,205,255,199,68,36,80,0,0,192,89,255,15,133,244,
325 247,139,42,252,233,244,248,248,1,15,135,244,61,255,252,242,15,16,2,252,242,
326 15,88,193,102,15,126,197,255,248,2,137,68,36,84,141,68,194,252,240,248,1,
327 57,208,15,134,244,87,129,120,253,4,239,255,15,133,244,248,35,40,131,232,8,
328 252,233,244,1,248,2,15,135,244,133,255,15,131,244,133,255,252,242,15,16,0,
329 252,242,15,88,193,102,15,126,193,33,205,255,131,232,8,252,233,244,1,248,134,
330 129,252,248,239,15,130,244,61,255,15,133,244,248,11,40,131,232,8,252,233,
331 244,1,248,2,15,135,244,133,255,252,242,15,16,0,252,242,15,88,193,102,15,126,
332 193,9,205,255,131,232,8,252,233,244,1,248,135,129,252,248,239,15,130,244,
333 61,255,15,133,244,248,51,40,131,232,8,252,233,244,1,248,2,15,135,244,133,
334 255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,49,205,255,131,232,8,
335 252,233,244,1,248,136,129,252,248,239,15,130,244,61,129,122,253,4,239,255,
336 248,2,15,205,252,233,244,87,248,137,129,252,248,239,15,130,244,61,129,122,
337 253,4,239,255,248,2,252,247,213,255,248,87,252,242,15,42,197,252,233,244,
338 70,255,248,133,139,68,36,84,252,233,244,61,255,248,138,129,252,248,239,15,
339 130,244,61,129,122,253,4,239,255,248,2,129,122,253,12,239,15,133,244,61,139,
340 74,8,255,248,138,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,
341 61,129,122,253,12,239,15,131,244,61,252,242,15,16,2,252,242,15,16,74,8,72,
342 189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102,15,
343 126,197,102,15,126,201,255,211,229,252,233,244,87,255,248,139,129,252,248,
344 239,15,130,244,61,129,122,253,4,239,255,248,139,129,252,248,239,15,130,244,
345 61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,
346 15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,
347 194,252,242,15,88,202,102,15,126,197,102,15,126,201,255,211,252,237,252,233,
348 244,87,255,248,140,129,252,248,239,15,130,244,61,129,122,253,4,239,255,248,
349 140,129,252,248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,
350 253,12,239,15,131,244,61,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,
351 102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,
352 15,126,201,255,211,252,253,252,233,244,87,255,248,141,129,252,248,239,15,
353 130,244,61,129,122,253,4,239,255,248,141,129,252,248,239,15,130,244,61,129,
354 122,253,4,239,15,131,244,61,129,122,253,12,239,15,131,244,61,252,242,15,16,
355 2,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,197,252,233,244,87,255,
357 248,142,129,252,248,239,15,130,244,61,129,122,253,4,239,255,248,142,129,252,
358 248,239,15,130,244,61,129,122,253,4,239,15,131,244,61,129,122,253,12,239,
359 15,131,244,61,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,
360 110,213,252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,
361 255,211,205,252,233,244,87,248,125,184,237,252,233,244,61,248,127,184,237,
362 248,61,139,108,36,96,139,114,252,252,137,116,36,100,137,149,233,141,68,194,
363 252,248,141,136,233,137,133,233,139,66,252,248,59,141,233,15,135,244,251,
364 137,252,233,252,255,144,233,139,149,233,133,192,15,143,244,76,248,1,255,139,
365 141,233,41,209,193,252,233,3,133,192,141,65,1,139,106,252,248,15,133,244,
366 32,139,181,233,139,14,15,182,252,233,15,182,205,131,198,4,252,255,36,252,
367 235,248,32,137,209,252,247,198,237,15,133,244,249,15,182,110,252,253,72,252,
368 247,213,141,20,252,234,252,233,244,28,248,3,137,252,245,131,229,252,248,41,
369 252,234,252,233,244,28,248,5,186,237,137,252,233,232,251,1,0,139,149,233,
370 49,192,252,233,244,1,248,73,93,72,137,108,36,32,139,108,36,96,137,116,36,
371 100,137,149,233,255,141,68,194,252,248,137,252,233,137,133,233,232,251,1,
372 21,139,149,233,139,133,233,41,208,193,232,3,131,192,1,72,139,108,36,32,85,
373 195,248,143,255,15,182,131,233,168,235,15,133,244,251,168,235,15,133,244,
374 247,168,235,15,132,244,247,252,255,139,233,252,233,244,247,255,248,144,15,
375 182,131,233,168,235,15,133,244,251,252,233,244,247,248,145,15,182,131,233,
376 168,235,15,133,244,251,168,235,15,132,244,251,252,255,139,233,15,132,244,
377 247,168,235,15,132,244,251,248,1,255,139,108,36,96,137,149,233,137,252,242,
378 137,252,233,232,251,1,22,248,3,139,149,233,248,4,15,182,78,252,253,248,5,
379 15,182,110,252,252,15,183,70,252,254,252,255,164,253,252,235,233,248,146,
380 131,198,4,139,77,232,137,76,36,84,252,233,244,4,248,147,255,139,106,252,248,
381 139,173,233,15,182,133,233,141,4,194,139,108,36,96,137,149,233,137,133,233,
382 137,252,242,141,139,233,72,137,171,233,137,116,36,100,232,251,1,23,252,233,
383 244,3,255,248,148,137,116,36,100,255,248,149,255,137,116,36,100,131,206,1,
384 248,1,255,141,68,194,252,248,139,108,36,96,137,149,233,137,133,233,137,252,
385 242,137,252,233,232,251,1,24,199,68,36,100,0,0,0,0,255,131,230,252,254,255,
386 139,149,233,72,137,193,139,133,233,41,208,72,137,205,15,182,78,252,253,193,
387 232,3,131,192,1,252,255,229,248,150,255,65,85,65,84,65,83,65,82,65,81,65,
388 80,87,86,85,72,141,108,36,88,85,83,82,81,80,15,182,69,252,248,138,101,252,
389 240,76,137,125,252,248,76,137,117,252,240,139,93,0,139,139,233,199,131,233,
390 237,137,131,233,137,139,233,72,129,252,236,239,72,131,197,128,252,242,68,
391 15,17,125,252,248,252,242,68,15,17,117,252,240,252,242,68,15,17,109,232,252,
392 242,68,15,17,101,224,252,242,68,15,17,93,216,252,242,68,15,17,85,208,252,
393 242,68,15,17,77,200,252,242,68,15,17,69,192,252,242,15,17,125,184,252,242,
394 15,17,117,176,252,242,15,17,109,168,252,242,15,17,101,160,252,242,15,17,93,
395 152,252,242,15,17,85,144,252,242,15,17,77,136,252,242,15,17,69,128,139,171,
396 233,139,147,233,72,137,171,233,199,131,233,0,0,0,0,137,149,233,72,141,148,
397 253,36,233,141,139,233,232,251,1,25,72,139,141,233,72,129,225,239,137,169,
398 233,139,149,233,139,177,233,252,233,244,247,255,248,151,255,72,141,140,253,
399 36,233,248,1,102,68,15,111,185,233,102,68,15,111,177,233,102,68,15,111,169,
400 233,102,68,15,111,161,233,102,68,15,111,153,233,102,68,15,111,145,233,102,
401 68,15,111,137,233,102,68,15,111,129,233,102,15,111,185,233,72,137,204,102,
402 15,111,49,76,139,124,36,16,76,139,116,36,24,76,139,108,36,32,76,139,100,36,
403 80,133,192,15,136,244,249,137,68,36,84,139,122,252,248,139,191,233,139,191,
404 233,199,131,233,0,0,0,0,199,131,233,237,139,6,15,182,204,15,182,232,131,198,
405 4,193,232,16,129,252,253,239,15,130,244,248,255,139,68,36,84,248,2,252,255,
406 36,252,235,248,3,252,247,216,137,252,233,137,194,232,251,1,26,255,248,89,
407 255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,4,102,37,252,255,252,
408 247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,
409 255,248,152,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,
410 216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,252,
411 242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,72,15,110,
412 208,252,242,15,194,193,1,102,15,84,194,252,242,15,92,200,15,40,193,248,1,
413 195,248,91,255,217,124,36,4,137,68,36,8,102,184,0,8,102,11,68,36,4,102,37,
414 252,255,252,251,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,
415 68,36,8,195,255,248,153,72,184,237,237,102,72,15,110,208,72,184,237,237,102,
416 72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,
417 85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,
418 72,15,110,208,252,242,15,194,193,6,102,15,84,194,252,242,15,92,200,15,40,
419 193,248,1,195,248,112,255,217,124,36,4,137,68,36,8,102,184,0,12,102,11,68,
420 36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,
421 255,248,154,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,
422 216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,15,
423 40,193,252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,72,15,110,216,
424 252,242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,86,202,15,40,
425 193,248,1,195,248,155,255,15,40,232,252,242,15,94,193,72,184,237,237,102,
426 72,15,110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,15,84,226,102,
427 15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,242,15,92,227,
428 102,15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,196,1,102,15,
429 84,194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,15,92,193,195,
430 248,1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,217,193,216,252,
431 241,217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,252,247,102,137,
432 68,36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,252,233,195,255,
433 248,96,217,252,234,222,201,248,156,217,84,36,8,129,124,36,8,0,0,128,127,15,
434 132,244,247,129,124,36,8,0,0,128,252,255,15,132,244,248,248,157,217,192,217,
435 252,252,220,252,233,217,201,217,252,240,217,232,222,193,217,252,253,221,217,
436 248,1,195,248,2,221,216,217,252,238,195,255,248,115,255,248,158,252,242,15,
437 45,193,252,242,15,42,208,102,15,46,202,15,133,244,254,15,138,244,255,248,
438 159,131,252,248,1,15,142,244,252,248,1,169,1,0,0,0,15,133,244,248,252,242,
439 15,89,192,209,232,252,233,244,1,248,2,209,232,15,132,244,251,15,40,200,248,
440 3,252,242,15,89,192,209,232,15,132,244,250,15,131,244,3,255,252,242,15,89,
441 200,252,233,244,3,248,4,252,242,15,89,193,248,5,195,248,6,15,132,244,5,15,
442 130,244,253,252,247,216,232,244,1,72,184,237,237,102,72,15,110,200,252,242,
443 15,94,200,15,40,193,195,248,7,72,184,237,237,102,72,15,110,192,195,248,8,
444 102,72,15,126,200,72,209,224,72,193,192,12,72,61,252,254,15,0,0,15,132,244,
445 248,102,72,15,126,192,72,209,224,15,132,244,250,255,72,193,192,12,72,61,252,
446 254,15,0,0,15,132,244,251,252,242,15,17,76,36,16,252,242,15,17,68,36,8,221,
447 68,36,16,221,68,36,8,217,252,241,217,192,217,252,252,220,252,233,217,201,
448 217,252,240,217,232,222,193,217,252,253,221,217,221,92,36,8,252,242,15,16,
449 68,36,8,195,248,9,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,
450 247,15,40,193,248,1,195,248,2,72,184,237,237,102,72,15,110,208,102,15,84,
451 194,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,1,102,15,80,
452 193,15,87,192,136,196,15,146,208,48,224,15,133,244,1,248,3,72,184,237,237,
453 255,102,72,15,110,192,195,248,4,102,15,80,193,133,192,15,133,244,3,15,87,
454 192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,192,195,248,160,255,
455 131,252,250,1,15,130,244,89,15,132,244,91,131,252,250,3,15,130,244,112,15,
456 135,244,248,252,242,15,81,192,195,248,2,252,242,15,17,68,36,8,221,68,36,8,
457 131,252,250,5,15,135,244,248,88,15,132,244,247,232,244,96,80,252,233,244,
458 253,248,1,232,244,156,255,80,252,233,244,253,248,2,131,252,250,7,15,132,244,
459 247,15,135,244,248,217,252,237,217,201,217,252,241,252,233,244,253,248,1,
460 217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,250,9,15,132,244,
461 247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,244,253,248,1,
462 255,217,252,254,252,233,244,253,248,2,131,252,250,11,15,132,244,247,15,135,
463 244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,216,248,7,221,92,
464 36,8,252,242,15,16,68,36,8,195,255,139,84,36,12,221,68,36,4,131,252,250,1,
465 15,130,244,89,15,132,244,91,131,252,250,3,15,130,244,112,15,135,244,248,217,
466 252,250,195,248,2,131,252,250,5,15,130,244,96,15,132,244,156,131,252,250,
467 7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,241,195,248,1,
468 217,232,217,201,217,252,241,195,248,2,131,252,250,9,15,132,244,247,255,15,
469 135,244,248,217,252,236,217,201,217,252,241,195,248,1,217,252,254,195,248,
470 2,131,252,250,11,15,132,244,247,15,135,244,255,217,252,255,195,248,1,217,
471 252,242,221,216,195,255,248,9,204,255,248,161,255,65,131,252,248,1,15,132,
472 244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15,92,193,195,
473 248,2,65,131,252,248,3,15,132,244,247,15,135,244,248,252,242,15,89,193,195,
474 248,1,252,242,15,94,193,195,248,2,65,131,252,248,5,15,130,244,155,15,132,
475 244,115,65,131,252,248,7,15,132,244,247,15,135,244,248,72,184,237,237,255,
476 102,72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,110,200,15,
477 84,193,195,248,2,65,131,252,248,9,15,135,244,248,252,242,15,17,68,36,8,252,
478 242,15,17,76,36,16,221,68,36,8,221,68,36,16,15,132,244,247,217,252,243,248,
479 7,221,92,36,8,252,242,15,16,68,36,8,195,248,1,217,201,217,252,253,221,217,
480 252,233,244,7,248,2,65,131,252,248,11,15,132,244,247,15,135,244,255,252,242,
481 15,93,193,195,248,1,252,242,15,95,193,195,248,9,204,255,139,68,36,20,221,
482 68,36,4,221,68,36,12,131,252,248,1,15,132,244,247,15,135,244,248,222,193,
483 195,248,1,222,252,233,195,248,2,131,252,248,3,15,132,244,247,15,135,244,248,
484 222,201,195,248,1,222,252,249,195,248,2,131,252,248,5,15,130,244,155,15,132,
485 244,115,131,252,248,7,15,132,244,247,15,135,244,248,255,221,216,217,224,195,
486 248,1,221,216,217,225,195,248,2,131,252,248,9,15,132,244,247,15,135,244,248,
487 217,252,243,195,248,1,217,201,217,252,253,221,217,195,248,2,131,252,248,11,
488 15,132,244,247,15,135,244,255,255,219,252,233,219,209,221,217,195,248,1,219,
489 252,233,218,209,221,217,195,255,221,225,223,224,252,246,196,1,15,132,244,
490 248,217,201,248,2,221,216,195,248,1,221,225,223,224,252,246,196,1,15,133,
491 244,248,217,201,248,2,221,216,195,255,248,162,137,200,86,72,137,214,83,15,
492 162,137,6,137,94,4,137,78,8,137,86,12,91,94,195,248,163,255,85,72,137,229,
493 83,72,137,203,139,131,233,72,41,196,255,15,182,139,233,131,252,233,1,15,136,
494 244,248,248,1,72,139,132,253,203,233,72,137,132,253,204,233,131,252,233,1,
495 15,137,244,1,248,2,15,182,131,233,72,139,139,233,72,139,147,233,76,139,131,
496 233,76,139,139,233,133,192,15,132,244,251,15,40,131,233,15,40,139,233,15,
497 40,147,233,15,40,155,233,248,5,255,252,255,147,233,72,137,131,233,15,41,131,
498 233,255,72,139,93,252,248,201,195,255,248,164,255,249,255,129,124,253,202,
499 4,239,15,133,244,253,129,124,253,194,4,239,15,133,244,254,139,44,202,131,
500 198,4,59,44,194,255,15,141,244,255,255,15,140,244,255,255,15,143,244,255,
501 255,15,142,244,255,255,248,6,15,183,70,252,254,141,180,253,134,233,248,9,
502 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,7,
503 15,135,244,43,129,124,253,194,4,239,15,130,244,247,15,133,244,43,255,252,
504 242,15,42,4,194,252,233,244,248,255,221,4,202,219,4,194,252,233,244,249,255,
505 248,8,15,135,244,43,255,252,242,15,42,12,202,252,242,15,16,4,194,131,198,
506 4,102,15,46,193,255,15,134,244,9,255,15,135,244,9,255,15,130,244,9,255,15,
507 131,244,9,255,252,233,244,6,255,219,4,202,252,233,244,248,255,129,124,253,
508 202,4,239,15,131,244,43,129,124,253,194,4,239,15,131,244,43,255,248,1,252,
509 242,15,16,4,194,248,2,131,198,4,102,15,46,4,202,248,3,255,248,1,221,4,202,
510 248,2,221,4,194,248,3,131,198,4,255,223,252,233,221,216,255,218,252,233,223,
511 224,158,255,15,134,244,247,255,15,135,244,247,255,15,130,244,247,255,15,131,
512 244,247,255,15,183,70,252,254,141,180,253,134,233,248,1,139,6,15,182,204,
513 15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,139,108,194,4,131,
514 198,4,255,129,252,253,239,15,133,244,253,129,124,253,202,4,239,15,133,244,
515 254,139,44,194,59,44,202,255,15,133,244,255,255,15,132,244,255,255,15,183,
516 70,252,254,141,180,253,134,233,248,9,139,6,15,182,204,15,182,232,131,198,
517 4,193,232,16,252,255,36,252,235,248,7,15,135,244,251,129,124,253,202,4,239,
518 15,130,244,247,15,133,244,251,255,252,242,15,42,4,202,255,219,4,202,255,252,
519 233,244,248,248,8,15,135,244,251,255,252,242,15,42,4,194,102,15,46,4,202,
520 255,219,4,194,221,4,202,255,252,233,244,250,255,129,252,253,239,15,131,244,
521 251,129,124,253,202,4,239,15,131,244,251,255,248,1,252,242,15,16,4,202,248,
522 2,102,15,46,4,194,248,4,255,248,1,221,4,202,248,2,221,4,194,248,4,255,15,
523 138,244,248,15,133,244,248,255,15,138,244,248,15,132,244,247,255,248,1,15,
524 183,70,252,254,141,180,253,134,233,248,2,255,248,2,15,183,70,252,254,141,
525 180,253,134,233,248,1,255,252,233,244,9,255,129,252,253,239,15,132,244,48,
526 129,124,253,202,4,239,15,132,244,48,255,57,108,202,4,15,133,244,2,129,252,
527 253,239,15,131,244,1,139,12,202,139,4,194,57,193,15,132,244,1,129,252,253,
528 239,15,135,244,2,139,169,233,133,252,237,15,132,244,2,252,246,133,233,235,
529 15,133,244,2,255,49,252,237,255,189,1,0,0,0,255,252,233,244,47,255,248,3,
530 129,252,253,239,255,15,133,244,9,255,252,233,244,48,255,72,252,247,208,139,
531 108,202,4,131,198,4,129,252,253,239,15,133,244,249,139,12,202,59,12,135,255,
532 139,108,202,4,131,198,4,255,129,252,253,239,15,133,244,253,129,124,253,199,
533 4,239,15,133,244,254,139,44,199,59,44,202,255,15,183,70,252,254,141,180,253,
534 134,233,248,9,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,
535 252,235,248,7,15,135,244,249,129,124,253,199,4,239,15,130,244,247,255,252,
536 242,15,42,4,199,255,219,4,199,255,252,233,244,248,248,8,255,252,242,15,42,
537 4,202,102,15,46,4,199,255,219,4,202,221,4,199,255,129,252,253,239,15,131,
538 244,249,255,248,1,252,242,15,16,4,199,248,2,102,15,46,4,202,248,4,255,248,
539 1,221,4,199,248,2,221,4,202,248,4,255,72,252,247,208,139,108,202,4,131,198,
540 4,57,197,255,15,133,244,249,15,183,70,252,254,141,180,253,134,233,248,2,139,
541 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,129,
542 252,253,239,15,133,244,2,252,233,244,48,255,15,132,244,248,129,252,253,239,
543 15,132,244,48,15,183,70,252,254,141,180,253,134,233,248,2,139,6,15,182,204,
544 15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,139,108,194,4,131,
545 198,4,129,252,253,239,255,137,108,202,4,139,44,194,137,44,202,255,72,139,
546 44,194,72,137,44,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
547 255,36,252,235,255,49,252,237,129,124,253,194,4,239,129,213,239,137,108,202,
548 4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,
549 129,124,253,194,4,239,15,133,244,251,139,44,194,252,247,221,15,128,244,250,
550 199,68,202,4,237,137,44,202,248,9,139,6,15,182,204,15,182,232,131,198,4,193,
551 232,16,252,255,36,252,235,248,4,199,68,202,4,0,0,224,65,199,4,202,0,0,0,0,
552 252,233,244,9,248,5,15,135,244,53,255,129,124,253,194,4,239,15,131,244,53,
553 255,252,242,15,16,4,194,72,184,237,237,102,72,15,110,200,15,87,193,252,242,
554 15,17,4,202,255,221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,
555 133,244,248,139,4,194,255,139,128,233,248,1,199,68,202,4,237,137,4,202,255,
556 15,87,192,252,242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,128,233,
557 248,1,221,28,202,255,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
558 255,36,252,235,248,2,129,124,253,194,4,239,15,133,244,56,139,12,194,137,213,
559 232,251,1,20,255,252,242,15,42,192,255,137,252,234,15,182,78,252,253,252,
560 233,244,1,255,15,182,252,236,15,182,192,255,129,124,253,252,234,4,239,15,
561 133,244,50,129,124,253,199,4,239,15,133,244,50,139,44,252,234,3,44,199,15,
562 128,244,49,255,129,124,253,252,234,4,239,15,133,244,52,129,124,253,199,4,
563 239,15,133,244,52,139,4,199,3,4,252,234,15,128,244,51,255,129,124,253,252,
564 234,4,239,15,133,244,55,129,124,253,194,4,239,15,133,244,55,139,44,252,234,
565 3,44,194,15,128,244,54,255,199,68,202,4,237,255,129,124,253,252,234,4,239,
566 15,131,244,50,255,129,124,253,199,4,239,15,131,244,50,255,252,242,15,16,4,
567 252,234,252,242,15,88,4,199,255,221,4,252,234,220,4,199,255,129,124,253,252,
568 234,4,239,15,131,244,52,255,129,124,253,199,4,239,15,131,244,52,255,252,242,
569 15,16,4,199,252,242,15,88,4,252,234,255,221,4,199,220,4,252,234,255,129,124,
570 253,252,234,4,239,15,131,244,55,129,124,253,194,4,239,15,131,244,55,255,252,
571 242,15,16,4,252,234,252,242,15,88,4,194,255,221,4,252,234,220,4,194,255,129,
572 124,253,252,234,4,239,15,133,244,50,129,124,253,199,4,239,15,133,244,50,139,
573 44,252,234,43,44,199,15,128,244,49,255,129,124,253,252,234,4,239,15,133,244,
574 52,129,124,253,199,4,239,15,133,244,52,139,4,199,43,4,252,234,15,128,244,
575 51,255,129,124,253,252,234,4,239,15,133,244,55,129,124,253,194,4,239,15,133,
576 244,55,139,44,252,234,43,44,194,15,128,244,54,255,252,242,15,16,4,252,234,
577 252,242,15,92,4,199,255,221,4,252,234,220,36,199,255,252,242,15,16,4,199,
578 252,242,15,92,4,252,234,255,221,4,199,220,36,252,234,255,252,242,15,16,4,
579 252,234,252,242,15,92,4,194,255,221,4,252,234,220,36,194,255,129,124,253,
580 252,234,4,239,15,133,244,50,129,124,253,199,4,239,15,133,244,50,139,44,252,
581 234,15,175,44,199,15,128,244,49,255,129,124,253,252,234,4,239,15,133,244,
582 52,129,124,253,199,4,239,15,133,244,52,139,4,199,15,175,4,252,234,15,128,
583 244,51,255,129,124,253,252,234,4,239,15,133,244,55,129,124,253,194,4,239,
584 15,133,244,55,139,44,252,234,15,175,44,194,15,128,244,54,255,252,242,15,16,
585 4,252,234,252,242,15,89,4,199,255,221,4,252,234,220,12,199,255,252,242,15,
586 16,4,199,252,242,15,89,4,252,234,255,221,4,199,220,12,252,234,255,252,242,
587 15,16,4,252,234,252,242,15,89,4,194,255,221,4,252,234,220,12,194,255,252,
588 242,15,16,4,252,234,252,242,15,94,4,199,255,221,4,252,234,220,52,199,255,
589 252,242,15,16,4,199,252,242,15,94,4,252,234,255,221,4,199,220,52,252,234,
590 255,252,242,15,16,4,252,234,252,242,15,94,4,194,255,221,4,252,234,220,52,
591 194,255,252,242,15,16,4,252,234,252,242,15,16,12,199,255,221,4,252,234,221,
592 4,199,255,252,242,15,16,4,199,252,242,15,16,12,252,234,255,221,4,199,221,
593 4,252,234,255,252,242,15,16,4,252,234,252,242,15,16,12,194,255,221,4,252,
594 234,221,4,194,255,248,165,232,244,155,255,252,233,244,165,255,232,244,115,
595 255,15,182,252,236,15,182,192,139,76,36,96,137,145,233,141,20,194,65,137,
596 192,65,41,232,248,35,137,205,137,116,36,100,232,251,1,27,139,149,233,133,
597 192,15,133,244,44,15,182,110,252,255,15,182,78,252,253,72,139,4,252,234,72,
598 137,4,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
599 235,255,72,252,247,208,139,4,135,199,68,202,4,237,137,4,202,139,6,15,182,
600 204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,15,191,192,199,
601 68,202,4,237,137,4,202,255,15,191,192,252,242,15,42,192,252,242,15,17,4,202,
602 255,223,70,252,254,221,28,202,255,252,242,15,16,4,199,252,242,15,17,4,202,
603 255,221,4,199,221,28,202,255,72,252,247,208,137,68,202,4,139,6,15,182,204,
604 15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,141,76,202,12,141,
605 68,194,4,189,237,137,105,252,248,248,1,137,41,131,193,8,57,193,15,134,244,
606 1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,
607 139,106,252,248,139,172,253,133,233,139,173,233,72,139,69,0,72,137,4,202,
608 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,139,
609 106,252,248,139,172,253,141,233,128,189,233,0,139,173,233,139,12,194,139,
610 68,194,4,137,77,0,137,69,4,15,132,244,247,252,246,133,233,235,15,133,244,
611 248,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
612 235,248,2,129,232,239,129,252,248,239,15,134,244,1,252,246,129,233,235,15,
613 132,244,1,135,213,141,139,233,255,232,251,1,28,137,252,234,252,233,244,1,
614 255,72,252,247,208,139,106,252,248,139,172,253,141,233,139,12,135,139,133,
615 233,137,8,199,64,4,237,252,246,133,233,235,15,133,244,248,248,1,139,6,15,
616 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,2,252,246,
617 129,233,235,15,132,244,1,128,189,233,0,15,132,244,1,137,213,137,194,141,139,
618 233,232,251,1,28,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,
619 15,16,4,199,255,139,172,253,141,233,139,141,233,255,252,242,15,17,1,255,221,
620 25,255,72,252,247,208,139,106,252,248,139,172,253,141,233,139,141,233,137,
621 65,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
622 255,141,180,253,134,233,139,108,36,96,131,189,233,0,15,132,244,247,137,149,
623 233,141,20,202,137,252,233,232,251,1,29,139,149,233,248,1,139,6,15,182,204,
624 15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,72,252,247,208,139,
625 108,36,96,137,149,233,68,139,66,252,248,139,20,135,137,252,233,137,116,36,
626 100,232,251,1,30,139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,237,
627 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,139,
628 108,36,96,137,149,233,139,139,233,59,139,233,137,116,36,100,15,131,244,251,
629 248,1,65,137,192,37,252,255,7,0,0,65,193,232,11,61,252,255,7,0,0,15,132,244,
630 249,248,2,137,252,233,137,194,232,251,1,31,139,149,233,15,182,78,252,253,
631 137,4,202,199,68,202,4,237,139,6,15,182,204,15,182,232,131,198,4,193,232,
632 16,252,255,36,252,235,248,3,184,1,8,0,0,252,233,244,2,248,5,137,252,233,232,
633 251,1,32,15,183,70,252,254,252,233,244,1,255,72,252,247,208,139,108,36,96,
634 139,139,233,137,116,36,100,59,139,233,137,149,233,15,131,244,249,248,2,139,
635 20,135,137,252,233,232,251,1,33,139,149,233,15,182,78,252,253,137,4,202,199,
636 68,202,4,237,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,
637 252,235,248,3,137,252,233,232,251,1,32,15,183,70,252,254,72,252,247,208,252,
638 233,244,2,255,72,252,247,208,139,106,252,248,139,173,233,139,4,135,252,233,
639 244,166,255,72,252,247,208,139,106,252,248,139,173,233,139,4,135,252,233,
640 244,167,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,
641 38,139,44,252,234,255,129,124,253,194,4,239,15,133,244,251,139,4,194,255,
642 129,124,253,194,4,239,15,131,244,251,255,252,242,15,16,4,194,252,242,15,45,
643 192,252,242,15,42,200,102,15,46,193,255,15,133,244,38,255,59,133,233,15,131,
644 244,38,193,224,3,3,133,233,129,120,253,4,239,15,132,244,248,72,139,40,72,
645 137,44,202,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
646 36,252,235,248,2,131,189,233,0,15,132,244,249,139,141,233,252,246,129,233,
647 235,15,132,244,38,15,182,78,252,253,248,3,199,68,202,4,237,252,233,244,1,
648 248,5,255,129,124,253,194,4,239,15,133,244,38,139,4,194,252,233,244,166,255,
649 15,182,252,236,15,182,192,72,252,247,208,139,4,135,129,124,253,252,234,4,
650 239,15,133,244,36,139,44,252,234,248,166,139,141,233,35,136,233,105,201,239,
651 3,141,233,248,1,129,185,233,239,15,133,244,250,57,129,233,15,133,244,250,
652 129,121,253,4,239,15,132,244,251,15,182,70,252,253,72,139,41,72,137,44,194,
653 248,2,255,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
654 235,248,3,15,182,70,252,253,199,68,194,4,237,252,233,244,2,248,4,139,137,
655 233,133,201,15,133,244,1,248,5,139,141,233,133,201,15,132,244,3,252,246,129,
656 233,235,15,133,244,3,252,233,244,36,255,15,182,252,236,15,182,192,129,124,
657 253,252,234,4,239,15,133,244,37,139,44,252,234,59,133,233,15,131,244,37,193,
658 224,3,3,133,233,129,120,253,4,239,15,132,244,248,72,139,40,72,137,44,202,
659 248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
660 248,2,131,189,233,0,15,132,244,249,139,141,233,252,246,129,233,235,15,132,
661 244,37,255,15,182,78,252,253,248,3,199,68,202,4,237,252,233,244,1,255,15,
662 182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,41,139,44,252,
663 234,255,15,133,244,41,255,59,133,233,15,131,244,41,193,224,3,3,133,233,129,
664 120,253,4,239,15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,
665 2,72,139,44,202,72,137,40,139,6,15,182,204,15,182,232,131,198,4,193,232,16,
666 252,255,36,252,235,248,3,131,189,233,0,15,132,244,1,139,141,233,252,246,129,
667 233,235,255,15,132,244,41,15,182,78,252,253,252,233,244,1,248,5,129,124,253,
668 194,4,239,15,133,244,41,139,4,194,252,233,244,167,248,7,128,165,233,235,139,
669 139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,2,255,15,182,
670 252,236,15,182,192,72,252,247,208,139,4,135,129,124,253,252,234,4,239,15,
671 133,244,39,139,44,252,234,248,167,139,141,233,35,136,233,105,201,239,198,
672 133,233,0,3,141,233,248,1,129,185,233,239,15,133,244,251,57,129,233,15,133,
673 244,251,129,121,253,4,239,15,132,244,250,248,2,255,252,246,133,233,235,15,
674 133,244,253,248,3,15,182,70,252,253,72,139,44,194,72,137,41,139,6,15,182,
675 204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,4,131,189,233,
676 0,15,132,244,2,137,76,36,80,139,141,233,252,246,129,233,235,15,132,244,39,
677 139,76,36,80,252,233,244,2,248,5,139,137,233,133,201,15,133,244,1,255,139,
678 141,233,133,201,15,132,244,252,252,246,129,233,235,15,132,244,39,248,6,137,
679 68,36,80,199,68,36,84,237,137,108,36,32,139,76,36,96,137,145,233,76,141,68,
680 36,80,137,252,234,137,205,137,116,36,100,232,251,1,34,139,149,233,139,108,
681 36,32,137,193,252,233,244,2,248,7,128,165,233,235,139,131,233,137,171,233,
682 137,133,233,252,233,244,3,255,15,182,252,236,15,182,192,129,124,253,252,234,
683 4,239,15,133,244,40,139,44,252,234,59,133,233,15,131,244,40,193,224,3,3,133,
684 233,129,120,253,4,239,15,132,244,249,248,1,252,246,133,233,235,15,133,244,
685 253,248,2,72,139,12,202,72,137,8,139,6,15,182,204,15,182,232,131,198,4,193,
686 232,16,252,255,36,252,235,248,3,131,189,233,0,15,132,244,1,255,139,141,233,
687 252,246,129,233,235,15,132,244,40,15,182,78,252,253,252,233,244,1,248,7,128,
688 165,233,235,139,139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,
689 244,2,255,137,124,36,80,139,60,199,248,1,141,12,202,139,105,252,248,252,246,
690 133,233,235,15,133,244,253,248,2,139,68,36,84,131,232,1,15,132,244,250,1,
691 252,248,59,133,233,15,135,244,251,41,252,248,193,231,3,3,189,233,248,3,72,
692 139,41,131,193,8,72,137,47,131,199,8,131,232,1,15,133,244,3,248,4,139,124,
693 36,80,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
694 248,5,139,76,36,96,137,145,233,137,252,234,65,137,192,137,205,137,116,36,
695 100,232,251,1,35,139,149,233,15,182,78,252,253,252,233,244,1,248,7,255,128,
696 165,233,235,139,131,233,137,171,233,137,133,233,252,233,244,2,255,3,68,36,
697 84,255,129,124,253,202,4,239,139,44,202,15,133,244,57,141,84,202,8,137,114,
698 252,252,139,181,233,139,14,15,182,252,233,15,182,205,131,198,4,252,255,36,
699 252,235,255,141,76,202,8,137,215,139,105,252,248,129,121,253,252,252,239,
700 15,133,244,29,248,58,139,114,252,252,252,247,198,237,15,133,244,253,248,1,
701 137,106,252,248,137,68,36,84,131,232,1,15,132,244,249,248,2,72,139,41,131,
702 193,8,72,137,47,131,199,8,131,232,1,15,133,244,2,139,106,252,248,248,3,139,
703 68,36,84,128,189,233,1,15,135,244,251,248,4,139,181,233,139,14,15,182,252,
704 233,15,182,205,131,198,4,252,255,36,252,235,248,5,255,252,247,198,237,15,
705 133,244,4,15,182,78,252,253,72,252,247,209,141,12,202,139,121,252,248,139,
706 191,233,139,191,233,252,233,244,4,248,7,129,252,238,239,252,247,198,237,15,
707 133,244,254,41,252,242,137,215,139,114,252,252,252,233,244,1,248,8,129,198,
708 239,252,233,244,1,255,141,76,202,8,72,139,105,232,72,139,65,252,240,72,137,
709 41,72,137,65,8,139,105,224,139,65,228,137,105,252,248,137,65,252,252,129,
710 252,248,239,184,237,15,133,244,29,137,202,137,114,252,252,139,181,233,139,
711 14,15,182,252,233,15,182,205,131,198,4,252,255,36,252,235,255,137,124,36,
712 80,137,92,36,84,139,108,202,252,240,139,68,202,252,248,139,157,233,131,198,
713 4,139,189,233,248,1,57,216,15,131,244,251,129,124,253,199,4,239,15,132,244,
714 250,255,219,68,202,252,248,255,72,139,44,199,72,137,108,202,8,131,192,1,255,
715 137,68,202,252,248,248,2,15,183,70,252,254,141,180,253,134,233,248,3,139,
716 92,36,84,139,124,36,80,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
717 255,36,252,235,248,4,131,192,1,255,137,68,202,252,248,255,252,233,244,1,248,
718 5,41,216,248,6,59,133,233,15,135,244,3,105,252,248,239,3,189,233,129,191,
719 233,239,15,132,244,253,141,92,24,1,72,139,175,233,72,139,135,233,72,137,44,
720 202,72,137,68,202,8,137,92,202,252,248,252,233,244,2,248,7,131,192,1,252,
721 233,244,6,255,129,124,253,202,252,236,239,15,133,244,251,139,108,202,232,
722 129,124,253,202,252,244,239,15,133,244,251,129,124,253,202,252,252,239,15,
723 133,244,251,128,189,233,235,15,133,244,251,141,180,253,134,233,199,68,202,
724 252,248,0,0,0,0,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
725 255,36,252,235,248,5,198,70,252,252,235,141,180,253,134,233,198,6,235,252,
726 233,244,1,255,15,182,252,236,15,182,192,137,124,36,80,141,188,253,194,233,
727 141,12,202,43,122,252,252,133,252,237,15,132,244,251,141,108,252,233,252,
728 248,57,215,15,131,244,248,248,1,72,139,71,252,248,131,199,8,72,137,1,131,
729 193,8,57,252,233,15,131,244,249,57,215,15,130,244,1,248,2,199,65,4,237,131,
730 193,8,57,252,233,15,130,244,2,248,3,139,124,36,80,139,6,15,182,204,15,182,
731 232,131,198,4,193,232,16,252,255,36,252,235,248,5,199,68,36,84,1,0,0,0,137,
732 208,41,252,248,15,134,244,3,137,197,193,252,237,3,131,197,1,137,108,36,84,
733 139,108,36,96,1,200,59,133,233,15,135,244,253,248,6,255,72,139,71,252,248,
734 131,199,8,72,137,1,131,193,8,57,215,15,130,244,6,252,233,244,3,248,7,137,
735 149,233,137,141,233,137,116,36,100,41,215,139,84,36,84,131,252,234,1,137,
736 252,233,232,251,1,0,139,149,233,139,141,233,1,215,252,233,244,6,255,193,225,
737 3,255,248,1,139,114,252,252,137,68,36,84,252,247,198,237,15,133,244,253,255,
738 248,13,137,215,131,232,1,15,132,244,249,248,2,72,139,44,15,72,137,111,252,
739 248,131,199,8,131,232,1,15,133,244,2,248,3,139,68,36,84,15,182,110,252,255,
740 248,5,57,197,15,135,244,252,255,72,139,44,10,72,137,106,252,248,255,248,5,
741 56,70,252,255,15,135,244,252,255,15,182,78,252,253,72,252,247,209,141,20,
742 202,139,122,252,248,139,191,233,139,191,233,139,6,15,182,204,15,182,232,131,
743 198,4,193,232,16,252,255,36,252,235,248,6,255,199,71,252,252,237,131,199,
744 8,255,199,68,194,252,244,237,255,131,192,1,252,233,244,5,248,7,141,174,233,
745 252,247,197,237,15,133,244,14,41,252,234,255,1,252,233,255,137,252,245,209,
746 252,237,129,229,239,102,131,172,253,43,233,1,15,132,244,147,255,141,12,202,
747 255,129,121,253,4,239,15,133,244,255,255,129,121,253,12,239,15,133,244,59,
748 129,121,253,20,239,15,133,244,59,139,41,131,121,16,0,15,140,244,251,255,129,
749 121,253,12,239,15,133,244,164,129,121,253,20,239,15,133,244,164,255,139,105,
750 16,133,252,237,15,136,244,251,3,41,15,128,244,247,137,41,255,59,105,8,199,
751 65,28,237,137,105,24,255,15,142,244,253,248,1,248,6,141,180,253,134,233,255,
752 141,180,253,134,233,15,183,70,252,254,15,142,245,248,1,248,6,255,15,143,244,
753 253,248,6,141,180,253,134,233,248,1,255,248,7,139,6,15,182,204,15,182,232,
754 131,198,4,193,232,16,252,255,36,252,235,248,5,255,3,41,15,128,244,1,137,41,
755 255,15,141,244,7,255,141,180,253,134,233,15,183,70,252,254,15,141,245,255,
756 15,140,244,7,255,252,233,244,6,248,9,255,129,121,253,4,239,255,15,131,244,
757 59,129,121,253,12,239,15,131,244,59,255,129,121,253,12,239,15,131,244,164,
758 129,121,253,20,239,15,131,244,164,255,139,105,20,255,129,252,253,239,15,131,
759 244,59,255,252,242,15,16,1,252,242,15,16,73,8,255,252,242,15,88,65,16,252,
760 242,15,17,1,133,252,237,15,136,244,249,255,15,140,244,249,255,102,15,46,200,
761 248,1,252,242,15,17,65,24,255,221,65,8,221,1,255,220,65,16,221,17,221,81,
762 24,133,252,237,15,136,244,247,255,221,81,24,15,140,244,247,255,217,201,248,
763 1,255,15,183,70,252,254,255,15,131,244,7,255,15,131,244,248,141,180,253,134,
764 233,255,141,180,253,134,233,15,183,70,252,254,15,131,245,255,15,130,244,7,
765 255,15,130,244,248,141,180,253,134,233,255,248,3,102,15,46,193,252,233,244,
766 1,255,141,12,202,139,105,4,129,252,253,239,15,132,244,247,255,137,105,252,
767 252,139,41,137,105,252,248,252,233,245,255,141,180,253,134,233,139,1,137,
768 105,252,252,137,65,252,248,255,139,139,233,139,4,129,72,139,128,233,139,108,
769 36,96,137,147,233,137,171,233,76,137,100,36,80,76,137,108,36,32,76,137,116,
770 36,24,76,137,124,36,16,72,137,225,72,129,252,236,239,102,15,127,49,102,15,
771 127,185,233,102,68,15,127,129,233,102,68,15,127,137,233,102,68,15,127,145,
772 233,102,68,15,127,153,233,102,68,15,127,161,233,102,68,15,127,169,233,102,
773 68,15,127,177,233,102,68,15,127,185,233,252,255,224,255,141,180,253,134,233,
774 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,137,
775 252,245,209,252,237,129,229,239,102,131,172,253,43,233,1,15,132,244,149,255,
776 139,190,233,139,108,36,96,141,12,202,59,141,233,15,135,244,24,15,182,142,
777 233,57,200,15,134,244,249,248,2,255,15,183,70,252,254,252,233,245,255,248,
778 3,199,68,194,252,252,237,131,192,1,57,200,15,134,244,3,252,233,244,2,255,
779 141,44,197,237,141,4,194,139,122,252,248,137,104,252,252,137,120,252,248,
780 139,108,36,96,141,12,200,59,141,233,15,135,244,23,137,209,137,194,15,182,
781 174,233,133,252,237,15,132,244,248,248,1,131,193,8,57,209,15,131,244,249,
782 139,121,252,248,137,56,139,121,252,252,137,120,4,131,192,8,199,65,252,252,
783 237,131,252,237,1,15,133,244,1,248,2,255,139,190,233,139,6,15,182,204,15,
784 182,232,131,198,4,193,232,16,252,255,36,252,235,255,248,3,199,64,4,237,131,
785 192,8,131,252,237,1,15,133,244,3,252,233,244,2,255,139,106,252,248,72,139,
786 189,233,139,108,36,96,141,68,194,252,248,137,149,233,141,136,233,59,141,233,
787 137,133,233,255,72,137,252,250,137,252,233,255,15,135,244,22,199,131,233,
788 237,255,252,255,215,255,252,255,147,233,255,199,131,233,237,139,149,233,141,
789 12,194,252,247,217,3,141,233,139,114,252,252,252,233,244,12,255,254,0
792 enum {
793 GLOB_vm_returnp,
794 GLOB_cont_dispatch,
795 GLOB_vm_returnc,
796 GLOB_BC_RET_Z,
797 GLOB_vm_return,
798 GLOB_vm_leave_cp,
799 GLOB_vm_leave_unw,
800 GLOB_vm_unwind_c,
801 GLOB_vm_unwind_c_eh,
802 GLOB_vm_unwind_rethrow,
803 GLOB_vm_unwind_ff,
804 GLOB_vm_unwind_ff_eh,
805 GLOB_vm_growstack_c,
806 GLOB_vm_growstack_v,
807 GLOB_vm_growstack_f,
808 GLOB_vm_resume,
809 GLOB_vm_pcall,
810 GLOB_vm_call,
811 GLOB_vm_call_dispatch,
812 GLOB_vmeta_call,
813 GLOB_vm_call_dispatch_f,
814 GLOB_vm_cpcall,
815 GLOB_vm_call_tail,
816 GLOB_cont_cat,
817 GLOB_cont_ra,
818 GLOB_BC_CAT_Z,
819 GLOB_vmeta_tgets,
820 GLOB_vmeta_tgetb,
821 GLOB_vmeta_tgetv,
822 GLOB_vmeta_tsets,
823 GLOB_vmeta_tsetb,
824 GLOB_vmeta_tsetv,
825 GLOB_cont_nop,
826 GLOB_vmeta_comp,
827 GLOB_vmeta_binop,
828 GLOB_cont_condt,
829 GLOB_cont_condf,
830 GLOB_vmeta_equal,
831 GLOB_vmeta_equal_cd,
832 GLOB_vmeta_arith_vno,
833 GLOB_vmeta_arith_vn,
834 GLOB_vmeta_arith_nvo,
835 GLOB_vmeta_arith_nv,
836 GLOB_vmeta_unm,
837 GLOB_vmeta_arith_vvo,
838 GLOB_vmeta_arith_vv,
839 GLOB_vmeta_len,
840 GLOB_vmeta_call_ra,
841 GLOB_BC_CALLT_Z,
842 GLOB_vmeta_for,
843 GLOB_ff_assert,
844 GLOB_fff_fallback,
845 GLOB_fff_res_,
846 GLOB_ff_type,
847 GLOB_fff_res1,
848 GLOB_ff_getmetatable,
849 GLOB_ff_setmetatable,
850 GLOB_ff_rawget,
851 GLOB_ff_tonumber,
852 GLOB_fff_resi,
853 GLOB_fff_resxmm0,
854 GLOB_fff_resn,
855 GLOB_ff_tostring,
856 GLOB_fff_gcstep,
857 GLOB_ff_next,
858 GLOB_fff_res2,
859 GLOB_fff_res,
860 GLOB_ff_pairs,
861 GLOB_ff_ipairs_aux,
862 GLOB_fff_res0,
863 GLOB_ff_ipairs,
864 GLOB_ff_pcall,
865 GLOB_ff_xpcall,
866 GLOB_ff_coroutine_resume,
867 GLOB_ff_coroutine_wrap_aux,
868 GLOB_ff_coroutine_yield,
869 GLOB_ff_math_abs,
870 GLOB_fff_resbit,
871 GLOB_ff_math_floor,
872 GLOB_vm_floor,
873 GLOB_ff_math_ceil,
874 GLOB_vm_ceil,
875 GLOB_ff_math_sqrt,
876 GLOB_ff_math_log,
877 GLOB_ff_math_log10,
878 GLOB_ff_math_exp,
879 GLOB_vm_exp_x87,
880 GLOB_ff_math_sin,
881 GLOB_ff_math_cos,
882 GLOB_ff_math_tan,
883 GLOB_ff_math_asin,
884 GLOB_ff_math_acos,
885 GLOB_ff_math_atan,
886 GLOB_ff_math_sinh,
887 GLOB_ff_math_cosh,
888 GLOB_ff_math_tanh,
889 GLOB_ff_math_deg,
890 GLOB_ff_math_rad,
891 GLOB_ff_math_atan2,
892 GLOB_ff_math_ldexp,
893 GLOB_ff_math_frexp,
894 GLOB_ff_math_modf,
895 GLOB_vm_trunc,
896 GLOB_ff_math_fmod,
897 GLOB_ff_math_pow,
898 GLOB_vm_pow,
899 GLOB_ff_math_min,
900 GLOB_ff_math_max,
901 GLOB_ff_string_len,
902 GLOB_ff_string_byte,
903 GLOB_ff_string_char,
904 GLOB_fff_newstr,
905 GLOB_ff_string_sub,
906 GLOB_fff_emptystr,
907 GLOB_ff_string_rep,
908 GLOB_fff_fallback_2,
909 GLOB_ff_string_reverse,
910 GLOB_fff_fallback_1,
911 GLOB_ff_string_lower,
912 GLOB_ff_string_upper,
913 GLOB_ff_table_getn,
914 GLOB_ff_bit_tobit,
915 GLOB_ff_bit_band,
916 GLOB_fff_fallback_bit_op,
917 GLOB_ff_bit_bor,
918 GLOB_ff_bit_bxor,
919 GLOB_ff_bit_bswap,
920 GLOB_ff_bit_bnot,
921 GLOB_ff_bit_lshift,
922 GLOB_ff_bit_rshift,
923 GLOB_ff_bit_arshift,
924 GLOB_ff_bit_rol,
925 GLOB_ff_bit_ror,
926 GLOB_vm_record,
927 GLOB_vm_rethook,
928 GLOB_vm_inshook,
929 GLOB_cont_hook,
930 GLOB_vm_hotloop,
931 GLOB_vm_callhook,
932 GLOB_vm_hotcall,
933 GLOB_vm_exit_handler,
934 GLOB_vm_exit_interp,
935 GLOB_vm_floor_sse,
936 GLOB_vm_ceil_sse,
937 GLOB_vm_trunc_sse,
938 GLOB_vm_mod,
939 GLOB_vm_exp2_x87,
940 GLOB_vm_exp2raw,
941 GLOB_vm_pow_sse,
942 GLOB_vm_powi_sse,
943 GLOB_vm_foldfpm,
944 GLOB_vm_foldarith,
945 GLOB_vm_cpuid,
946 GLOB_vm_ffi_call,
947 GLOB_assert_bad_for_arg_type,
948 GLOB_BC_MODVN_Z,
949 GLOB_BC_TGETS_Z,
950 GLOB_BC_TSETS_Z,
951 GLOB__MAX
953 static const char *const globnames[] = {
954 "vm_returnp",
955 "cont_dispatch",
956 "vm_returnc",
957 "BC_RET_Z",
958 "vm_return",
959 "vm_leave_cp",
960 "vm_leave_unw",
961 "vm_unwind_c@8",
962 "vm_unwind_c_eh",
963 "vm_unwind_rethrow",
964 "vm_unwind_ff@4",
965 "vm_unwind_ff_eh",
966 "vm_growstack_c",
967 "vm_growstack_v",
968 "vm_growstack_f",
969 "vm_resume",
970 "vm_pcall",
971 "vm_call",
972 "vm_call_dispatch",
973 "vmeta_call",
974 "vm_call_dispatch_f",
975 "vm_cpcall",
976 "vm_call_tail",
977 "cont_cat",
978 "cont_ra",
979 "BC_CAT_Z",
980 "vmeta_tgets",
981 "vmeta_tgetb",
982 "vmeta_tgetv",
983 "vmeta_tsets",
984 "vmeta_tsetb",
985 "vmeta_tsetv",
986 "cont_nop",
987 "vmeta_comp",
988 "vmeta_binop",
989 "cont_condt",
990 "cont_condf",
991 "vmeta_equal",
992 "vmeta_equal_cd",
993 "vmeta_arith_vno",
994 "vmeta_arith_vn",
995 "vmeta_arith_nvo",
996 "vmeta_arith_nv",
997 "vmeta_unm",
998 "vmeta_arith_vvo",
999 "vmeta_arith_vv",
1000 "vmeta_len",
1001 "vmeta_call_ra",
1002 "BC_CALLT_Z",
1003 "vmeta_for",
1004 "ff_assert",
1005 "fff_fallback",
1006 "fff_res_",
1007 "ff_type",
1008 "fff_res1",
1009 "ff_getmetatable",
1010 "ff_setmetatable",
1011 "ff_rawget",
1012 "ff_tonumber",
1013 "fff_resi",
1014 "fff_resxmm0",
1015 "fff_resn",
1016 "ff_tostring",
1017 "fff_gcstep",
1018 "ff_next",
1019 "fff_res2",
1020 "fff_res",
1021 "ff_pairs",
1022 "ff_ipairs_aux",
1023 "fff_res0",
1024 "ff_ipairs",
1025 "ff_pcall",
1026 "ff_xpcall",
1027 "ff_coroutine_resume",
1028 "ff_coroutine_wrap_aux",
1029 "ff_coroutine_yield",
1030 "ff_math_abs",
1031 "fff_resbit",
1032 "ff_math_floor",
1033 "vm_floor",
1034 "ff_math_ceil",
1035 "vm_ceil",
1036 "ff_math_sqrt",
1037 "ff_math_log",
1038 "ff_math_log10",
1039 "ff_math_exp",
1040 "vm_exp_x87",
1041 "ff_math_sin",
1042 "ff_math_cos",
1043 "ff_math_tan",
1044 "ff_math_asin",
1045 "ff_math_acos",
1046 "ff_math_atan",
1047 "ff_math_sinh",
1048 "ff_math_cosh",
1049 "ff_math_tanh",
1050 "ff_math_deg",
1051 "ff_math_rad",
1052 "ff_math_atan2",
1053 "ff_math_ldexp",
1054 "ff_math_frexp",
1055 "ff_math_modf",
1056 "vm_trunc",
1057 "ff_math_fmod",
1058 "ff_math_pow",
1059 "vm_pow",
1060 "ff_math_min",
1061 "ff_math_max",
1062 "ff_string_len",
1063 "ff_string_byte",
1064 "ff_string_char",
1065 "fff_newstr",
1066 "ff_string_sub",
1067 "fff_emptystr",
1068 "ff_string_rep",
1069 "fff_fallback_2",
1070 "ff_string_reverse",
1071 "fff_fallback_1",
1072 "ff_string_lower",
1073 "ff_string_upper",
1074 "ff_table_getn",
1075 "ff_bit_tobit",
1076 "ff_bit_band",
1077 "fff_fallback_bit_op",
1078 "ff_bit_bor",
1079 "ff_bit_bxor",
1080 "ff_bit_bswap",
1081 "ff_bit_bnot",
1082 "ff_bit_lshift",
1083 "ff_bit_rshift",
1084 "ff_bit_arshift",
1085 "ff_bit_rol",
1086 "ff_bit_ror",
1087 "vm_record",
1088 "vm_rethook",
1089 "vm_inshook",
1090 "cont_hook",
1091 "vm_hotloop",
1092 "vm_callhook",
1093 "vm_hotcall",
1094 "vm_exit_handler",
1095 "vm_exit_interp",
1096 "vm_floor_sse",
1097 "vm_ceil_sse",
1098 "vm_trunc_sse",
1099 "vm_mod",
1100 "vm_exp2_x87",
1101 "vm_exp2raw",
1102 "vm_pow_sse",
1103 "vm_powi_sse",
1104 "vm_foldfpm",
1105 "vm_foldarith",
1106 "vm_cpuid",
1107 "vm_ffi_call@4",
1108 "assert_bad_for_arg_type",
1109 "BC_MODVN_Z",
1110 "BC_TGETS_Z",
1111 "BC_TSETS_Z",
1112 (const char *)0
1114 static const char *const extnames[] = {
1115 "lj_state_growstack@8",
1116 "lj_meta_tget",
1117 "lj_meta_tset",
1118 "lj_meta_comp",
1119 "lj_meta_equal",
1120 "lj_meta_equal_cd@8",
1121 "lj_meta_arith",
1122 "lj_meta_len@8",
1123 "lj_meta_call",
1124 "lj_meta_for@8",
1125 "lj_tab_get",
1126 "lj_str_fromnumber@8",
1127 "lj_str_fromnum@8",
1128 "lj_tab_next",
1129 "lj_tab_getinth@8",
1130 "lj_ffh_coroutine_wrap_err@8",
1131 "lj_vm_sinh",
1132 "lj_vm_cosh",
1133 "lj_vm_tanh",
1134 "lj_str_new",
1135 "lj_tab_len@4",
1136 "lj_gc_step@4",
1137 "lj_dispatch_ins@8",
1138 "lj_trace_hot@8",
1139 "lj_dispatch_call@8",
1140 "lj_trace_exit@8",
1141 "lj_err_throw@8",
1142 "lj_meta_cat",
1143 "lj_gc_barrieruv@8",
1144 "lj_func_closeuv@8",
1145 "lj_func_newL_gc",
1146 "lj_tab_new",
1147 "lj_gc_step_fixtop@4",
1148 "lj_tab_dup@8",
1149 "lj_tab_newkey",
1150 "lj_tab_reasize",
1151 (const char *)0
1153 #define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1154 #define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1155 #define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1156 #define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1157 #define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1158 #define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1159 #define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1160 #define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1161 #define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1162 #define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1163 #define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1164 #define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1165 #define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V)
1166 #define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1167 #define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1168 #define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto))
1170 /* Generate subroutines used by opcodes and other parts of the VM. */
1171 /* The .code_sub section should be last to help static branch prediction. */
1172 static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1174 dasm_put(Dst, 0);
1175 dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C);
1176 dasm_put(Dst, 109, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL);
1177 dasm_put(Dst, 198, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK);
1178 dasm_put(Dst, 276, 1+1, Dt1(->base), Dt1(->glref), GG_G2DISP, LJ_TFALSE, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, LUA_MINSTACK, -4+PC2PROTO(framesize), Dt1(->base));
1179 dasm_put(Dst, 356, 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);
1180 dasm_put(Dst, 511, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1181 dasm_put(Dst, 604, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL);
1182 dasm_put(Dst, 770, 0, Dt7(->pc), PC2PROTO(k), Dt1(->base), LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1183 dasm_put(Dst, 894);
1184 if (LJ_DUALNUM) {
1185 dasm_put(Dst, 908, LJ_TISNUM);
1186 } else if (sse) {
1187 dasm_put(Dst, 918);
1188 } else {
1190 dasm_put(Dst, 931, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET);
1191 dasm_put(Dst, 1078, DISPATCH_GL(tmptv), LJ_TTAB);
1192 if (LJ_DUALNUM) {
1193 dasm_put(Dst, 908, LJ_TISNUM);
1194 } else if (sse) {
1195 dasm_put(Dst, 918);
1196 } else {
1198 dasm_put(Dst, 1101, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base));
1199 dasm_put(Dst, 1274, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1200 dasm_put(Dst, 1374);
1201 #if LJ_HASFFI
1202 dasm_put(Dst, 1394, Dt1(->base));
1203 #endif
1204 dasm_put(Dst, 1425);
1205 #if LJ_DUALNUM
1206 dasm_put(Dst, 1428);
1207 #endif
1208 dasm_put(Dst, 1434);
1209 #if LJ_DUALNUM
1210 dasm_put(Dst, 902);
1211 #endif
1212 dasm_put(Dst, 1446);
1213 #if LJ_DUALNUM
1214 dasm_put(Dst, 1428);
1215 #endif
1216 dasm_put(Dst, 1474, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base), Dt1(->base));
1217 dasm_put(Dst, 1611, Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND);
1218 dasm_put(Dst, 1794, 1+1, ~LJ_TNUMX);
1219 if (cmov) {
1220 dasm_put(Dst, 1839);
1221 } else {
1222 dasm_put(Dst, 1843);
1224 dasm_put(Dst, 1852, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, ~LJ_TLIGHTUD, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL);
1225 dasm_put(Dst, 1931, 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));
1226 dasm_put(Dst, 1988, LJ_TNIL, LJ_TUDATA, LJ_TNUMX, LJ_TISNUM, LJ_TLIGHTUD);
1227 dasm_put(Dst, 2054, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB);
1228 dasm_put(Dst, 2124, 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);
1229 dasm_put(Dst, 2213, 1+1, LJ_TISNUM);
1230 if (LJ_DUALNUM) {
1231 dasm_put(Dst, 2227);
1232 } else {
1233 dasm_put(Dst, 2244);
1235 if (sse) {
1236 dasm_put(Dst, 2249);
1237 } else {
1238 dasm_put(Dst, 2259);
1240 dasm_put(Dst, 2266, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1241 dasm_put(Dst, 2332, Dt1(->base));
1242 if (LJ_DUALNUM) {
1243 dasm_put(Dst, 2356);
1244 } else {
1245 dasm_put(Dst, 2361);
1247 dasm_put(Dst, 2366, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2);
1248 dasm_put(Dst, 2459, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1249 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1250 dasm_put(Dst, 2506, Dt6(->metatable));
1251 #endif
1252 dasm_put(Dst, 2515, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1253 if (LJ_DUALNUM) {
1254 dasm_put(Dst, 2501);
1255 } else {
1256 dasm_put(Dst, 2244);
1258 dasm_put(Dst, 2570);
1259 if (LJ_DUALNUM) {
1260 dasm_put(Dst, 2575, LJ_TISNUM);
1261 } else if (sse) {
1262 dasm_put(Dst, 2591, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1263 } else {
1265 dasm_put(Dst, 2624, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1266 dasm_put(Dst, 2486, 1+1, LJ_TTAB);
1267 #ifdef LUAJIT_ENABLE_LUA52COMPAT
1268 dasm_put(Dst, 2506, Dt6(->metatable));
1269 #endif
1270 dasm_put(Dst, 2701, Dt8(->upvalue[0]), LJ_TFUNC);
1271 if (LJ_DUALNUM) {
1272 dasm_put(Dst, 2722, LJ_TISNUM);
1273 } else if (sse) {
1274 dasm_put(Dst, 2734);
1275 } else {
1276 dasm_put(Dst, 2744);
1278 dasm_put(Dst, 2751, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC);
1279 dasm_put(Dst, 2815, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top));
1280 dasm_put(Dst, 2905, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1281 dasm_put(Dst, 2993, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE);
1282 dasm_put(Dst, 3106, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe));
1283 dasm_put(Dst, 3204, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1284 dasm_put(Dst, 3271, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack));
1285 dasm_put(Dst, 3359, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME);
1286 dasm_put(Dst, 3471, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1287 if (!LJ_DUALNUM) {
1288 dasm_put(Dst, 3498);
1290 if (sse) {
1291 dasm_put(Dst, 3501);
1293 dasm_put(Dst, 3516, 1+1);
1294 if (LJ_DUALNUM) {
1295 dasm_put(Dst, 3527, LJ_TISNUM, LJ_TISNUM);
1296 } else {
1297 dasm_put(Dst, 3607, LJ_TISNUM);
1299 if (sse) {
1300 dasm_put(Dst, 3617, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1301 } else {
1302 dasm_put(Dst, 3648);
1304 dasm_put(Dst, 3665, 1+1, FRAME_TYPE, LJ_TNIL);
1305 if (LJ_DUALNUM) {
1306 dasm_put(Dst, 3761, LJ_TISNUM);
1307 } else {
1308 dasm_put(Dst, 3607, LJ_TISNUM);
1310 if (sse) {
1311 dasm_put(Dst, 3783);
1312 if (LJ_DUALNUM) {
1313 dasm_put(Dst, 3792);
1315 dasm_put(Dst, 2254);
1316 } else {
1317 dasm_put(Dst, 3826);
1318 if (LJ_DUALNUM) {
1319 } else {
1320 dasm_put(Dst, 2261);
1323 dasm_put(Dst, 3832);
1324 if (LJ_DUALNUM) {
1325 dasm_put(Dst, 3761, LJ_TISNUM);
1326 } else {
1327 dasm_put(Dst, 3607, LJ_TISNUM);
1329 if (sse) {
1330 dasm_put(Dst, 3835);
1331 if (LJ_DUALNUM) {
1332 dasm_put(Dst, 3792);
1334 dasm_put(Dst, 2254);
1335 } else {
1336 dasm_put(Dst, 3844);
1337 if (LJ_DUALNUM) {
1338 } else {
1339 dasm_put(Dst, 2261);
1342 if (sse) {
1343 dasm_put(Dst, 3850, 1+1, LJ_TISNUM);
1344 } else {
1345 dasm_put(Dst, 3879, 1+1, LJ_TISNUM);
1347 dasm_put(Dst, 3908, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1348 dasm_put(Dst, 3977, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1349 dasm_put(Dst, 4034, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1350 dasm_put(Dst, 4097, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1351 dasm_put(Dst, 4187);
1352 if (sse) {
1353 dasm_put(Dst, 4199, 1+1, LJ_TISNUM);
1354 } else {
1356 dasm_put(Dst, 4224);
1357 if (sse) {
1358 dasm_put(Dst, 4238, 1+1, LJ_TISNUM);
1359 } else {
1361 dasm_put(Dst, 4263);
1362 if (sse) {
1363 dasm_put(Dst, 4277, 1+1, LJ_TISNUM);
1364 } else {
1366 dasm_put(Dst, 4302);
1367 if (sse) {
1368 dasm_put(Dst, 4318, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1369 } else {
1370 dasm_put(Dst, 4357, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1372 dasm_put(Dst, 4390, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1373 dasm_put(Dst, 4455, 1+1, LJ_TISNUM);
1374 if (sse) {
1375 dasm_put(Dst, 4554);
1376 } else {
1377 dasm_put(Dst, 4560);
1379 dasm_put(Dst, 4569);
1380 if (sse) {
1381 dasm_put(Dst, 4594);
1382 } else {
1383 dasm_put(Dst, 4600);
1385 dasm_put(Dst, 4603, 1+2);
1386 if (sse) {
1387 dasm_put(Dst, 4612);
1388 } else {
1389 dasm_put(Dst, 4620);
1391 dasm_put(Dst, 4628);
1392 if (sse) {
1393 dasm_put(Dst, 4631, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
1394 } else {
1395 dasm_put(Dst, 4658);
1397 dasm_put(Dst, 4677);
1398 if (sse) {
1399 dasm_put(Dst, 4693, 1+1, LJ_TISNUM);
1400 } else {
1401 dasm_put(Dst, 4718, 1+1, LJ_TISNUM);
1403 dasm_put(Dst, 4740);
1404 if (sse) {
1405 dasm_put(Dst, 4762);
1406 } else {
1407 dasm_put(Dst, 4788);
1409 dasm_put(Dst, 4805, 1+2);
1410 if (sse) {
1411 dasm_put(Dst, 4845);
1412 } else {
1413 dasm_put(Dst, 4853);
1415 dasm_put(Dst, 4863, 2+1, LJ_TISNUM, LJ_TISNUM);
1416 if (sse) {
1417 dasm_put(Dst, 4915, 2+1, LJ_TISNUM, LJ_TISNUM);
1418 } else {
1419 dasm_put(Dst, 4962, 2+1, LJ_TISNUM, LJ_TISNUM);
1421 dasm_put(Dst, 5003, LJ_TISNUM);
1422 if (LJ_DUALNUM) {
1423 dasm_put(Dst, 5016, LJ_TISNUM);
1424 if (sse) {
1425 dasm_put(Dst, 4554);
1426 } else {
1428 dasm_put(Dst, 5066);
1429 } else {
1430 dasm_put(Dst, 2244);
1432 if (sse) {
1433 dasm_put(Dst, 5077, LJ_TISNUM);
1434 if (LJ_DUALNUM) {
1435 dasm_put(Dst, 5098);
1436 } else {
1437 dasm_put(Dst, 2244);
1439 dasm_put(Dst, 5119);
1440 } else {
1442 dasm_put(Dst, 5144, LJ_TISNUM);
1443 if (LJ_DUALNUM) {
1444 dasm_put(Dst, 5157, LJ_TISNUM);
1445 if (sse) {
1446 dasm_put(Dst, 4554);
1447 } else {
1449 dasm_put(Dst, 5066);
1450 } else {
1451 dasm_put(Dst, 2244);
1453 if (sse) {
1454 dasm_put(Dst, 5077, LJ_TISNUM);
1455 if (LJ_DUALNUM) {
1456 dasm_put(Dst, 5098);
1457 } else {
1458 dasm_put(Dst, 2244);
1460 dasm_put(Dst, 5207);
1461 } else {
1463 if (!sse) {
1464 dasm_put(Dst, 5232);
1466 dasm_put(Dst, 5241, 1+1, LJ_TSTR);
1467 if (LJ_DUALNUM) {
1468 dasm_put(Dst, 5263, Dt5(->len));
1469 } else if (sse) {
1470 dasm_put(Dst, 5271, Dt5(->len));
1471 } else {
1472 dasm_put(Dst, 5282, Dt5(->len));
1474 dasm_put(Dst, 5290, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1475 if (LJ_DUALNUM) {
1476 dasm_put(Dst, 5266);
1477 } else if (sse) {
1478 dasm_put(Dst, 5328);
1479 } else {
1480 dasm_put(Dst, 5338);
1482 dasm_put(Dst, 5351, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1483 if (LJ_DUALNUM) {
1484 dasm_put(Dst, 5382);
1485 } else if (sse) {
1486 dasm_put(Dst, 5405);
1487 } else {
1488 dasm_put(Dst, 5431);
1490 dasm_put(Dst, 5455, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1491 if (LJ_DUALNUM) {
1492 dasm_put(Dst, 5563);
1493 } else if (sse) {
1494 dasm_put(Dst, 5575);
1495 } else {
1496 dasm_put(Dst, 5590);
1498 dasm_put(Dst, 5602, LJ_TSTR, LJ_TISNUM);
1499 if (LJ_DUALNUM) {
1500 dasm_put(Dst, 2501);
1501 } else {
1502 dasm_put(Dst, 2244);
1504 dasm_put(Dst, 5619, Dt5(->len));
1505 if (LJ_DUALNUM) {
1506 dasm_put(Dst, 5629);
1507 } else if (sse) {
1508 dasm_put(Dst, 5633);
1509 } else {
1511 dasm_put(Dst, 5640, sizeof(GCstr)-1);
1512 dasm_put(Dst, 5715, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1513 dasm_put(Dst, 5774, LJ_TSTR, LJ_TISNUM);
1514 if (LJ_DUALNUM) {
1515 dasm_put(Dst, 5791);
1516 } else if (sse) {
1517 dasm_put(Dst, 5799);
1518 } else {
1519 dasm_put(Dst, 5810);
1521 dasm_put(Dst, 5826, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1522 dasm_put(Dst, 5891, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1523 dasm_put(Dst, 5954, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1524 dasm_put(Dst, 6025, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1525 dasm_put(Dst, 6110, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1526 dasm_put(Dst, 6180, 1+1, LJ_TTAB);
1527 if (LJ_DUALNUM) {
1528 dasm_put(Dst, 6248);
1529 } else if (sse) {
1530 dasm_put(Dst, 6255);
1531 } else {
1533 dasm_put(Dst, 6265, 1+1, LJ_TISNUM);
1534 if (LJ_DUALNUM) {
1535 dasm_put(Dst, 6281);
1536 } else {
1537 dasm_put(Dst, 2244);
1539 if (sse) {
1540 dasm_put(Dst, 6298, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1541 } else {
1543 dasm_put(Dst, 106);
1544 if (LJ_DUALNUM || sse) {
1545 if (!sse) {
1547 dasm_put(Dst, 6322);
1548 } else {
1550 dasm_put(Dst, 6327, 1+1);
1551 if (sse) {
1552 dasm_put(Dst, 6338, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1553 } else {
1554 dasm_put(Dst, 6348);
1556 dasm_put(Dst, 2221, LJ_TISNUM);
1557 if (LJ_DUALNUM) {
1558 dasm_put(Dst, 6357);
1559 } else {
1560 dasm_put(Dst, 2244);
1562 if (sse) {
1563 dasm_put(Dst, 6374);
1564 } else {
1566 dasm_put(Dst, 6389, LJ_TISNUM);
1567 if (LJ_DUALNUM) {
1568 dasm_put(Dst, 6414);
1569 } else {
1570 dasm_put(Dst, 6434);
1572 if (sse) {
1573 dasm_put(Dst, 6439);
1574 } else {
1576 dasm_put(Dst, 6456, 1+1);
1577 if (sse) {
1578 dasm_put(Dst, 6338, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1579 } else {
1580 dasm_put(Dst, 6348);
1582 dasm_put(Dst, 2221, LJ_TISNUM);
1583 if (LJ_DUALNUM) {
1584 dasm_put(Dst, 6357);
1585 } else {
1586 dasm_put(Dst, 2244);
1588 if (sse) {
1589 dasm_put(Dst, 6374);
1590 } else {
1592 dasm_put(Dst, 6389, LJ_TISNUM);
1593 if (LJ_DUALNUM) {
1594 dasm_put(Dst, 6474);
1595 } else {
1596 dasm_put(Dst, 6434);
1598 if (sse) {
1599 dasm_put(Dst, 6494);
1600 } else {
1602 dasm_put(Dst, 6511, 1+1);
1603 if (sse) {
1604 dasm_put(Dst, 6338, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1605 } else {
1606 dasm_put(Dst, 6348);
1608 dasm_put(Dst, 2221, LJ_TISNUM);
1609 if (LJ_DUALNUM) {
1610 dasm_put(Dst, 6357);
1611 } else {
1612 dasm_put(Dst, 2244);
1614 if (sse) {
1615 dasm_put(Dst, 6374);
1616 } else {
1618 dasm_put(Dst, 6389, LJ_TISNUM);
1619 if (LJ_DUALNUM) {
1620 dasm_put(Dst, 6529);
1621 } else {
1622 dasm_put(Dst, 6434);
1624 if (sse) {
1625 dasm_put(Dst, 6549);
1626 } else {
1628 dasm_put(Dst, 6566, 1+1, LJ_TISNUM);
1629 if (LJ_DUALNUM) {
1630 dasm_put(Dst, 6357);
1631 } else {
1632 dasm_put(Dst, 2244);
1634 if (sse) {
1635 dasm_put(Dst, 6298, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1636 } else {
1638 dasm_put(Dst, 6589, 1+1, LJ_TISNUM);
1639 if (LJ_DUALNUM) {
1640 dasm_put(Dst, 6357);
1641 } else {
1642 dasm_put(Dst, 2244);
1644 if (sse) {
1645 dasm_put(Dst, 6298, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1646 } else {
1648 dasm_put(Dst, 6613);
1649 if (LJ_DUALNUM) {
1650 dasm_put(Dst, 6322);
1651 } else if (sse) {
1652 dasm_put(Dst, 6619);
1653 } else {
1655 dasm_put(Dst, 6631);
1656 if (LJ_DUALNUM) {
1657 dasm_put(Dst, 6642, 1+1, LJ_TISNUM);
1658 if (LJ_DUALNUM) {
1659 dasm_put(Dst, 6357);
1660 } else {
1661 dasm_put(Dst, 2244);
1663 if (sse) {
1664 dasm_put(Dst, 6298, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1665 } else {
1667 dasm_put(Dst, 6658, LJ_TISNUM);
1668 } else if (sse) {
1669 dasm_put(Dst, 6673, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1670 } else {
1672 dasm_put(Dst, 6740);
1673 if (LJ_DUALNUM) {
1674 dasm_put(Dst, 6747, 1+1, LJ_TISNUM);
1675 if (LJ_DUALNUM) {
1676 dasm_put(Dst, 6357);
1677 } else {
1678 dasm_put(Dst, 2244);
1680 if (sse) {
1681 dasm_put(Dst, 6298, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1682 } else {
1684 dasm_put(Dst, 6658, LJ_TISNUM);
1685 } else if (sse) {
1686 dasm_put(Dst, 6763, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1687 } else {
1689 dasm_put(Dst, 6830);
1690 if (LJ_DUALNUM) {
1691 dasm_put(Dst, 6838, 1+1, LJ_TISNUM);
1692 if (LJ_DUALNUM) {
1693 dasm_put(Dst, 6357);
1694 } else {
1695 dasm_put(Dst, 2244);
1697 if (sse) {
1698 dasm_put(Dst, 6298, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1699 } else {
1701 dasm_put(Dst, 6658, LJ_TISNUM);
1702 } else if (sse) {
1703 dasm_put(Dst, 6854, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1704 } else {
1706 dasm_put(Dst, 6921);
1707 if (LJ_DUALNUM) {
1708 dasm_put(Dst, 6929, 1+1, LJ_TISNUM);
1709 if (LJ_DUALNUM) {
1710 dasm_put(Dst, 6357);
1711 } else {
1712 dasm_put(Dst, 2244);
1714 if (sse) {
1715 dasm_put(Dst, 6298, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1716 } else {
1718 dasm_put(Dst, 6658, LJ_TISNUM);
1719 } else if (sse) {
1720 dasm_put(Dst, 6945, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1721 } else {
1723 dasm_put(Dst, 7012);
1724 if (LJ_DUALNUM) {
1725 dasm_put(Dst, 7019, 1+1, LJ_TISNUM);
1726 if (LJ_DUALNUM) {
1727 dasm_put(Dst, 6357);
1728 } else {
1729 dasm_put(Dst, 2244);
1731 if (sse) {
1732 dasm_put(Dst, 6298, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1733 } else {
1735 dasm_put(Dst, 6658, LJ_TISNUM);
1736 } else if (sse) {
1737 dasm_put(Dst, 7035, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1738 } else {
1740 dasm_put(Dst, 7102, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1741 dasm_put(Dst, 7178, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base));
1742 dasm_put(Dst, 7305, Dt1(->top), Dt1(->base), Dt1(->top));
1743 #if LJ_HASJIT
1744 dasm_put(Dst, 7344, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1745 #endif
1746 dasm_put(Dst, 7375, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE);
1747 dasm_put(Dst, 7426, Dt1(->base), Dt1(->base), GG_DISP2STATIC);
1748 #if LJ_HASJIT
1749 dasm_put(Dst, 7493, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L));
1750 #endif
1751 dasm_put(Dst, 7540);
1752 #if LJ_HASJIT
1753 dasm_put(Dst, 7370);
1754 #endif
1755 dasm_put(Dst, 7547);
1756 #if LJ_HASJIT
1757 dasm_put(Dst, 7550);
1758 #endif
1759 dasm_put(Dst, 7560, Dt1(->base), Dt1(->top));
1760 #if LJ_HASJIT
1761 dasm_put(Dst, 7594);
1762 #endif
1763 dasm_put(Dst, 7599, Dt1(->base), Dt1(->top));
1764 #if LJ_HASJIT
1765 dasm_put(Dst, 7630, DISPATCH_GL(vmstate), DISPATCH_GL(vmstate), ~LJ_VMST_EXIT, DISPATCH_J(exitno), DISPATCH_J(parent), 16*8+4*8, DISPATCH_GL(jit_L), DISPATCH_GL(jit_base), DISPATCH_J(L), DISPATCH_GL(jit_L), Dt1(->base), 4*8, GG_DISP2J, Dt1(->cframe), CFRAME_RAWMASK, CFRAME_OFS_L, Dt1(->base), CFRAME_OFS_PC);
1766 #endif
1767 dasm_put(Dst, 7860);
1768 #if LJ_HASJIT
1769 dasm_put(Dst, 7863, 9*16+4*8, -9*16, -8*16, -7*16, -6*16, -5*16, -4*16, -3*16, -2*16, -1*16, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF);
1770 dasm_put(Dst, 8005);
1771 #endif
1772 dasm_put(Dst, 8031);
1773 if (!sse) {
1774 dasm_put(Dst, 8034);
1776 dasm_put(Dst, 8079, (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));
1777 if (!sse) {
1778 dasm_put(Dst, 8165);
1780 dasm_put(Dst, 8210, (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));
1781 if (!sse) {
1782 dasm_put(Dst, 8296);
1784 dasm_put(Dst, 8335, (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));
1785 if (sse) {
1786 dasm_put(Dst, 8424, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1787 } else {
1788 dasm_put(Dst, 8538);
1790 dasm_put(Dst, 8585);
1791 if (!sse) {
1792 } else {
1793 dasm_put(Dst, 8659);
1795 dasm_put(Dst, 8662);
1796 dasm_put(Dst, 8747, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1797 dasm_put(Dst, 8850, (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));
1798 dasm_put(Dst, 9006);
1799 #if LJ_HASJIT
1800 if (sse) {
1801 dasm_put(Dst, 9047);
1802 dasm_put(Dst, 9117);
1803 dasm_put(Dst, 9190);
1804 } else {
1805 dasm_put(Dst, 9240);
1806 dasm_put(Dst, 9332);
1808 dasm_put(Dst, 9378);
1809 #endif
1810 dasm_put(Dst, 9382);
1811 if (sse) {
1812 dasm_put(Dst, 9385, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1813 dasm_put(Dst, 9474, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1814 } else {
1815 dasm_put(Dst, 9598);
1816 dasm_put(Dst, 9681);
1817 if (cmov) {
1818 dasm_put(Dst, 9736);
1819 } else {
1820 dasm_put(Dst, 9755);
1822 dasm_put(Dst, 9378);
1824 dasm_put(Dst, 9796);
1825 #if LJ_HASFFI
1826 #define DtE(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
1827 dasm_put(Dst, 9824, DtE(->spadj));
1828 #if LJ_TARGET_WINDOWS
1829 #endif
1830 dasm_put(Dst, 9839, DtE(->nsp), offsetof(CCallState, stack), CCALL_SPS_EXTRA*8, DtE(->nfpr), DtE(->gpr[0]), DtE(->gpr[1]), DtE(->gpr[2]), DtE(->gpr[3]), DtE(->fpr[0]), DtE(->fpr[1]), DtE(->fpr[2]), DtE(->fpr[3]));
1831 dasm_put(Dst, 9920, DtE(->func), DtE(->gpr[0]), DtE(->fpr[0]));
1832 #if LJ_TARGET_WINDOWS
1833 #endif
1834 dasm_put(Dst, 9933);
1835 #endif
1836 dasm_put(Dst, 9941);
1837 #ifdef LUA_USE_ASSERT
1838 dasm_put(Dst, 9380);
1839 #endif
1840 dasm_put(Dst, 9380);
1843 /* Generate the code for a single instruction. */
1844 static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1846 int vk = 0;
1847 dasm_put(Dst, 9944, defop);
1849 switch (op) {
1851 /* -- Comparison ops ---------------------------------------------------- */
1853 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1856 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1857 if (LJ_DUALNUM) {
1858 dasm_put(Dst, 9946, LJ_TISNUM, LJ_TISNUM);
1859 switch (op) {
1860 case BC_ISLT:
1861 dasm_put(Dst, 9976);
1862 break;
1863 case BC_ISGE:
1864 dasm_put(Dst, 9981);
1865 break;
1866 case BC_ISLE:
1867 dasm_put(Dst, 9986);
1868 break;
1869 case BC_ISGT:
1870 dasm_put(Dst, 9991);
1871 break;
1872 default: break; /* Shut up GCC. */
1874 dasm_put(Dst, 9996, -BCBIAS_J*4, LJ_TISNUM);
1875 if (sse) {
1876 dasm_put(Dst, 10050);
1877 } else {
1878 dasm_put(Dst, 10061);
1880 dasm_put(Dst, 10072);
1881 if (sse) {
1882 dasm_put(Dst, 10079);
1883 switch (op) {
1884 case BC_ISLT:
1885 dasm_put(Dst, 10099);
1886 break;
1887 case BC_ISGE:
1888 dasm_put(Dst, 10104);
1889 break;
1890 case BC_ISLE:
1891 dasm_put(Dst, 10109);
1892 break;
1893 case BC_ISGT:
1894 dasm_put(Dst, 10114);
1895 break;
1896 default: break; /* Shut up GCC. */
1898 dasm_put(Dst, 10119);
1899 } else {
1900 dasm_put(Dst, 10124);
1902 } else {
1903 dasm_put(Dst, 10132, LJ_TISNUM, LJ_TISNUM);
1905 if (sse) {
1906 dasm_put(Dst, 10153);
1907 } else {
1908 dasm_put(Dst, 10174);
1909 if (cmov) {
1910 dasm_put(Dst, 10190);
1911 } else {
1912 dasm_put(Dst, 10196);
1915 if (LJ_DUALNUM) {
1916 switch (op) {
1917 case BC_ISLT:
1918 dasm_put(Dst, 10099);
1919 break;
1920 case BC_ISGE:
1921 dasm_put(Dst, 10104);
1922 break;
1923 case BC_ISLE:
1924 dasm_put(Dst, 10109);
1925 break;
1926 case BC_ISGT:
1927 dasm_put(Dst, 10114);
1928 break;
1929 default: break; /* Shut up GCC. */
1931 dasm_put(Dst, 10119);
1932 } else {
1933 switch (op) {
1934 case BC_ISLT:
1935 dasm_put(Dst, 10203);
1936 break;
1937 case BC_ISGE:
1938 dasm_put(Dst, 10208);
1939 break;
1940 case BC_ISLE:
1941 dasm_put(Dst, 10213);
1942 break;
1943 case BC_ISGT:
1944 dasm_put(Dst, 10218);
1945 break;
1946 default: break; /* Shut up GCC. */
1948 dasm_put(Dst, 10223, -BCBIAS_J*4);
1950 break;
1952 case BC_ISEQV: case BC_ISNEV:
1953 vk = op == BC_ISEQV;
1954 dasm_put(Dst, 10255);
1955 if (LJ_DUALNUM) {
1956 dasm_put(Dst, 10263, LJ_TISNUM, LJ_TISNUM);
1957 if (vk) {
1958 dasm_put(Dst, 10288);
1959 } else {
1960 dasm_put(Dst, 10293);
1962 dasm_put(Dst, 10298, -BCBIAS_J*4, LJ_TISNUM);
1963 if (sse) {
1964 dasm_put(Dst, 10350);
1965 } else {
1966 dasm_put(Dst, 10357);
1968 dasm_put(Dst, 10361);
1969 if (sse) {
1970 dasm_put(Dst, 10372);
1971 } else {
1972 dasm_put(Dst, 10384);
1974 dasm_put(Dst, 10391);
1975 } else {
1976 dasm_put(Dst, 10396, LJ_TISNUM, LJ_TISNUM);
1978 if (sse) {
1979 dasm_put(Dst, 10415);
1980 } else {
1981 dasm_put(Dst, 10433);
1982 if (cmov) {
1983 dasm_put(Dst, 10190);
1984 } else {
1985 dasm_put(Dst, 10196);
1988 iseqne_fp:
1989 if (vk) {
1990 dasm_put(Dst, 10446);
1991 } else {
1992 dasm_put(Dst, 10455);
1994 iseqne_end:
1995 if (vk) {
1996 dasm_put(Dst, 10464, -BCBIAS_J*4);
1997 if (!LJ_HASFFI) {
1998 dasm_put(Dst, 4609);
2000 } else {
2001 if (!LJ_HASFFI) {
2002 dasm_put(Dst, 4609);
2004 dasm_put(Dst, 10479, -BCBIAS_J*4);
2006 if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV ||
2007 op == BC_ISEQN || op == BC_ISNEN)) {
2008 dasm_put(Dst, 10494);
2009 } else {
2010 dasm_put(Dst, 10235);
2012 if (op == BC_ISEQV || op == BC_ISNEV) {
2013 dasm_put(Dst, 9917);
2014 if (LJ_HASFFI) {
2015 dasm_put(Dst, 10499, LJ_TCDATA, LJ_TCDATA);
2017 dasm_put(Dst, 10518, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
2018 if (vk) {
2019 dasm_put(Dst, 10574);
2020 } else {
2021 dasm_put(Dst, 10578);
2023 dasm_put(Dst, 10584);
2024 } else if (LJ_HASFFI) {
2025 dasm_put(Dst, 10589, LJ_TCDATA);
2026 if (LJ_DUALNUM && vk) {
2027 dasm_put(Dst, 10596);
2028 } else {
2029 dasm_put(Dst, 10569);
2031 dasm_put(Dst, 10601);
2033 break;
2034 case BC_ISEQS: case BC_ISNES:
2035 vk = op == BC_ISEQS;
2036 dasm_put(Dst, 10606, LJ_TSTR);
2037 iseqne_test:
2038 if (vk) {
2039 dasm_put(Dst, 10450);
2040 } else {
2041 dasm_put(Dst, 765);
2043 goto iseqne_end;
2044 case BC_ISEQN: case BC_ISNEN:
2045 vk = op == BC_ISEQN;
2046 dasm_put(Dst, 10632);
2047 if (LJ_DUALNUM) {
2048 dasm_put(Dst, 10640, LJ_TISNUM, LJ_TISNUM);
2049 if (vk) {
2050 dasm_put(Dst, 10288);
2051 } else {
2052 dasm_put(Dst, 10293);
2054 dasm_put(Dst, 10665, -BCBIAS_J*4, LJ_TISNUM);
2055 if (sse) {
2056 dasm_put(Dst, 10713);
2057 } else {
2058 dasm_put(Dst, 10720);
2060 dasm_put(Dst, 10724);
2061 if (sse) {
2062 dasm_put(Dst, 10731);
2063 } else {
2064 dasm_put(Dst, 10743);
2066 dasm_put(Dst, 10391);
2067 } else {
2068 dasm_put(Dst, 10750, LJ_TISNUM);
2070 if (sse) {
2071 dasm_put(Dst, 10759);
2072 } else {
2073 dasm_put(Dst, 10777);
2074 if (cmov) {
2075 dasm_put(Dst, 10190);
2076 } else {
2077 dasm_put(Dst, 10196);
2080 goto iseqne_fp;
2081 case BC_ISEQP: case BC_ISNEP:
2082 vk = op == BC_ISEQP;
2083 dasm_put(Dst, 10790);
2084 if (!LJ_HASFFI) goto iseqne_test;
2085 if (vk) {
2086 dasm_put(Dst, 10804, -BCBIAS_J*4, LJ_TCDATA);
2087 } else {
2088 dasm_put(Dst, 10854, LJ_TCDATA, -BCBIAS_J*4);
2090 break;
2092 /* -- Unary test and copy ops ------------------------------------------- */
2094 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
2095 dasm_put(Dst, 10898, LJ_TISTRUECOND);
2096 if (op == BC_IST || op == BC_ISTC) {
2097 dasm_put(Dst, 10218);
2098 } else {
2099 dasm_put(Dst, 10213);
2101 if (op == BC_ISTC || op == BC_ISFC) {
2102 dasm_put(Dst, 10910);
2104 dasm_put(Dst, 10223, -BCBIAS_J*4);
2105 break;
2107 /* -- Unary ops --------------------------------------------------------- */
2109 case BC_MOV:
2110 dasm_put(Dst, 10921);
2111 break;
2112 case BC_NOT:
2113 dasm_put(Dst, 10949, LJ_TISTRUECOND, LJ_TTRUE);
2114 break;
2115 case BC_UNM:
2116 if (LJ_DUALNUM) {
2117 dasm_put(Dst, 10985, LJ_TISNUM, LJ_TISNUM);
2118 } else {
2119 dasm_put(Dst, 11062, LJ_TISNUM);
2121 if (sse) {
2122 dasm_put(Dst, 11073, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
2123 } else {
2124 dasm_put(Dst, 11098);
2126 if (LJ_DUALNUM) {
2127 dasm_put(Dst, 10494);
2128 } else {
2129 dasm_put(Dst, 10235);
2131 break;
2132 case BC_LEN:
2133 dasm_put(Dst, 11107, LJ_TSTR);
2134 if (LJ_DUALNUM) {
2135 dasm_put(Dst, 11121, Dt5(->len), LJ_TISNUM);
2136 } else if (sse) {
2137 dasm_put(Dst, 11135, Dt5(->len));
2138 } else {
2139 dasm_put(Dst, 11153, Dt5(->len));
2141 dasm_put(Dst, 11162, LJ_TTAB);
2142 if (LJ_DUALNUM) {
2143 } else if (sse) {
2144 dasm_put(Dst, 11203);
2145 } else {
2147 dasm_put(Dst, 11209);
2148 break;
2150 /* -- Binary ops -------------------------------------------------------- */
2153 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
2154 if (LJ_DUALNUM) {
2155 dasm_put(Dst, 11222);
2156 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2157 switch (vk) {
2158 case 0:
2159 dasm_put(Dst, 11230, LJ_TISNUM, LJ_TISNUM);
2160 break;
2161 case 1:
2162 dasm_put(Dst, 11263, LJ_TISNUM, LJ_TISNUM);
2163 break;
2164 default:
2165 dasm_put(Dst, 11296, LJ_TISNUM, LJ_TISNUM);
2166 break;
2168 dasm_put(Dst, 11329, LJ_TISNUM);
2169 if (vk == 1) {
2170 dasm_put(Dst, 11131);
2171 } else {
2172 dasm_put(Dst, 10917);
2174 dasm_put(Dst, 10235);
2175 } else {
2176 dasm_put(Dst, 11222);
2177 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2178 switch (vk) {
2179 case 0:
2180 dasm_put(Dst, 11335, LJ_TISNUM);
2181 if (LJ_DUALNUM) {
2182 dasm_put(Dst, 11347, LJ_TISNUM);
2184 if (sse) {
2185 dasm_put(Dst, 11358);
2186 } else {
2187 dasm_put(Dst, 11372);
2189 break;
2190 case 1:
2191 dasm_put(Dst, 11380, LJ_TISNUM);
2192 if (LJ_DUALNUM) {
2193 dasm_put(Dst, 11392, LJ_TISNUM);
2195 if (sse) {
2196 dasm_put(Dst, 11403);
2197 } else {
2198 dasm_put(Dst, 11417);
2200 break;
2201 default:
2202 dasm_put(Dst, 11425, LJ_TISNUM, LJ_TISNUM);
2203 if (sse) {
2204 dasm_put(Dst, 11447);
2205 } else {
2206 dasm_put(Dst, 11461);
2208 break;
2210 if (sse) {
2211 dasm_put(Dst, 11091);
2212 } else {
2213 dasm_put(Dst, 11103);
2215 dasm_put(Dst, 10235);
2217 break;
2218 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
2219 if (LJ_DUALNUM) {
2220 dasm_put(Dst, 11222);
2221 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2222 switch (vk) {
2223 case 0:
2224 dasm_put(Dst, 11469, LJ_TISNUM, LJ_TISNUM);
2225 break;
2226 case 1:
2227 dasm_put(Dst, 11502, LJ_TISNUM, LJ_TISNUM);
2228 break;
2229 default:
2230 dasm_put(Dst, 11535, LJ_TISNUM, LJ_TISNUM);
2231 break;
2233 dasm_put(Dst, 11329, LJ_TISNUM);
2234 if (vk == 1) {
2235 dasm_put(Dst, 11131);
2236 } else {
2237 dasm_put(Dst, 10917);
2239 dasm_put(Dst, 10235);
2240 } else {
2241 dasm_put(Dst, 11222);
2242 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2243 switch (vk) {
2244 case 0:
2245 dasm_put(Dst, 11335, LJ_TISNUM);
2246 if (LJ_DUALNUM) {
2247 dasm_put(Dst, 11347, LJ_TISNUM);
2249 if (sse) {
2250 dasm_put(Dst, 11568);
2251 } else {
2252 dasm_put(Dst, 11582);
2254 break;
2255 case 1:
2256 dasm_put(Dst, 11380, LJ_TISNUM);
2257 if (LJ_DUALNUM) {
2258 dasm_put(Dst, 11392, LJ_TISNUM);
2260 if (sse) {
2261 dasm_put(Dst, 11590);
2262 } else {
2263 dasm_put(Dst, 11604);
2265 break;
2266 default:
2267 dasm_put(Dst, 11425, LJ_TISNUM, LJ_TISNUM);
2268 if (sse) {
2269 dasm_put(Dst, 11612);
2270 } else {
2271 dasm_put(Dst, 11626);
2273 break;
2275 if (sse) {
2276 dasm_put(Dst, 11091);
2277 } else {
2278 dasm_put(Dst, 11103);
2280 dasm_put(Dst, 10235);
2282 break;
2283 case BC_MULVN: case BC_MULNV: case BC_MULVV:
2284 if (LJ_DUALNUM) {
2285 dasm_put(Dst, 11222);
2286 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2287 switch (vk) {
2288 case 0:
2289 dasm_put(Dst, 11634, LJ_TISNUM, LJ_TISNUM);
2290 break;
2291 case 1:
2292 dasm_put(Dst, 11668, LJ_TISNUM, LJ_TISNUM);
2293 break;
2294 default:
2295 dasm_put(Dst, 11702, LJ_TISNUM, LJ_TISNUM);
2296 break;
2298 dasm_put(Dst, 11329, LJ_TISNUM);
2299 if (vk == 1) {
2300 dasm_put(Dst, 11131);
2301 } else {
2302 dasm_put(Dst, 10917);
2304 dasm_put(Dst, 10235);
2305 } else {
2306 dasm_put(Dst, 11222);
2307 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2308 switch (vk) {
2309 case 0:
2310 dasm_put(Dst, 11335, LJ_TISNUM);
2311 if (LJ_DUALNUM) {
2312 dasm_put(Dst, 11347, LJ_TISNUM);
2314 if (sse) {
2315 dasm_put(Dst, 11736);
2316 } else {
2317 dasm_put(Dst, 11750);
2319 break;
2320 case 1:
2321 dasm_put(Dst, 11380, LJ_TISNUM);
2322 if (LJ_DUALNUM) {
2323 dasm_put(Dst, 11392, LJ_TISNUM);
2325 if (sse) {
2326 dasm_put(Dst, 11758);
2327 } else {
2328 dasm_put(Dst, 11772);
2330 break;
2331 default:
2332 dasm_put(Dst, 11425, LJ_TISNUM, LJ_TISNUM);
2333 if (sse) {
2334 dasm_put(Dst, 11780);
2335 } else {
2336 dasm_put(Dst, 11794);
2338 break;
2340 if (sse) {
2341 dasm_put(Dst, 11091);
2342 } else {
2343 dasm_put(Dst, 11103);
2345 dasm_put(Dst, 10235);
2347 break;
2348 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
2349 dasm_put(Dst, 11222);
2350 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2351 switch (vk) {
2352 case 0:
2353 dasm_put(Dst, 11335, LJ_TISNUM);
2354 if (LJ_DUALNUM) {
2355 dasm_put(Dst, 11347, LJ_TISNUM);
2357 if (sse) {
2358 dasm_put(Dst, 11802);
2359 } else {
2360 dasm_put(Dst, 11816);
2362 break;
2363 case 1:
2364 dasm_put(Dst, 11380, LJ_TISNUM);
2365 if (LJ_DUALNUM) {
2366 dasm_put(Dst, 11392, LJ_TISNUM);
2368 if (sse) {
2369 dasm_put(Dst, 11824);
2370 } else {
2371 dasm_put(Dst, 11838);
2373 break;
2374 default:
2375 dasm_put(Dst, 11425, LJ_TISNUM, LJ_TISNUM);
2376 if (sse) {
2377 dasm_put(Dst, 11846);
2378 } else {
2379 dasm_put(Dst, 11860);
2381 break;
2383 if (sse) {
2384 dasm_put(Dst, 11091);
2385 } else {
2386 dasm_put(Dst, 11103);
2388 dasm_put(Dst, 10235);
2389 break;
2390 case BC_MODVN:
2391 dasm_put(Dst, 11222);
2392 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2393 switch (vk) {
2394 case 0:
2395 dasm_put(Dst, 11335, LJ_TISNUM);
2396 if (LJ_DUALNUM) {
2397 dasm_put(Dst, 11347, LJ_TISNUM);
2399 if (sse) {
2400 dasm_put(Dst, 11868);
2401 } else {
2402 dasm_put(Dst, 11882);
2404 break;
2405 case 1:
2406 dasm_put(Dst, 11380, LJ_TISNUM);
2407 if (LJ_DUALNUM) {
2408 dasm_put(Dst, 11392, LJ_TISNUM);
2410 if (sse) {
2411 dasm_put(Dst, 11890);
2412 } else {
2413 dasm_put(Dst, 11904);
2415 break;
2416 default:
2417 dasm_put(Dst, 11425, LJ_TISNUM, LJ_TISNUM);
2418 if (sse) {
2419 dasm_put(Dst, 11912);
2420 } else {
2421 dasm_put(Dst, 11926);
2423 break;
2425 dasm_put(Dst, 11934);
2426 if (sse) {
2427 dasm_put(Dst, 11091);
2428 } else {
2429 dasm_put(Dst, 11103);
2431 dasm_put(Dst, 10235);
2432 break;
2433 case BC_MODNV: case BC_MODVV:
2434 dasm_put(Dst, 11222);
2435 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2436 switch (vk) {
2437 case 0:
2438 dasm_put(Dst, 11335, LJ_TISNUM);
2439 if (LJ_DUALNUM) {
2440 dasm_put(Dst, 11347, LJ_TISNUM);
2442 if (sse) {
2443 dasm_put(Dst, 11868);
2444 } else {
2445 dasm_put(Dst, 11882);
2447 break;
2448 case 1:
2449 dasm_put(Dst, 11380, LJ_TISNUM);
2450 if (LJ_DUALNUM) {
2451 dasm_put(Dst, 11392, LJ_TISNUM);
2453 if (sse) {
2454 dasm_put(Dst, 11890);
2455 } else {
2456 dasm_put(Dst, 11904);
2458 break;
2459 default:
2460 dasm_put(Dst, 11425, LJ_TISNUM, LJ_TISNUM);
2461 if (sse) {
2462 dasm_put(Dst, 11912);
2463 } else {
2464 dasm_put(Dst, 11926);
2466 break;
2468 dasm_put(Dst, 11940);
2469 break;
2470 case BC_POW:
2471 dasm_put(Dst, 11222);
2472 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2473 switch (vk) {
2474 case 0:
2475 dasm_put(Dst, 11335, LJ_TISNUM);
2476 if (LJ_DUALNUM) {
2477 dasm_put(Dst, 11347, LJ_TISNUM);
2479 if (sse) {
2480 dasm_put(Dst, 11868);
2481 } else {
2482 dasm_put(Dst, 11882);
2484 break;
2485 case 1:
2486 dasm_put(Dst, 11380, LJ_TISNUM);
2487 if (LJ_DUALNUM) {
2488 dasm_put(Dst, 11392, LJ_TISNUM);
2490 if (sse) {
2491 dasm_put(Dst, 11890);
2492 } else {
2493 dasm_put(Dst, 11904);
2495 break;
2496 default:
2497 dasm_put(Dst, 11425, LJ_TISNUM, LJ_TISNUM);
2498 if (sse) {
2499 dasm_put(Dst, 11912);
2500 } else {
2501 dasm_put(Dst, 11926);
2503 break;
2505 dasm_put(Dst, 11945);
2506 if (sse) {
2507 dasm_put(Dst, 11091);
2508 } else {
2509 dasm_put(Dst, 11103);
2511 dasm_put(Dst, 10235);
2512 break;
2514 case BC_CAT:
2515 dasm_put(Dst, 11949, Dt1(->base), Dt1(->base));
2516 break;
2518 /* -- Constant ops ------------------------------------------------------ */
2520 case BC_KSTR:
2521 dasm_put(Dst, 12032, LJ_TSTR);
2522 break;
2523 case BC_KCDATA:
2524 #if LJ_HASFFI
2525 dasm_put(Dst, 12032, LJ_TCDATA);
2526 #endif
2527 break;
2528 case BC_KSHORT:
2529 if (LJ_DUALNUM) {
2530 dasm_put(Dst, 12067, LJ_TISNUM);
2531 } else if (sse) {
2532 dasm_put(Dst, 12079);
2533 } else {
2534 dasm_put(Dst, 12094);
2536 dasm_put(Dst, 10235);
2537 break;
2538 case BC_KNUM:
2539 if (sse) {
2540 dasm_put(Dst, 12102);
2541 } else {
2542 dasm_put(Dst, 12115);
2544 dasm_put(Dst, 10235);
2545 break;
2546 case BC_KPRI:
2547 dasm_put(Dst, 12122);
2548 break;
2549 case BC_KNIL:
2550 dasm_put(Dst, 12150, LJ_TNIL);
2551 break;
2553 /* -- Upvalue and function ops ------------------------------------------ */
2555 case BC_UGET:
2556 dasm_put(Dst, 12197, offsetof(GCfuncL, uvptr), DtA(->v));
2557 break;
2558 case BC_USETV:
2559 #define TV2MARKOFS \
2560 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2561 dasm_put(Dst, 12237, 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);
2562 dasm_put(Dst, 12328);
2563 break;
2564 #undef TV2MARKOFS
2565 case BC_USETS:
2566 dasm_put(Dst, 12340, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2567 break;
2568 case BC_USETN:
2569 dasm_put(Dst, 12433);
2570 if (sse) {
2571 dasm_put(Dst, 12438);
2572 } else {
2573 dasm_put(Dst, 10746);
2575 dasm_put(Dst, 12445, offsetof(GCfuncL, uvptr), DtA(->v));
2576 if (sse) {
2577 dasm_put(Dst, 12454);
2578 } else {
2579 dasm_put(Dst, 12460);
2581 dasm_put(Dst, 10235);
2582 break;
2583 case BC_USETP:
2584 dasm_put(Dst, 12463, offsetof(GCfuncL, uvptr), DtA(->v));
2585 break;
2586 case BC_UCLO:
2587 dasm_put(Dst, 12502, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2588 break;
2590 case BC_FNEW:
2591 dasm_put(Dst, 12557, Dt1(->base), Dt1(->base), LJ_TFUNC);
2592 break;
2594 /* -- Table ops --------------------------------------------------------- */
2596 case BC_TNEW:
2597 dasm_put(Dst, 12623, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2598 break;
2599 case BC_TDUP:
2600 dasm_put(Dst, 12745, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2601 break;
2603 case BC_GGET:
2604 dasm_put(Dst, 12840, Dt7(->env));
2605 break;
2606 case BC_GSET:
2607 dasm_put(Dst, 12859, Dt7(->env));
2608 break;
2610 case BC_TGETV:
2611 dasm_put(Dst, 12878, LJ_TTAB);
2612 if (LJ_DUALNUM) {
2613 dasm_put(Dst, 12901, LJ_TISNUM);
2614 } else {
2615 dasm_put(Dst, 12915, LJ_TISNUM);
2616 if (sse) {
2617 dasm_put(Dst, 12926);
2618 } else {
2620 dasm_put(Dst, 12947);
2622 dasm_put(Dst, 12952, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index, LJ_TNIL);
2623 dasm_put(Dst, 13043, LJ_TSTR);
2624 break;
2625 case BC_TGETS:
2626 dasm_put(Dst, 13061, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2627 dasm_put(Dst, 13145, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2628 break;
2629 case BC_TGETB:
2630 dasm_put(Dst, 13216, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2631 dasm_put(Dst, 13311, LJ_TNIL);
2632 break;
2634 case BC_TSETV:
2635 dasm_put(Dst, 13328, LJ_TTAB);
2636 if (LJ_DUALNUM) {
2637 dasm_put(Dst, 12901, LJ_TISNUM);
2638 } else {
2639 dasm_put(Dst, 12915, LJ_TISNUM);
2640 if (sse) {
2641 dasm_put(Dst, 12926);
2642 } else {
2644 dasm_put(Dst, 13351);
2646 dasm_put(Dst, 13356, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex);
2647 dasm_put(Dst, 13436, LJ_TSTR, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2648 break;
2649 case BC_TSETS:
2650 dasm_put(Dst, 13493, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2651 dasm_put(Dst, 13569, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2652 dasm_put(Dst, 13657, 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));
2653 break;
2654 case BC_TSETB:
2655 dasm_put(Dst, 13748, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2656 dasm_put(Dst, 13842, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2657 break;
2659 case BC_TSETM:
2660 dasm_put(Dst, 13888, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2661 dasm_put(Dst, 14031, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2662 break;
2664 /* -- Calls and vararg handling ----------------------------------------- */
2666 case BC_CALL: case BC_CALLM:
2667 dasm_put(Dst, 11226);
2668 if (op == BC_CALLM) {
2669 dasm_put(Dst, 14049);
2671 dasm_put(Dst, 14054, LJ_TFUNC, Dt7(->pc));
2672 break;
2674 case BC_CALLMT:
2675 dasm_put(Dst, 14049);
2676 break;
2677 case BC_CALLT:
2678 dasm_put(Dst, 14096, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2679 dasm_put(Dst, 14211, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2680 break;
2682 case BC_ITERC:
2683 dasm_put(Dst, 14282, LJ_TFUNC, 2+1, Dt7(->pc));
2684 break;
2686 case BC_ITERN:
2687 #if LJ_HASJIT
2688 #endif
2689 dasm_put(Dst, 14353, Dt6(->asize), Dt6(->array), LJ_TNIL);
2690 if (LJ_DUALNUM) {
2691 dasm_put(Dst, 11126, LJ_TISNUM);
2692 } else if (sse) {
2693 dasm_put(Dst, 11203);
2694 } else {
2695 dasm_put(Dst, 14399);
2697 dasm_put(Dst, 14405);
2698 if (LJ_DUALNUM) {
2699 } else if (sse) {
2700 dasm_put(Dst, 11091);
2701 } else {
2702 dasm_put(Dst, 11103);
2704 dasm_put(Dst, 14418, -BCBIAS_J*4);
2705 if (!LJ_DUALNUM && !sse) {
2706 dasm_put(Dst, 14470);
2708 dasm_put(Dst, 14476, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key), DtB(->val));
2709 break;
2711 case BC_ISNEXT:
2712 dasm_put(Dst, 14548, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2713 break;
2715 case BC_VARG:
2716 dasm_put(Dst, 14648, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2717 dasm_put(Dst, 14808, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2718 break;
2720 /* -- Returns ----------------------------------------------------------- */
2722 case BC_RETM:
2723 dasm_put(Dst, 14049);
2724 break;
2726 case BC_RET: case BC_RET0: case BC_RET1:
2727 if (op != BC_RET0) {
2728 dasm_put(Dst, 14874);
2730 dasm_put(Dst, 14878, FRAME_TYPE);
2731 switch (op) {
2732 case BC_RET:
2733 dasm_put(Dst, 14897);
2734 break;
2735 case BC_RET1:
2736 dasm_put(Dst, 14949);
2737 /* fallthrough */
2738 case BC_RET0:
2739 dasm_put(Dst, 14959);
2740 default:
2741 break;
2743 dasm_put(Dst, 14970, Dt7(->pc), PC2PROTO(k));
2744 if (op == BC_RET) {
2745 dasm_put(Dst, 15014, LJ_TNIL);
2746 } else {
2747 dasm_put(Dst, 15023, LJ_TNIL);
2749 dasm_put(Dst, 15030, -FRAME_VARG, FRAME_TYPEP);
2750 if (op != BC_RET0) {
2751 dasm_put(Dst, 15054);
2753 dasm_put(Dst, 4688);
2754 break;
2756 /* -- Loops and branches ------------------------------------------------ */
2759 case BC_FORL:
2760 #if LJ_HASJIT
2761 dasm_put(Dst, 15058, HOTCOUNT_PCMASK, GG_DISP2HOT);
2762 #endif
2763 break;
2765 case BC_JFORI:
2766 case BC_JFORL:
2767 #if !LJ_HASJIT
2768 break;
2769 #endif
2770 case BC_FORI:
2771 case BC_IFORL:
2772 vk = (op == BC_IFORL || op == BC_JFORL);
2773 dasm_put(Dst, 15079);
2774 if (LJ_DUALNUM) {
2775 dasm_put(Dst, 15083, LJ_TISNUM);
2776 if (!vk) {
2777 dasm_put(Dst, 15093, LJ_TISNUM, LJ_TISNUM);
2778 } else {
2779 #ifdef LUA_USE_ASSERT
2780 dasm_put(Dst, 15122, LJ_TISNUM, LJ_TISNUM);
2781 #endif
2782 dasm_put(Dst, 15141);
2784 dasm_put(Dst, 15160, LJ_TISNUM);
2785 if (op == BC_FORI) {
2786 dasm_put(Dst, 15171, -BCBIAS_J*4);
2787 } else if (op == BC_JFORI) {
2788 dasm_put(Dst, 15185, -BCBIAS_J*4, BC_JLOOP);
2789 } else if (op == BC_IFORL) {
2790 dasm_put(Dst, 15203, -BCBIAS_J*4);
2791 } else {
2792 dasm_put(Dst, 15195, BC_JLOOP);
2794 dasm_put(Dst, 15217);
2795 if (vk) {
2796 dasm_put(Dst, 15241);
2798 dasm_put(Dst, 15160, LJ_TISNUM);
2799 if (op == BC_FORI) {
2800 dasm_put(Dst, 15250);
2801 } else if (op == BC_JFORI) {
2802 dasm_put(Dst, 15255, -BCBIAS_J*4, BC_JLOOP);
2803 } else if (op == BC_IFORL) {
2804 dasm_put(Dst, 15269);
2805 } else {
2806 dasm_put(Dst, 15265, BC_JLOOP);
2808 dasm_put(Dst, 15274);
2809 } else if (!vk) {
2810 dasm_put(Dst, 15281, LJ_TISNUM);
2812 if (!vk) {
2813 dasm_put(Dst, 15287, LJ_TISNUM);
2814 } else {
2815 #ifdef LUA_USE_ASSERT
2816 dasm_put(Dst, 15301, LJ_TISNUM, LJ_TISNUM);
2817 #endif
2819 dasm_put(Dst, 15320);
2820 if (!vk) {
2821 dasm_put(Dst, 15324, LJ_TISNUM);
2823 if (sse) {
2824 dasm_put(Dst, 15333);
2825 if (vk) {
2826 dasm_put(Dst, 15345);
2827 } else {
2828 dasm_put(Dst, 15364);
2830 dasm_put(Dst, 15369);
2831 } else {
2832 dasm_put(Dst, 15382);
2833 if (vk) {
2834 dasm_put(Dst, 15388);
2835 } else {
2836 dasm_put(Dst, 15404);
2838 dasm_put(Dst, 15412);
2839 if (cmov) {
2840 dasm_put(Dst, 10190);
2841 } else {
2842 dasm_put(Dst, 10196);
2844 if (!cmov) {
2845 dasm_put(Dst, 15417);
2848 if (op == BC_FORI) {
2849 if (LJ_DUALNUM) {
2850 dasm_put(Dst, 15423);
2851 } else {
2852 dasm_put(Dst, 15428, -BCBIAS_J*4);
2854 } else if (op == BC_JFORI) {
2855 dasm_put(Dst, 15438, -BCBIAS_J*4, BC_JLOOP);
2856 } else if (op == BC_IFORL) {
2857 if (LJ_DUALNUM) {
2858 dasm_put(Dst, 15452);
2859 } else {
2860 dasm_put(Dst, 15457, -BCBIAS_J*4);
2862 } else {
2863 dasm_put(Dst, 15448, BC_JLOOP);
2865 if (LJ_DUALNUM) {
2866 dasm_put(Dst, 10119);
2867 } else {
2868 dasm_put(Dst, 10876);
2870 if (sse) {
2871 dasm_put(Dst, 15467);
2873 break;
2875 case BC_ITERL:
2876 #if LJ_HASJIT
2877 dasm_put(Dst, 15058, HOTCOUNT_PCMASK, GG_DISP2HOT);
2878 #endif
2879 break;
2881 case BC_JITERL:
2882 #if !LJ_HASJIT
2883 break;
2884 #endif
2885 case BC_IITERL:
2886 dasm_put(Dst, 15478, LJ_TNIL);
2887 if (op == BC_JITERL) {
2888 dasm_put(Dst, 15493, BC_JLOOP);
2889 } else {
2890 dasm_put(Dst, 15507, -BCBIAS_J*4);
2892 dasm_put(Dst, 10233);
2893 break;
2895 case BC_LOOP:
2896 #if LJ_HASJIT
2897 dasm_put(Dst, 15058, HOTCOUNT_PCMASK, GG_DISP2HOT);
2898 #endif
2899 break;
2901 case BC_ILOOP:
2902 dasm_put(Dst, 10235);
2903 break;
2905 case BC_JLOOP:
2906 #if LJ_HASJIT
2907 dasm_put(Dst, 15523, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L), 9*16+4*8, -1*16, -2*16, -3*16, -4*16, -5*16, -6*16, -7*16, -8*16, -9*16);
2908 #endif
2909 break;
2911 case BC_JMP:
2912 dasm_put(Dst, 15632, -BCBIAS_J*4);
2913 break;
2915 /* -- Function headers -------------------------------------------------- */
2918 ** Reminder: A function may be called with func/args above L->maxstack,
2919 ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot,
2920 ** too. This means all FUNC* ops (including fast functions) must check
2921 ** for stack overflow _before_ adding more slots!
2924 case BC_FUNCF:
2925 #if LJ_HASJIT
2926 dasm_put(Dst, 15657, HOTCOUNT_PCMASK, GG_DISP2HOT);
2927 #endif
2928 case BC_FUNCV: /* NYI: compiled vararg functions. */
2929 break;
2931 case BC_JFUNCF:
2932 #if !LJ_HASJIT
2933 break;
2934 #endif
2935 case BC_IFUNCF:
2936 dasm_put(Dst, 15678, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
2937 if (op == BC_JFUNCF) {
2938 dasm_put(Dst, 15708, BC_JLOOP);
2939 } else {
2940 dasm_put(Dst, 10235);
2942 dasm_put(Dst, 15717, LJ_TNIL);
2943 break;
2945 case BC_JFUNCV:
2946 #if !LJ_HASJIT
2947 break;
2948 #endif
2949 dasm_put(Dst, 9380);
2950 break; /* NYI: compiled vararg functions. */
2952 case BC_IFUNCV:
2953 dasm_put(Dst, 15739, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
2954 if (op == BC_JFUNCV) {
2955 dasm_put(Dst, 15708, BC_JLOOP);
2956 } else {
2957 dasm_put(Dst, 15830, -4+PC2PROTO(k));
2959 dasm_put(Dst, 15853, LJ_TNIL);
2960 break;
2962 case BC_FUNCC:
2963 case BC_FUNCCW:
2964 dasm_put(Dst, 15875, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
2965 if (op == BC_FUNCC) {
2966 dasm_put(Dst, 2352);
2967 } else {
2968 dasm_put(Dst, 15905);
2970 dasm_put(Dst, 15913, DISPATCH_GL(vmstate), ~LJ_VMST_C);
2971 if (op == BC_FUNCC) {
2972 dasm_put(Dst, 15922);
2973 } else {
2974 dasm_put(Dst, 15926, DISPATCH_GL(wrapf));
2976 dasm_put(Dst, 15931, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
2977 break;
2979 /* ---------------------------------------------------------------------- */
2981 default:
2982 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
2983 exit(2);
2984 break;
2988 static int build_backend(BuildCtx *ctx)
2990 int op;
2991 int cmov = 1;
2992 int sse = 0;
2993 #ifdef LUAJIT_CPU_NOCMOV
2994 cmov = 0;
2995 #endif
2996 #if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
2997 sse = 1;
2998 #endif
3000 dasm_growpc(Dst, BC__MAX);
3002 build_subroutines(ctx, cmov, sse);
3004 dasm_put(Dst, 15956);
3005 for (op = 0; op < BC__MAX; op++)
3006 build_ins(ctx, (BCOp)op, op, cmov, sse);
3008 return BC__MAX;
3011 /* Emit pseudo frame-info for all assembler functions. */
3012 static void emit_asm_debug(BuildCtx *ctx)
3014 #if LJ_64
3015 #define SZPTR "8"
3016 #define BSZPTR "3"
3017 #define REG_SP "0x7"
3018 #define REG_RA "0x10"
3019 #else
3020 #define SZPTR "4"
3021 #define BSZPTR "2"
3022 #define REG_SP "0x4"
3023 #define REG_RA "0x8"
3024 #endif
3025 switch (ctx->mode) {
3026 case BUILD_elfasm:
3027 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
3028 fprintf(ctx->fp,
3029 ".Lframe0:\n"
3030 "\t.long .LECIE0-.LSCIE0\n"
3031 ".LSCIE0:\n"
3032 "\t.long 0xffffffff\n"
3033 "\t.byte 0x1\n"
3034 "\t.string \"\"\n"
3035 "\t.uleb128 0x1\n"
3036 "\t.sleb128 -" SZPTR "\n"
3037 "\t.byte " REG_RA "\n"
3038 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3039 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3040 "\t.align " SZPTR "\n"
3041 ".LECIE0:\n\n");
3042 fprintf(ctx->fp,
3043 ".LSFDE0:\n"
3044 "\t.long .LEFDE0-.LASFDE0\n"
3045 ".LASFDE0:\n"
3046 "\t.long .Lframe0\n"
3047 "\t.long .Lbegin\n"
3048 "\t.long %d\n"
3049 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3050 #if LJ_64
3051 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3052 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3053 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3054 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3055 #else
3056 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3057 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3058 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3059 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3060 #endif
3061 "\t.align " SZPTR "\n"
3062 ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
3063 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
3064 fprintf(ctx->fp,
3065 ".Lframe1:\n"
3066 "\t.long .LECIE1-.LSCIE1\n"
3067 ".LSCIE1:\n"
3068 "\t.long 0\n"
3069 "\t.byte 0x1\n"
3070 "\t.string \"zPR\"\n"
3071 "\t.uleb128 0x1\n"
3072 "\t.sleb128 -" SZPTR "\n"
3073 "\t.byte " REG_RA "\n"
3074 "\t.uleb128 6\n" /* augmentation length */
3075 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3076 "\t.long lj_err_unwind_dwarf-.\n"
3077 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3078 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3079 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3080 "\t.align " SZPTR "\n"
3081 ".LECIE1:\n\n");
3082 fprintf(ctx->fp,
3083 ".LSFDE1:\n"
3084 "\t.long .LEFDE1-.LASFDE1\n"
3085 ".LASFDE1:\n"
3086 "\t.long .LASFDE1-.Lframe1\n"
3087 "\t.long .Lbegin-.\n"
3088 "\t.long %d\n"
3089 "\t.uleb128 0\n" /* augmentation length */
3090 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3091 #if LJ_64
3092 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3093 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3094 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3095 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3096 #else
3097 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3098 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3099 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3100 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3101 #endif
3102 "\t.align " SZPTR "\n"
3103 ".LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
3104 break;
3105 case BUILD_coffasm:
3106 fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n");
3107 fprintf(ctx->fp,
3108 "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n",
3109 LJ_32 ? "_" : "");
3110 fprintf(ctx->fp,
3111 "Lframe1:\n"
3112 "\t.long LECIE1-LSCIE1\n"
3113 "LSCIE1:\n"
3114 "\t.long 0\n"
3115 "\t.byte 0x1\n"
3116 "\t.string \"zP\"\n"
3117 "\t.uleb128 0x1\n"
3118 "\t.sleb128 -" SZPTR "\n"
3119 "\t.byte " REG_RA "\n"
3120 "\t.uleb128 5\n" /* augmentation length */
3121 "\t.byte 0x00\n" /* absptr */
3122 "\t.long %slj_err_unwind_dwarf\n"
3123 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3124 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3125 "\t.align " SZPTR "\n"
3126 "LECIE1:\n\n", LJ_32 ? "_" : "");
3127 fprintf(ctx->fp,
3128 "LSFDE1:\n"
3129 "\t.long LEFDE1-LASFDE1\n"
3130 "LASFDE1:\n"
3131 "\t.long LASFDE1-Lframe1\n"
3132 "\t.long %slj_vm_asm_begin\n"
3133 "\t.long %d\n"
3134 "\t.uleb128 0\n" /* augmentation length */
3135 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3136 #if LJ_64
3137 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3138 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3139 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3140 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3141 #else
3142 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3143 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3144 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3145 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3146 #endif
3147 "\t.align " SZPTR "\n"
3148 "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE);
3149 break;
3150 /* Mental note: never let Apple design an assembler.
3151 ** Or a linker. Or a plastic case. But I digress.
3153 case BUILD_machasm: {
3154 int i;
3155 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
3156 fprintf(ctx->fp,
3157 "EH_frame1:\n"
3158 "\t.set L$set$x,LECIEX-LSCIEX\n"
3159 "\t.long L$set$x\n"
3160 "LSCIEX:\n"
3161 "\t.long 0\n"
3162 "\t.byte 0x1\n"
3163 "\t.ascii \"zPR\\0\"\n"
3164 "\t.byte 0x1\n"
3165 "\t.byte 128-" SZPTR "\n"
3166 "\t.byte " REG_RA "\n"
3167 "\t.byte 6\n" /* augmentation length */
3168 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
3169 #if LJ_64
3170 "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n"
3171 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3172 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3173 #else
3174 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
3175 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3176 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
3177 #endif
3178 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3179 "\t.align " BSZPTR "\n"
3180 "LECIEX:\n\n");
3181 for (i = 0; i < ctx->nsym; i++) {
3182 const char *name = ctx->sym[i].name;
3183 int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
3184 if (size == 0) continue;
3185 fprintf(ctx->fp,
3186 "%s.eh:\n"
3187 "LSFDE%d:\n"
3188 "\t.set L$set$%d,LEFDE%d-LASFDE%d\n"
3189 "\t.long L$set$%d\n"
3190 "LASFDE%d:\n"
3191 "\t.long LASFDE%d-EH_frame1\n"
3192 "\t.long %s-.\n"
3193 "\t.long %d\n"
3194 "\t.byte 0\n" /* augmentation length */
3195 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
3196 #if LJ_64
3197 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3198 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3199 "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */
3200 "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */
3201 #else
3202 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3203 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
3204 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
3205 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
3206 #endif
3207 "\t.align " BSZPTR "\n"
3208 "LEFDE%d:\n\n",
3209 name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i);
3211 #if LJ_64
3212 fprintf(ctx->fp, "\t.subsections_via_symbols\n");
3213 #else
3214 fprintf(ctx->fp,
3215 "\t.non_lazy_symbol_pointer\n"
3216 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
3217 ".indirect_symbol _lj_err_unwind_dwarf\n"
3218 ".long 0\n");
3219 #endif
3221 break;
3222 default: /* Difficult for other modes. */
3223 break;