aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/luajit-2.0/src/buildvm_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/luajit-2.0/src/buildvm_x86.h')
-rw-r--r--libraries/luajit-2.0/src/buildvm_x86.h3561
1 files changed, 0 insertions, 3561 deletions
diff --git a/libraries/luajit-2.0/src/buildvm_x86.h b/libraries/luajit-2.0/src/buildvm_x86.h
deleted file mode 100644
index cd33cf8..0000000
--- a/libraries/luajit-2.0/src/buildvm_x86.h
+++ /dev/null
@@ -1,3561 +0,0 @@
1/*
2** This file has been pre-processed with DynASM.
3** http://luajit.org/dynasm.html
4** DynASM version 1.3.0, DynASM x86 version 1.3.0
5** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
6*/
7
8#if DASM_VERSION != 10300
9#error "Version mismatch between DynASM and included encoding engine"
10#endif
11
12#define DASM_SECTION_CODE_OP 0
13#define DASM_SECTION_CODE_SUB 1
14#define DASM_MAXSECTION 2
15static const unsigned char build_actionlist[17321] = {
16 254,1,248,10,252,247,198,237,15,132,244,11,131,230,252,248,41,252,242,141,
17 76,49,252,248,139,114,252,252,199,68,10,4,237,248,12,131,192,1,137,68,36,
18 20,252,247,198,237,15,132,244,13,248,14,129,252,246,239,252,247,198,237,15,
19 133,244,10,199,131,233,237,131,230,252,248,41,214,252,247,222,131,232,1,15,
20 132,244,248,248,1,139,44,10,137,106,252,248,139,108,10,4,137,106,252,252,
21 131,194,8,131,232,1,15,133,244,1,248,2,255,139,108,36,48,137,181,233,248,
22 3,139,68,36,20,139,76,36,56,248,4,57,193,15,133,244,252,248,5,131,252,234,
23 8,137,149,233,248,15,139,76,36,52,137,141,233,49,192,248,16,131,196,28,91,
24 94,95,93,195,248,6,15,130,244,253,59,149,233,15,135,244,254,199,66,252,252,
25 237,131,194,8,131,192,1,252,233,244,4,248,7,255,133,201,15,132,244,5,41,193,
26 141,20,202,252,233,244,5,248,8,137,149,233,137,68,36,20,137,202,137,252,233,
27 232,251,1,0,139,149,233,252,233,244,3,248,17,137,208,137,204,248,18,139,108,
28 36,48,139,173,233,199,133,233,237,252,233,244,16,248,19,248,20,129,225,239,
29 137,204,248,21,255,139,108,36,48,185,252,248,252,255,252,255,252,255,184,
30 237,139,149,233,139,157,233,129,195,239,139,114,252,252,199,66,252,252,237,
31 199,131,233,237,252,233,244,12,248,22,186,237,252,233,244,248,248,23,131,
32 232,8,252,233,244,247,248,24,141,68,194,252,248,248,1,15,182,142,233,131,
33 198,4,137,149,233,255,137,133,233,137,116,36,24,137,202,248,2,137,252,233,
34 232,251,1,0,139,149,233,139,133,233,139,106,252,248,41,208,193,232,3,131,
35 192,1,139,181,233,139,14,15,182,252,233,15,182,205,131,198,4,252,255,36,171,
36 248,25,85,87,86,83,131,252,236,28,139,108,36,48,139,76,36,52,190,237,49,192,
37 141,188,253,36,233,139,157,233,129,195,239,137,189,233,137,68,36,24,137,68,
38 36,52,56,133,233,15,132,244,249,199,131,233,237,136,133,233,139,149,233,139,
39 133,233,41,200,193,232,3,131,192,1,41,209,139,114,252,252,137,68,36,20,252,
40 247,198,237,255,15,132,244,13,252,233,244,14,248,26,85,87,86,83,131,252,236,
41 28,190,237,252,233,244,247,248,27,85,87,86,83,131,252,236,28,190,237,248,
42 1,139,108,36,48,139,76,36,52,139,189,233,137,124,36,52,137,108,36,24,137,
43 165,233,248,2,139,157,233,129,195,239,248,3,199,131,233,237,139,149,233,255,
44 1,206,41,214,139,133,233,41,200,193,232,3,131,192,1,248,28,139,105,252,248,
45 129,121,253,252,252,239,15,133,244,29,248,30,137,202,137,114,252,252,139,
46 181,233,139,14,15,182,252,233,15,182,205,131,198,4,252,255,36,171,248,31,
47 85,87,86,83,131,252,236,28,139,108,36,48,139,68,36,56,139,76,36,52,139,84,
48 36,60,137,108,36,24,139,189,233,43,189,233,199,68,36,60,0,0,0,0,137,124,36,
49 56,137,68,36,8,137,76,36,4,137,44,36,139,189,233,137,124,36,52,137,165,233,
50 252,255,210,133,192,15,132,244,15,137,193,190,237,252,233,244,2,248,11,1,
51 209,131,230,252,248,137,213,41,252,242,199,68,193,252,252,237,137,200,139,
52 117,252,244,255,139,77,252,240,255,131,252,249,1,15,134,244,247,255,139,122,
53 252,248,139,191,233,139,191,233,252,255,225,255,248,1,15,132,244,32,41,213,
54 193,252,237,3,141,69,252,255,252,233,244,33,255,248,34,15,182,78,252,255,
55 131,252,237,16,141,12,202,41,252,233,15,132,244,35,252,247,217,193,252,233,
56 3,137,76,36,8,139,72,4,139,0,137,77,4,137,69,0,137,108,36,4,252,233,244,36,
57 248,37,137,68,36,16,199,68,36,20,237,141,68,36,16,128,126,252,252,235,15,
58 133,244,247,141,139,233,137,41,199,65,4,237,137,205,252,233,244,248,248,38,
59 15,182,70,252,254,255,199,68,36,20,237,137,68,36,16,255,252,242,15,42,192,
60 252,242,15,17,68,36,16,255,137,68,36,12,219,68,36,12,221,92,36,16,255,141,
61 68,36,16,252,233,244,247,248,39,15,182,70,252,254,141,4,194,248,1,15,182,
62 110,252,255,141,44,252,234,248,2,137,108,36,4,139,108,36,48,137,68,36,8,137,
63 44,36,137,149,233,137,116,36,24,232,251,1,1,139,149,233,133,192,15,132,244,
64 249,248,35,15,182,78,252,253,139,104,4,139,0,137,108,202,4,137,4,202,139,
65 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,3,139,141,
66 233,137,113,252,244,141,177,233,41,214,139,105,252,248,184,237,252,233,244,
67 30,248,40,137,68,36,16,199,68,36,20,237,141,68,36,16,128,126,252,252,235,
68 15,133,244,247,255,141,139,233,137,41,199,65,4,237,137,205,252,233,244,248,
69 248,41,15,182,70,252,254,255,141,68,36,16,252,233,244,247,248,42,15,182,70,
70 252,254,141,4,194,248,1,15,182,110,252,255,141,44,252,234,248,2,137,108,36,
71 4,139,108,36,48,137,68,36,8,137,44,36,137,149,233,137,116,36,24,232,251,1,
72 2,139,149,233,133,192,15,132,244,249,15,182,78,252,253,139,108,202,4,139,
73 12,202,137,104,4,137,8,248,43,139,6,15,182,204,15,182,232,131,198,4,193,232,
74 16,252,255,36,171,248,3,139,141,233,137,113,252,244,15,182,70,252,253,139,
75 108,194,4,139,4,194,137,105,20,137,65,16,141,177,233,41,214,139,105,252,248,
76 184,237,252,233,244,30,248,44,15,182,110,252,252,141,4,194,141,12,202,137,
77 108,36,12,139,108,36,48,137,68,36,8,137,76,36,4,137,44,36,137,149,233,137,
78 116,36,24,232,251,1,3,248,3,139,149,233,255,131,252,248,1,15,135,244,45,248,
79 4,141,118,4,15,130,244,252,248,5,15,183,70,252,254,141,180,253,134,233,248,
80 6,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,46,
81 131,198,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,47,129,120,253,
82 4,239,252,233,244,4,248,48,131,252,238,4,137,108,36,12,139,108,36,48,137,
83 68,36,8,137,76,36,4,137,44,36,137,149,233,255,137,116,36,24,232,251,1,4,252,
84 233,244,3,248,49,255,131,252,238,4,139,108,36,48,137,149,233,137,252,233,
85 139,86,252,252,137,116,36,24,232,251,1,5,252,233,244,3,255,248,50,255,15,
86 182,110,252,255,255,248,51,141,4,199,252,233,244,247,248,52,255,248,53,141,
87 4,199,141,44,252,234,149,252,233,244,248,248,54,141,4,194,137,197,252,233,
88 244,248,248,55,255,248,56,141,4,194,248,1,141,44,252,234,248,2,141,12,202,
89 137,108,36,8,139,108,36,48,137,68,36,12,15,182,70,252,252,137,76,36,4,137,
90 68,36,16,137,44,36,137,149,233,137,116,36,24,232,251,1,6,139,149,233,133,
91 192,15,132,244,43,248,45,137,193,41,208,137,113,252,244,141,176,233,184,237,
92 252,233,244,28,248,57,139,108,36,48,137,149,233,141,20,194,137,252,233,137,
93 116,36,24,232,251,1,7,139,149,233,255,133,192,15,133,244,45,15,183,70,252,
94 254,139,12,194,252,233,244,58,255,252,233,244,45,255,248,59,141,76,202,8,
95 248,29,137,76,36,20,137,68,36,16,131,252,233,8,141,4,193,139,108,36,48,137,
96 76,36,4,137,68,36,8,137,44,36,137,149,233,137,116,36,24,232,251,1,8,139,149,
97 233,139,76,36,20,139,68,36,16,139,105,252,248,131,192,1,57,215,15,132,244,
98 60,137,202,137,114,252,252,139,181,233,139,14,15,182,252,233,15,182,205,131,
99 198,4,252,255,36,171,248,61,139,108,36,48,137,149,233,137,202,137,252,233,
100 137,116,36,24,232,251,1,9,139,149,233,139,70,252,252,15,182,204,15,182,232,
101 193,232,16,252,255,164,253,171,233,248,62,129,252,248,239,15,130,244,63,139,
102 106,4,129,252,253,239,15,131,244,63,139,114,252,252,137,68,36,20,137,106,
103 252,252,139,42,137,106,252,248,131,232,2,15,132,244,248,255,137,209,248,1,
104 131,193,8,139,105,4,137,105,252,252,139,41,137,105,252,248,131,232,1,15,133,
105 244,1,248,2,139,68,36,20,252,233,244,64,248,65,129,252,248,239,15,130,244,
106 63,139,106,4,184,237,252,247,213,57,232,255,15,71,197,255,15,134,244,247,
107 137,232,248,1,255,248,2,139,106,252,248,139,132,253,197,233,139,114,252,252,
108 199,66,252,252,237,137,66,252,248,252,233,244,66,248,67,129,252,248,239,15,
109 130,244,63,139,106,4,139,114,252,252,129,252,253,239,15,133,244,252,248,1,
110 139,42,139,173,233,248,2,133,252,237,199,66,252,252,237,15,132,244,66,139,
111 131,233,199,66,252,252,237,255,137,106,252,248,139,141,233,35,136,233,105,
112 201,239,3,141,233,248,3,129,185,233,239,15,133,244,250,57,129,233,15,132,
113 244,251,248,4,139,137,233,133,201,15,133,244,3,252,233,244,66,248,5,139,105,
114 4,129,252,253,239,255,15,132,244,66,139,1,137,106,252,252,137,66,252,248,
115 252,233,244,66,248,6,129,252,253,239,15,132,244,1,129,252,253,239,15,135,
116 244,254,189,237,248,8,252,247,213,139,172,253,171,233,252,233,244,2,248,68,
117 129,252,248,239,15,130,244,63,255,129,122,253,4,239,15,133,244,63,139,42,
118 131,189,233,0,15,133,244,63,129,122,253,12,239,15,133,244,63,139,66,8,137,
119 133,233,139,114,252,252,199,66,252,252,237,137,106,252,248,252,246,133,233,
120 235,15,132,244,247,128,165,233,235,139,131,233,137,171,233,137,133,233,248,
121 1,255,252,233,244,66,248,69,129,252,248,239,15,130,244,63,129,122,253,4,239,
122 15,133,244,63,139,2,139,108,36,48,137,68,36,4,137,44,36,137,213,131,194,8,
123 137,84,36,8,232,251,1,10,137,252,234,139,40,139,64,4,139,114,252,252,137,
124 106,252,248,137,66,252,252,252,233,244,66,248,70,129,252,248,239,15,133,244,
125 63,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244,71,248,1,15,135,
126 244,63,255,15,131,244,63,255,252,242,15,16,2,252,233,244,72,255,221,2,252,
127 233,244,73,255,248,74,129,252,248,239,15,130,244,63,139,114,252,252,129,122,
128 253,4,239,15,133,244,249,139,2,248,2,199,66,252,252,237,137,66,252,248,252,
129 233,244,66,248,3,129,122,253,4,239,15,135,244,63,131,187,233,0,15,133,244,
130 63,139,171,233,59,171,233,255,15,130,244,247,232,244,75,248,1,139,108,36,
131 48,137,149,233,137,116,36,24,137,252,233,255,232,251,1,11,255,232,251,1,12,
132 255,139,149,233,252,233,244,2,248,76,129,252,248,239,15,130,244,63,15,132,
133 244,248,248,1,129,122,253,4,239,15,133,244,63,139,108,36,48,137,149,233,137,
134 149,233,139,114,252,252,139,2,137,68,36,4,137,44,36,131,194,8,137,84,36,8,
135 137,116,36,24,232,251,1,13,139,149,233,133,192,15,132,244,249,139,106,8,139,
136 66,12,137,106,252,248,137,66,252,252,139,106,16,139,66,20,137,42,137,66,4,
137 248,77,184,237,255,252,233,244,78,248,2,199,66,12,237,252,233,244,1,248,3,
138 199,66,252,252,237,252,233,244,66,248,79,129,252,248,239,15,130,244,63,139,
139 42,129,122,253,4,239,15,133,244,63,255,131,189,233,0,15,133,244,63,255,139,
140 106,252,248,139,133,233,139,114,252,252,199,66,252,252,237,137,66,252,248,
141 199,66,12,237,184,237,252,233,244,78,248,80,129,252,248,239,15,130,244,63,
142 129,122,253,4,239,15,133,244,63,129,122,253,12,239,255,139,114,252,252,255,
143 139,66,8,131,192,1,199,66,252,252,237,137,66,252,248,255,252,242,15,16,66,
144 8,189,0,0,252,240,63,102,15,110,205,102,15,112,201,81,252,242,15,88,193,252,
145 242,15,45,192,252,242,15,17,66,252,248,255,221,66,8,217,232,222,193,219,20,
146 36,221,90,252,248,139,4,36,255,139,42,59,133,233,15,131,244,248,193,224,3,
147 3,133,233,248,1,129,120,253,4,239,15,132,244,81,139,40,139,64,4,137,42,137,
148 66,4,252,233,244,77,248,2,131,189,233,0,15,132,244,81,137,252,233,137,213,
149 137,194,232,251,1,14,137,252,234,133,192,15,133,244,1,248,81,184,237,252,
150 233,244,78,248,82,255,139,106,252,248,139,133,233,139,114,252,252,199,66,
151 252,252,237,137,66,252,248,255,199,66,12,237,199,66,8,0,0,0,0,255,15,87,192,
152 252,242,15,17,66,8,255,217,252,238,221,90,8,255,184,237,252,233,244,78,248,
153 83,129,252,248,239,15,130,244,63,141,74,8,131,232,1,190,237,248,1,15,182,
154 171,233,193,252,237,235,131,229,1,1,252,238,252,233,244,28,248,84,129,252,
155 248,239,15,130,244,63,129,122,253,12,239,15,133,244,63,255,139,106,4,137,
156 106,12,199,66,4,237,139,42,139,114,8,137,106,8,137,50,141,74,16,131,232,2,
157 190,237,252,233,244,1,248,85,129,252,248,239,15,130,244,63,139,42,139,114,
158 252,252,137,116,36,24,137,44,36,129,122,253,4,239,15,133,244,63,131,189,233,
159 0,15,133,244,63,128,189,233,235,15,135,244,63,139,141,233,15,132,244,247,
160 255,59,141,233,15,132,244,63,248,1,141,116,193,252,240,59,181,233,15,135,
161 244,63,137,181,233,139,108,36,48,137,149,233,131,194,8,137,149,233,141,108,
162 194,232,41,252,245,57,206,15,132,244,249,248,2,139,68,46,4,137,70,252,252,
163 139,4,46,137,70,252,248,131,252,238,8,57,206,15,133,244,2,248,3,137,76,36,
164 4,49,201,137,76,36,12,137,76,36,8,232,244,25,199,131,233,237,255,139,108,
165 36,48,139,52,36,139,149,233,129,252,248,239,15,135,244,254,248,4,139,142,
166 233,139,190,233,137,142,233,137,252,254,41,206,15,132,244,252,141,4,50,193,
167 252,238,3,59,133,233,15,135,244,255,137,213,41,205,248,5,139,1,137,4,41,139,
168 65,4,137,68,41,4,131,193,8,57,252,249,15,133,244,5,248,6,141,70,2,199,66,
169 252,252,237,248,7,139,116,36,24,137,68,36,20,185,252,248,252,255,252,255,
170 252,255,252,247,198,237,255,15,132,244,13,252,233,244,14,248,8,199,66,252,
171 252,237,139,142,233,131,252,233,8,137,142,233,139,1,137,2,139,65,4,137,66,
172 4,184,237,252,233,244,7,248,9,139,12,36,137,185,233,137,252,242,137,252,233,
173 232,251,1,0,139,52,36,139,149,233,252,233,244,4,248,86,139,106,252,248,139,
174 173,233,139,114,252,252,137,116,36,24,137,44,36,131,189,233,0,15,133,244,
175 63,255,128,189,233,235,15,135,244,63,139,141,233,15,132,244,247,59,141,233,
176 15,132,244,63,248,1,141,116,193,252,248,59,181,233,15,135,244,63,137,181,
177 233,139,108,36,48,137,149,233,137,149,233,141,108,194,252,240,41,252,245,
178 57,206,15,132,244,249,248,2,255,139,68,46,4,137,70,252,252,139,4,46,137,70,
179 252,248,131,252,238,8,57,206,15,133,244,2,248,3,137,76,36,4,49,201,137,76,
180 36,12,137,76,36,8,232,244,25,199,131,233,237,139,108,36,48,139,52,36,139,
181 149,233,129,252,248,239,15,135,244,254,248,4,139,142,233,139,190,233,137,
182 142,233,137,252,254,41,206,15,132,244,252,141,4,50,193,252,238,3,59,133,233,
183 15,135,244,255,255,137,213,41,205,248,5,139,1,137,4,41,139,65,4,137,68,41,
184 4,131,193,8,57,252,249,15,133,244,5,248,6,141,70,1,248,7,139,116,36,24,137,
185 68,36,20,49,201,252,247,198,237,15,132,244,13,252,233,244,14,248,8,137,252,
186 242,137,252,233,232,251,1,15,248,9,139,12,36,137,185,233,137,252,242,137,
187 252,233,232,251,1,0,139,52,36,139,149,233,252,233,244,4,248,87,139,108,36,
188 48,252,247,133,233,237,15,132,244,63,255,137,149,233,141,68,194,252,248,137,
189 133,233,49,192,137,133,233,176,235,136,133,233,252,233,244,16,255,248,71,
190 255,248,73,139,114,252,252,221,90,252,248,252,233,244,66,255,248,88,129,252,
191 248,239,15,130,244,63,255,129,122,253,4,239,15,133,244,248,139,42,131,252,
192 253,0,15,137,244,71,252,247,221,15,136,244,247,248,89,248,71,139,114,252,
193 252,199,66,252,252,237,137,106,252,248,252,233,244,66,248,1,139,114,252,252,
194 199,66,252,252,0,0,224,65,199,66,252,248,0,0,0,0,252,233,244,66,248,2,15,
195 135,244,63,255,129,122,253,4,239,15,131,244,63,255,252,242,15,16,2,102,15,
196 252,239,201,102,15,118,201,102,15,115,209,1,15,84,193,248,72,139,114,252,
197 252,252,242,15,17,66,252,248,255,221,2,217,225,248,72,248,73,139,114,252,
198 252,221,90,252,248,255,248,66,184,237,248,78,137,68,36,20,248,64,252,247,
199 198,237,15,133,244,253,248,5,56,70,252,255,15,135,244,252,15,182,78,252,253,
200 252,247,209,141,20,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
201 255,36,171,248,6,199,68,194,252,244,237,131,192,1,252,233,244,5,248,7,185,
202 252,248,252,255,252,255,252,255,252,233,244,14,248,90,255,129,122,253,4,239,
203 15,133,244,247,139,42,252,233,244,71,248,1,15,135,244,63,255,252,242,15,16,
204 2,232,244,91,255,252,242,15,45,232,129,252,253,0,0,0,128,15,133,244,71,252,
205 242,15,42,205,102,15,46,193,15,138,244,72,15,132,244,71,255,221,2,232,244,
206 91,255,219,20,36,139,44,36,129,252,253,0,0,0,128,15,133,244,248,217,192,219,
207 4,36,255,223,252,233,221,216,255,218,252,233,223,224,158,255,15,138,244,73,
208 15,133,244,73,248,2,221,216,252,233,244,71,255,248,92,255,252,242,15,16,2,
209 232,244,93,255,221,2,232,244,93,255,248,94,129,252,248,239,15,130,244,63,
210 129,122,253,4,239,15,131,244,63,252,242,15,81,2,252,233,244,72,255,248,94,
211 129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,221,2,217,252,
212 250,252,233,244,73,255,248,95,129,252,248,239,15,130,244,63,129,122,253,4,
213 239,15,131,244,63,217,252,237,221,2,217,252,241,252,233,244,73,248,96,129,
214 252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,217,252,236,221,
215 2,217,252,241,252,233,244,73,248,97,129,252,248,239,255,15,130,244,63,129,
216 122,253,4,239,15,131,244,63,221,2,232,244,98,252,233,244,73,248,99,129,252,
217 248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,221,2,217,252,254,252,
218 233,244,73,248,100,129,252,248,239,255,15,130,244,63,129,122,253,4,239,15,
219 131,244,63,221,2,217,252,255,252,233,244,73,248,101,129,252,248,239,15,130,
220 244,63,129,122,253,4,239,15,131,244,63,221,2,217,252,242,221,216,252,233,
221 244,73,248,102,129,252,248,239,15,130,244,63,255,129,122,253,4,239,15,131,
222 244,63,221,2,217,192,216,200,217,232,222,225,217,252,250,217,252,243,252,
223 233,244,73,248,103,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,
224 244,63,221,2,217,192,216,200,217,232,222,225,217,252,250,217,201,217,252,
225 243,252,233,244,73,248,104,129,252,248,239,15,130,244,63,129,122,253,4,239,
226 15,131,244,63,255,221,2,217,232,217,252,243,252,233,244,73,255,248,105,129,
227 252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,252,242,15,16,2,
228 252,242,15,17,4,36,255,248,105,129,252,248,239,15,130,244,63,129,122,253,
229 4,239,15,131,244,63,221,2,221,28,36,255,137,213,232,251,1,16,137,252,234,
230 252,233,244,73,255,248,106,129,252,248,239,15,130,244,63,129,122,253,4,239,
231 15,131,244,63,252,242,15,16,2,252,242,15,17,4,36,255,248,106,129,252,248,
232 239,15,130,244,63,129,122,253,4,239,15,131,244,63,221,2,221,28,36,255,137,
233 213,232,251,1,17,137,252,234,252,233,244,73,255,248,107,129,252,248,239,15,
234 130,244,63,129,122,253,4,239,15,131,244,63,252,242,15,16,2,252,242,15,17,
235 4,36,255,248,107,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,
236 63,221,2,221,28,36,255,137,213,232,251,1,18,137,252,234,252,233,244,73,248,
237 108,255,248,109,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,
238 63,252,242,15,16,2,139,106,252,248,252,242,15,89,133,233,252,233,244,72,255,
239 248,109,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,221,
240 2,139,106,252,248,220,141,233,252,233,244,73,255,248,110,129,252,248,239,
241 15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
242 63,221,2,221,66,8,217,252,243,252,233,244,73,248,111,129,252,248,239,15,130,
243 244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,255,15,131,244,
244 63,221,66,8,221,2,217,252,253,221,217,252,233,244,73,248,112,129,252,248,
245 239,15,130,244,63,139,106,4,129,252,253,239,15,131,244,63,139,114,252,252,
246 139,2,137,106,252,252,137,66,252,248,209,229,129,252,253,0,0,224,252,255,
247 15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,32,
248 0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,137,
249 108,36,16,219,68,36,16,255,139,106,252,252,129,229,252,255,252,255,15,128,
250 129,205,0,0,224,63,137,106,252,252,248,2,255,252,242,15,17,2,255,221,26,255,
251 184,237,252,233,244,78,248,3,255,15,87,192,252,233,244,2,255,217,252,238,
252 252,233,244,2,255,248,4,255,252,242,15,16,2,189,0,0,80,67,102,15,110,205,
253 102,15,112,201,81,252,242,15,89,193,252,242,15,17,66,252,248,255,221,2,199,
254 68,36,16,0,0,128,90,216,76,36,16,221,90,252,248,255,139,106,252,252,184,52,
255 4,0,0,209,229,252,233,244,1,255,248,113,129,252,248,239,15,130,244,63,129,
256 122,253,4,239,15,131,244,63,252,242,15,16,2,255,248,113,129,252,248,239,15,
257 130,244,63,129,122,253,4,239,15,131,244,63,221,2,255,139,106,4,139,114,252,
258 252,209,229,129,252,253,0,0,224,252,255,15,132,244,250,255,15,40,224,232,
259 244,114,252,242,15,92,224,248,1,252,242,15,17,66,252,248,252,242,15,17,34,
260 255,217,192,232,244,114,220,252,233,248,1,221,90,252,248,221,26,255,139,66,
261 252,252,139,106,4,49,232,15,136,244,249,248,2,184,237,252,233,244,78,248,
262 3,129,252,245,0,0,0,128,137,106,4,252,233,244,2,248,4,255,15,87,228,252,233,
263 244,1,255,217,252,238,217,201,252,233,244,1,255,248,115,129,252,248,239,15,
264 130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
265 63,221,66,8,221,2,248,1,217,252,248,223,224,158,15,138,244,1,221,217,252,
266 233,244,73,255,248,116,129,252,248,239,15,130,244,63,129,122,253,4,239,15,
267 131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,16,
268 74,8,232,244,117,252,233,244,72,255,248,116,129,252,248,239,15,130,244,63,
269 129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,63,221,2,221,
270 66,8,232,244,117,252,233,244,73,255,248,118,185,2,0,0,0,129,122,253,4,239,
271 255,15,133,244,250,139,42,248,1,57,193,15,131,244,71,129,124,253,202,252,
272 252,239,15,133,244,249,59,108,202,252,248,15,79,108,202,252,248,131,193,1,
273 252,233,244,1,248,3,15,135,244,63,255,252,233,244,252,248,4,15,135,244,63,
274 255,252,242,15,16,2,248,5,57,193,15,131,244,72,129,124,253,202,252,252,239,
275 255,15,130,244,252,15,135,244,63,252,242,15,42,76,202,252,248,252,233,244,
276 253,255,248,6,252,242,15,16,76,202,252,248,248,7,252,242,15,93,193,131,193,
277 1,252,233,244,5,255,221,2,248,5,57,193,15,131,244,73,129,124,253,202,252,
278 252,239,255,15,130,244,252,15,135,244,255,219,68,202,252,248,252,233,244,
279 253,255,15,131,244,255,255,248,6,221,68,202,252,248,248,7,255,219,252,233,
280 219,209,221,217,255,80,221,225,223,224,252,246,196,1,15,132,244,248,217,201,
281 248,2,221,216,88,255,248,119,185,2,0,0,0,129,122,253,4,239,255,15,133,244,
282 250,139,42,248,1,57,193,15,131,244,71,129,124,253,202,252,252,239,15,133,
283 244,249,59,108,202,252,248,15,76,108,202,252,248,131,193,1,252,233,244,1,
284 248,3,15,135,244,63,255,248,6,252,242,15,16,76,202,252,248,248,7,252,242,
285 15,95,193,131,193,1,252,233,244,5,255,219,252,233,218,209,221,217,255,80,
286 221,225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,88,255,
287 248,9,221,216,252,233,244,63,255,248,120,129,252,248,239,15,130,244,63,129,
288 122,253,4,239,15,133,244,63,139,42,255,139,173,233,252,233,244,71,255,252,
289 242,15,42,133,233,252,233,244,72,255,219,133,233,252,233,244,73,255,248,121,
290 129,252,248,239,15,133,244,63,129,122,253,4,239,15,133,244,63,139,42,139,
291 114,252,252,131,189,233,1,15,130,244,81,15,182,173,233,255,252,242,15,42,
292 197,252,233,244,72,255,137,108,36,16,219,68,36,16,252,233,244,73,255,248,
293 122,139,171,233,59,171,233,15,130,244,247,232,244,75,248,1,129,252,248,239,
294 15,133,244,63,129,122,253,4,239,255,15,133,244,63,139,42,129,252,253,252,
295 255,0,0,0,15,135,244,63,137,108,36,20,255,15,131,244,63,252,242,15,44,42,
296 129,252,253,252,255,0,0,0,15,135,244,63,137,108,36,20,255,15,131,244,63,221,
297 2,219,92,36,20,129,124,36,20,252,255,0,0,0,15,135,244,63,255,199,68,36,8,
298 1,0,0,0,141,68,36,20,248,123,139,108,36,48,137,149,233,137,68,36,4,137,44,
299 36,137,116,36,24,232,251,1,19,139,149,233,139,114,252,252,199,66,252,252,
300 237,137,66,252,248,252,233,244,66,248,124,139,171,233,59,171,233,15,130,244,
301 247,232,244,75,248,1,199,68,36,20,252,255,252,255,252,255,252,255,129,252,
302 248,239,15,130,244,63,15,134,244,247,129,122,253,20,239,255,15,133,244,63,
303 139,106,16,137,108,36,20,255,15,131,244,63,252,242,15,44,106,16,137,108,36,
304 20,255,15,131,244,63,221,66,16,219,92,36,20,255,248,1,129,122,253,4,239,15,
305 133,244,63,129,122,253,12,239,255,139,42,137,108,36,12,139,173,233,255,139,
306 74,8,255,252,242,15,44,74,8,255,221,66,8,219,92,36,8,139,76,36,8,255,139,
307 68,36,20,57,197,15,130,244,251,248,2,133,201,15,142,244,253,248,3,139,108,
308 36,12,41,200,15,140,244,125,141,172,253,13,233,131,192,1,248,4,137,68,36,
309 8,137,232,252,233,244,123,248,5,15,140,244,252,141,68,40,1,252,233,244,2,
310 248,6,137,232,252,233,244,2,248,7,255,15,132,244,254,1,252,233,131,193,1,
311 15,143,244,3,248,8,185,1,0,0,0,252,233,244,3,248,125,49,192,252,233,244,4,
312 248,126,129,252,248,239,15,130,244,63,139,171,233,59,171,233,15,130,244,247,
313 232,244,75,248,1,255,129,122,253,4,239,15,133,244,63,129,122,253,12,239,139,
314 42,255,15,133,244,63,139,66,8,255,15,131,244,63,252,242,15,44,66,8,255,15,
315 131,244,63,221,66,8,219,92,36,20,139,68,36,20,255,133,192,15,142,244,125,
316 131,189,233,1,15,130,244,125,15,133,244,127,57,131,233,15,130,244,127,15,
317 182,141,233,139,171,233,137,68,36,8,248,1,136,77,0,131,197,1,131,232,1,15,
318 133,244,1,139,131,233,252,233,244,123,248,128,129,252,248,239,255,15,130,
319 244,63,139,171,233,59,171,233,15,130,244,247,232,244,75,248,1,129,122,253,
320 4,239,15,133,244,63,139,42,139,133,233,133,192,15,132,244,125,57,131,233,
321 15,130,244,129,129,197,239,137,116,36,20,137,68,36,8,139,179,233,248,1,255,
322 15,182,77,0,131,197,1,131,232,1,136,12,6,15,133,244,1,137,252,240,139,116,
323 36,20,252,233,244,123,248,130,129,252,248,239,15,130,244,63,139,171,233,59,
324 171,233,15,130,244,247,232,244,75,248,1,129,122,253,4,239,15,133,244,63,139,
325 42,139,133,233,57,131,233,255,15,130,244,129,129,197,239,137,116,36,20,137,
326 68,36,8,139,179,233,252,233,244,249,248,1,15,182,76,5,0,131,252,249,65,15,
327 130,244,248,131,252,249,90,15,135,244,248,131,252,241,32,248,2,136,12,6,248,
328 3,131,232,1,15,137,244,1,137,252,240,139,116,36,20,252,233,244,123,248,131,
329 129,252,248,239,15,130,244,63,255,139,171,233,59,171,233,15,130,244,247,232,
330 244,75,248,1,129,122,253,4,239,15,133,244,63,139,42,139,133,233,57,131,233,
331 15,130,244,129,129,197,239,137,116,36,20,137,68,36,8,139,179,233,252,233,
332 244,249,248,1,15,182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,
333 122,15,135,244,248,131,252,241,32,248,2,136,12,6,248,3,131,232,1,15,137,244,
334 1,137,252,240,139,116,36,20,252,233,244,123,248,132,129,252,248,239,15,130,
335 244,63,129,122,253,4,239,15,133,244,63,137,213,139,10,232,251,1,20,137,252,
336 234,255,137,197,252,233,244,71,255,252,242,15,42,192,252,233,244,72,255,137,
337 4,36,219,4,36,252,233,244,73,255,248,133,129,252,248,239,15,130,244,63,129,
338 122,253,4,239,255,15,133,244,247,139,42,252,233,244,89,248,1,15,135,244,63,
339 255,252,242,15,16,2,189,0,0,56,67,102,15,110,205,102,15,112,201,81,252,242,
340 15,88,193,102,15,126,197,255,221,2,199,68,36,16,0,0,192,89,216,68,36,16,221,
341 28,36,255,139,44,36,255,252,233,244,89,255,248,134,129,252,248,239,15,130,
342 244,63,255,189,0,0,56,67,102,15,110,205,102,15,112,201,81,255,199,68,36,16,
343 0,0,192,89,255,15,133,244,247,139,42,252,233,244,248,248,1,15,135,244,63,
344 255,252,242,15,16,2,252,242,15,88,193,102,15,126,197,255,221,2,216,68,36,
345 16,221,28,36,139,44,36,255,248,2,137,68,36,20,141,68,194,252,240,248,1,57,
346 208,15,134,244,89,129,120,253,4,239,255,15,133,244,248,35,40,131,232,8,252,
347 233,244,1,248,2,15,135,244,135,255,15,131,244,135,255,252,242,15,16,0,252,
348 242,15,88,193,102,15,126,193,33,205,255,221,0,216,68,36,16,221,28,36,35,44,
349 36,255,131,232,8,252,233,244,1,248,136,129,252,248,239,15,130,244,63,255,
350 15,133,244,248,11,40,131,232,8,252,233,244,1,248,2,15,135,244,135,255,252,
351 242,15,16,0,252,242,15,88,193,102,15,126,193,9,205,255,221,0,216,68,36,16,
352 221,28,36,11,44,36,255,131,232,8,252,233,244,1,248,137,129,252,248,239,15,
353 130,244,63,255,15,133,244,248,51,40,131,232,8,252,233,244,1,248,2,15,135,
354 244,135,255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,49,205,255,221,
355 0,216,68,36,16,221,28,36,51,44,36,255,131,232,8,252,233,244,1,248,138,129,
356 252,248,239,15,130,244,63,129,122,253,4,239,255,221,2,199,68,36,16,0,0,192,
357 89,216,68,36,16,221,28,36,139,44,36,255,248,2,15,205,252,233,244,89,248,139,
358 129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,2,252,247,213,255,
359 248,89,252,242,15,42,197,252,233,244,72,255,248,89,137,44,36,219,4,36,252,
360 233,244,73,255,248,135,139,68,36,20,252,233,244,63,255,248,140,129,252,248,
361 239,15,130,244,63,129,122,253,4,239,255,248,2,129,122,253,12,239,15,133,244,
362 63,139,74,8,255,248,140,129,252,248,239,15,130,244,63,129,122,253,4,239,15,
363 131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,16,
364 74,8,189,0,0,56,67,102,15,110,213,102,15,112,210,81,252,242,15,88,194,252,
365 242,15,88,202,102,15,126,197,102,15,126,201,255,248,140,129,252,248,239,15,
366 130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
367 63,221,2,221,66,8,199,68,36,16,0,0,192,89,216,68,36,16,221,92,36,8,216,68,
368 36,16,221,28,36,139,76,36,8,139,44,36,255,211,229,252,233,244,89,255,248,
369 141,129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,141,129,252,248,
370 239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,
371 244,63,252,242,15,16,2,252,242,15,16,74,8,189,0,0,56,67,102,15,110,213,102,
372 15,112,210,81,252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,
373 201,255,248,141,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,
374 63,129,122,253,12,239,15,131,244,63,221,2,221,66,8,199,68,36,16,0,0,192,89,
375 216,68,36,16,221,92,36,8,216,68,36,16,221,28,36,139,76,36,8,139,44,36,255,
376 211,252,237,252,233,244,89,255,248,142,129,252,248,239,15,130,244,63,129,
377 122,253,4,239,255,248,142,129,252,248,239,15,130,244,63,129,122,253,4,239,
378 15,131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,
379 16,74,8,189,0,0,56,67,102,15,110,213,102,15,112,210,81,252,242,15,88,194,
380 252,242,15,88,202,102,15,126,197,102,15,126,201,255,248,142,129,252,248,239,
381 15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
382 63,221,2,221,66,8,199,68,36,16,0,0,192,89,216,68,36,16,221,92,36,8,216,68,
383 36,16,221,28,36,139,76,36,8,139,44,36,255,211,252,253,252,233,244,89,255,
384 248,143,129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,143,129,252,
385 248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,
386 15,131,244,63,252,242,15,16,2,252,242,15,16,74,8,189,0,0,56,67,102,15,110,
387 213,102,15,112,210,81,252,242,15,88,194,252,242,15,88,202,102,15,126,197,
388 102,15,126,201,255,248,143,129,252,248,239,15,130,244,63,129,122,253,4,239,
389 15,131,244,63,129,122,253,12,239,15,131,244,63,221,2,221,66,8,199,68,36,16,
390 0,0,192,89,216,68,36,16,221,92,36,8,216,68,36,16,221,28,36,139,76,36,8,139,
391 44,36,255,211,197,252,233,244,89,255,248,144,129,252,248,239,15,130,244,63,
392 129,122,253,4,239,255,248,144,129,252,248,239,15,130,244,63,129,122,253,4,
393 239,15,131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,
394 15,16,74,8,189,0,0,56,67,102,15,110,213,102,15,112,210,81,252,242,15,88,194,
395 252,242,15,88,202,102,15,126,197,102,15,126,201,255,248,144,129,252,248,239,
396 15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
397 63,221,2,221,66,8,199,68,36,16,0,0,192,89,216,68,36,16,221,92,36,8,216,68,
398 36,16,221,28,36,139,76,36,8,139,44,36,255,211,205,252,233,244,89,248,127,
399 184,237,252,233,244,63,248,129,184,237,248,63,139,108,36,48,139,114,252,252,
400 137,116,36,24,137,149,233,141,68,194,252,248,141,136,233,137,133,233,139,
401 66,252,248,59,141,233,15,135,244,251,137,44,36,252,255,144,233,139,149,233,
402 133,192,15,143,244,78,248,1,255,139,141,233,41,209,193,252,233,3,133,192,
403 141,65,1,139,106,252,248,15,133,244,33,139,181,233,139,14,15,182,252,233,
404 15,182,205,131,198,4,252,255,36,171,248,33,137,209,252,247,198,237,15,133,
405 244,249,15,182,110,252,253,252,247,213,141,20,252,234,252,233,244,28,248,
406 3,137,252,245,131,229,252,248,41,252,234,252,233,244,28,248,5,186,237,137,
407 252,233,232,251,1,0,139,149,233,49,192,252,233,244,1,248,75,93,137,108,36,
408 16,139,108,36,48,137,116,36,24,137,149,233,255,141,68,194,252,248,137,252,
409 233,137,133,233,232,251,1,21,139,149,233,139,133,233,41,208,193,232,3,131,
410 192,1,139,108,36,16,85,195,248,145,255,15,182,131,233,168,235,15,133,244,
411 251,168,235,15,133,244,247,168,235,15,132,244,247,252,255,139,233,252,233,
412 244,247,255,248,146,15,182,131,233,168,235,15,133,244,251,252,233,244,247,
413 248,147,15,182,131,233,168,235,15,133,244,251,168,235,15,132,244,251,252,
414 255,139,233,15,132,244,247,168,235,15,132,244,251,248,1,255,139,108,36,48,
415 137,149,233,137,252,242,137,252,233,232,251,1,22,248,3,139,149,233,248,4,
416 15,182,78,252,253,248,5,15,182,110,252,252,15,183,70,252,254,252,255,164,
417 253,171,233,248,148,131,198,4,139,77,232,137,76,36,20,252,233,244,4,248,149,
418 255,139,106,252,248,139,173,233,15,182,133,233,141,4,194,139,108,36,48,137,
419 149,233,137,133,233,137,252,242,141,139,233,137,171,233,137,116,36,24,232,
420 251,1,23,252,233,244,3,255,248,150,137,116,36,24,255,248,151,255,137,116,
421 36,24,131,206,1,248,1,255,141,68,194,252,248,139,108,36,48,137,149,233,137,
422 133,233,137,252,242,137,252,233,232,251,1,24,199,68,36,24,0,0,0,0,255,131,
423 230,252,254,255,139,149,233,137,193,139,133,233,41,208,137,205,15,182,78,
424 252,253,193,232,3,131,192,1,252,255,229,248,152,255,85,141,108,36,12,85,83,
425 82,81,80,15,182,69,252,252,138,101,252,248,137,125,252,252,137,117,252,248,
426 139,93,0,139,139,233,199,131,233,237,137,131,233,137,139,233,129,252,236,
427 239,252,242,15,17,125,216,252,242,15,17,117,208,252,242,15,17,109,200,252,
428 242,15,17,101,192,252,242,15,17,93,184,252,242,15,17,85,176,252,242,15,17,
429 77,168,252,242,15,17,69,160,139,171,233,139,147,233,137,171,233,199,131,233,
430 0,0,0,0,137,149,233,141,84,36,16,141,139,233,232,251,1,25,139,141,233,129,
431 225,239,137,204,137,169,233,139,149,233,139,177,233,255,248,153,255,133,192,
432 15,136,244,249,137,68,36,20,139,122,252,248,139,191,233,139,191,233,199,131,
433 233,0,0,0,0,199,131,233,237,139,6,15,182,204,15,182,232,131,198,4,193,232,
434 16,129,252,253,239,15,130,244,248,139,68,36,20,248,2,252,255,36,171,248,3,
435 252,247,216,137,252,233,137,194,232,251,1,26,255,248,91,255,217,124,36,4,
436 137,68,36,8,102,184,0,4,102,11,68,36,4,102,37,252,255,252,247,102,137,68,
437 36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,255,248,154,102,
438 15,252,239,210,102,15,118,210,102,15,115,210,1,184,0,0,48,67,102,15,110,216,
439 102,15,112,219,81,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,
440 15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,184,0,0,252,240,
441 63,102,15,110,208,102,15,112,210,81,252,242,15,194,193,1,102,15,84,194,252,
442 242,15,92,200,15,40,193,248,1,195,248,93,255,217,124,36,4,137,68,36,8,102,
443 184,0,8,102,11,68,36,4,102,37,252,255,252,251,102,137,68,36,6,217,108,36,
444 6,217,252,252,217,108,36,4,139,68,36,8,195,255,248,155,102,15,252,239,210,
445 102,15,118,210,102,15,115,210,1,184,0,0,48,67,102,15,110,216,102,15,112,219,
446 81,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,252,
447 242,15,88,203,252,242,15,92,203,102,15,86,202,184,0,0,252,240,191,102,15,
448 110,208,102,15,112,210,81,252,242,15,194,193,6,102,15,84,194,252,242,15,92,
449 200,15,40,193,248,1,195,248,114,255,217,124,36,4,137,68,36,8,102,184,0,12,
450 102,11,68,36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,
451 68,36,8,195,255,248,156,102,15,252,239,210,102,15,118,210,102,15,115,210,
452 1,184,0,0,48,67,102,15,110,216,102,15,112,219,81,15,40,200,102,15,84,202,
453 102,15,46,217,15,134,244,247,102,15,85,208,15,40,193,252,242,15,88,203,252,
454 242,15,92,203,184,0,0,252,240,63,102,15,110,216,102,15,112,219,81,252,242,
455 15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,86,202,15,40,193,248,
456 1,195,248,157,255,15,40,232,252,242,15,94,193,102,15,252,239,210,102,15,118,
457 210,102,15,115,210,1,184,0,0,48,67,102,15,110,216,102,15,112,219,81,15,40,
458 224,102,15,84,226,102,15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,
459 227,252,242,15,92,227,102,15,86,226,184,0,0,252,240,63,102,15,110,208,102,
460 15,112,210,81,252,242,15,194,196,1,102,15,84,194,252,242,15,92,224,15,40,
461 197,252,242,15,89,204,252,242,15,92,193,195,248,1,252,242,15,89,200,15,40,
462 197,252,242,15,92,193,195,255,217,193,216,252,241,217,124,36,4,102,184,0,
463 4,102,11,68,36,4,102,37,252,255,252,247,102,137,68,36,6,217,108,36,6,217,
464 252,252,217,108,36,4,222,201,222,252,233,195,255,248,98,217,252,234,222,201,
465 248,158,217,84,36,4,129,124,36,4,0,0,128,127,15,132,244,247,129,124,36,4,
466 0,0,128,252,255,15,132,244,248,248,159,217,192,217,252,252,220,252,233,217,
467 201,217,252,240,217,232,222,193,217,252,253,221,217,248,1,195,248,2,221,216,
468 217,252,238,195,255,248,117,219,84,36,4,219,68,36,4,255,223,252,233,255,221,
469 252,233,223,224,158,255,15,133,244,254,15,138,244,255,221,216,139,68,36,4,
470 131,252,248,1,15,142,244,252,248,1,169,1,0,0,0,15,133,244,248,216,200,209,
471 232,252,233,244,1,248,2,209,232,15,132,244,251,217,192,248,3,216,200,209,
472 232,15,132,244,250,15,131,244,3,220,201,252,233,244,3,248,4,255,222,201,248,
473 5,195,248,6,15,132,244,5,15,130,244,253,217,232,222,252,241,252,247,216,131,
474 252,248,1,15,132,244,5,252,233,244,1,248,7,221,216,217,232,195,248,8,217,
475 84,36,4,217,201,217,84,36,8,139,68,36,4,209,224,61,0,0,0,252,255,15,132,244,
476 248,139,68,36,8,209,224,15,132,244,250,61,0,0,0,252,255,15,132,244,250,217,
477 252,241,252,233,244,159,248,9,255,217,232,255,223,252,234,255,221,252,234,
478 223,224,158,255,15,132,244,247,217,201,248,1,221,216,195,248,2,217,225,217,
479 232,255,15,132,244,249,221,216,217,225,217,252,238,184,0,0,0,0,15,146,208,
480 209,200,51,68,36,4,15,137,244,249,217,201,248,3,221,217,217,225,195,248,4,
481 131,124,36,4,0,15,141,244,3,221,216,221,216,133,192,15,132,244,251,217,252,
482 238,195,248,5,199,68,36,4,0,0,128,127,217,68,36,4,195,255,248,117,255,248,
483 160,252,242,15,45,193,252,242,15,42,208,102,15,46,202,15,133,244,254,15,138,
484 244,255,248,161,131,252,248,1,15,142,244,252,248,1,169,1,0,0,0,15,133,244,
485 248,252,242,15,89,192,209,232,252,233,244,1,248,2,209,232,15,132,244,251,
486 15,40,200,248,3,252,242,15,89,192,209,232,15,132,244,250,15,131,244,3,255,
487 252,242,15,89,200,252,233,244,3,248,4,252,242,15,89,193,248,5,195,248,6,15,
488 132,244,5,15,130,244,253,252,247,216,232,244,1,184,0,0,252,240,63,102,15,
489 110,200,102,15,112,201,81,252,242,15,94,200,15,40,193,195,248,7,184,0,0,252,
490 240,63,102,15,110,192,102,15,112,192,81,195,248,8,252,242,15,17,76,36,12,
491 252,242,15,17,68,36,4,131,124,36,12,0,15,133,244,247,139,68,36,16,209,224,
492 61,0,0,224,252,255,15,132,244,248,248,1,131,124,36,4,0,15,133,244,247,255,
493 139,68,36,8,209,224,15,132,244,250,61,0,0,224,252,255,15,132,244,251,248,
494 1,221,68,36,12,221,68,36,4,217,252,241,217,192,217,252,252,220,252,233,217,
495 201,217,252,240,217,232,222,193,217,252,253,221,217,221,92,36,4,252,242,15,
496 16,68,36,4,195,248,9,184,0,0,252,240,63,102,15,110,208,102,15,112,210,81,
497 102,15,46,194,15,132,244,247,15,40,193,248,1,195,248,2,102,15,252,239,210,
498 102,15,118,210,102,15,115,210,1,102,15,84,194,184,0,0,252,240,63,102,15,110,
499 208,102,15,112,210,81,102,15,46,194,15,132,244,1,102,15,80,193,15,87,192,
500 136,196,15,146,208,48,224,15,133,244,1,248,3,184,0,0,252,240,127,102,15,110,
501 192,102,15,112,192,81,195,248,4,102,15,80,193,133,192,15,133,244,3,15,87,
502 192,195,248,5,102,15,80,193,133,192,15,132,244,3,255,15,87,192,195,248,162,
503 255,139,68,36,12,252,242,15,16,68,36,4,131,252,248,1,15,132,244,247,15,135,
504 244,248,232,244,91,252,233,244,253,248,1,232,244,93,252,233,244,253,248,2,
505 131,252,248,3,15,132,244,247,15,135,244,248,232,244,114,255,252,233,244,253,
506 248,1,252,242,15,81,192,248,7,252,242,15,17,68,36,4,221,68,36,4,195,248,2,
507 221,68,36,4,131,252,248,5,15,130,244,98,15,132,244,158,248,2,131,252,248,
508 7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,241,195,248,1,
509 217,232,217,201,217,252,241,195,248,2,131,252,248,9,15,132,244,247,15,135,
510 244,248,255,217,252,236,217,201,217,252,241,195,248,1,217,252,254,195,248,
511 2,131,252,248,11,15,132,244,247,15,135,244,255,217,252,255,195,248,1,217,
512 252,242,221,216,195,255,139,68,36,12,221,68,36,4,131,252,248,1,15,130,244,
513 91,15,132,244,93,131,252,248,3,15,130,244,114,15,135,244,248,217,252,250,
514 195,248,2,131,252,248,5,15,130,244,98,15,132,244,158,131,252,248,7,15,132,
515 244,247,15,135,244,248,217,252,237,217,201,217,252,241,195,248,1,217,232,
516 217,201,217,252,241,195,248,2,131,252,248,9,15,132,244,247,255,15,135,244,
517 248,217,252,236,217,201,217,252,241,195,248,1,217,252,254,195,248,2,131,252,
518 248,11,15,132,244,247,15,135,244,255,217,252,255,195,248,1,217,252,242,221,
519 216,195,255,248,9,204,255,248,163,255,139,68,36,20,252,242,15,16,68,36,4,
520 252,242,15,16,76,36,12,131,252,248,1,15,132,244,247,15,135,244,248,252,242,
521 15,88,193,248,7,252,242,15,17,68,36,4,221,68,36,4,195,248,1,252,242,15,92,
522 193,252,233,244,7,248,2,131,252,248,3,15,132,244,247,15,135,244,248,252,242,
523 15,89,193,252,233,244,7,248,1,252,242,15,94,193,252,233,244,7,248,2,131,252,
524 248,5,15,132,244,247,255,15,135,244,248,232,244,157,252,233,244,7,248,1,90,
525 232,244,117,82,252,233,244,7,248,2,131,252,248,7,15,132,244,247,15,135,244,
526 248,184,0,0,0,128,102,15,110,200,102,15,112,201,81,15,87,193,252,233,244,
527 7,248,1,102,15,252,239,201,102,15,118,201,102,15,115,209,1,15,84,193,252,
528 233,244,7,248,2,255,131,252,248,9,15,135,244,248,221,68,36,4,221,68,36,12,
529 15,132,244,247,217,252,243,195,248,1,217,201,217,252,253,221,217,195,248,
530 2,131,252,248,11,15,132,244,247,15,135,244,255,252,242,15,93,193,252,233,
531 244,7,248,1,252,242,15,95,193,252,233,244,7,248,9,204,255,139,68,36,20,221,
532 68,36,4,221,68,36,12,131,252,248,1,15,132,244,247,15,135,244,248,222,193,
533 195,248,1,222,252,233,195,248,2,131,252,248,3,15,132,244,247,15,135,244,248,
534 222,201,195,248,1,222,252,249,195,248,2,131,252,248,5,15,130,244,157,15,132,
535 244,117,131,252,248,7,15,132,244,247,15,135,244,248,255,221,216,217,224,195,
536 248,1,221,216,217,225,195,248,2,131,252,248,9,15,132,244,247,15,135,244,248,
537 217,252,243,195,248,1,217,201,217,252,253,221,217,195,248,2,131,252,248,11,
538 15,132,244,247,15,135,244,255,255,219,252,233,219,209,221,217,195,248,1,219,
539 252,233,218,209,221,217,195,255,221,225,223,224,252,246,196,1,15,132,244,
540 248,217,201,248,2,221,216,195,248,1,221,225,223,224,252,246,196,1,15,133,
541 244,248,217,201,248,2,221,216,195,255,248,164,156,90,137,209,129,252,242,
542 0,0,32,0,82,157,156,90,49,192,57,209,15,132,244,247,139,68,36,4,87,83,15,
543 162,139,124,36,16,137,7,137,95,4,137,79,8,137,87,12,91,95,248,1,195,248,165,
544 255,204,248,166,255,131,252,236,16,87,86,83,131,252,236,28,141,157,233,139,
545 181,233,15,183,192,137,134,233,141,132,253,36,233,137,142,233,137,150,233,
546 137,134,233,139,140,253,36,233,139,148,253,36,233,137,76,36,44,137,84,36,
547 40,137,226,137,116,36,24,137,252,241,232,251,1,27,199,131,233,237,139,144,
548 233,139,128,233,41,208,139,106,252,248,193,232,3,131,192,1,139,181,233,139,
549 14,15,182,252,233,15,182,205,131,198,4,252,255,36,171,255,248,32,255,139,
550 76,36,48,139,179,233,137,142,233,137,145,233,137,169,233,137,252,241,137,
551 194,232,251,1,28,139,108,36,48,139,134,233,139,150,233,131,190,233,1,15,130,
552 244,253,15,132,244,252,221,134,233,252,233,244,253,248,6,217,134,233,248,
553 7,139,141,233,15,183,73,6,137,76,36,48,131,196,28,91,94,95,93,89,3,36,36,
554 131,196,16,81,195,255,248,167,255,85,137,229,83,137,203,43,163,233,255,137,
555 163,233,255,15,182,139,233,131,252,233,1,15,136,244,248,248,1,139,132,253,
556 139,233,137,4,140,131,252,233,1,15,137,244,1,248,2,139,139,233,139,147,233,
557 252,255,147,233,137,131,233,137,147,233,128,187,233,1,15,130,244,253,15,132,
558 244,252,221,155,233,252,233,244,253,248,6,255,217,155,233,248,7,255,41,163,
559 233,255,139,93,252,252,201,195,255,249,255,129,124,253,202,4,239,15,133,244,
560 253,129,124,253,194,4,239,15,133,244,254,139,44,202,131,198,4,59,44,194,255,
561 15,141,244,255,255,15,140,244,255,255,15,143,244,255,255,15,142,244,255,255,
562 248,6,15,183,70,252,254,141,180,253,134,233,248,9,139,6,15,182,204,15,182,
563 232,131,198,4,193,232,16,252,255,36,171,248,7,15,135,244,44,129,124,253,194,
564 4,239,15,130,244,247,15,133,244,44,255,252,242,15,42,4,194,252,233,244,248,
565 255,221,4,202,219,4,194,252,233,244,249,255,248,8,15,135,244,44,255,252,242,
566 15,42,12,202,252,242,15,16,4,194,131,198,4,102,15,46,193,255,15,134,244,9,
567 255,15,135,244,9,255,15,130,244,9,255,15,131,244,9,255,252,233,244,6,255,
568 219,4,202,252,233,244,248,255,129,124,253,202,4,239,15,131,244,44,129,124,
569 253,194,4,239,15,131,244,44,255,248,1,252,242,15,16,4,194,248,2,131,198,4,
570 102,15,46,4,202,248,3,255,248,1,221,4,202,248,2,221,4,194,248,3,131,198,4,
571 255,15,135,244,247,255,15,130,244,247,255,15,131,244,247,255,15,183,70,252,
572 254,141,180,253,134,233,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,
573 16,252,255,36,171,255,139,108,194,4,131,198,4,255,129,252,253,239,15,133,
574 244,253,129,124,253,202,4,239,15,133,244,254,139,44,194,59,44,202,255,15,
575 133,244,255,255,15,132,244,255,255,15,183,70,252,254,141,180,253,134,233,
576 248,9,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,
577 7,15,135,244,251,129,124,253,202,4,239,15,130,244,247,15,133,244,251,255,
578 252,242,15,42,4,202,255,219,4,202,255,252,233,244,248,248,8,15,135,244,251,
579 255,252,242,15,42,4,194,102,15,46,4,202,255,219,4,194,221,4,202,255,252,233,
580 244,250,255,129,252,253,239,15,131,244,251,129,124,253,202,4,239,15,131,244,
581 251,255,248,1,252,242,15,16,4,202,248,2,102,15,46,4,194,248,4,255,248,1,221,
582 4,202,248,2,221,4,194,248,4,255,15,138,244,248,15,133,244,248,255,15,138,
583 244,248,15,132,244,247,255,248,1,15,183,70,252,254,141,180,253,134,233,248,
584 2,255,248,2,15,183,70,252,254,141,180,253,134,233,248,1,255,252,233,244,9,
585 255,248,5,255,129,252,253,239,15,132,244,49,129,124,253,202,4,239,15,132,
586 244,49,255,57,108,202,4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,
587 202,139,4,194,57,193,15,132,244,1,129,252,253,239,15,135,244,2,139,169,233,
588 133,252,237,15,132,244,2,252,246,133,233,235,15,133,244,2,255,49,252,237,
589 255,189,1,0,0,0,255,252,233,244,48,255,248,3,129,252,253,239,255,15,133,244,
590 9,255,252,233,244,49,255,252,247,208,139,108,202,4,131,198,4,129,252,253,
591 239,15,133,244,249,139,12,202,59,12,135,255,139,108,202,4,131,198,4,255,129,
592 252,253,239,15,133,244,253,129,124,253,199,4,239,15,133,244,254,139,44,199,
593 59,44,202,255,15,183,70,252,254,141,180,253,134,233,248,9,139,6,15,182,204,
594 15,182,232,131,198,4,193,232,16,252,255,36,171,248,7,15,135,244,249,129,124,
595 253,199,4,239,15,130,244,247,255,252,242,15,42,4,199,255,219,4,199,255,252,
596 233,244,248,248,8,255,252,242,15,42,4,202,102,15,46,4,199,255,219,4,202,221,
597 4,199,255,129,252,253,239,15,131,244,249,255,248,1,252,242,15,16,4,199,248,
598 2,102,15,46,4,202,248,4,255,248,1,221,4,199,248,2,221,4,202,248,4,255,252,
599 247,208,139,108,202,4,131,198,4,57,197,255,15,133,244,249,15,183,70,252,254,
600 141,180,253,134,233,248,2,139,6,15,182,204,15,182,232,131,198,4,193,232,16,
601 252,255,36,171,248,3,129,252,253,239,15,133,244,2,252,233,244,49,255,15,132,
602 244,248,129,252,253,239,15,132,244,49,15,183,70,252,254,141,180,253,134,233,
603 248,2,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,
604 139,108,194,4,131,198,4,129,252,253,239,255,137,108,202,4,139,44,194,137,
605 44,202,255,139,108,194,4,139,4,194,137,108,202,4,137,4,202,139,6,15,182,204,
606 15,182,232,131,198,4,193,232,16,252,255,36,171,255,49,252,237,129,124,253,
607 194,4,239,129,213,239,137,108,202,4,139,6,15,182,204,15,182,232,131,198,4,
608 193,232,16,252,255,36,171,255,129,124,253,194,4,239,15,133,244,251,139,44,
609 194,252,247,221,15,128,244,250,199,68,202,4,237,137,44,202,248,9,139,6,15,
610 182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,4,199,68,202,4,
611 0,0,224,65,199,4,202,0,0,0,0,252,233,244,9,248,5,15,135,244,54,255,129,124,
612 253,194,4,239,15,131,244,54,255,252,242,15,16,4,194,184,0,0,0,128,102,15,
613 110,200,102,15,112,201,81,15,87,193,252,242,15,17,4,202,255,221,4,194,217,
614 224,221,28,202,255,129,124,253,194,4,239,15,133,244,248,139,4,194,255,139,
615 128,233,248,1,199,68,202,4,237,137,4,202,255,15,87,192,252,242,15,42,128,
616 233,248,1,252,242,15,17,4,202,255,219,128,233,248,1,221,28,202,255,139,6,
617 15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,2,129,124,253,
618 194,4,239,15,133,244,57,139,12,194,255,139,169,233,131,252,253,0,15,133,244,
619 255,248,3,255,248,58,137,213,232,251,1,20,255,252,242,15,42,192,255,137,4,
620 36,219,4,36,255,137,252,234,15,182,78,252,253,252,233,244,1,255,248,9,252,
621 246,133,233,235,15,133,244,3,252,233,244,57,255,15,182,252,236,15,182,192,
622 255,129,124,253,252,234,4,239,15,133,244,51,129,124,253,199,4,239,15,133,
623 244,51,139,44,252,234,3,44,199,15,128,244,50,255,129,124,253,252,234,4,239,
624 15,133,244,53,129,124,253,199,4,239,15,133,244,53,139,4,199,3,4,252,234,15,
625 128,244,52,255,129,124,253,252,234,4,239,15,133,244,56,129,124,253,194,4,
626 239,15,133,244,56,139,44,252,234,3,44,194,15,128,244,55,255,199,68,202,4,
627 237,255,129,124,253,252,234,4,239,15,131,244,51,255,129,124,253,199,4,239,
628 15,131,244,51,255,252,242,15,16,4,252,234,252,242,15,88,4,199,255,221,4,252,
629 234,220,4,199,255,129,124,253,252,234,4,239,15,131,244,53,255,129,124,253,
630 199,4,239,15,131,244,53,255,252,242,15,16,4,199,252,242,15,88,4,252,234,255,
631 221,4,199,220,4,252,234,255,129,124,253,252,234,4,239,15,131,244,56,129,124,
632 253,194,4,239,15,131,244,56,255,252,242,15,16,4,252,234,252,242,15,88,4,194,
633 255,221,4,252,234,220,4,194,255,129,124,253,252,234,4,239,15,133,244,51,129,
634 124,253,199,4,239,15,133,244,51,139,44,252,234,43,44,199,15,128,244,50,255,
635 129,124,253,252,234,4,239,15,133,244,53,129,124,253,199,4,239,15,133,244,
636 53,139,4,199,43,4,252,234,15,128,244,52,255,129,124,253,252,234,4,239,15,
637 133,244,56,129,124,253,194,4,239,15,133,244,56,139,44,252,234,43,44,194,15,
638 128,244,55,255,252,242,15,16,4,252,234,252,242,15,92,4,199,255,221,4,252,
639 234,220,36,199,255,252,242,15,16,4,199,252,242,15,92,4,252,234,255,221,4,
640 199,220,36,252,234,255,252,242,15,16,4,252,234,252,242,15,92,4,194,255,221,
641 4,252,234,220,36,194,255,129,124,253,252,234,4,239,15,133,244,51,129,124,
642 253,199,4,239,15,133,244,51,139,44,252,234,15,175,44,199,15,128,244,50,255,
643 129,124,253,252,234,4,239,15,133,244,53,129,124,253,199,4,239,15,133,244,
644 53,139,4,199,15,175,4,252,234,15,128,244,52,255,129,124,253,252,234,4,239,
645 15,133,244,56,129,124,253,194,4,239,15,133,244,56,139,44,252,234,15,175,44,
646 194,15,128,244,55,255,252,242,15,16,4,252,234,252,242,15,89,4,199,255,221,
647 4,252,234,220,12,199,255,252,242,15,16,4,199,252,242,15,89,4,252,234,255,
648 221,4,199,220,12,252,234,255,252,242,15,16,4,252,234,252,242,15,89,4,194,
649 255,221,4,252,234,220,12,194,255,252,242,15,16,4,252,234,252,242,15,94,4,
650 199,255,221,4,252,234,220,52,199,255,252,242,15,16,4,199,252,242,15,94,4,
651 252,234,255,221,4,199,220,52,252,234,255,252,242,15,16,4,252,234,252,242,
652 15,94,4,194,255,221,4,252,234,220,52,194,255,252,242,15,16,4,252,234,252,
653 242,15,16,12,199,255,221,4,252,234,221,4,199,255,252,242,15,16,4,199,252,
654 242,15,16,12,252,234,255,221,4,199,221,4,252,234,255,252,242,15,16,4,252,
655 234,252,242,15,16,12,194,255,221,4,252,234,221,4,194,255,248,168,232,244,
656 157,255,252,233,244,168,255,232,244,117,255,15,182,252,236,15,182,192,141,
657 12,194,41,232,137,76,36,4,137,68,36,8,248,36,139,108,36,48,137,44,36,137,
658 149,233,137,116,36,24,232,251,1,29,139,149,233,133,192,15,133,244,45,15,182,
659 110,252,255,15,182,78,252,253,139,68,252,234,4,139,44,252,234,137,68,202,
660 4,137,44,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,
661 171,255,252,247,208,139,4,135,199,68,202,4,237,137,4,202,139,6,15,182,204,
662 15,182,232,131,198,4,193,232,16,252,255,36,171,255,15,191,192,199,68,202,
663 4,237,137,4,202,255,15,191,192,252,242,15,42,192,252,242,15,17,4,202,255,
664 223,70,252,254,221,28,202,255,252,242,15,16,4,199,252,242,15,17,4,202,255,
665 221,4,199,221,28,202,255,252,247,208,137,68,202,4,139,6,15,182,204,15,182,
666 232,131,198,4,193,232,16,252,255,36,171,255,141,76,202,12,141,68,194,4,189,
667 237,137,105,252,248,248,1,137,41,131,193,8,57,193,15,134,244,1,139,6,15,182,
668 204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,139,106,252,248,139,
669 172,253,133,233,139,173,233,139,69,4,139,109,0,137,68,202,4,137,44,202,139,
670 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,139,106,252,
671 248,139,172,253,141,233,128,189,233,0,139,173,233,139,12,194,139,68,194,4,
672 137,77,0,137,69,4,15,132,244,247,252,246,133,233,235,15,133,244,248,248,1,
673 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,2,129,
674 232,239,129,252,248,239,15,134,244,1,252,246,129,233,235,15,132,244,1,135,
675 213,141,139,233,255,232,251,1,30,137,252,234,252,233,244,1,255,252,247,208,
676 139,106,252,248,139,172,253,141,233,139,12,135,139,133,233,137,8,199,64,4,
677 237,252,246,133,233,235,15,133,244,248,248,1,139,6,15,182,204,15,182,232,
678 131,198,4,193,232,16,252,255,36,171,248,2,252,246,129,233,235,15,132,244,
679 1,128,189,233,0,15,132,244,1,137,213,137,194,141,139,233,232,251,1,30,137,
680 252,234,252,233,244,1,255,139,106,252,248,255,252,242,15,16,4,199,255,139,
681 172,253,141,233,139,141,233,255,252,242,15,17,1,255,221,25,255,252,247,208,
682 139,106,252,248,139,172,253,141,233,139,141,233,137,65,4,139,6,15,182,204,
683 15,182,232,131,198,4,193,232,16,252,255,36,171,255,141,180,253,134,233,139,
684 108,36,48,131,189,233,0,15,132,244,247,137,149,233,141,20,202,137,252,233,
685 232,251,1,31,139,149,233,248,1,139,6,15,182,204,15,182,232,131,198,4,193,
686 232,16,252,255,36,171,255,252,247,208,139,74,252,248,139,4,135,139,108,36,
687 48,137,76,36,8,137,68,36,4,137,44,36,137,149,233,137,116,36,24,232,251,1,
688 32,139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,
689 204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,139,108,36,48,137,
690 149,233,139,139,233,59,139,233,137,116,36,24,15,131,244,251,248,1,137,193,
691 37,252,255,7,0,0,193,252,233,11,137,76,36,8,61,252,255,7,0,0,15,132,244,249,
692 248,2,137,44,36,137,68,36,4,232,251,1,33,139,149,233,15,182,78,252,253,137,
693 4,202,199,68,202,4,237,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
694 255,36,171,248,3,184,1,8,0,0,252,233,244,2,248,5,137,252,233,232,251,1,34,
695 15,183,70,252,254,252,233,244,1,255,252,247,208,139,108,36,48,139,139,233,
696 137,116,36,24,59,139,233,137,149,233,15,131,244,249,248,2,139,20,135,137,
697 252,233,232,251,1,35,139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,
698 237,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,3,
699 137,252,233,232,251,1,34,15,183,70,252,254,252,247,208,252,233,244,2,255,
700 252,247,208,139,106,252,248,139,173,233,139,4,135,252,233,244,169,255,252,
701 247,208,139,106,252,248,139,173,233,139,4,135,252,233,244,170,255,15,182,
702 252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,39,139,44,252,234,
703 255,129,124,253,194,4,239,15,133,244,251,139,4,194,255,129,124,253,194,4,
704 239,15,131,244,251,255,252,242,15,16,4,194,252,242,15,45,192,252,242,15,42,
705 200,102,15,46,193,255,221,4,194,219,20,36,219,4,36,255,15,133,244,39,255,
706 59,133,233,15,131,244,39,193,224,3,3,133,233,129,120,253,4,239,15,132,244,
707 248,139,40,139,64,4,137,44,202,137,68,202,4,248,1,139,6,15,182,204,15,182,
708 232,131,198,4,193,232,16,252,255,36,171,248,2,131,189,233,0,15,132,244,249,
709 139,141,233,252,246,129,233,235,15,132,244,39,15,182,78,252,253,248,3,199,
710 68,202,4,237,252,233,244,1,248,5,255,129,124,253,194,4,239,15,133,244,39,
711 139,4,194,252,233,244,169,255,15,182,252,236,15,182,192,252,247,208,139,4,
712 135,129,124,253,252,234,4,239,15,133,244,37,139,44,252,234,248,169,139,141,
713 233,35,136,233,105,201,239,3,141,233,248,1,129,185,233,239,15,133,244,250,
714 57,129,233,15,133,244,250,129,121,253,4,239,15,132,244,251,15,182,70,252,
715 253,139,41,139,73,4,137,44,194,137,76,194,4,248,2,255,139,6,15,182,204,15,
716 182,232,131,198,4,193,232,16,252,255,36,171,248,3,15,182,70,252,253,199,68,
717 194,4,237,252,233,244,2,248,4,139,137,233,133,201,15,133,244,1,248,5,139,
718 141,233,133,201,15,132,244,3,252,246,129,233,235,15,133,244,3,252,233,244,
719 37,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,38,
720 139,44,252,234,59,133,233,15,131,244,38,193,224,3,3,133,233,129,120,253,4,
721 239,15,132,244,248,139,40,139,64,4,137,44,202,137,68,202,4,248,1,139,6,15,
722 182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,2,131,189,233,
723 0,15,132,244,249,139,141,233,252,246,129,233,235,15,132,244,38,255,15,182,
724 78,252,253,248,3,199,68,202,4,237,252,233,244,1,255,15,182,252,236,15,182,
725 192,129,124,253,252,234,4,239,15,133,244,42,139,44,252,234,255,15,133,244,
726 42,255,59,133,233,15,131,244,42,193,224,3,3,133,233,129,120,253,4,239,15,
727 132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,2,139,108,202,4,
728 139,12,202,137,104,4,137,8,139,6,15,182,204,15,182,232,131,198,4,193,232,
729 16,252,255,36,171,248,3,131,189,233,0,15,132,244,1,139,141,233,252,246,129,
730 233,235,255,15,132,244,42,15,182,78,252,253,252,233,244,1,248,5,129,124,253,
731 194,4,239,15,133,244,42,139,4,194,252,233,244,170,248,7,128,165,233,235,139,
732 139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,2,255,15,182,
733 252,236,15,182,192,252,247,208,139,4,135,129,124,253,252,234,4,239,15,133,
734 244,40,139,44,252,234,248,170,139,141,233,35,136,233,105,201,239,198,133,
735 233,0,3,141,233,248,1,129,185,233,239,15,133,244,251,57,129,233,15,133,244,
736 251,129,121,253,4,239,15,132,244,250,248,2,255,252,246,133,233,235,15,133,
737 244,253,248,3,15,182,70,252,253,139,108,194,4,139,4,194,137,105,4,137,1,139,
738 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,4,131,189,
739 233,0,15,132,244,2,137,76,36,16,139,141,233,252,246,129,233,235,15,132,244,
740 40,139,76,36,16,252,233,244,2,248,5,139,137,233,133,201,15,133,244,1,255,
741 139,141,233,133,201,15,132,244,252,252,246,129,233,235,15,132,244,40,248,
742 6,137,68,36,16,199,68,36,20,237,137,108,36,12,141,68,36,16,137,108,36,4,139,
743 108,36,48,137,68,36,8,137,44,36,137,149,233,137,116,36,24,232,251,1,36,139,
744 149,233,139,108,36,12,137,193,252,233,244,2,248,7,128,165,233,235,139,131,
745 233,137,171,233,137,133,233,252,233,244,3,255,15,182,252,236,15,182,192,129,
746 124,253,252,234,4,239,15,133,244,41,139,44,252,234,59,133,233,15,131,244,
747 41,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,1,252,246,133,
748 233,235,15,133,244,253,248,2,139,108,202,4,139,12,202,137,104,4,137,8,139,
749 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,3,131,189,
750 233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,15,132,244,41,15,182,
751 78,252,253,252,233,244,1,248,7,128,165,233,235,139,139,233,137,171,233,137,
752 141,233,15,182,78,252,253,252,233,244,2,255,137,124,36,16,139,60,199,248,
753 1,141,12,202,139,105,252,248,252,246,133,233,235,15,133,244,253,248,2,139,
754 68,36,20,131,232,1,15,132,244,250,1,252,248,59,133,233,15,135,244,251,41,
755 252,248,193,231,3,3,189,233,248,3,139,41,137,47,139,105,4,131,193,8,137,111,
756 4,131,199,8,131,232,1,15,133,244,3,248,4,139,124,36,16,139,6,15,182,204,15,
757 182,232,131,198,4,193,232,16,252,255,36,171,248,5,137,108,36,4,139,108,36,
758 48,137,149,233,137,68,36,8,137,44,36,137,116,36,24,232,251,1,37,139,149,233,
759 15,182,78,252,253,252,233,244,1,248,7,255,128,165,233,235,139,131,233,137,
760 171,233,137,133,233,252,233,244,2,255,3,68,36,20,255,129,124,253,202,4,239,
761 139,44,202,15,133,244,59,141,84,202,8,137,114,252,252,139,181,233,139,14,
762 15,182,252,233,15,182,205,131,198,4,252,255,36,171,255,141,76,202,8,137,215,
763 139,105,252,248,129,121,253,252,252,239,15,133,244,29,248,60,139,114,252,
764 252,252,247,198,237,15,133,244,253,248,1,137,106,252,248,137,68,36,20,131,
765 232,1,15,132,244,249,248,2,139,41,137,47,139,105,4,131,193,8,137,111,4,131,
766 199,8,131,232,1,15,133,244,2,139,106,252,248,248,3,139,68,36,20,128,189,233,
767 1,15,135,244,251,248,4,139,181,233,139,14,15,182,252,233,15,182,205,131,198,
768 4,252,255,36,171,248,5,255,252,247,198,237,15,133,244,4,15,182,78,252,253,
769 252,247,209,141,12,202,139,121,252,248,139,191,233,139,191,233,252,233,244,
770 4,248,7,129,252,238,239,252,247,198,237,15,133,244,254,41,252,242,137,215,
771 139,114,252,252,252,233,244,1,248,8,129,198,239,252,233,244,1,255,141,76,
772 202,8,139,105,232,139,65,252,236,137,41,137,65,4,139,105,252,240,139,65,252,
773 244,137,105,8,137,65,12,139,105,224,139,65,228,137,105,252,248,137,65,252,
774 252,129,252,248,239,184,237,15,133,244,29,137,202,137,114,252,252,139,181,
775 233,139,14,15,182,252,233,15,182,205,131,198,4,252,255,36,171,255,137,124,
776 36,16,137,92,36,20,139,108,202,252,240,139,68,202,252,248,139,157,233,131,
777 198,4,139,189,233,248,1,57,216,15,131,244,251,129,124,253,199,4,239,15,132,
778 244,250,255,219,68,202,252,248,255,139,108,199,4,137,108,202,12,139,44,199,
779 137,108,202,8,131,192,1,255,137,68,202,252,248,248,2,15,183,70,252,254,141,
780 180,253,134,233,248,3,139,92,36,20,139,124,36,16,139,6,15,182,204,15,182,
781 232,131,198,4,193,232,16,252,255,36,171,248,4,131,192,1,255,137,68,202,252,
782 248,255,252,233,244,1,248,5,41,216,248,6,59,133,233,15,135,244,3,105,252,
783 248,239,3,189,233,129,191,233,239,15,132,244,253,141,92,24,1,139,175,233,
784 139,135,233,137,44,202,137,68,202,4,139,175,233,139,135,233,137,108,202,8,
785 137,68,202,12,137,92,202,252,248,252,233,244,2,248,7,255,131,192,1,252,233,
786 244,6,255,129,124,253,202,252,236,239,15,133,244,251,139,108,202,232,129,
787 124,253,202,252,244,239,15,133,244,251,129,124,253,202,252,252,239,15,133,
788 244,251,128,189,233,235,15,133,244,251,141,180,253,134,233,199,68,202,252,
789 248,0,0,0,0,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
790 36,171,248,5,198,70,252,252,235,141,180,253,134,233,198,6,235,252,233,244,
791 1,255,15,182,252,236,15,182,192,137,124,36,16,141,188,253,194,233,141,12,
792 202,43,122,252,252,133,252,237,15,132,244,251,141,108,252,233,252,248,57,
793 215,15,131,244,248,248,1,139,71,252,248,137,1,139,71,252,252,131,199,8,137,
794 65,4,131,193,8,57,252,233,15,131,244,249,57,215,15,130,244,1,248,2,199,65,
795 4,237,131,193,8,57,252,233,15,130,244,2,248,3,139,124,36,16,139,6,15,182,
796 204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,5,199,68,36,20,1,0,
797 0,0,137,208,41,252,248,15,134,244,3,137,197,193,252,237,3,131,197,1,137,108,
798 36,20,139,108,36,48,1,200,59,133,233,15,135,244,253,248,6,255,139,71,252,
799 248,137,1,139,71,252,252,131,199,8,137,65,4,131,193,8,57,215,15,130,244,6,
800 252,233,244,3,248,7,137,149,233,137,141,233,137,116,36,24,41,215,139,84,36,
801 20,131,252,234,1,137,252,233,232,251,1,0,139,149,233,139,141,233,1,215,252,
802 233,244,6,255,193,225,3,255,248,1,139,114,252,252,137,68,36,20,252,247,198,
803 237,15,133,244,253,255,248,13,137,215,131,232,1,15,132,244,249,248,2,139,
804 44,15,137,111,252,248,139,108,15,4,137,111,252,252,131,199,8,131,232,1,15,
805 133,244,2,248,3,139,68,36,20,15,182,110,252,255,248,5,57,197,15,135,244,252,
806 255,139,108,10,4,137,106,252,252,139,44,10,137,106,252,248,255,248,5,56,70,
807 252,255,15,135,244,252,255,15,182,78,252,253,252,247,209,141,20,202,139,122,
808 252,248,139,191,233,139,191,233,139,6,15,182,204,15,182,232,131,198,4,193,
809 232,16,252,255,36,171,248,6,255,199,71,252,252,237,131,199,8,255,199,68,194,
810 252,244,237,255,131,192,1,252,233,244,5,248,7,141,174,233,252,247,197,237,
811 15,133,244,14,41,252,234,255,1,252,233,255,137,252,245,209,252,237,129,229,
812 239,102,129,172,253,43,233,238,15,130,244,149,255,141,12,202,255,129,121,
813 253,4,239,15,133,244,255,255,129,121,253,12,239,15,133,244,61,129,121,253,
814 20,239,15,133,244,61,139,41,131,121,16,0,15,140,244,251,255,129,121,253,12,
815 239,15,133,244,165,129,121,253,20,239,15,133,244,165,255,139,105,16,133,252,
816 237,15,136,244,251,3,41,15,128,244,247,137,41,255,59,105,8,199,65,28,237,
817 137,105,24,255,15,142,244,253,248,1,248,6,141,180,253,134,233,255,141,180,
818 253,134,233,15,183,70,252,254,15,142,245,248,1,248,6,255,15,143,244,253,248,
819 6,141,180,253,134,233,248,1,255,248,7,139,6,15,182,204,15,182,232,131,198,
820 4,193,232,16,252,255,36,171,248,5,255,3,41,15,128,244,1,137,41,255,15,141,
821 244,7,255,141,180,253,134,233,15,183,70,252,254,15,141,245,255,15,140,244,
822 7,255,252,233,244,6,248,9,255,129,121,253,4,239,255,15,131,244,61,129,121,
823 253,12,239,15,131,244,61,255,129,121,253,12,239,15,131,244,165,129,121,253,
824 20,239,15,131,244,165,255,139,105,20,255,129,252,253,239,15,131,244,61,255,
825 252,242,15,16,1,252,242,15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,
826 1,133,252,237,15,136,244,249,255,15,140,244,249,255,102,15,46,200,248,1,252,
827 242,15,17,65,24,255,221,65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,
828 237,15,136,244,247,255,221,81,24,15,140,244,247,255,217,201,248,1,255,15,
829 183,70,252,254,255,15,131,244,7,255,15,131,244,248,141,180,253,134,233,255,
830 141,180,253,134,233,15,183,70,252,254,15,131,245,255,15,130,244,7,255,15,
831 130,244,248,141,180,253,134,233,255,248,3,102,15,46,193,252,233,244,1,255,
832 141,12,202,139,105,4,129,252,253,239,15,132,244,247,255,137,105,252,252,139,
833 41,137,105,252,248,252,233,245,255,141,180,253,134,233,139,1,137,105,252,
834 252,137,65,252,248,255,139,139,233,139,4,129,139,128,233,139,108,36,48,137,
835 147,233,137,171,233,252,255,224,255,141,180,253,134,233,139,6,15,182,204,
836 15,182,232,131,198,4,193,232,16,252,255,36,171,255,137,252,245,209,252,237,
837 129,229,239,102,129,172,253,43,233,238,15,130,244,151,255,139,190,233,139,
838 108,36,48,141,12,202,59,141,233,15,135,244,24,15,182,142,233,57,200,15,134,
839 244,249,248,2,255,15,183,70,252,254,252,233,245,255,248,3,199,68,194,252,
840 252,237,131,192,1,57,200,15,134,244,3,252,233,244,2,255,141,44,197,237,141,
841 4,194,139,122,252,248,137,104,252,252,137,120,252,248,139,108,36,48,141,12,
842 200,59,141,233,15,135,244,23,137,209,137,194,15,182,174,233,133,252,237,15,
843 132,244,248,248,1,131,193,8,57,209,15,131,244,249,139,121,252,248,137,56,
844 139,121,252,252,137,120,4,131,192,8,199,65,252,252,237,131,252,237,1,15,133,
845 244,1,248,2,255,139,190,233,139,6,15,182,204,15,182,232,131,198,4,193,232,
846 16,252,255,36,171,255,248,3,199,64,4,237,131,192,8,131,252,237,1,15,133,244,
847 3,252,233,244,2,255,139,106,252,248,139,189,233,139,108,36,48,141,68,194,
848 252,248,137,149,233,141,136,233,59,141,233,137,133,233,255,137,44,36,255,
849 137,124,36,4,137,44,36,255,15,135,244,22,199,131,233,237,255,252,255,215,
850 255,252,255,147,233,255,199,131,233,237,139,149,233,141,12,194,252,247,217,
851 3,141,233,139,114,252,252,252,233,244,12,255,254,0
852};
853
854enum {
855 GLOB_vm_returnp,
856 GLOB_cont_dispatch,
857 GLOB_vm_returnc,
858 GLOB_BC_RET_Z,
859 GLOB_vm_return,
860 GLOB_vm_leave_cp,
861 GLOB_vm_leave_unw,
862 GLOB_vm_unwind_c,
863 GLOB_vm_unwind_c_eh,
864 GLOB_vm_unwind_rethrow,
865 GLOB_vm_unwind_ff,
866 GLOB_vm_unwind_ff_eh,
867 GLOB_vm_growstack_c,
868 GLOB_vm_growstack_v,
869 GLOB_vm_growstack_f,
870 GLOB_vm_resume,
871 GLOB_vm_pcall,
872 GLOB_vm_call,
873 GLOB_vm_call_dispatch,
874 GLOB_vmeta_call,
875 GLOB_vm_call_dispatch_f,
876 GLOB_vm_cpcall,
877 GLOB_cont_ffi_callback,
878 GLOB_vm_call_tail,
879 GLOB_cont_cat,
880 GLOB_cont_ra,
881 GLOB_BC_CAT_Z,
882 GLOB_vmeta_tgets,
883 GLOB_vmeta_tgetb,
884 GLOB_vmeta_tgetv,
885 GLOB_vmeta_tsets,
886 GLOB_vmeta_tsetb,
887 GLOB_vmeta_tsetv,
888 GLOB_cont_nop,
889 GLOB_vmeta_comp,
890 GLOB_vmeta_binop,
891 GLOB_cont_condt,
892 GLOB_cont_condf,
893 GLOB_vmeta_equal,
894 GLOB_vmeta_equal_cd,
895 GLOB_vmeta_arith_vno,
896 GLOB_vmeta_arith_vn,
897 GLOB_vmeta_arith_nvo,
898 GLOB_vmeta_arith_nv,
899 GLOB_vmeta_unm,
900 GLOB_vmeta_arith_vvo,
901 GLOB_vmeta_arith_vv,
902 GLOB_vmeta_len,
903 GLOB_BC_LEN_Z,
904 GLOB_vmeta_call_ra,
905 GLOB_BC_CALLT_Z,
906 GLOB_vmeta_for,
907 GLOB_ff_assert,
908 GLOB_fff_fallback,
909 GLOB_fff_res_,
910 GLOB_ff_type,
911 GLOB_fff_res1,
912 GLOB_ff_getmetatable,
913 GLOB_ff_setmetatable,
914 GLOB_ff_rawget,
915 GLOB_ff_tonumber,
916 GLOB_fff_resi,
917 GLOB_fff_resxmm0,
918 GLOB_fff_resn,
919 GLOB_ff_tostring,
920 GLOB_fff_gcstep,
921 GLOB_ff_next,
922 GLOB_fff_res2,
923 GLOB_fff_res,
924 GLOB_ff_pairs,
925 GLOB_ff_ipairs_aux,
926 GLOB_fff_res0,
927 GLOB_ff_ipairs,
928 GLOB_ff_pcall,
929 GLOB_ff_xpcall,
930 GLOB_ff_coroutine_resume,
931 GLOB_ff_coroutine_wrap_aux,
932 GLOB_ff_coroutine_yield,
933 GLOB_ff_math_abs,
934 GLOB_fff_resbit,
935 GLOB_ff_math_floor,
936 GLOB_vm_floor,
937 GLOB_ff_math_ceil,
938 GLOB_vm_ceil,
939 GLOB_ff_math_sqrt,
940 GLOB_ff_math_log,
941 GLOB_ff_math_log10,
942 GLOB_ff_math_exp,
943 GLOB_vm_exp_x87,
944 GLOB_ff_math_sin,
945 GLOB_ff_math_cos,
946 GLOB_ff_math_tan,
947 GLOB_ff_math_asin,
948 GLOB_ff_math_acos,
949 GLOB_ff_math_atan,
950 GLOB_ff_math_sinh,
951 GLOB_ff_math_cosh,
952 GLOB_ff_math_tanh,
953 GLOB_ff_math_deg,
954 GLOB_ff_math_rad,
955 GLOB_ff_math_atan2,
956 GLOB_ff_math_ldexp,
957 GLOB_ff_math_frexp,
958 GLOB_ff_math_modf,
959 GLOB_vm_trunc,
960 GLOB_ff_math_fmod,
961 GLOB_ff_math_pow,
962 GLOB_vm_pow,
963 GLOB_ff_math_min,
964 GLOB_ff_math_max,
965 GLOB_ff_string_len,
966 GLOB_ff_string_byte,
967 GLOB_ff_string_char,
968 GLOB_fff_newstr,
969 GLOB_ff_string_sub,
970 GLOB_fff_emptystr,
971 GLOB_ff_string_rep,
972 GLOB_fff_fallback_2,
973 GLOB_ff_string_reverse,
974 GLOB_fff_fallback_1,
975 GLOB_ff_string_lower,
976 GLOB_ff_string_upper,
977 GLOB_ff_table_getn,
978 GLOB_ff_bit_tobit,
979 GLOB_ff_bit_band,
980 GLOB_fff_fallback_bit_op,
981 GLOB_ff_bit_bor,
982 GLOB_ff_bit_bxor,
983 GLOB_ff_bit_bswap,
984 GLOB_ff_bit_bnot,
985 GLOB_ff_bit_lshift,
986 GLOB_ff_bit_rshift,
987 GLOB_ff_bit_arshift,
988 GLOB_ff_bit_rol,
989 GLOB_ff_bit_ror,
990 GLOB_vm_record,
991 GLOB_vm_rethook,
992 GLOB_vm_inshook,
993 GLOB_cont_hook,
994 GLOB_vm_hotloop,
995 GLOB_vm_callhook,
996 GLOB_vm_hotcall,
997 GLOB_vm_exit_handler,
998 GLOB_vm_exit_interp,
999 GLOB_vm_floor_sse,
1000 GLOB_vm_ceil_sse,
1001 GLOB_vm_trunc_sse,
1002 GLOB_vm_mod,
1003 GLOB_vm_exp2_x87,
1004 GLOB_vm_exp2raw,
1005 GLOB_vm_pow_sse,
1006 GLOB_vm_powi_sse,
1007 GLOB_vm_foldfpm,
1008 GLOB_vm_foldarith,
1009 GLOB_vm_cpuid,
1010 GLOB_assert_bad_for_arg_type,
1011 GLOB_vm_ffi_callback,
1012 GLOB_vm_ffi_call,
1013 GLOB_BC_MODVN_Z,
1014 GLOB_BC_TGETS_Z,
1015 GLOB_BC_TSETS_Z,
1016 GLOB__MAX
1017};
1018static const char *const globnames[] = {
1019 "vm_returnp",
1020 "cont_dispatch",
1021 "vm_returnc",
1022 "BC_RET_Z",
1023 "vm_return",
1024 "vm_leave_cp",
1025 "vm_leave_unw",
1026 "vm_unwind_c@8",
1027 "vm_unwind_c_eh",
1028 "vm_unwind_rethrow",
1029 "vm_unwind_ff@4",
1030 "vm_unwind_ff_eh",
1031 "vm_growstack_c",
1032 "vm_growstack_v",
1033 "vm_growstack_f",
1034 "vm_resume",
1035 "vm_pcall",
1036 "vm_call",
1037 "vm_call_dispatch",
1038 "vmeta_call",
1039 "vm_call_dispatch_f",
1040 "vm_cpcall",
1041 "cont_ffi_callback",
1042 "vm_call_tail",
1043 "cont_cat",
1044 "cont_ra",
1045 "BC_CAT_Z",
1046 "vmeta_tgets",
1047 "vmeta_tgetb",
1048 "vmeta_tgetv",
1049 "vmeta_tsets",
1050 "vmeta_tsetb",
1051 "vmeta_tsetv",
1052 "cont_nop",
1053 "vmeta_comp",
1054 "vmeta_binop",
1055 "cont_condt",
1056 "cont_condf",
1057 "vmeta_equal",
1058 "vmeta_equal_cd",
1059 "vmeta_arith_vno",
1060 "vmeta_arith_vn",
1061 "vmeta_arith_nvo",
1062 "vmeta_arith_nv",
1063 "vmeta_unm",
1064 "vmeta_arith_vvo",
1065 "vmeta_arith_vv",
1066 "vmeta_len",
1067 "BC_LEN_Z",
1068 "vmeta_call_ra",
1069 "BC_CALLT_Z",
1070 "vmeta_for",
1071 "ff_assert",
1072 "fff_fallback",
1073 "fff_res_",
1074 "ff_type",
1075 "fff_res1",
1076 "ff_getmetatable",
1077 "ff_setmetatable",
1078 "ff_rawget",
1079 "ff_tonumber",
1080 "fff_resi",
1081 "fff_resxmm0",
1082 "fff_resn",
1083 "ff_tostring",
1084 "fff_gcstep",
1085 "ff_next",
1086 "fff_res2",
1087 "fff_res",
1088 "ff_pairs",
1089 "ff_ipairs_aux",
1090 "fff_res0",
1091 "ff_ipairs",
1092 "ff_pcall",
1093 "ff_xpcall",
1094 "ff_coroutine_resume",
1095 "ff_coroutine_wrap_aux",
1096 "ff_coroutine_yield",
1097 "ff_math_abs",
1098 "fff_resbit",
1099 "ff_math_floor",
1100 "vm_floor",
1101 "ff_math_ceil",
1102 "vm_ceil",
1103 "ff_math_sqrt",
1104 "ff_math_log",
1105 "ff_math_log10",
1106 "ff_math_exp",
1107 "vm_exp_x87",
1108 "ff_math_sin",
1109 "ff_math_cos",
1110 "ff_math_tan",
1111 "ff_math_asin",
1112 "ff_math_acos",
1113 "ff_math_atan",
1114 "ff_math_sinh",
1115 "ff_math_cosh",
1116 "ff_math_tanh",
1117 "ff_math_deg",
1118 "ff_math_rad",
1119 "ff_math_atan2",
1120 "ff_math_ldexp",
1121 "ff_math_frexp",
1122 "ff_math_modf",
1123 "vm_trunc",
1124 "ff_math_fmod",
1125 "ff_math_pow",
1126 "vm_pow",
1127 "ff_math_min",
1128 "ff_math_max",
1129 "ff_string_len",
1130 "ff_string_byte",
1131 "ff_string_char",
1132 "fff_newstr",
1133 "ff_string_sub",
1134 "fff_emptystr",
1135 "ff_string_rep",
1136 "fff_fallback_2",
1137 "ff_string_reverse",
1138 "fff_fallback_1",
1139 "ff_string_lower",
1140 "ff_string_upper",
1141 "ff_table_getn",
1142 "ff_bit_tobit",
1143 "ff_bit_band",
1144 "fff_fallback_bit_op",
1145 "ff_bit_bor",
1146 "ff_bit_bxor",
1147 "ff_bit_bswap",
1148 "ff_bit_bnot",
1149 "ff_bit_lshift",
1150 "ff_bit_rshift",
1151 "ff_bit_arshift",
1152 "ff_bit_rol",
1153 "ff_bit_ror",
1154 "vm_record",
1155 "vm_rethook",
1156 "vm_inshook",
1157 "cont_hook",
1158 "vm_hotloop",
1159 "vm_callhook",
1160 "vm_hotcall",
1161 "vm_exit_handler",
1162 "vm_exit_interp",
1163 "vm_floor_sse",
1164 "vm_ceil_sse",
1165 "vm_trunc_sse",
1166 "vm_mod",
1167 "vm_exp2_x87",
1168 "vm_exp2raw",
1169 "vm_pow_sse",
1170 "vm_powi_sse",
1171 "vm_foldfpm",
1172 "vm_foldarith",
1173 "vm_cpuid",
1174 "assert_bad_for_arg_type",
1175 "vm_ffi_callback",
1176 "vm_ffi_call@4",
1177 "BC_MODVN_Z",
1178 "BC_TGETS_Z",
1179 "BC_TSETS_Z",
1180 (const char *)0
1181};
1182static const char *const extnames[] = {
1183 "lj_state_growstack@8",
1184 "lj_meta_tget",
1185 "lj_meta_tset",
1186 "lj_meta_comp",
1187 "lj_meta_equal",
1188 "lj_meta_equal_cd@8",
1189 "lj_meta_arith",
1190 "lj_meta_len@8",
1191 "lj_meta_call",
1192 "lj_meta_for@8",
1193 "lj_tab_get",
1194 "lj_str_fromnumber@8",
1195 "lj_str_fromnum@8",
1196 "lj_tab_next",
1197 "lj_tab_getinth@8",
1198 "lj_ffh_coroutine_wrap_err@8",
1199 "lj_vm_sinh",
1200 "lj_vm_cosh",
1201 "lj_vm_tanh",
1202 "lj_str_new",
1203 "lj_tab_len@4",
1204 "lj_gc_step@4",
1205 "lj_dispatch_ins@8",
1206 "lj_trace_hot@8",
1207 "lj_dispatch_call@8",
1208 "lj_trace_exit@8",
1209 "lj_err_throw@8",
1210 "lj_ccallback_enter@8",
1211 "lj_ccallback_leave@8",
1212 "lj_meta_cat",
1213 "lj_gc_barrieruv@8",
1214 "lj_func_closeuv@8",
1215 "lj_func_newL_gc",
1216 "lj_tab_new",
1217 "lj_gc_step_fixtop@4",
1218 "lj_tab_dup@8",
1219 "lj_tab_newkey",
1220 "lj_tab_reasize",
1221 (const char *)0
1222};
1223#define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1224#define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1225#define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1226#define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1227#define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1228#define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1229#define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1230#define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1231#define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1232#define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1233#define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1234#define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1235#define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V)
1236#define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1237#define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1238#define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto))
1239
1240/* Generate subroutines used by opcodes and other parts of the VM. */
1241/* The .code_sub section should be last to help static branch prediction. */
1242static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1243{
1244 dasm_put(Dst, 0);
1245 dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C);
1246 dasm_put(Dst, 114, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL);
1247 dasm_put(Dst, 200, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK);
1248 dasm_put(Dst, 275, 1+1, Dt1(->base), Dt1(->glref), GG_G2DISP, LJ_TFALSE, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, LUA_MINSTACK, -4+PC2PROTO(framesize), Dt1(->base));
1249 dasm_put(Dst, 353, 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);
1250 dasm_put(Dst, 495, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1251 dasm_put(Dst, 573, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL);
1252#if LJ_HASFFI
1253#endif
1254 dasm_put(Dst, 743);
1255#if LJ_HASFFI
1256 dasm_put(Dst, 748);
1257#endif
1258 dasm_put(Dst, 757, Dt7(->pc), PC2PROTO(k));
1259#if LJ_HASFFI
1260 dasm_put(Dst, 771);
1261#endif
1262 dasm_put(Dst, 792, LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1263 if (LJ_DUALNUM) {
1264 dasm_put(Dst, 890, LJ_TISNUM);
1265 } else if (sse) {
1266 dasm_put(Dst, 900);
1267 } else {
1268 dasm_put(Dst, 913);
1269 }
1270 dasm_put(Dst, 926, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET);
1271 dasm_put(Dst, 1078, DISPATCH_GL(tmptv), LJ_TTAB);
1272 if (LJ_DUALNUM) {
1273 dasm_put(Dst, 890, LJ_TISNUM);
1274 } else if (sse) {
1275 dasm_put(Dst, 900);
1276 } else {
1277 dasm_put(Dst, 913);
1278 }
1279 dasm_put(Dst, 1101, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base));
1280 dasm_put(Dst, 1295, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1281 dasm_put(Dst, 1402);
1282#if LJ_HASFFI
1283 dasm_put(Dst, 1417, Dt1(->base));
1284#endif
1285 dasm_put(Dst, 1448);
1286#if LJ_DUALNUM
1287 dasm_put(Dst, 1451);
1288#endif
1289 dasm_put(Dst, 1457);
1290#if LJ_DUALNUM
1291 dasm_put(Dst, 884);
1292#endif
1293 dasm_put(Dst, 1469);
1294#if LJ_DUALNUM
1295 dasm_put(Dst, 1451);
1296#endif
1297 dasm_put(Dst, 1497, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base));
1298#ifdef LUAJIT_ENABLE_LUA52COMPAT
1299 dasm_put(Dst, 1607);
1300#else
1301 dasm_put(Dst, 1626);
1302#endif
1303 dasm_put(Dst, 1631, Dt1(->base), Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND);
1304 dasm_put(Dst, 1820, 1+1, ~LJ_TNUMX);
1305 if (cmov) {
1306 dasm_put(Dst, 1878);
1307 } else {
1308 dasm_put(Dst, 1882);
1309 }
1310 dasm_put(Dst, 1891, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL, DISPATCH_GL(gcroot)+4*(GCROOT_MMNAME+MM_metatable), LJ_TTAB);
1311 dasm_put(Dst, 1974, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next), LJ_TNIL);
1312 dasm_put(Dst, 2032, LJ_TUDATA, LJ_TISNUM, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1);
1313 dasm_put(Dst, 2095, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->marked), LJ_GC_BLACK, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
1314 dasm_put(Dst, 2167, 2+1, LJ_TTAB, 1+1, LJ_TISNUM);
1315 if (LJ_DUALNUM) {
1316 dasm_put(Dst, 2256);
1317 } else {
1318 dasm_put(Dst, 2273);
1319 }
1320 if (sse) {
1321 dasm_put(Dst, 2278);
1322 } else {
1323 dasm_put(Dst, 2288);
1324 }
1325 dasm_put(Dst, 2295, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1326 dasm_put(Dst, 2361, Dt1(->base));
1327 if (LJ_DUALNUM) {
1328 dasm_put(Dst, 2385);
1329 } else {
1330 dasm_put(Dst, 2390);
1331 }
1332 dasm_put(Dst, 2395, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2);
1333 dasm_put(Dst, 2504, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1334#ifdef LUAJIT_ENABLE_LUA52COMPAT
1335 dasm_put(Dst, 2551, Dt6(->metatable));
1336#endif
1337 dasm_put(Dst, 2560, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1338 if (LJ_DUALNUM) {
1339 dasm_put(Dst, 2546);
1340 } else {
1341 dasm_put(Dst, 2273);
1342 }
1343 dasm_put(Dst, 2615);
1344 if (LJ_DUALNUM) {
1345 dasm_put(Dst, 2620, LJ_TISNUM);
1346 } else if (sse) {
1347 dasm_put(Dst, 2636);
1348 } else {
1349 dasm_put(Dst, 2675);
1350 }
1351 dasm_put(Dst, 2693, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1352 dasm_put(Dst, 2531, 1+1, LJ_TTAB);
1353#ifdef LUAJIT_ENABLE_LUA52COMPAT
1354 dasm_put(Dst, 2551, Dt6(->metatable));
1355#endif
1356 dasm_put(Dst, 2774, Dt8(->upvalue[0]), LJ_TFUNC);
1357 if (LJ_DUALNUM) {
1358 dasm_put(Dst, 2795, LJ_TISNUM);
1359 } else if (sse) {
1360 dasm_put(Dst, 2807);
1361 } else {
1362 dasm_put(Dst, 2817);
1363 }
1364 dasm_put(Dst, 2824, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC);
1365 dasm_put(Dst, 2888, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top));
1366 dasm_put(Dst, 2976, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1367 dasm_put(Dst, 3077, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE);
1368 dasm_put(Dst, 3191, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe));
1369 dasm_put(Dst, 3289, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1370 dasm_put(Dst, 3355, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack));
1371 dasm_put(Dst, 3456, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME);
1372 dasm_put(Dst, 3569, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1373 if (!LJ_DUALNUM) {
1374 dasm_put(Dst, 3595);
1375 }
1376 if (sse) {
1377 dasm_put(Dst, 3598);
1378 }
1379 dasm_put(Dst, 3613, 1+1);
1380 if (LJ_DUALNUM) {
1381 dasm_put(Dst, 3624, LJ_TISNUM, LJ_TISNUM);
1382 } else {
1383 dasm_put(Dst, 3704, LJ_TISNUM);
1384 }
1385 if (sse) {
1386 dasm_put(Dst, 3714);
1387 } else {
1388 dasm_put(Dst, 3750);
1389 }
1390 dasm_put(Dst, 3767, 1+1, FRAME_TYPE, LJ_TNIL);
1391 if (LJ_DUALNUM) {
1392 dasm_put(Dst, 3859, LJ_TISNUM);
1393 } else {
1394 dasm_put(Dst, 3704, LJ_TISNUM);
1395 }
1396 if (sse) {
1397 dasm_put(Dst, 3881);
1398 if (LJ_DUALNUM) {
1399 dasm_put(Dst, 3890);
1400 }
1401 dasm_put(Dst, 2283);
1402 } else {
1403 dasm_put(Dst, 3924);
1404 if (LJ_DUALNUM) {
1405 dasm_put(Dst, 3930);
1406 if (cmov) {
1407 dasm_put(Dst, 3953);
1408 } else {
1409 dasm_put(Dst, 3959);
1410 }
1411 dasm_put(Dst, 3966);
1412 } else {
1413 dasm_put(Dst, 2290);
1414 }
1415 }
1416 dasm_put(Dst, 3983);
1417 if (LJ_DUALNUM) {
1418 dasm_put(Dst, 3859, LJ_TISNUM);
1419 } else {
1420 dasm_put(Dst, 3704, LJ_TISNUM);
1421 }
1422 if (sse) {
1423 dasm_put(Dst, 3986);
1424 if (LJ_DUALNUM) {
1425 dasm_put(Dst, 3890);
1426 }
1427 dasm_put(Dst, 2283);
1428 } else {
1429 dasm_put(Dst, 3995);
1430 if (LJ_DUALNUM) {
1431 dasm_put(Dst, 3930);
1432 if (cmov) {
1433 dasm_put(Dst, 3953);
1434 } else {
1435 dasm_put(Dst, 3959);
1436 }
1437 dasm_put(Dst, 3966);
1438 } else {
1439 dasm_put(Dst, 2290);
1440 }
1441 }
1442 if (sse) {
1443 dasm_put(Dst, 4001, 1+1, LJ_TISNUM);
1444 } else {
1445 dasm_put(Dst, 4030, 1+1, LJ_TISNUM);
1446 }
1447 dasm_put(Dst, 4059, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1448 dasm_put(Dst, 4128, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1449 dasm_put(Dst, 4185, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1450 dasm_put(Dst, 4248, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1451 dasm_put(Dst, 4338);
1452 if (sse) {
1453 dasm_put(Dst, 4350, 1+1, LJ_TISNUM);
1454 } else {
1455 dasm_put(Dst, 4381, 1+1, LJ_TISNUM);
1456 }
1457 dasm_put(Dst, 4406);
1458 if (sse) {
1459 dasm_put(Dst, 4420, 1+1, LJ_TISNUM);
1460 } else {
1461 dasm_put(Dst, 4451, 1+1, LJ_TISNUM);
1462 }
1463 dasm_put(Dst, 4476);
1464 if (sse) {
1465 dasm_put(Dst, 4490, 1+1, LJ_TISNUM);
1466 } else {
1467 dasm_put(Dst, 4521, 1+1, LJ_TISNUM);
1468 }
1469 dasm_put(Dst, 4546);
1470 if (sse) {
1471 dasm_put(Dst, 4562, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1472 } else {
1473 dasm_put(Dst, 4601, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1474 }
1475 dasm_put(Dst, 4634, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1476 dasm_put(Dst, 4699, 1+1, LJ_TISNUM);
1477 if (sse) {
1478 dasm_put(Dst, 4798);
1479 } else {
1480 dasm_put(Dst, 4804);
1481 }
1482 dasm_put(Dst, 4813);
1483 if (sse) {
1484 dasm_put(Dst, 4838);
1485 } else {
1486 dasm_put(Dst, 4844);
1487 }
1488 dasm_put(Dst, 4847, 1+2);
1489 if (sse) {
1490 dasm_put(Dst, 4856);
1491 } else {
1492 dasm_put(Dst, 4864);
1493 }
1494 dasm_put(Dst, 4872);
1495 if (sse) {
1496 dasm_put(Dst, 4875);
1497 } else {
1498 dasm_put(Dst, 4907);
1499 }
1500 dasm_put(Dst, 4926);
1501 if (sse) {
1502 dasm_put(Dst, 4942, 1+1, LJ_TISNUM);
1503 } else {
1504 dasm_put(Dst, 4967, 1+1, LJ_TISNUM);
1505 }
1506 dasm_put(Dst, 4989);
1507 if (sse) {
1508 dasm_put(Dst, 5011);
1509 } else {
1510 dasm_put(Dst, 5037);
1511 }
1512 dasm_put(Dst, 5054, 1+2);
1513 if (sse) {
1514 dasm_put(Dst, 5094);
1515 } else {
1516 dasm_put(Dst, 5102);
1517 }
1518 dasm_put(Dst, 5112, 2+1, LJ_TISNUM, LJ_TISNUM);
1519 if (sse) {
1520 dasm_put(Dst, 5164, 2+1, LJ_TISNUM, LJ_TISNUM);
1521 } else {
1522 dasm_put(Dst, 5211, 2+1, LJ_TISNUM, LJ_TISNUM);
1523 }
1524 dasm_put(Dst, 5252, LJ_TISNUM);
1525 if (LJ_DUALNUM) {
1526 dasm_put(Dst, 5265, LJ_TISNUM);
1527 if (sse) {
1528 dasm_put(Dst, 4798);
1529 } else {
1530 dasm_put(Dst, 4804);
1531 }
1532 dasm_put(Dst, 5315);
1533 } else {
1534 dasm_put(Dst, 2273);
1535 }
1536 if (sse) {
1537 dasm_put(Dst, 5326, LJ_TISNUM);
1538 if (LJ_DUALNUM) {
1539 dasm_put(Dst, 5347);
1540 } else {
1541 dasm_put(Dst, 2273);
1542 }
1543 dasm_put(Dst, 5368);
1544 } else {
1545 dasm_put(Dst, 5393, LJ_TISNUM);
1546 if (LJ_DUALNUM) {
1547 dasm_put(Dst, 5411);
1548 } else {
1549 dasm_put(Dst, 5429);
1550 }
1551 dasm_put(Dst, 5434);
1552 if (cmov) {
1553 dasm_put(Dst, 5444);
1554 } else {
1555 dasm_put(Dst, 5452);
1556 }
1557 dasm_put(Dst, 5385);
1558 }
1559 dasm_put(Dst, 5473, LJ_TISNUM);
1560 if (LJ_DUALNUM) {
1561 dasm_put(Dst, 5486, LJ_TISNUM);
1562 if (sse) {
1563 dasm_put(Dst, 4798);
1564 } else {
1565 dasm_put(Dst, 4804);
1566 }
1567 dasm_put(Dst, 5315);
1568 } else {
1569 dasm_put(Dst, 2273);
1570 }
1571 if (sse) {
1572 dasm_put(Dst, 5326, LJ_TISNUM);
1573 if (LJ_DUALNUM) {
1574 dasm_put(Dst, 5347);
1575 } else {
1576 dasm_put(Dst, 2273);
1577 }
1578 dasm_put(Dst, 5536);
1579 } else {
1580 dasm_put(Dst, 5393, LJ_TISNUM);
1581 if (LJ_DUALNUM) {
1582 dasm_put(Dst, 5411);
1583 } else {
1584 dasm_put(Dst, 5429);
1585 }
1586 dasm_put(Dst, 5434);
1587 if (cmov) {
1588 dasm_put(Dst, 5561);
1589 } else {
1590 dasm_put(Dst, 5569);
1591 }
1592 dasm_put(Dst, 5385);
1593 }
1594 if (!sse) {
1595 dasm_put(Dst, 5590);
1596 }
1597 dasm_put(Dst, 5599, 1+1, LJ_TSTR);
1598 if (LJ_DUALNUM) {
1599 dasm_put(Dst, 5621, Dt5(->len));
1600 } else if (sse) {
1601 dasm_put(Dst, 5629, Dt5(->len));
1602 } else {
1603 dasm_put(Dst, 5640, Dt5(->len));
1604 }
1605 dasm_put(Dst, 5648, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1606 if (LJ_DUALNUM) {
1607 dasm_put(Dst, 3978);
1608 } else if (sse) {
1609 dasm_put(Dst, 5686);
1610 } else {
1611 dasm_put(Dst, 5696);
1612 }
1613 dasm_put(Dst, 5709, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1614 if (LJ_DUALNUM) {
1615 dasm_put(Dst, 5740);
1616 } else if (sse) {
1617 dasm_put(Dst, 5763);
1618 } else {
1619 dasm_put(Dst, 5789);
1620 }
1621 dasm_put(Dst, 5813, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1622 if (LJ_DUALNUM) {
1623 dasm_put(Dst, 5916);
1624 } else if (sse) {
1625 dasm_put(Dst, 5928);
1626 } else {
1627 dasm_put(Dst, 5943);
1628 }
1629 dasm_put(Dst, 5955, LJ_TSTR, LJ_TISNUM);
1630 if (LJ_DUALNUM) {
1631 dasm_put(Dst, 2546);
1632 } else {
1633 dasm_put(Dst, 2273);
1634 }
1635 dasm_put(Dst, 5972, Dt5(->len));
1636 if (LJ_DUALNUM) {
1637 dasm_put(Dst, 5982);
1638 } else if (sse) {
1639 dasm_put(Dst, 5986);
1640 } else {
1641 dasm_put(Dst, 5993);
1642 }
1643 dasm_put(Dst, 6005, sizeof(GCstr)-1);
1644 dasm_put(Dst, 6080, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1645 dasm_put(Dst, 6139, LJ_TSTR, LJ_TISNUM);
1646 if (LJ_DUALNUM) {
1647 dasm_put(Dst, 6156);
1648 } else if (sse) {
1649 dasm_put(Dst, 6164);
1650 } else {
1651 dasm_put(Dst, 6175);
1652 }
1653 dasm_put(Dst, 6191, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1654 dasm_put(Dst, 6256, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1655 dasm_put(Dst, 6319, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1656 dasm_put(Dst, 6390, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1657 dasm_put(Dst, 6475, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1658 dasm_put(Dst, 6545, 1+1, LJ_TTAB);
1659 if (LJ_DUALNUM) {
1660 dasm_put(Dst, 6613);
1661 } else if (sse) {
1662 dasm_put(Dst, 6620);
1663 } else {
1664 dasm_put(Dst, 6630);
1665 }
1666 dasm_put(Dst, 6641, 1+1, LJ_TISNUM);
1667 if (LJ_DUALNUM) {
1668 dasm_put(Dst, 6657);
1669 } else {
1670 dasm_put(Dst, 2273);
1671 }
1672 if (sse) {
1673 dasm_put(Dst, 6674);
1674 } else {
1675 dasm_put(Dst, 6703);
1676 }
1677 dasm_put(Dst, 111);
1678 if (LJ_DUALNUM || sse) {
1679 if (!sse) {
1680 dasm_put(Dst, 6721);
1681 }
1682 dasm_put(Dst, 6725);
1683 } else {
1684 dasm_put(Dst, 6633);
1685 }
1686 dasm_put(Dst, 6730, 1+1);
1687 if (sse) {
1688 dasm_put(Dst, 6741);
1689 } else {
1690 dasm_put(Dst, 6756);
1691 }
1692 dasm_put(Dst, 2250, LJ_TISNUM);
1693 if (LJ_DUALNUM) {
1694 dasm_put(Dst, 6765);
1695 } else {
1696 dasm_put(Dst, 2273);
1697 }
1698 if (sse) {
1699 dasm_put(Dst, 6782);
1700 } else {
1701 dasm_put(Dst, 6797);
1702 }
1703 dasm_put(Dst, 6810, LJ_TISNUM);
1704 if (LJ_DUALNUM) {
1705 dasm_put(Dst, 6835);
1706 } else {
1707 dasm_put(Dst, 6855);
1708 }
1709 if (sse) {
1710 dasm_put(Dst, 6860);
1711 } else {
1712 dasm_put(Dst, 6877);
1713 }
1714 dasm_put(Dst, 6890, 1+1);
1715 if (sse) {
1716 dasm_put(Dst, 6741);
1717 } else {
1718 dasm_put(Dst, 6756);
1719 }
1720 dasm_put(Dst, 2250, LJ_TISNUM);
1721 if (LJ_DUALNUM) {
1722 dasm_put(Dst, 6765);
1723 } else {
1724 dasm_put(Dst, 2273);
1725 }
1726 if (sse) {
1727 dasm_put(Dst, 6782);
1728 } else {
1729 dasm_put(Dst, 6797);
1730 }
1731 dasm_put(Dst, 6810, LJ_TISNUM);
1732 if (LJ_DUALNUM) {
1733 dasm_put(Dst, 6908);
1734 } else {
1735 dasm_put(Dst, 6855);
1736 }
1737 if (sse) {
1738 dasm_put(Dst, 6928);
1739 } else {
1740 dasm_put(Dst, 6945);
1741 }
1742 dasm_put(Dst, 6958, 1+1);
1743 if (sse) {
1744 dasm_put(Dst, 6741);
1745 } else {
1746 dasm_put(Dst, 6756);
1747 }
1748 dasm_put(Dst, 2250, LJ_TISNUM);
1749 if (LJ_DUALNUM) {
1750 dasm_put(Dst, 6765);
1751 } else {
1752 dasm_put(Dst, 2273);
1753 }
1754 if (sse) {
1755 dasm_put(Dst, 6782);
1756 } else {
1757 dasm_put(Dst, 6797);
1758 }
1759 dasm_put(Dst, 6810, LJ_TISNUM);
1760 if (LJ_DUALNUM) {
1761 dasm_put(Dst, 6976);
1762 } else {
1763 dasm_put(Dst, 6855);
1764 }
1765 if (sse) {
1766 dasm_put(Dst, 6996);
1767 } else {
1768 dasm_put(Dst, 7013);
1769 }
1770 dasm_put(Dst, 7026, 1+1, LJ_TISNUM);
1771 if (LJ_DUALNUM) {
1772 dasm_put(Dst, 6765);
1773 } else {
1774 dasm_put(Dst, 2273);
1775 }
1776 if (sse) {
1777 dasm_put(Dst, 6674);
1778 } else {
1779 dasm_put(Dst, 7049);
1780 }
1781 dasm_put(Dst, 7070, 1+1, LJ_TISNUM);
1782 if (LJ_DUALNUM) {
1783 dasm_put(Dst, 6765);
1784 } else {
1785 dasm_put(Dst, 2273);
1786 }
1787 if (sse) {
1788 dasm_put(Dst, 6674);
1789 } else {
1790 dasm_put(Dst, 7049);
1791 }
1792 dasm_put(Dst, 7094);
1793 if (LJ_DUALNUM) {
1794 dasm_put(Dst, 6725);
1795 } else if (sse) {
1796 dasm_put(Dst, 7100);
1797 } else {
1798 dasm_put(Dst, 7112);
1799 }
1800 dasm_put(Dst, 7125);
1801 if (LJ_DUALNUM) {
1802 dasm_put(Dst, 7136, 1+1, LJ_TISNUM);
1803 if (LJ_DUALNUM) {
1804 dasm_put(Dst, 6765);
1805 } else {
1806 dasm_put(Dst, 2273);
1807 }
1808 if (sse) {
1809 dasm_put(Dst, 6674);
1810 } else {
1811 dasm_put(Dst, 7049);
1812 }
1813 dasm_put(Dst, 7152, LJ_TISNUM);
1814 } else if (sse) {
1815 dasm_put(Dst, 7167, 2+1, LJ_TISNUM, LJ_TISNUM);
1816 } else {
1817 dasm_put(Dst, 7239, 2+1, LJ_TISNUM, LJ_TISNUM);
1818 }
1819 dasm_put(Dst, 7303);
1820 if (LJ_DUALNUM) {
1821 dasm_put(Dst, 7310, 1+1, LJ_TISNUM);
1822 if (LJ_DUALNUM) {
1823 dasm_put(Dst, 6765);
1824 } else {
1825 dasm_put(Dst, 2273);
1826 }
1827 if (sse) {
1828 dasm_put(Dst, 6674);
1829 } else {
1830 dasm_put(Dst, 7049);
1831 }
1832 dasm_put(Dst, 7152, LJ_TISNUM);
1833 } else if (sse) {
1834 dasm_put(Dst, 7326, 2+1, LJ_TISNUM, LJ_TISNUM);
1835 } else {
1836 dasm_put(Dst, 7398, 2+1, LJ_TISNUM, LJ_TISNUM);
1837 }
1838 dasm_put(Dst, 7462);
1839 if (LJ_DUALNUM) {
1840 dasm_put(Dst, 7470, 1+1, LJ_TISNUM);
1841 if (LJ_DUALNUM) {
1842 dasm_put(Dst, 6765);
1843 } else {
1844 dasm_put(Dst, 2273);
1845 }
1846 if (sse) {
1847 dasm_put(Dst, 6674);
1848 } else {
1849 dasm_put(Dst, 7049);
1850 }
1851 dasm_put(Dst, 7152, LJ_TISNUM);
1852 } else if (sse) {
1853 dasm_put(Dst, 7486, 2+1, LJ_TISNUM, LJ_TISNUM);
1854 } else {
1855 dasm_put(Dst, 7558, 2+1, LJ_TISNUM, LJ_TISNUM);
1856 }
1857 dasm_put(Dst, 7622);
1858 if (LJ_DUALNUM) {
1859 dasm_put(Dst, 7630, 1+1, LJ_TISNUM);
1860 if (LJ_DUALNUM) {
1861 dasm_put(Dst, 6765);
1862 } else {
1863 dasm_put(Dst, 2273);
1864 }
1865 if (sse) {
1866 dasm_put(Dst, 6674);
1867 } else {
1868 dasm_put(Dst, 7049);
1869 }
1870 dasm_put(Dst, 7152, LJ_TISNUM);
1871 } else if (sse) {
1872 dasm_put(Dst, 7646, 2+1, LJ_TISNUM, LJ_TISNUM);
1873 } else {
1874 dasm_put(Dst, 7718, 2+1, LJ_TISNUM, LJ_TISNUM);
1875 }
1876 dasm_put(Dst, 7782);
1877 if (LJ_DUALNUM) {
1878 dasm_put(Dst, 7789, 1+1, LJ_TISNUM);
1879 if (LJ_DUALNUM) {
1880 dasm_put(Dst, 6765);
1881 } else {
1882 dasm_put(Dst, 2273);
1883 }
1884 if (sse) {
1885 dasm_put(Dst, 6674);
1886 } else {
1887 dasm_put(Dst, 7049);
1888 }
1889 dasm_put(Dst, 7152, LJ_TISNUM);
1890 } else if (sse) {
1891 dasm_put(Dst, 7805, 2+1, LJ_TISNUM, LJ_TISNUM);
1892 } else {
1893 dasm_put(Dst, 7877, 2+1, LJ_TISNUM, LJ_TISNUM);
1894 }
1895 dasm_put(Dst, 7941, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1896 dasm_put(Dst, 8017, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base));
1897 dasm_put(Dst, 8141, Dt1(->top), Dt1(->base), Dt1(->top));
1898#if LJ_HASJIT
1899 dasm_put(Dst, 8179, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1900#endif
1901 dasm_put(Dst, 8210, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE);
1902 dasm_put(Dst, 8261, Dt1(->base), Dt1(->base), GG_DISP2STATIC);
1903#if LJ_HASJIT
1904 dasm_put(Dst, 8327, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L));
1905#endif
1906 dasm_put(Dst, 8373);
1907#if LJ_HASJIT
1908 dasm_put(Dst, 8205);
1909#endif
1910 dasm_put(Dst, 8380);
1911#if LJ_HASJIT
1912 dasm_put(Dst, 8383);
1913#endif
1914 dasm_put(Dst, 8393, Dt1(->base), Dt1(->top));
1915#if LJ_HASJIT
1916 dasm_put(Dst, 8427);
1917#endif
1918 dasm_put(Dst, 8432, Dt1(->base), Dt1(->top));
1919#if LJ_HASJIT
1920 dasm_put(Dst, 8461, DISPATCH_GL(vmstate), DISPATCH_GL(vmstate), ~LJ_VMST_EXIT, DISPATCH_J(exitno), DISPATCH_J(parent), 8*8+16, DISPATCH_GL(jit_L), DISPATCH_GL(jit_base), DISPATCH_J(L), DISPATCH_GL(jit_L), Dt1(->base), GG_DISP2J, Dt1(->cframe), CFRAME_RAWMASK, CFRAME_OFS_L, Dt1(->base), CFRAME_OFS_PC);
1921#endif
1922 dasm_put(Dst, 8604);
1923#if LJ_HASJIT
1924 dasm_put(Dst, 8607, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF);
1925#endif
1926 dasm_put(Dst, 8685);
1927 if (!sse) {
1928 dasm_put(Dst, 8688);
1929 }
1930 dasm_put(Dst, 8733);
1931 if (!sse) {
1932 dasm_put(Dst, 8835);
1933 }
1934 dasm_put(Dst, 8880);
1935 if (!sse) {
1936 dasm_put(Dst, 8982);
1937 }
1938 dasm_put(Dst, 9021);
1939 if (sse) {
1940 dasm_put(Dst, 9126);
1941 } else {
1942 dasm_put(Dst, 9256);
1943 }
1944 dasm_put(Dst, 9303);
1945 if (!sse) {
1946 dasm_put(Dst, 9377);
1947 if (cmov) {
1948 dasm_put(Dst, 9388);
1949 } else {
1950 dasm_put(Dst, 9392);
1951 }
1952 dasm_put(Dst, 9399);
1953 dasm_put(Dst, 9473);
1954 dasm_put(Dst, 9573);
1955 if (cmov) {
1956 dasm_put(Dst, 9576);
1957 } else {
1958 dasm_put(Dst, 9580);
1959 }
1960 dasm_put(Dst, 9587);
1961 if (cmov) {
1962 dasm_put(Dst, 9388);
1963 } else {
1964 dasm_put(Dst, 9392);
1965 }
1966 dasm_put(Dst, 9605);
1967 } else {
1968 dasm_put(Dst, 9684);
1969 }
1970 dasm_put(Dst, 9687);
1971 dasm_put(Dst, 9772);
1972 dasm_put(Dst, 9902);
1973 dasm_put(Dst, 10108);
1974#if LJ_HASJIT
1975 if (sse) {
1976 dasm_put(Dst, 10115);
1977 dasm_put(Dst, 10172);
1978 dasm_put(Dst, 10263);
1979 } else {
1980 dasm_put(Dst, 10305);
1981 dasm_put(Dst, 10397);
1982 }
1983 dasm_put(Dst, 10443);
1984#endif
1985 dasm_put(Dst, 10447);
1986 if (sse) {
1987 dasm_put(Dst, 10450);
1988 dasm_put(Dst, 10555);
1989 dasm_put(Dst, 10638);
1990 } else {
1991 dasm_put(Dst, 10710);
1992 dasm_put(Dst, 10793);
1993 if (cmov) {
1994 dasm_put(Dst, 10848);
1995 } else {
1996 dasm_put(Dst, 10867);
1997 }
1998 dasm_put(Dst, 10443);
1999 }
2000 dasm_put(Dst, 10908);
2001#ifdef LUA_USE_ASSERT
2002 dasm_put(Dst, 10445);
2003#endif
2004 dasm_put(Dst, 10964);
2005#if LJ_HASFFI
2006#define DtE(_V) (int)(ptrdiff_t)&(((CTState *)0)_V)
2007 dasm_put(Dst, 10968, GG_G2DISP, Dt2(->ctype_state), DtE(->cb.slot), CFRAME_SIZE+16, DtE(->cb.gpr[0]), DtE(->cb.gpr[1]), DtE(->cb.stack), CFRAME_SIZE+12, CFRAME_SIZE+8, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top), Dt7(->pc));
2008#endif
2009 dasm_put(Dst, 11078);
2010#if LJ_HASFFI
2011 dasm_put(Dst, 11081, DISPATCH_GL(ctype_state), DtE(->L), Dt1(->base), Dt1(->top), DtE(->cb.gpr[0]), DtE(->cb.gpr[1]), DtE(->cb.gpr[2]), DtE(->cb.fpr[0].d), DtE(->cb.fpr[0].f), Dt1(->top));
2012#endif
2013 dasm_put(Dst, 11170);
2014#if LJ_HASFFI
2015#define DtF(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
2016 dasm_put(Dst, 11173, DtF(->spadj));
2017#if LJ_TARGET_WINDOWS
2018 dasm_put(Dst, 11183, DtF(->spadj));
2019#endif
2020 dasm_put(Dst, 11187, DtF(->nsp), offsetof(CCallState, stack), DtF(->gpr[0]), DtF(->gpr[1]), DtF(->func), DtF(->gpr[0]), DtF(->gpr[1]), DtF(->resx87), DtF(->fpr[0].d[0]));
2021 dasm_put(Dst, 11257, DtF(->fpr[0].f[0]));
2022#if LJ_TARGET_WINDOWS
2023 dasm_put(Dst, 11263, DtF(->spadj));
2024#endif
2025 dasm_put(Dst, 11267);
2026#endif
2027}
2028
2029/* Generate the code for a single instruction. */
2030static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
2031{
2032 int vk = 0;
2033 dasm_put(Dst, 11274, defop);
2034
2035 switch (op) {
2036
2037 /* -- Comparison ops ---------------------------------------------------- */
2038
2039 /* Remember: all ops branch for a true comparison, fall through otherwise. */
2040
2041
2042 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
2043 if (LJ_DUALNUM) {
2044 dasm_put(Dst, 11276, LJ_TISNUM, LJ_TISNUM);
2045 switch (op) {
2046 case BC_ISLT:
2047 dasm_put(Dst, 11306);
2048 break;
2049 case BC_ISGE:
2050 dasm_put(Dst, 11311);
2051 break;
2052 case BC_ISLE:
2053 dasm_put(Dst, 11316);
2054 break;
2055 case BC_ISGT:
2056 dasm_put(Dst, 11321);
2057 break;
2058 default: break; /* Shut up GCC. */
2059 }
2060 dasm_put(Dst, 11326, -BCBIAS_J*4, LJ_TISNUM);
2061 if (sse) {
2062 dasm_put(Dst, 11379);
2063 } else {
2064 dasm_put(Dst, 11390);
2065 }
2066 dasm_put(Dst, 11401);
2067 if (sse) {
2068 dasm_put(Dst, 11408);
2069 switch (op) {
2070 case BC_ISLT:
2071 dasm_put(Dst, 11428);
2072 break;
2073 case BC_ISGE:
2074 dasm_put(Dst, 11433);
2075 break;
2076 case BC_ISLE:
2077 dasm_put(Dst, 11438);
2078 break;
2079 case BC_ISGT:
2080 dasm_put(Dst, 11443);
2081 break;
2082 default: break; /* Shut up GCC. */
2083 }
2084 dasm_put(Dst, 11448);
2085 } else {
2086 dasm_put(Dst, 11453);
2087 }
2088 } else {
2089 dasm_put(Dst, 11461, LJ_TISNUM, LJ_TISNUM);
2090 }
2091 if (sse) {
2092 dasm_put(Dst, 11482);
2093 } else {
2094 dasm_put(Dst, 11503);
2095 if (cmov) {
2096 dasm_put(Dst, 3953);
2097 } else {
2098 dasm_put(Dst, 3959);
2099 }
2100 }
2101 if (LJ_DUALNUM) {
2102 switch (op) {
2103 case BC_ISLT:
2104 dasm_put(Dst, 11428);
2105 break;
2106 case BC_ISGE:
2107 dasm_put(Dst, 11433);
2108 break;
2109 case BC_ISLE:
2110 dasm_put(Dst, 11438);
2111 break;
2112 case BC_ISGT:
2113 dasm_put(Dst, 11443);
2114 break;
2115 default: break; /* Shut up GCC. */
2116 }
2117 dasm_put(Dst, 11448);
2118 } else {
2119 switch (op) {
2120 case BC_ISLT:
2121 dasm_put(Dst, 752);
2122 break;
2123 case BC_ISGE:
2124 dasm_put(Dst, 11519);
2125 break;
2126 case BC_ISLE:
2127 dasm_put(Dst, 11524);
2128 break;
2129 case BC_ISGT:
2130 dasm_put(Dst, 11529);
2131 break;
2132 default: break; /* Shut up GCC. */
2133 }
2134 dasm_put(Dst, 11534, -BCBIAS_J*4);
2135 }
2136 break;
2137
2138 case BC_ISEQV: case BC_ISNEV:
2139 vk = op == BC_ISEQV;
2140 dasm_put(Dst, 11565);
2141 if (LJ_DUALNUM) {
2142 dasm_put(Dst, 11573, LJ_TISNUM, LJ_TISNUM);
2143 if (vk) {
2144 dasm_put(Dst, 11598);
2145 } else {
2146 dasm_put(Dst, 11603);
2147 }
2148 dasm_put(Dst, 11608, -BCBIAS_J*4, LJ_TISNUM);
2149 if (sse) {
2150 dasm_put(Dst, 11659);
2151 } else {
2152 dasm_put(Dst, 11666);
2153 }
2154 dasm_put(Dst, 11670);
2155 if (sse) {
2156 dasm_put(Dst, 11681);
2157 } else {
2158 dasm_put(Dst, 11693);
2159 }
2160 dasm_put(Dst, 11700);
2161 } else {
2162 dasm_put(Dst, 11705, LJ_TISNUM, LJ_TISNUM);
2163 }
2164 if (sse) {
2165 dasm_put(Dst, 11724);
2166 } else {
2167 dasm_put(Dst, 11742);
2168 if (cmov) {
2169 dasm_put(Dst, 3953);
2170 } else {
2171 dasm_put(Dst, 3959);
2172 }
2173 }
2174 iseqne_fp:
2175 if (vk) {
2176 dasm_put(Dst, 11755);
2177 } else {
2178 dasm_put(Dst, 11764);
2179 }
2180 iseqne_end:
2181 if (vk) {
2182 dasm_put(Dst, 11773, -BCBIAS_J*4);
2183 if (!LJ_HASFFI) {
2184 dasm_put(Dst, 4853);
2185 }
2186 } else {
2187 if (!LJ_HASFFI) {
2188 dasm_put(Dst, 4853);
2189 }
2190 dasm_put(Dst, 11788, -BCBIAS_J*4);
2191 }
2192 if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV ||
2193 op == BC_ISEQN || op == BC_ISNEN)) {
2194 dasm_put(Dst, 11803);
2195 } else {
2196 dasm_put(Dst, 11546);
2197 }
2198 if (op == BC_ISEQV || op == BC_ISNEV) {
2199 dasm_put(Dst, 11808);
2200 if (LJ_HASFFI) {
2201 dasm_put(Dst, 11811, LJ_TCDATA, LJ_TCDATA);
2202 }
2203 dasm_put(Dst, 11830, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
2204 if (vk) {
2205 dasm_put(Dst, 11886);
2206 } else {
2207 dasm_put(Dst, 11890);
2208 }
2209 dasm_put(Dst, 11896);
2210 } else if (LJ_HASFFI) {
2211 dasm_put(Dst, 11901, LJ_TCDATA);
2212 if (LJ_DUALNUM && vk) {
2213 dasm_put(Dst, 11908);
2214 } else {
2215 dasm_put(Dst, 11881);
2216 }
2217 dasm_put(Dst, 11913);
2218 }
2219 break;
2220 case BC_ISEQS: case BC_ISNES:
2221 vk = op == BC_ISEQS;
2222 dasm_put(Dst, 11918, LJ_TSTR);
2223 iseqne_test:
2224 if (vk) {
2225 dasm_put(Dst, 11759);
2226 } else {
2227 dasm_put(Dst, 2971);
2228 }
2229 goto iseqne_end;
2230 case BC_ISEQN: case BC_ISNEN:
2231 vk = op == BC_ISEQN;
2232 dasm_put(Dst, 11943);
2233 if (LJ_DUALNUM) {
2234 dasm_put(Dst, 11951, LJ_TISNUM, LJ_TISNUM);
2235 if (vk) {
2236 dasm_put(Dst, 11598);
2237 } else {
2238 dasm_put(Dst, 11603);
2239 }
2240 dasm_put(Dst, 11976, -BCBIAS_J*4, LJ_TISNUM);
2241 if (sse) {
2242 dasm_put(Dst, 12023);
2243 } else {
2244 dasm_put(Dst, 12030);
2245 }
2246 dasm_put(Dst, 12034);
2247 if (sse) {
2248 dasm_put(Dst, 12041);
2249 } else {
2250 dasm_put(Dst, 12053);
2251 }
2252 dasm_put(Dst, 11700);
2253 } else {
2254 dasm_put(Dst, 12060, LJ_TISNUM);
2255 }
2256 if (sse) {
2257 dasm_put(Dst, 12069);
2258 } else {
2259 dasm_put(Dst, 12087);
2260 if (cmov) {
2261 dasm_put(Dst, 3953);
2262 } else {
2263 dasm_put(Dst, 3959);
2264 }
2265 }
2266 goto iseqne_fp;
2267 case BC_ISEQP: case BC_ISNEP:
2268 vk = op == BC_ISEQP;
2269 dasm_put(Dst, 12100);
2270 if (!LJ_HASFFI) goto iseqne_test;
2271 if (vk) {
2272 dasm_put(Dst, 12113, -BCBIAS_J*4, LJ_TCDATA);
2273 } else {
2274 dasm_put(Dst, 12162, LJ_TCDATA, -BCBIAS_J*4);
2275 }
2276 break;
2277
2278 /* -- Unary test and copy ops ------------------------------------------- */
2279
2280 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
2281 dasm_put(Dst, 12205, LJ_TISTRUECOND);
2282 if (op == BC_IST || op == BC_ISTC) {
2283 dasm_put(Dst, 11529);
2284 } else {
2285 dasm_put(Dst, 11524);
2286 }
2287 if (op == BC_ISTC || op == BC_ISFC) {
2288 dasm_put(Dst, 12217);
2289 }
2290 dasm_put(Dst, 11534, -BCBIAS_J*4);
2291 break;
2292
2293 /* -- Unary ops --------------------------------------------------------- */
2294
2295 case BC_MOV:
2296 dasm_put(Dst, 12228);
2297 break;
2298 case BC_NOT:
2299 dasm_put(Dst, 12261, LJ_TISTRUECOND, LJ_TTRUE);
2300 break;
2301 case BC_UNM:
2302 if (LJ_DUALNUM) {
2303 dasm_put(Dst, 12296, LJ_TISNUM, LJ_TISNUM);
2304 } else {
2305 dasm_put(Dst, 12372, LJ_TISNUM);
2306 }
2307 if (sse) {
2308 dasm_put(Dst, 12383);
2309 } else {
2310 dasm_put(Dst, 12413);
2311 }
2312 if (LJ_DUALNUM) {
2313 dasm_put(Dst, 11803);
2314 } else {
2315 dasm_put(Dst, 11546);
2316 }
2317 break;
2318 case BC_LEN:
2319 dasm_put(Dst, 12422, LJ_TSTR);
2320 if (LJ_DUALNUM) {
2321 dasm_put(Dst, 12436, Dt5(->len), LJ_TISNUM);
2322 } else if (sse) {
2323 dasm_put(Dst, 12450, Dt5(->len));
2324 } else {
2325 dasm_put(Dst, 12468, Dt5(->len));
2326 }
2327 dasm_put(Dst, 12477, LJ_TTAB);
2328#ifdef LUAJIT_ENABLE_LUA52COMPAT
2329 dasm_put(Dst, 12511, Dt6(->metatable));
2330#endif
2331 dasm_put(Dst, 12525);
2332 if (LJ_DUALNUM) {
2333 } else if (sse) {
2334 dasm_put(Dst, 12534);
2335 } else {
2336 dasm_put(Dst, 12540);
2337 }
2338 dasm_put(Dst, 12547);
2339#ifdef LUAJIT_ENABLE_LUA52COMPAT
2340 dasm_put(Dst, 12560, Dt6(->nomm), 1<<MM_len);
2341#endif
2342 break;
2343
2344 /* -- Binary ops -------------------------------------------------------- */
2345
2346
2347 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
2348 if (LJ_DUALNUM) {
2349 dasm_put(Dst, 12576);
2350 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2351 switch (vk) {
2352 case 0:
2353 dasm_put(Dst, 12584, LJ_TISNUM, LJ_TISNUM);
2354 break;
2355 case 1:
2356 dasm_put(Dst, 12617, LJ_TISNUM, LJ_TISNUM);
2357 break;
2358 default:
2359 dasm_put(Dst, 12650, LJ_TISNUM, LJ_TISNUM);
2360 break;
2361 }
2362 dasm_put(Dst, 12683, LJ_TISNUM);
2363 if (vk == 1) {
2364 dasm_put(Dst, 12446);
2365 } else {
2366 dasm_put(Dst, 12224);
2367 }
2368 dasm_put(Dst, 11546);
2369 } else {
2370 dasm_put(Dst, 12576);
2371 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2372 switch (vk) {
2373 case 0:
2374 dasm_put(Dst, 12689, LJ_TISNUM);
2375 if (LJ_DUALNUM) {
2376 dasm_put(Dst, 12701, LJ_TISNUM);
2377 }
2378 if (sse) {
2379 dasm_put(Dst, 12712);
2380 } else {
2381 dasm_put(Dst, 12726);
2382 }
2383 break;
2384 case 1:
2385 dasm_put(Dst, 12734, LJ_TISNUM);
2386 if (LJ_DUALNUM) {
2387 dasm_put(Dst, 12746, LJ_TISNUM);
2388 }
2389 if (sse) {
2390 dasm_put(Dst, 12757);
2391 } else {
2392 dasm_put(Dst, 12771);
2393 }
2394 break;
2395 default:
2396 dasm_put(Dst, 12779, LJ_TISNUM, LJ_TISNUM);
2397 if (sse) {
2398 dasm_put(Dst, 12801);
2399 } else {
2400 dasm_put(Dst, 12815);
2401 }
2402 break;
2403 }
2404 if (sse) {
2405 dasm_put(Dst, 12406);
2406 } else {
2407 dasm_put(Dst, 12418);
2408 }
2409 dasm_put(Dst, 11546);
2410 }
2411 break;
2412 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
2413 if (LJ_DUALNUM) {
2414 dasm_put(Dst, 12576);
2415 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2416 switch (vk) {
2417 case 0:
2418 dasm_put(Dst, 12823, LJ_TISNUM, LJ_TISNUM);
2419 break;
2420 case 1:
2421 dasm_put(Dst, 12856, LJ_TISNUM, LJ_TISNUM);
2422 break;
2423 default:
2424 dasm_put(Dst, 12889, LJ_TISNUM, LJ_TISNUM);
2425 break;
2426 }
2427 dasm_put(Dst, 12683, LJ_TISNUM);
2428 if (vk == 1) {
2429 dasm_put(Dst, 12446);
2430 } else {
2431 dasm_put(Dst, 12224);
2432 }
2433 dasm_put(Dst, 11546);
2434 } else {
2435 dasm_put(Dst, 12576);
2436 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2437 switch (vk) {
2438 case 0:
2439 dasm_put(Dst, 12689, LJ_TISNUM);
2440 if (LJ_DUALNUM) {
2441 dasm_put(Dst, 12701, LJ_TISNUM);
2442 }
2443 if (sse) {
2444 dasm_put(Dst, 12922);
2445 } else {
2446 dasm_put(Dst, 12936);
2447 }
2448 break;
2449 case 1:
2450 dasm_put(Dst, 12734, LJ_TISNUM);
2451 if (LJ_DUALNUM) {
2452 dasm_put(Dst, 12746, LJ_TISNUM);
2453 }
2454 if (sse) {
2455 dasm_put(Dst, 12944);
2456 } else {
2457 dasm_put(Dst, 12958);
2458 }
2459 break;
2460 default:
2461 dasm_put(Dst, 12779, LJ_TISNUM, LJ_TISNUM);
2462 if (sse) {
2463 dasm_put(Dst, 12966);
2464 } else {
2465 dasm_put(Dst, 12980);
2466 }
2467 break;
2468 }
2469 if (sse) {
2470 dasm_put(Dst, 12406);
2471 } else {
2472 dasm_put(Dst, 12418);
2473 }
2474 dasm_put(Dst, 11546);
2475 }
2476 break;
2477 case BC_MULVN: case BC_MULNV: case BC_MULVV:
2478 if (LJ_DUALNUM) {
2479 dasm_put(Dst, 12576);
2480 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2481 switch (vk) {
2482 case 0:
2483 dasm_put(Dst, 12988, LJ_TISNUM, LJ_TISNUM);
2484 break;
2485 case 1:
2486 dasm_put(Dst, 13022, LJ_TISNUM, LJ_TISNUM);
2487 break;
2488 default:
2489 dasm_put(Dst, 13056, LJ_TISNUM, LJ_TISNUM);
2490 break;
2491 }
2492 dasm_put(Dst, 12683, LJ_TISNUM);
2493 if (vk == 1) {
2494 dasm_put(Dst, 12446);
2495 } else {
2496 dasm_put(Dst, 12224);
2497 }
2498 dasm_put(Dst, 11546);
2499 } else {
2500 dasm_put(Dst, 12576);
2501 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2502 switch (vk) {
2503 case 0:
2504 dasm_put(Dst, 12689, LJ_TISNUM);
2505 if (LJ_DUALNUM) {
2506 dasm_put(Dst, 12701, LJ_TISNUM);
2507 }
2508 if (sse) {
2509 dasm_put(Dst, 13090);
2510 } else {
2511 dasm_put(Dst, 13104);
2512 }
2513 break;
2514 case 1:
2515 dasm_put(Dst, 12734, LJ_TISNUM);
2516 if (LJ_DUALNUM) {
2517 dasm_put(Dst, 12746, LJ_TISNUM);
2518 }
2519 if (sse) {
2520 dasm_put(Dst, 13112);
2521 } else {
2522 dasm_put(Dst, 13126);
2523 }
2524 break;
2525 default:
2526 dasm_put(Dst, 12779, LJ_TISNUM, LJ_TISNUM);
2527 if (sse) {
2528 dasm_put(Dst, 13134);
2529 } else {
2530 dasm_put(Dst, 13148);
2531 }
2532 break;
2533 }
2534 if (sse) {
2535 dasm_put(Dst, 12406);
2536 } else {
2537 dasm_put(Dst, 12418);
2538 }
2539 dasm_put(Dst, 11546);
2540 }
2541 break;
2542 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
2543 dasm_put(Dst, 12576);
2544 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2545 switch (vk) {
2546 case 0:
2547 dasm_put(Dst, 12689, LJ_TISNUM);
2548 if (LJ_DUALNUM) {
2549 dasm_put(Dst, 12701, LJ_TISNUM);
2550 }
2551 if (sse) {
2552 dasm_put(Dst, 13156);
2553 } else {
2554 dasm_put(Dst, 13170);
2555 }
2556 break;
2557 case 1:
2558 dasm_put(Dst, 12734, LJ_TISNUM);
2559 if (LJ_DUALNUM) {
2560 dasm_put(Dst, 12746, LJ_TISNUM);
2561 }
2562 if (sse) {
2563 dasm_put(Dst, 13178);
2564 } else {
2565 dasm_put(Dst, 13192);
2566 }
2567 break;
2568 default:
2569 dasm_put(Dst, 12779, LJ_TISNUM, LJ_TISNUM);
2570 if (sse) {
2571 dasm_put(Dst, 13200);
2572 } else {
2573 dasm_put(Dst, 13214);
2574 }
2575 break;
2576 }
2577 if (sse) {
2578 dasm_put(Dst, 12406);
2579 } else {
2580 dasm_put(Dst, 12418);
2581 }
2582 dasm_put(Dst, 11546);
2583 break;
2584 case BC_MODVN:
2585 dasm_put(Dst, 12576);
2586 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2587 switch (vk) {
2588 case 0:
2589 dasm_put(Dst, 12689, LJ_TISNUM);
2590 if (LJ_DUALNUM) {
2591 dasm_put(Dst, 12701, LJ_TISNUM);
2592 }
2593 if (sse) {
2594 dasm_put(Dst, 13222);
2595 } else {
2596 dasm_put(Dst, 13236);
2597 }
2598 break;
2599 case 1:
2600 dasm_put(Dst, 12734, LJ_TISNUM);
2601 if (LJ_DUALNUM) {
2602 dasm_put(Dst, 12746, LJ_TISNUM);
2603 }
2604 if (sse) {
2605 dasm_put(Dst, 13244);
2606 } else {
2607 dasm_put(Dst, 13258);
2608 }
2609 break;
2610 default:
2611 dasm_put(Dst, 12779, LJ_TISNUM, LJ_TISNUM);
2612 if (sse) {
2613 dasm_put(Dst, 13266);
2614 } else {
2615 dasm_put(Dst, 13280);
2616 }
2617 break;
2618 }
2619 dasm_put(Dst, 13288);
2620 if (sse) {
2621 dasm_put(Dst, 12406);
2622 } else {
2623 dasm_put(Dst, 12418);
2624 }
2625 dasm_put(Dst, 11546);
2626 break;
2627 case BC_MODNV: case BC_MODVV:
2628 dasm_put(Dst, 12576);
2629 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2630 switch (vk) {
2631 case 0:
2632 dasm_put(Dst, 12689, LJ_TISNUM);
2633 if (LJ_DUALNUM) {
2634 dasm_put(Dst, 12701, LJ_TISNUM);
2635 }
2636 if (sse) {
2637 dasm_put(Dst, 13222);
2638 } else {
2639 dasm_put(Dst, 13236);
2640 }
2641 break;
2642 case 1:
2643 dasm_put(Dst, 12734, LJ_TISNUM);
2644 if (LJ_DUALNUM) {
2645 dasm_put(Dst, 12746, LJ_TISNUM);
2646 }
2647 if (sse) {
2648 dasm_put(Dst, 13244);
2649 } else {
2650 dasm_put(Dst, 13258);
2651 }
2652 break;
2653 default:
2654 dasm_put(Dst, 12779, LJ_TISNUM, LJ_TISNUM);
2655 if (sse) {
2656 dasm_put(Dst, 13266);
2657 } else {
2658 dasm_put(Dst, 13280);
2659 }
2660 break;
2661 }
2662 dasm_put(Dst, 13294);
2663 break;
2664 case BC_POW:
2665 dasm_put(Dst, 12576);
2666 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2667 switch (vk) {
2668 case 0:
2669 dasm_put(Dst, 12689, LJ_TISNUM);
2670 if (LJ_DUALNUM) {
2671 dasm_put(Dst, 12701, LJ_TISNUM);
2672 }
2673 if (sse) {
2674 dasm_put(Dst, 13222);
2675 } else {
2676 dasm_put(Dst, 13236);
2677 }
2678 break;
2679 case 1:
2680 dasm_put(Dst, 12734, LJ_TISNUM);
2681 if (LJ_DUALNUM) {
2682 dasm_put(Dst, 12746, LJ_TISNUM);
2683 }
2684 if (sse) {
2685 dasm_put(Dst, 13244);
2686 } else {
2687 dasm_put(Dst, 13258);
2688 }
2689 break;
2690 default:
2691 dasm_put(Dst, 12779, LJ_TISNUM, LJ_TISNUM);
2692 if (sse) {
2693 dasm_put(Dst, 13266);
2694 } else {
2695 dasm_put(Dst, 13280);
2696 }
2697 break;
2698 }
2699 dasm_put(Dst, 13299);
2700 if (sse) {
2701 dasm_put(Dst, 12406);
2702 } else {
2703 dasm_put(Dst, 12418);
2704 }
2705 dasm_put(Dst, 11546);
2706 break;
2707
2708 case BC_CAT:
2709 dasm_put(Dst, 13303, Dt1(->base), Dt1(->base));
2710 break;
2711
2712 /* -- Constant ops ------------------------------------------------------ */
2713
2714 case BC_KSTR:
2715 dasm_put(Dst, 13397, LJ_TSTR);
2716 break;
2717 case BC_KCDATA:
2718#if LJ_HASFFI
2719 dasm_put(Dst, 13397, LJ_TCDATA);
2720#endif
2721 break;
2722 case BC_KSHORT:
2723 if (LJ_DUALNUM) {
2724 dasm_put(Dst, 13430, LJ_TISNUM);
2725 } else if (sse) {
2726 dasm_put(Dst, 13442);
2727 } else {
2728 dasm_put(Dst, 13457);
2729 }
2730 dasm_put(Dst, 11546);
2731 break;
2732 case BC_KNUM:
2733 if (sse) {
2734 dasm_put(Dst, 13465);
2735 } else {
2736 dasm_put(Dst, 13478);
2737 }
2738 dasm_put(Dst, 11546);
2739 break;
2740 case BC_KPRI:
2741 dasm_put(Dst, 13485);
2742 break;
2743 case BC_KNIL:
2744 dasm_put(Dst, 13511, LJ_TNIL);
2745 break;
2746
2747 /* -- Upvalue and function ops ------------------------------------------ */
2748
2749 case BC_UGET:
2750 dasm_put(Dst, 13557, offsetof(GCfuncL, uvptr), DtA(->v));
2751 break;
2752 case BC_USETV:
2753#define TV2MARKOFS \
2754 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2755 dasm_put(Dst, 13601, 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);
2756 dasm_put(Dst, 13691);
2757 break;
2758#undef TV2MARKOFS
2759 case BC_USETS:
2760 dasm_put(Dst, 13703, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2761 break;
2762 case BC_USETN:
2763 dasm_put(Dst, 13794);
2764 if (sse) {
2765 dasm_put(Dst, 13799);
2766 } else {
2767 dasm_put(Dst, 12056);
2768 }
2769 dasm_put(Dst, 13806, offsetof(GCfuncL, uvptr), DtA(->v));
2770 if (sse) {
2771 dasm_put(Dst, 13815);
2772 } else {
2773 dasm_put(Dst, 13821);
2774 }
2775 dasm_put(Dst, 11546);
2776 break;
2777 case BC_USETP:
2778 dasm_put(Dst, 13824, offsetof(GCfuncL, uvptr), DtA(->v));
2779 break;
2780 case BC_UCLO:
2781 dasm_put(Dst, 13861, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2782 break;
2783
2784 case BC_FNEW:
2785 dasm_put(Dst, 13915, Dt1(->base), Dt1(->base), LJ_TFUNC);
2786 break;
2787
2788 /* -- Table ops --------------------------------------------------------- */
2789
2790 case BC_TNEW:
2791 dasm_put(Dst, 13986, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2792 break;
2793 case BC_TDUP:
2794 dasm_put(Dst, 14112, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2795 break;
2796
2797 case BC_GGET:
2798 dasm_put(Dst, 14204, Dt7(->env));
2799 break;
2800 case BC_GSET:
2801 dasm_put(Dst, 14222, Dt7(->env));
2802 break;
2803
2804 case BC_TGETV:
2805 dasm_put(Dst, 14240, LJ_TTAB);
2806 if (LJ_DUALNUM) {
2807 dasm_put(Dst, 14263, LJ_TISNUM);
2808 } else {
2809 dasm_put(Dst, 14277, LJ_TISNUM);
2810 if (sse) {
2811 dasm_put(Dst, 14288);
2812 } else {
2813 dasm_put(Dst, 14309);
2814 if (cmov) {
2815 dasm_put(Dst, 3953);
2816 } else {
2817 dasm_put(Dst, 3959);
2818 }
2819 dasm_put(Dst, 2689);
2820 }
2821 dasm_put(Dst, 14319);
2822 }
2823 dasm_put(Dst, 14324, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index, LJ_TNIL);
2824 dasm_put(Dst, 14419, LJ_TSTR);
2825 break;
2826 case BC_TGETS:
2827 dasm_put(Dst, 14437, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2828 dasm_put(Dst, 14525, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2829 break;
2830 case BC_TGETB:
2831 dasm_put(Dst, 14595, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2832 dasm_put(Dst, 14694, LJ_TNIL);
2833 break;
2834
2835 case BC_TSETV:
2836 dasm_put(Dst, 14711, LJ_TTAB);
2837 if (LJ_DUALNUM) {
2838 dasm_put(Dst, 14263, LJ_TISNUM);
2839 } else {
2840 dasm_put(Dst, 14277, LJ_TISNUM);
2841 if (sse) {
2842 dasm_put(Dst, 14288);
2843 } else {
2844 dasm_put(Dst, 14309);
2845 if (cmov) {
2846 dasm_put(Dst, 3953);
2847 } else {
2848 dasm_put(Dst, 3959);
2849 }
2850 dasm_put(Dst, 2689);
2851 }
2852 dasm_put(Dst, 14734);
2853 }
2854 dasm_put(Dst, 14739, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex);
2855 dasm_put(Dst, 14823, LJ_TSTR, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2856 break;
2857 case BC_TSETS:
2858 dasm_put(Dst, 14880, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2859 dasm_put(Dst, 14955, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2860 dasm_put(Dst, 15047, 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));
2861 break;
2862 case BC_TSETB:
2863 dasm_put(Dst, 15143, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2864 dasm_put(Dst, 15241, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2865 break;
2866
2867 case BC_TSETM:
2868 dasm_put(Dst, 15287, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2869 dasm_put(Dst, 15436, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2870 break;
2871
2872 /* -- Calls and vararg handling ----------------------------------------- */
2873
2874 case BC_CALL: case BC_CALLM:
2875 dasm_put(Dst, 12580);
2876 if (op == BC_CALLM) {
2877 dasm_put(Dst, 15454);
2878 }
2879 dasm_put(Dst, 15459, LJ_TFUNC, Dt7(->pc));
2880 break;
2881
2882 case BC_CALLMT:
2883 dasm_put(Dst, 15454);
2884 break;
2885 case BC_CALLT:
2886 dasm_put(Dst, 15500, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2887 dasm_put(Dst, 15618, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2888 break;
2889
2890 case BC_ITERC:
2891 dasm_put(Dst, 15688, LJ_TFUNC, 2+1, Dt7(->pc));
2892 break;
2893
2894 case BC_ITERN:
2895#if LJ_HASJIT
2896#endif
2897 dasm_put(Dst, 15768, Dt6(->asize), Dt6(->array), LJ_TNIL);
2898 if (LJ_DUALNUM) {
2899 dasm_put(Dst, 12441, LJ_TISNUM);
2900 } else if (sse) {
2901 dasm_put(Dst, 12534);
2902 } else {
2903 dasm_put(Dst, 15814);
2904 }
2905 dasm_put(Dst, 15820);
2906 if (LJ_DUALNUM) {
2907 } else if (sse) {
2908 dasm_put(Dst, 12406);
2909 } else {
2910 dasm_put(Dst, 12418);
2911 }
2912 dasm_put(Dst, 15839, -BCBIAS_J*4);
2913 if (!LJ_DUALNUM && !sse) {
2914 dasm_put(Dst, 15890);
2915 }
2916 dasm_put(Dst, 15896, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key.gcr), DtB(->key.it), DtB(->val.gcr), DtB(->val.it));
2917 dasm_put(Dst, 15971);
2918 break;
2919
2920 case BC_ISNEXT:
2921 dasm_put(Dst, 15979, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2922 break;
2923
2924 case BC_VARG:
2925 dasm_put(Dst, 16078, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2926 dasm_put(Dst, 16242, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2927 break;
2928
2929 /* -- Returns ----------------------------------------------------------- */
2930
2931 case BC_RETM:
2932 dasm_put(Dst, 15454);
2933 break;
2934
2935 case BC_RET: case BC_RET0: case BC_RET1:
2936 if (op != BC_RET0) {
2937 dasm_put(Dst, 16313);
2938 }
2939 dasm_put(Dst, 16317, FRAME_TYPE);
2940 switch (op) {
2941 case BC_RET:
2942 dasm_put(Dst, 16336);
2943 break;
2944 case BC_RET1:
2945 dasm_put(Dst, 16394);
2946 /* fallthrough */
2947 case BC_RET0:
2948 dasm_put(Dst, 16410);
2949 default:
2950 break;
2951 }
2952 dasm_put(Dst, 16421, Dt7(->pc), PC2PROTO(k));
2953 if (op == BC_RET) {
2954 dasm_put(Dst, 16463, LJ_TNIL);
2955 } else {
2956 dasm_put(Dst, 16472, LJ_TNIL);
2957 }
2958 dasm_put(Dst, 16479, -FRAME_VARG, FRAME_TYPEP);
2959 if (op != BC_RET0) {
2960 dasm_put(Dst, 16503);
2961 }
2962 dasm_put(Dst, 4937);
2963 break;
2964
2965 /* -- Loops and branches ------------------------------------------------ */
2966
2967
2968 case BC_FORL:
2969#if LJ_HASJIT
2970 dasm_put(Dst, 16507, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2971#endif
2972 break;
2973
2974 case BC_JFORI:
2975 case BC_JFORL:
2976#if !LJ_HASJIT
2977 break;
2978#endif
2979 case BC_FORI:
2980 case BC_IFORL:
2981 vk = (op == BC_IFORL || op == BC_JFORL);
2982 dasm_put(Dst, 16528);
2983 if (LJ_DUALNUM) {
2984 dasm_put(Dst, 16532, LJ_TISNUM);
2985 if (!vk) {
2986 dasm_put(Dst, 16542, LJ_TISNUM, LJ_TISNUM);
2987 } else {
2988#ifdef LUA_USE_ASSERT
2989 dasm_put(Dst, 16571, LJ_TISNUM, LJ_TISNUM);
2990#endif
2991 dasm_put(Dst, 16590);
2992 }
2993 dasm_put(Dst, 16609, LJ_TISNUM);
2994 if (op == BC_FORI) {
2995 dasm_put(Dst, 16620, -BCBIAS_J*4);
2996 } else if (op == BC_JFORI) {
2997 dasm_put(Dst, 16634, -BCBIAS_J*4, BC_JLOOP);
2998 } else if (op == BC_IFORL) {
2999 dasm_put(Dst, 16652, -BCBIAS_J*4);
3000 } else {
3001 dasm_put(Dst, 16644, BC_JLOOP);
3002 }
3003 dasm_put(Dst, 16666);
3004 if (vk) {
3005 dasm_put(Dst, 16689);
3006 }
3007 dasm_put(Dst, 16609, LJ_TISNUM);
3008 if (op == BC_FORI) {
3009 dasm_put(Dst, 16698);
3010 } else if (op == BC_JFORI) {
3011 dasm_put(Dst, 16703, -BCBIAS_J*4, BC_JLOOP);
3012 } else if (op == BC_IFORL) {
3013 dasm_put(Dst, 16717);
3014 } else {
3015 dasm_put(Dst, 16713, BC_JLOOP);
3016 }
3017 dasm_put(Dst, 16722);
3018 } else if (!vk) {
3019 dasm_put(Dst, 16729, LJ_TISNUM);
3020 }
3021 if (!vk) {
3022 dasm_put(Dst, 16735, LJ_TISNUM);
3023 } else {
3024#ifdef LUA_USE_ASSERT
3025 dasm_put(Dst, 16749, LJ_TISNUM, LJ_TISNUM);
3026#endif
3027 }
3028 dasm_put(Dst, 16768);
3029 if (!vk) {
3030 dasm_put(Dst, 16772, LJ_TISNUM);
3031 }
3032 if (sse) {
3033 dasm_put(Dst, 16781);
3034 if (vk) {
3035 dasm_put(Dst, 16793);
3036 } else {
3037 dasm_put(Dst, 16812);
3038 }
3039 dasm_put(Dst, 16817);
3040 } else {
3041 dasm_put(Dst, 16830);
3042 if (vk) {
3043 dasm_put(Dst, 16836);
3044 } else {
3045 dasm_put(Dst, 16852);
3046 }
3047 dasm_put(Dst, 16860);
3048 if (cmov) {
3049 dasm_put(Dst, 3953);
3050 } else {
3051 dasm_put(Dst, 3959);
3052 }
3053 if (!cmov) {
3054 dasm_put(Dst, 16865);
3055 }
3056 }
3057 if (op == BC_FORI) {
3058 if (LJ_DUALNUM) {
3059 dasm_put(Dst, 16871);
3060 } else {
3061 dasm_put(Dst, 16876, -BCBIAS_J*4);
3062 }
3063 } else if (op == BC_JFORI) {
3064 dasm_put(Dst, 16886, -BCBIAS_J*4, BC_JLOOP);
3065 } else if (op == BC_IFORL) {
3066 if (LJ_DUALNUM) {
3067 dasm_put(Dst, 16900);
3068 } else {
3069 dasm_put(Dst, 16905, -BCBIAS_J*4);
3070 }
3071 } else {
3072 dasm_put(Dst, 16896, BC_JLOOP);
3073 }
3074 if (LJ_DUALNUM) {
3075 dasm_put(Dst, 11448);
3076 } else {
3077 dasm_put(Dst, 12184);
3078 }
3079 if (sse) {
3080 dasm_put(Dst, 16915);
3081 }
3082 break;
3083
3084 case BC_ITERL:
3085#if LJ_HASJIT
3086 dasm_put(Dst, 16507, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
3087#endif
3088 break;
3089
3090 case BC_JITERL:
3091#if !LJ_HASJIT
3092 break;
3093#endif
3094 case BC_IITERL:
3095 dasm_put(Dst, 16926, LJ_TNIL);
3096 if (op == BC_JITERL) {
3097 dasm_put(Dst, 16941, BC_JLOOP);
3098 } else {
3099 dasm_put(Dst, 16955, -BCBIAS_J*4);
3100 }
3101 dasm_put(Dst, 11544);
3102 break;
3103
3104 case BC_LOOP:
3105#if LJ_HASJIT
3106 dasm_put(Dst, 16507, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
3107#endif
3108 break;
3109
3110 case BC_ILOOP:
3111 dasm_put(Dst, 11546);
3112 break;
3113
3114 case BC_JLOOP:
3115#if LJ_HASJIT
3116 dasm_put(Dst, 16971, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
3117#endif
3118 break;
3119
3120 case BC_JMP:
3121 dasm_put(Dst, 16994, -BCBIAS_J*4);
3122 break;
3123
3124 /* -- Function headers -------------------------------------------------- */
3125
3126 /*
3127 ** Reminder: A function may be called with func/args above L->maxstack,
3128 ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot,
3129 ** too. This means all FUNC* ops (including fast functions) must check
3130 ** for stack overflow _before_ adding more slots!
3131 */
3132
3133 case BC_FUNCF:
3134#if LJ_HASJIT
3135 dasm_put(Dst, 17018, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_CALL);
3136#endif
3137 case BC_FUNCV: /* NYI: compiled vararg functions. */
3138 break;
3139
3140 case BC_JFUNCF:
3141#if !LJ_HASJIT
3142 break;
3143#endif
3144 case BC_IFUNCF:
3145 dasm_put(Dst, 17039, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
3146 if (op == BC_JFUNCF) {
3147 dasm_put(Dst, 17069, BC_JLOOP);
3148 } else {
3149 dasm_put(Dst, 11546);
3150 }
3151 dasm_put(Dst, 17078, LJ_TNIL);
3152 break;
3153
3154 case BC_JFUNCV:
3155#if !LJ_HASJIT
3156 break;
3157#endif
3158 dasm_put(Dst, 10445);
3159 break; /* NYI: compiled vararg functions. */
3160
3161 case BC_IFUNCV:
3162 dasm_put(Dst, 17100, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
3163 if (op == BC_JFUNCV) {
3164 dasm_put(Dst, 17069, BC_JLOOP);
3165 } else {
3166 dasm_put(Dst, 17191, -4+PC2PROTO(k));
3167 }
3168 dasm_put(Dst, 17213, LJ_TNIL);
3169 break;
3170
3171 case BC_FUNCC:
3172 case BC_FUNCCW:
3173 dasm_put(Dst, 17235, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
3174 if (op == BC_FUNCC) {
3175 dasm_put(Dst, 17264);
3176 } else {
3177 dasm_put(Dst, 17268);
3178 }
3179 dasm_put(Dst, 17276, DISPATCH_GL(vmstate), ~LJ_VMST_C);
3180 if (op == BC_FUNCC) {
3181 dasm_put(Dst, 17285);
3182 } else {
3183 dasm_put(Dst, 17289, DISPATCH_GL(wrapf));
3184 }
3185 dasm_put(Dst, 17294, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
3186 break;
3187
3188 /* ---------------------------------------------------------------------- */
3189
3190 default:
3191 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
3192 exit(2);
3193 break;
3194 }
3195}
3196
3197static int build_backend(BuildCtx *ctx)
3198{
3199 int op;
3200 int cmov = 1;
3201 int sse = 0;
3202#ifdef LUAJIT_CPU_NOCMOV
3203 cmov = 0;
3204#endif
3205#if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
3206 sse = 1;
3207#endif
3208
3209 dasm_growpc(Dst, BC__MAX);
3210
3211 build_subroutines(ctx, cmov, sse);
3212
3213 dasm_put(Dst, 17319);
3214 for (op = 0; op < BC__MAX; op++)
3215 build_ins(ctx, (BCOp)op, op, cmov, sse);
3216
3217 return BC__MAX;
3218}
3219
3220/* Emit pseudo frame-info for all assembler functions. */
3221static void emit_asm_debug(BuildCtx *ctx)
3222{
3223 int fcofs = (int)((uint8_t *)ctx->glob[GLOB_vm_ffi_call] - ctx->code);
3224#if LJ_64
3225#define SZPTR "8"
3226#define BSZPTR "3"
3227#define REG_SP "0x7"
3228#define REG_RA "0x10"
3229#else
3230#define SZPTR "4"
3231#define BSZPTR "2"
3232#define REG_SP "0x4"
3233#define REG_RA "0x8"
3234#endif
3235 switch (ctx->mode) {
3236 case BUILD_elfasm:
3237 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
3238 fprintf(ctx->fp,
3239 ".Lframe0:\n"
3240 "\t.long .LECIE0-.LSCIE0\n"
3241 ".LSCIE0:\n"
3242 "\t.long 0xffffffff\n"
3243 "\t.byte 0x1\n"
3244 "\t.string \"\"\n"
3245 "\t.uleb128 0x1\n"
3246 "\t.sleb128 -" SZPTR "\n"
3247 "\t.byte " REG_RA "\n"
3248 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3249 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3250 "\t.align " SZPTR "\n"
3251 ".LECIE0:\n\n");
3252 fprintf(ctx->fp,
3253 ".LSFDE0:\n"
3254 "\t.long .LEFDE0-.LASFDE0\n"
3255 ".LASFDE0:\n"
3256 "\t.long .Lframe0\n"
3257#if LJ_64
3258 "\t.quad .Lbegin\n"
3259 "\t.quad %d\n"
3260 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3261 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3262 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3263 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3264 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3265#else
3266 "\t.long .Lbegin\n"
3267 "\t.long %d\n"
3268 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3269 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3270 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3271 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3272 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3273#endif
3274 "\t.align " SZPTR "\n"
3275 ".LEFDE0:\n\n", fcofs, CFRAME_SIZE);
3276#if LJ_HASFFI
3277 fprintf(ctx->fp,
3278 ".LSFDE1:\n"
3279 "\t.long .LEFDE1-.LASFDE1\n"
3280 ".LASFDE1:\n"
3281 "\t.long .Lframe0\n"
3282#if LJ_64
3283 "\t.quad lj_vm_ffi_call\n"
3284 "\t.quad %d\n"
3285 "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */
3286 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3287 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3288 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3289#else
3290 "\t.long lj_vm_ffi_call\n"
3291 "\t.long %d\n"
3292 "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */
3293 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3294 "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */
3295 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */
3296#endif
3297 "\t.align " SZPTR "\n"
3298 ".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
3299#endif
3300#if (defined(__sun__) && defined(__svr4__)) || defined(__solaris_)
3301 fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
3302#else
3303 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
3304#endif
3305 fprintf(ctx->fp,
3306 ".Lframe1:\n"
3307 "\t.long .LECIE1-.LSCIE1\n"
3308 ".LSCIE1:\n"
3309 "\t.long 0\n"
3310 "\t.byte 0x1\n"
3311 "\t.string \"zPR\"\n"
3312 "\t.uleb128 0x1\n"
3313 "\t.sleb128 -" SZPTR "\n"
3314 "\t.byte " REG_RA "\n"
3315 "\t.uleb128 6\n" /* augmentation length */
3316 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3317 "\t.long lj_err_unwind_dwarf-.\n"
3318 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3319 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3320 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3321 "\t.align " SZPTR "\n"
3322 ".LECIE1:\n\n");
3323 fprintf(ctx->fp,
3324 ".LSFDE2:\n"
3325 "\t.long .LEFDE2-.LASFDE2\n"
3326 ".LASFDE2:\n"
3327 "\t.long .LASFDE2-.Lframe1\n"
3328 "\t.long .Lbegin-.\n"
3329 "\t.long %d\n"
3330 "\t.uleb128 0\n" /* augmentation length */
3331 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3332#if LJ_64
3333 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3334 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3335 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3336 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3337#else
3338 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3339 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3340 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3341 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3342#endif
3343 "\t.align " SZPTR "\n"
3344 ".LEFDE2:\n\n", fcofs, CFRAME_SIZE);
3345#if LJ_HASFFI
3346 fprintf(ctx->fp,
3347 ".Lframe2:\n"
3348 "\t.long .LECIE2-.LSCIE2\n"
3349 ".LSCIE2:\n"
3350 "\t.long 0\n"
3351 "\t.byte 0x1\n"
3352 "\t.string \"zR\"\n"
3353 "\t.uleb128 0x1\n"
3354 "\t.sleb128 -" SZPTR "\n"
3355 "\t.byte " REG_RA "\n"
3356 "\t.uleb128 1\n" /* augmentation length */
3357 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3358 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3359 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3360 "\t.align " SZPTR "\n"
3361 ".LECIE2:\n\n");
3362 fprintf(ctx->fp,
3363 ".LSFDE3:\n"
3364 "\t.long .LEFDE3-.LASFDE3\n"
3365 ".LASFDE3:\n"
3366 "\t.long .LASFDE3-.Lframe2\n"
3367 "\t.long lj_vm_ffi_call-.\n"
3368 "\t.long %d\n"
3369 "\t.uleb128 0\n" /* augmentation length */
3370#if LJ_64
3371 "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */
3372 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3373 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3374 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3375#else
3376 "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */
3377 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3378 "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */
3379 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */
3380#endif
3381 "\t.align " SZPTR "\n"
3382 ".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
3383#endif
3384 break;
3385 case BUILD_coffasm:
3386 fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n");
3387 fprintf(ctx->fp,
3388 "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n",
3389 LJ_32 ? "_" : "");
3390 fprintf(ctx->fp,
3391 "Lframe1:\n"
3392 "\t.long LECIE1-LSCIE1\n"
3393 "LSCIE1:\n"
3394 "\t.long 0\n"
3395 "\t.byte 0x1\n"
3396 "\t.string \"zP\"\n"
3397 "\t.uleb128 0x1\n"
3398 "\t.sleb128 -" SZPTR "\n"
3399 "\t.byte " REG_RA "\n"
3400 "\t.uleb128 5\n" /* augmentation length */
3401 "\t.byte 0x00\n" /* absptr */
3402 "\t.long %slj_err_unwind_dwarf\n"
3403 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3404 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3405 "\t.align " SZPTR "\n"
3406 "LECIE1:\n\n", LJ_32 ? "_" : "");
3407 fprintf(ctx->fp,
3408 "LSFDE1:\n"
3409 "\t.long LEFDE1-LASFDE1\n"
3410 "LASFDE1:\n"
3411 "\t.long LASFDE1-Lframe1\n"
3412 "\t.long %slj_vm_asm_begin\n"
3413 "\t.long %d\n"
3414 "\t.uleb128 0\n" /* augmentation length */
3415 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3416#if LJ_64
3417 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3418 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3419 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3420 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3421#else
3422 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3423 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3424 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3425 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3426#endif
3427 "\t.align " SZPTR "\n"
3428 "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE);
3429 break;
3430 /* Mental note: never let Apple design an assembler.
3431 ** Or a linker. Or a plastic case. But I digress.
3432 */
3433 case BUILD_machasm: {
3434#if LJ_HASFFI
3435 int fcsize = 0;
3436#endif
3437 int i;
3438 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
3439 fprintf(ctx->fp,
3440 "EH_frame1:\n"
3441 "\t.set L$set$x,LECIEX-LSCIEX\n"
3442 "\t.long L$set$x\n"
3443 "LSCIEX:\n"
3444 "\t.long 0\n"
3445 "\t.byte 0x1\n"
3446 "\t.ascii \"zPR\\0\"\n"
3447 "\t.byte 0x1\n"
3448 "\t.byte 128-" SZPTR "\n"
3449 "\t.byte " REG_RA "\n"
3450 "\t.byte 6\n" /* augmentation length */
3451 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
3452#if LJ_64
3453 "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n"
3454 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3455 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3456#else
3457 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
3458 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3459 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
3460#endif
3461 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3462 "\t.align " BSZPTR "\n"
3463 "LECIEX:\n\n");
3464 for (i = 0; i < ctx->nsym; i++) {
3465 const char *name = ctx->sym[i].name;
3466 int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
3467 if (size == 0) continue;
3468#if LJ_HASFFI
3469 if (!strcmp(name, "_lj_vm_ffi_call")) { fcsize = size; continue; }
3470#endif
3471 fprintf(ctx->fp,
3472 "%s.eh:\n"
3473 "LSFDE%d:\n"
3474 "\t.set L$set$%d,LEFDE%d-LASFDE%d\n"
3475 "\t.long L$set$%d\n"
3476 "LASFDE%d:\n"
3477 "\t.long LASFDE%d-EH_frame1\n"
3478 "\t.long %s-.\n"
3479 "\t.long %d\n"
3480 "\t.byte 0\n" /* augmentation length */
3481 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
3482#if LJ_64
3483 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3484 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3485 "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */
3486 "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */
3487#else
3488 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3489 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
3490 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
3491 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
3492#endif
3493 "\t.align " BSZPTR "\n"
3494 "LEFDE%d:\n\n",
3495 name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i);
3496 }
3497#if LJ_HASFFI
3498 if (fcsize) {
3499 fprintf(ctx->fp,
3500 "EH_frame2:\n"
3501 "\t.set L$set$y,LECIEY-LSCIEY\n"
3502 "\t.long L$set$y\n"
3503 "LSCIEY:\n"
3504 "\t.long 0\n"
3505 "\t.byte 0x1\n"
3506 "\t.ascii \"zR\\0\"\n"
3507 "\t.byte 0x1\n"
3508 "\t.byte 128-" SZPTR "\n"
3509 "\t.byte " REG_RA "\n"
3510 "\t.byte 1\n" /* augmentation length */
3511#if LJ_64
3512 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3513 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3514#else
3515 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3516 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH. */
3517#endif
3518 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3519 "\t.align " BSZPTR "\n"
3520 "LECIEY:\n\n");
3521 fprintf(ctx->fp,
3522 "_lj_vm_ffi_call.eh:\n"
3523 "LSFDEY:\n"
3524 "\t.set L$set$yy,LEFDEY-LASFDEY\n"
3525 "\t.long L$set$yy\n"
3526 "LASFDEY:\n"
3527 "\t.long LASFDEY-EH_frame2\n"
3528 "\t.long _lj_vm_ffi_call-.\n"
3529 "\t.long %d\n"
3530 "\t.byte 0\n" /* augmentation length */
3531#if LJ_64
3532 "\t.byte 0xe\n\t.byte 16\n" /* def_cfa_offset */
3533 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3534 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3535 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3536#else
3537 "\t.byte 0xe\n\t.byte 8\n" /* def_cfa_offset */
3538 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3539 "\t.byte 0xd\n\t.uleb128 0x4\n" /* def_cfa_register ebp */
3540 "\t.byte 0x83\n\t.byte 0x3\n" /* offset ebx */
3541#endif
3542 "\t.align " BSZPTR "\n"
3543 "LEFDEY:\n\n", fcsize);
3544 }
3545#endif
3546#if LJ_64
3547 fprintf(ctx->fp, "\t.subsections_via_symbols\n");
3548#else
3549 fprintf(ctx->fp,
3550 "\t.non_lazy_symbol_pointer\n"
3551 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
3552 ".indirect_symbol _lj_err_unwind_dwarf\n"
3553 ".long 0\n");
3554#endif
3555 }
3556 break;
3557 default: /* Difficult for other modes. */
3558 break;
3559 }
3560}
3561