summaryrefslogtreecommitdiff
path: root/src/buildvm_x64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildvm_x64.h')
-rw-r--r--src/buildvm_x64.h2314
1 files changed, 2314 insertions, 0 deletions
diff --git a/src/buildvm_x64.h b/src/buildvm_x64.h
new file mode 100644
index 00000000..76c640da
--- /dev/null
+++ b/src/buildvm_x64.h
@@ -0,0 +1,2314 @@
1/*
2** This file has been pre-processed with DynASM.
3** http://luajit.org/dynasm.html
4** DynASM version 1.2.1, DynASM x64 version 1.2.1
5** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
6*/
7
8#if DASM_VERSION != 10201
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[13633] = {
16 254,1,248,10,137,202,139,173,233,137,90,252,252,15,182,141,233,139,157,233,
17 68,139,189,233,139,108,36,16,141,12,202,141,68,194,252,252,59,141,233,15,
18 135,244,11,248,9,189,237,248,1,137,40,137,104,8,131,192,16,57,200,15,130,
19 244,1,255,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
20 252,238,248,12,137,89,252,252,141,28,197,237,141,148,253,25,233,137,106,252,
21 248,139,173,233,137,90,252,252,15,182,157,233,68,141,60,218,139,92,36,16,
22 141,66,4,68,59,187,233,15,135,244,13,15,182,157,233,133,219,15,132,244,248,
23 248,1,131,193,8,57,209,15,131,244,248,68,139,121,252,248,68,137,120,252,252,
24 68,139,121,252,252,68,137,56,131,192,8,199,65,252,252,237,131,252,235,1,15,
25 133,244,1,248,2,15,182,141,233,139,157,233,255,68,139,189,233,141,12,202,
26 252,233,244,9,248,14,137,89,252,252,76,139,189,233,139,108,36,16,141,68,193,
27 252,248,137,141,233,141,136,233,137,133,233,59,141,233,76,137,252,254,137,
28 252,239,15,135,244,15,65,199,134,233,237,65,252,255,150,233,65,199,134,233,
29 237,139,149,233,141,12,194,252,247,217,3,141,233,248,16,131,192,1,137,68,
30 36,4,252,247,195,237,255,15,132,244,17,252,233,244,18,248,19,137,89,252,252,
31 76,139,189,233,139,108,36,16,141,68,193,252,248,137,141,233,141,136,233,137,
32 133,233,59,141,233,137,252,239,15,135,244,15,65,199,134,233,237,65,252,255,
33 215,65,199,134,233,237,139,149,233,141,12,194,252,247,217,3,141,233,248,16,
34 131,192,1,137,68,36,4,252,247,195,237,255,15,132,244,17,248,18,252,247,195,
35 237,15,132,244,20,65,199,134,233,237,131,227,252,248,41,211,252,247,219,131,
36 232,1,15,132,244,248,248,1,139,44,10,137,106,252,248,139,108,10,4,137,106,
37 252,252,131,194,8,131,232,1,15,133,244,1,248,2,139,108,36,16,137,157,233,
38 248,3,139,68,36,4,139,76,36,8,248,4,57,193,15,133,244,252,248,5,255,131,252,
39 234,8,137,149,233,248,21,72,139,76,36,32,72,137,141,233,49,192,248,22,72,
40 131,196,40,65,94,65,95,91,93,195,248,6,15,130,244,253,59,149,233,15,135,244,
41 254,199,66,252,252,237,131,194,8,131,192,1,252,233,244,4,248,7,133,201,15,
42 132,244,5,41,193,141,20,202,252,233,244,5,248,8,137,149,233,255,137,68,36,
43 4,137,206,137,252,239,232,251,1,0,139,149,233,252,233,244,3,248,23,137,252,
44 240,72,137,252,252,248,24,139,108,36,16,139,173,233,199,133,233,237,252,233,
45 244,22,248,25,72,129,231,239,72,137,252,252,248,26,139,108,36,16,72,199,193,
46 252,248,252,255,252,255,252,255,184,237,139,149,233,68,139,181,233,65,129,
47 198,239,139,90,252,252,199,66,252,252,237,65,199,134,233,237,255,252,233,
48 244,16,248,20,252,247,195,237,15,132,244,27,131,227,252,248,41,218,72,141,
49 76,25,252,248,139,90,252,252,199,68,10,4,237,252,233,244,16,248,15,190,237,
50 252,233,244,247,248,13,131,232,8,137,202,68,137,252,249,139,157,233,139,108,
51 36,16,248,11,131,232,4,41,209,193,252,233,3,131,195,4,137,149,233,137,133,
52 233,137,92,36,20,137,206,248,1,137,252,239,232,251,1,0,139,141,233,255,139,
53 133,233,139,105,252,248,139,89,252,252,41,200,193,232,3,131,192,1,252,255,
54 165,233,248,28,85,83,65,87,65,86,72,131,252,236,40,137,252,253,137,124,36,
55 16,137,252,241,187,237,49,192,76,141,188,253,36,233,68,139,181,233,65,129,
56 198,239,76,137,189,233,137,68,36,20,72,137,68,36,32,137,68,36,8,137,68,36,
57 12,56,133,233,15,132,244,249,65,199,134,233,237,136,133,233,139,149,233,139,
58 133,233,41,200,193,232,3,131,192,1,41,209,139,90,252,252,137,68,36,4,252,
59 247,195,237,15,132,244,17,252,233,244,18,248,29,255,85,83,65,87,65,86,72,
60 131,252,236,40,187,237,137,76,36,12,252,233,244,247,248,30,85,83,65,87,65,
61 86,72,131,252,236,40,187,237,248,1,137,84,36,8,137,252,253,137,124,36,16,
62 137,252,241,248,2,76,139,189,233,76,137,124,36,32,137,108,36,20,72,137,165,
63 233,68,139,181,233,65,129,198,239,248,3,65,199,134,233,237,139,149,233,1,
64 203,41,211,139,133,233,41,200,193,232,3,131,192,1,139,105,252,248,129,121,
65 253,252,252,239,15,133,244,31,252,255,165,233,248,32,255,85,83,65,87,65,86,
66 72,131,252,236,40,137,252,253,137,124,36,16,137,108,36,20,68,139,189,233,
67 68,43,189,233,199,68,36,12,0,0,0,0,68,137,124,36,8,76,139,189,233,76,137,
68 124,36,32,72,137,165,233,252,255,209,133,192,15,132,244,21,137,193,187,237,
69 252,233,244,2,248,27,1,209,131,227,252,248,137,213,41,218,199,68,193,252,
70 252,237,137,200,139,93,252,244,72,99,77,252,240,76,141,61,245,76,1,252,249,
71 68,139,122,252,248,69,139,191,233,69,139,191,233,252,255,225,248,33,15,182,
72 75,252,255,131,252,237,16,141,12,202,41,252,233,15,132,244,34,252,247,217,
73 193,252,233,3,139,124,36,16,137,151,233,137,202,139,72,4,139,0,137,77,4,137,
74 69,0,137,252,238,252,233,244,35,248,36,255,137,4,36,199,68,36,4,237,72,141,
75 4,36,128,123,252,252,235,15,133,244,247,65,141,142,233,137,41,199,65,4,237,
76 137,205,252,233,244,248,248,37,15,182,67,252,254,255,252,242,15,42,192,252,
77 242,15,17,4,36,255,72,141,4,36,252,233,244,247,248,38,15,182,67,252,254,141,
78 4,194,248,1,15,182,107,252,255,141,44,252,234,248,2,139,124,36,16,137,151,
79 233,137,252,238,72,137,194,137,252,253,137,92,36,20,232,251,1,1,139,149,233,
80 133,192,15,132,244,249,248,34,15,182,75,252,253,139,104,4,139,0,137,108,202,
81 4,137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
82 252,238,248,3,139,141,233,137,89,252,244,141,153,233,41,211,139,105,252,248,
83 184,3,0,0,0,252,255,165,233,248,39,137,4,36,199,68,36,4,237,72,141,4,36,128,
84 123,252,252,235,15,133,244,247,65,141,142,233,255,137,41,199,65,4,237,137,
85 205,252,233,244,248,248,40,15,182,67,252,254,255,72,141,4,36,252,233,244,
86 247,248,41,15,182,67,252,254,141,4,194,248,1,15,182,107,252,255,141,44,252,
87 234,248,2,139,124,36,16,137,151,233,137,252,238,72,137,194,137,252,253,137,
88 92,36,20,232,251,1,2,139,149,233,133,192,15,132,244,249,15,182,75,252,253,
89 139,108,202,4,139,12,202,137,104,4,137,8,248,42,139,3,15,182,204,15,182,232,
90 131,195,4,193,232,16,65,252,255,36,252,238,248,3,139,141,233,137,89,252,244,
91 15,182,67,252,253,139,108,194,4,139,4,194,137,105,20,137,65,16,141,153,233,
92 41,211,139,105,252,248,184,4,0,0,0,252,255,165,233,248,43,139,108,36,16,137,
93 149,233,141,52,202,141,20,194,137,252,239,15,182,75,252,252,137,92,36,20,
94 232,251,1,3,248,3,139,149,233,131,252,248,1,15,135,244,44,248,4,255,141,91,
95 4,15,130,244,252,248,5,15,183,67,252,254,141,156,253,131,233,248,6,139,3,
96 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,45,131,
97 195,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,46,129,120,253,4,239,
98 252,233,244,4,248,47,131,252,235,4,137,206,137,252,233,139,108,36,16,137,
99 149,233,137,194,137,252,239,137,92,36,20,232,251,1,4,252,233,244,3,248,48,
100 255,65,141,4,199,252,233,244,247,248,49,65,141,4,199,141,44,252,234,149,252,
101 233,244,248,248,50,141,4,194,137,197,252,233,244,248,248,51,141,4,194,248,
102 1,141,44,252,234,248,2,141,12,202,68,15,182,67,252,252,137,206,137,193,139,
103 124,36,16,137,151,233,137,252,234,137,252,253,137,92,36,20,232,251,1,5,139,
104 149,233,133,192,15,132,244,42,248,44,137,193,41,208,137,89,252,244,141,152,
105 233,139,105,252,248,184,3,0,0,0,129,121,253,252,252,239,15,133,244,31,255,
106 252,255,165,233,248,52,139,108,36,16,137,149,233,141,52,194,137,252,239,137,
107 92,36,20,232,251,1,6,139,149,233,252,233,244,44,248,31,137,76,36,4,137,4,
108 36,131,252,233,8,139,108,36,16,137,149,233,137,206,141,20,193,137,252,239,
109 137,92,36,20,232,251,1,7,139,149,233,139,76,36,4,139,4,36,139,105,252,248,
110 131,192,1,65,57,215,15,132,244,53,252,255,165,233,248,54,139,108,36,16,137,
111 149,233,137,206,137,252,239,137,92,36,20,232,251,1,8,139,149,233,139,67,252,
112 252,15,182,204,15,182,232,193,232,16,65,252,255,164,253,252,238,233,248,55,
113 129,252,248,239,15,130,244,56,255,139,105,4,129,252,253,239,15,131,244,56,
114 137,68,36,4,137,105,252,252,139,41,137,105,252,248,131,232,2,15,132,244,248,
115 137,12,36,248,1,131,193,8,139,105,4,137,105,252,252,139,41,137,105,252,248,
116 131,232,1,15,133,244,1,139,12,36,248,2,139,68,36,4,252,233,244,57,248,58,
117 129,252,248,239,15,130,244,56,139,105,4,184,237,252,247,213,57,232,255,15,
118 71,197,255,15,134,244,247,137,232,248,1,255,139,105,252,248,139,132,253,197,
119 233,199,65,252,252,237,137,65,252,248,252,233,244,59,248,60,129,252,248,239,
120 15,130,244,56,139,105,4,129,252,253,239,15,133,244,252,248,1,139,41,139,173,
121 233,248,2,133,252,237,199,65,252,252,237,15,132,244,59,139,65,252,248,65,
122 139,134,233,199,65,252,252,237,137,105,252,248,137,12,36,139,141,233,255,
123 35,136,233,105,201,239,3,141,233,248,3,129,185,233,239,15,133,244,250,57,
124 129,233,15,132,244,251,248,4,139,137,233,133,201,15,133,244,3,252,233,244,
125 59,248,5,139,105,4,129,252,253,239,15,132,244,59,255,139,1,139,12,36,137,
126 105,252,252,137,65,252,248,252,233,244,59,248,6,129,252,253,239,15,132,244,
127 1,129,252,253,239,15,135,244,253,189,237,248,7,252,247,213,65,139,172,253,
128 174,233,252,233,244,2,248,61,129,252,248,239,15,130,244,56,129,121,253,4,
129 239,15,133,244,56,255,139,41,131,189,233,0,15,133,244,56,129,121,253,12,239,
130 15,133,244,56,139,65,8,137,133,233,199,65,252,252,237,137,105,252,248,252,
131 246,133,233,235,15,132,244,247,128,165,233,235,65,139,134,233,65,137,174,
132 233,137,133,233,248,1,252,233,244,59,248,62,255,129,252,248,239,15,130,244,
133 56,129,121,253,4,239,15,133,244,56,137,20,36,137,205,139,49,141,81,8,139,
134 124,36,16,232,251,1,9,137,252,233,139,20,36,139,40,139,64,4,137,105,252,248,
135 137,65,252,252,252,233,244,59,248,63,129,252,248,239,15,133,244,56,129,121,
136 253,4,239,15,135,244,56,255,252,242,15,16,1,252,233,244,64,255,221,1,252,
137 233,244,65,255,248,66,129,252,248,239,15,130,244,56,129,121,253,4,239,15,
138 133,244,249,139,1,248,2,199,65,252,252,237,137,65,252,248,252,233,244,59,
139 248,3,129,121,253,4,239,15,135,244,56,65,131,190,233,0,15,133,244,56,65,139,
140 174,233,65,59,174,233,255,15,130,244,247,232,244,67,248,1,139,108,36,16,137,
141 141,233,137,89,252,252,137,92,36,20,137,20,36,137,206,137,252,239,232,251,
142 1,10,139,141,233,139,20,36,252,233,244,2,248,68,129,252,248,239,15,130,244,
143 56,15,132,244,248,248,1,129,121,253,4,239,15,133,244,56,137,20,36,139,49,
144 139,108,36,16,137,141,233,255,137,89,252,252,141,81,8,137,252,239,137,92,
145 36,20,232,251,1,11,139,141,233,139,20,36,133,192,15,132,244,249,139,105,8,
146 139,65,12,137,105,252,248,137,65,252,252,139,105,16,139,65,20,137,41,137,
147 65,4,248,69,184,237,252,233,244,70,248,2,199,65,12,237,252,233,244,1,248,
148 3,199,65,252,252,237,252,233,244,59,248,71,129,252,248,239,15,130,244,56,
149 129,121,253,4,239,255,15,133,244,56,139,133,233,199,65,252,252,237,137,65,
150 252,248,199,65,12,237,184,237,252,233,244,70,248,72,129,252,248,239,15,130,
151 244,56,129,121,253,4,239,15,133,244,56,129,121,253,12,239,15,135,244,56,255,
152 252,242,15,16,65,8,72,189,237,237,102,72,15,110,205,252,242,15,88,193,252,
153 242,15,45,192,252,242,15,17,65,252,248,255,139,41,59,133,233,15,131,244,248,
154 193,224,3,3,133,233,248,1,129,120,253,4,239,15,132,244,73,139,40,139,64,4,
155 137,41,137,65,4,252,233,244,69,248,2,131,189,233,0,15,132,244,73,137,20,36,
156 137,252,239,137,205,137,198,232,251,1,12,137,252,233,139,20,36,133,192,15,
157 133,244,1,248,73,184,237,252,233,244,70,248,74,255,129,252,248,239,15,130,
158 244,56,129,121,253,4,239,15,133,244,56,139,133,233,199,65,252,252,237,137,
159 65,252,248,255,15,87,192,252,242,15,17,65,8,255,217,252,238,221,89,8,255,
160 184,237,252,233,244,70,248,75,129,252,248,239,15,130,244,56,137,89,252,252,
161 187,237,137,202,131,193,8,131,232,1,139,105,252,248,248,1,65,252,246,134,
162 233,235,15,133,244,249,248,2,129,121,253,252,252,239,15,133,244,31,252,255,
163 165,233,248,3,131,195,1,252,233,244,2,248,76,255,129,252,248,239,15,130,244,
164 56,129,121,253,12,239,15,133,244,56,137,89,252,252,139,105,4,137,105,12,199,
165 65,4,237,139,41,139,89,8,137,105,8,137,25,187,237,137,202,129,193,239,131,
166 232,2,252,233,244,1,248,9,139,92,36,20,252,233,244,56,248,77,129,252,248,
167 239,15,130,244,56,139,41,137,89,252,252,137,92,36,20,137,44,36,129,121,253,
168 4,239,15,133,244,9,255,72,131,189,233,0,15,133,244,9,128,189,233,235,15,135,
169 244,9,139,157,233,137,92,36,4,15,132,244,247,59,157,233,15,132,244,9,248,
170 1,141,92,195,252,240,59,157,233,15,135,244,9,137,157,233,139,108,36,16,137,
171 141,233,131,193,8,137,141,233,255,139,108,36,4,141,76,193,232,72,41,217,57,
172 252,235,15,132,244,249,248,2,139,68,11,4,137,67,252,252,139,4,11,137,67,252,
173 248,131,252,235,8,57,252,235,15,133,244,2,248,3,139,60,36,139,116,36,4,232,
174 244,28,65,199,134,233,237,139,108,36,16,139,28,36,139,149,233,129,252,248,
175 239,15,135,244,254,248,4,139,139,233,68,139,187,233,137,139,233,68,137,252,
176 251,41,203,15,132,244,252,255,141,4,26,193,252,235,3,59,133,233,15,135,244,
177 255,137,213,72,41,205,248,5,139,1,137,4,41,139,65,4,137,68,41,4,131,193,8,
178 68,57,252,249,15,133,244,5,248,6,141,67,2,199,66,252,252,237,248,7,139,92,
179 36,20,137,68,36,4,72,199,193,252,248,252,255,252,255,252,255,252,247,195,
180 237,15,132,244,17,252,233,244,18,248,8,199,66,252,252,237,139,139,233,131,
181 252,233,8,137,139,233,139,1,137,2,139,65,4,137,66,4,184,237,252,233,244,7,
182 248,9,255,139,12,36,68,137,185,233,137,222,137,252,239,232,251,1,0,139,149,
183 233,252,233,244,4,248,9,139,92,36,20,252,233,244,56,248,78,139,173,233,137,
184 89,252,252,137,92,36,20,137,44,36,72,131,189,233,0,15,133,244,9,128,189,233,
185 235,15,135,244,9,139,157,233,137,92,36,4,15,132,244,247,59,157,233,255,15,
186 132,244,9,248,1,141,92,195,252,248,59,157,233,15,135,244,9,137,157,233,139,
187 108,36,16,137,141,233,137,141,233,139,108,36,4,141,76,193,252,240,72,41,217,
188 57,252,235,15,132,244,249,248,2,139,68,11,4,137,67,252,252,139,4,11,137,67,
189 252,248,131,252,235,8,57,252,235,15,133,244,2,248,3,139,60,36,139,116,36,
190 4,232,244,28,65,199,134,233,237,139,108,36,16,139,28,36,139,149,233,255,129,
191 252,248,239,15,135,244,254,248,4,139,139,233,68,139,187,233,137,139,233,68,
192 137,252,251,41,203,15,132,244,252,141,4,26,193,252,235,3,59,133,233,15,135,
193 244,255,137,213,72,41,205,248,5,139,1,137,4,41,139,65,4,137,68,41,4,131,193,
194 8,68,57,252,249,15,133,244,5,248,6,141,67,1,248,7,139,92,36,20,137,68,36,
195 4,49,201,252,247,195,237,15,132,244,17,255,252,233,244,18,248,8,137,222,137,
196 252,239,232,251,1,13,248,9,139,12,36,68,137,185,233,137,222,137,252,239,232,
197 251,1,0,139,149,233,252,233,244,4,248,79,139,108,36,16,137,89,252,252,72,
198 252,247,133,233,237,15,132,244,56,137,141,233,141,68,193,252,248,137,133,
199 233,49,192,72,137,133,233,176,235,136,133,233,252,233,244,22,255,248,65,221,
200 89,252,248,252,233,244,59,248,80,129,252,248,239,15,130,244,56,129,121,253,
201 4,239,15,135,244,56,252,242,15,16,1,72,184,237,237,102,72,15,110,200,15,84,
202 193,248,64,252,242,15,17,65,252,248,255,248,80,129,252,248,239,15,130,244,
203 56,129,121,253,4,239,15,135,244,56,221,1,217,225,248,64,248,65,221,89,252,
204 248,255,248,59,184,237,248,70,137,68,36,4,248,57,252,247,195,237,15,133,244,
205 253,248,5,56,67,252,255,15,135,244,252,139,3,15,182,204,15,182,232,131,195,
206 4,193,232,16,65,252,255,36,252,238,248,6,199,68,193,252,244,237,131,192,1,
207 252,233,244,5,248,7,137,202,72,199,193,252,248,252,255,252,255,252,255,252,
208 233,244,18,255,248,81,129,252,248,239,15,130,244,56,129,121,253,4,239,15,
209 135,244,56,252,242,15,81,1,252,233,244,64,248,82,129,252,248,239,15,130,244,
210 56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,232,244,83,252,233,244,
211 64,248,84,255,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
212 56,252,242,15,16,1,232,244,85,252,233,244,64,255,248,81,129,252,248,239,15,
213 130,244,56,129,121,253,4,239,15,135,244,56,221,1,217,252,250,252,233,244,
214 65,248,82,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,221,
215 1,232,244,83,252,233,244,65,248,84,255,129,252,248,239,15,130,244,56,129,
216 121,253,4,239,15,135,244,56,221,1,232,244,85,252,233,244,65,255,248,86,129,
217 252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,217,252,237,221,
218 1,217,252,241,252,233,244,65,248,87,129,252,248,239,15,130,244,56,129,121,
219 253,4,239,15,135,244,56,217,252,236,221,1,217,252,241,252,233,244,65,248,
220 88,129,252,248,239,255,15,130,244,56,129,121,253,4,239,15,135,244,56,221,
221 1,232,244,89,252,233,244,65,248,90,129,252,248,239,15,130,244,56,129,121,
222 253,4,239,15,135,244,56,221,1,217,252,254,252,233,244,65,248,91,129,252,248,
223 239,255,15,130,244,56,129,121,253,4,239,15,135,244,56,221,1,217,252,255,252,
224 233,244,65,248,92,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,
225 244,56,221,1,217,252,242,221,216,252,233,244,65,248,93,129,252,248,239,15,
226 130,244,56,255,129,121,253,4,239,15,135,244,56,221,1,217,192,216,200,217,
227 232,222,225,217,252,250,217,252,243,252,233,244,65,248,94,129,252,248,239,
228 15,130,244,56,129,121,253,4,239,15,135,244,56,221,1,217,192,216,200,217,232,
229 222,225,217,252,250,217,201,217,252,243,252,233,244,65,248,95,129,252,248,
230 239,15,130,244,56,129,121,253,4,239,15,135,244,56,255,221,1,217,232,217,252,
231 243,252,233,244,65,255,248,96,129,252,248,239,15,130,244,56,129,121,253,4,
232 239,15,135,244,56,252,242,15,16,1,255,137,12,36,137,213,232,251,1,14,139,
233 12,36,137,252,234,252,233,244,64,255,248,97,129,252,248,239,15,130,244,56,
234 129,121,253,4,239,15,135,244,56,252,242,15,16,1,255,137,12,36,137,213,232,
235 251,1,15,139,12,36,137,252,234,252,233,244,64,255,248,98,129,252,248,239,
236 15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,255,137,12,
237 36,137,213,232,251,1,16,139,12,36,137,252,234,252,233,244,64,248,99,255,248,
238 100,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,
239 15,16,1,252,242,15,89,133,233,252,233,244,64,255,248,100,129,252,248,239,
240 15,130,244,56,129,121,253,4,239,15,135,244,56,221,1,220,141,233,252,233,244,
241 65,255,248,101,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
242 56,129,121,253,12,239,15,135,244,56,221,1,221,65,8,217,252,243,252,233,244,
243 65,248,102,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,
244 129,121,253,12,239,255,15,135,244,56,221,65,8,221,1,217,252,253,221,217,252,
245 233,244,65,248,103,129,252,248,239,15,130,244,56,139,105,4,129,252,253,239,
246 15,135,244,56,139,1,137,105,252,252,137,65,252,248,209,229,129,252,253,0,
247 0,224,252,255,15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,
248 253,0,0,32,0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,
249 197,255,137,44,36,219,4,36,255,139,105,252,252,129,229,252,255,252,255,15,
250 128,129,205,0,0,224,63,137,105,252,252,248,2,255,252,242,15,17,1,255,221,
251 25,255,184,237,252,233,244,70,248,3,255,15,87,192,252,233,244,2,255,217,252,
252 238,252,233,244,2,255,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,
253 242,15,89,193,252,242,15,17,65,252,248,255,221,1,199,4,36,0,0,128,90,216,
254 12,36,221,89,252,248,255,139,105,252,252,184,52,4,0,0,209,229,252,233,244,
255 1,255,248,104,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
256 56,252,242,15,16,1,255,248,104,129,252,248,239,15,130,244,56,129,121,253,
257 4,239,15,135,244,56,221,1,255,139,105,4,209,229,129,252,253,0,0,224,252,255,
258 15,132,244,250,255,15,40,224,232,244,105,252,242,15,92,224,248,1,252,242,
259 15,17,65,252,248,252,242,15,17,33,255,217,192,232,244,105,220,252,233,248,
260 1,221,89,252,248,221,25,255,139,65,252,252,139,105,4,49,232,15,136,244,249,
261 248,2,184,237,252,233,244,70,248,3,129,252,245,0,0,0,128,137,105,4,252,233,
262 244,2,248,4,255,15,87,228,252,233,244,1,255,217,252,238,217,201,252,233,244,
263 1,255,248,106,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
264 56,129,121,253,12,239,15,135,244,56,221,65,8,221,1,248,1,217,252,248,223,
265 224,158,15,138,244,1,221,217,252,233,244,65,255,248,107,129,252,248,239,15,
266 130,244,56,129,121,253,4,239,15,135,244,56,129,121,253,12,239,15,135,244,
267 56,252,242,15,16,1,252,242,15,16,73,8,232,244,108,252,233,244,64,255,248,
268 107,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,121,
269 253,12,239,15,135,244,56,221,1,221,65,8,232,244,108,252,233,244,65,255,248,
270 109,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,
271 15,16,1,189,2,0,0,0,248,1,57,197,15,131,244,64,129,124,253,252,233,252,252,
272 239,15,135,244,56,252,242,15,16,76,252,233,252,248,252,242,15,93,193,131,
273 197,1,252,233,244,1,255,248,110,129,252,248,239,15,130,244,56,129,121,253,
274 4,239,15,135,244,56,252,242,15,16,1,189,2,0,0,0,248,1,57,197,15,131,244,64,
275 129,124,253,252,233,252,252,239,15,135,244,56,252,242,15,16,76,252,233,252,
276 248,252,242,15,95,193,131,197,1,252,233,244,1,255,248,5,221,216,252,233,244,
277 56,255,248,111,129,252,248,239,15,130,244,56,129,121,253,4,239,15,133,244,
278 56,139,41,255,252,242,15,42,133,233,252,233,244,64,255,219,133,233,252,233,
279 244,65,255,248,112,129,252,248,239,15,133,244,56,129,121,253,4,239,15,133,
280 244,56,139,41,131,189,233,1,15,130,244,73,15,182,173,233,255,252,242,15,42,
281 197,252,233,244,64,255,137,44,36,219,4,36,252,233,244,65,255,248,113,65,139,
282 174,233,65,59,174,233,15,130,244,247,232,244,67,248,1,129,252,248,239,15,
283 133,244,56,129,121,253,4,239,15,135,244,56,255,252,242,15,45,1,61,252,255,
284 0,0,0,15,135,244,56,137,68,36,4,255,221,1,219,92,36,4,129,124,36,4,252,255,
285 0,0,0,15,135,244,56,255,199,68,36,24,1,0,0,0,72,141,68,36,4,137,12,36,248,
286 114,139,108,36,16,137,149,233,139,84,36,24,72,137,198,137,252,239,137,92,
287 36,20,232,251,1,17,139,12,36,139,149,233,199,65,252,252,237,137,65,252,248,
288 252,233,244,59,248,115,65,139,174,233,65,59,174,233,15,130,244,247,232,244,
289 67,248,1,137,12,36,199,68,36,4,252,255,252,255,252,255,252,255,129,252,248,
290 239,15,130,244,56,15,134,244,247,129,121,253,20,239,255,252,242,15,45,105,
291 16,137,108,36,4,255,221,65,16,219,92,36,4,255,248,1,129,121,253,4,239,15,
292 133,244,56,129,121,253,12,239,15,135,244,56,139,41,137,108,36,24,139,173,
293 233,255,252,242,15,45,73,8,255,139,68,36,4,57,197,15,130,244,251,248,2,133,
294 201,15,142,244,253,248,3,139,108,36,24,41,200,15,140,244,116,141,172,253,
295 13,233,131,192,1,248,4,137,68,36,24,137,232,252,233,244,114,248,5,15,140,
296 244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248,7,255,15,
297 132,244,254,1,252,233,131,193,1,15,143,244,3,248,8,185,1,0,0,0,252,233,244,
298 3,248,116,49,192,252,233,244,4,248,117,129,252,248,239,15,130,244,56,65,139,
299 174,233,65,59,174,233,15,130,244,247,232,244,67,248,1,255,137,12,36,129,121,
300 253,4,239,15,133,244,56,129,121,253,12,239,15,135,244,56,139,41,255,252,242,
301 15,45,65,8,255,221,65,8,219,92,36,4,139,68,36,4,255,133,192,15,142,244,116,
302 131,189,233,1,15,130,244,116,15,133,244,118,65,57,134,233,15,130,244,118,
303 15,182,141,233,65,139,174,233,137,68,36,24,248,1,136,77,0,131,197,1,131,232,
304 1,15,133,244,1,65,139,134,233,252,233,244,114,248,119,129,252,248,239,255,
305 15,130,244,56,65,139,174,233,65,59,174,233,15,130,244,247,232,244,67,248,
306 1,137,12,36,129,121,253,4,239,15,133,244,56,139,41,139,133,233,133,192,15,
307 132,244,116,65,57,134,233,15,130,244,120,129,197,239,137,92,36,4,137,68,36,
308 24,65,139,158,233,248,1,255,15,182,77,0,131,197,1,131,232,1,136,12,3,15,133,
309 244,1,137,216,139,92,36,4,252,233,244,114,248,121,129,252,248,239,15,130,
310 244,56,65,139,174,233,65,59,174,233,15,130,244,247,232,244,67,248,1,137,12,
311 36,129,121,253,4,239,15,133,244,56,139,41,139,133,233,65,57,134,233,255,15,
312 130,244,120,129,197,239,137,92,36,4,137,68,36,24,65,139,158,233,252,233,244,
313 249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,249,90,15,135,
314 244,248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,
315 139,92,36,4,252,233,244,114,248,122,129,252,248,239,15,130,244,56,255,65,
316 139,174,233,65,59,174,233,15,130,244,247,232,244,67,248,1,137,12,36,129,121,
317 253,4,239,15,133,244,56,139,41,139,133,233,65,57,134,233,15,130,244,120,129,
318 197,239,137,92,36,4,137,68,36,24,65,139,158,233,252,233,244,249,248,1,15,
319 182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,248,
320 131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,139,92,
321 36,4,252,233,244,114,248,123,129,252,248,239,15,130,244,56,129,121,253,4,
322 239,15,133,244,56,137,20,36,137,205,139,57,232,251,1,18,137,252,233,139,20,
323 36,255,252,242,15,42,192,252,233,244,64,255,248,124,129,252,248,239,15,130,
324 244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,72,189,237,237,102,
325 72,15,110,205,252,242,15,88,193,102,15,126,197,252,242,15,42,197,252,233,
326 244,64,255,248,125,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,
327 244,56,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,
328 102,15,126,197,255,137,68,36,4,141,68,193,252,240,255,137,20,36,255,248,1,
329 57,200,15,134,244,126,129,120,253,4,239,15,135,244,127,255,252,242,15,16,
330 0,252,242,15,88,193,102,15,126,194,33,213,255,131,232,8,252,233,244,1,255,
331 248,128,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,
332 242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,126,
333 197,255,252,242,15,16,0,252,242,15,88,193,102,15,126,194,9,213,255,248,129,
334 129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,
335 16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,126,197,255,
336 252,242,15,16,0,252,242,15,88,193,102,15,126,194,49,213,255,248,130,129,252,
337 248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,72,
338 189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,126,197,255,15,205,
339 252,233,244,131,255,248,132,129,252,248,239,15,130,244,56,129,121,253,4,239,
340 15,135,244,56,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,
341 88,193,102,15,126,197,255,252,247,213,255,248,131,252,242,15,42,197,252,233,
342 244,64,248,126,252,242,15,42,197,139,20,36,252,233,244,64,255,248,127,255,
343 139,68,36,4,252,233,244,56,255,248,133,129,252,248,239,15,130,244,56,129,
344 121,253,4,239,15,135,244,56,129,121,253,12,239,15,135,244,56,252,242,15,16,
345 1,252,242,15,16,73,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
346 242,15,88,202,137,200,102,15,126,197,102,15,126,201,255,211,229,137,193,252,
347 233,244,131,255,248,134,129,252,248,239,15,130,244,56,129,121,253,4,239,15,
348 135,244,56,129,121,253,12,239,15,135,244,56,252,242,15,16,1,252,242,15,16,
349 73,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,
350 137,200,102,15,126,197,102,15,126,201,255,211,252,237,137,193,252,233,244,
351 131,255,248,135,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
352 56,129,121,253,12,239,15,135,244,56,252,242,15,16,1,252,242,15,16,73,8,72,
353 189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,137,200,
354 102,15,126,197,102,15,126,201,255,211,252,253,137,193,252,233,244,131,255,
355 248,136,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,
356 121,253,12,239,15,135,244,56,252,242,15,16,1,252,242,15,16,73,8,72,189,237,
357 237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,137,200,102,15,
358 126,197,102,15,126,201,255,211,197,137,193,252,233,244,131,255,248,137,129,
359 252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,121,253,12,
360 239,15,135,244,56,252,242,15,16,1,252,242,15,16,73,8,72,189,237,237,102,72,
361 15,110,213,252,242,15,88,194,252,242,15,88,202,137,200,102,15,126,197,102,
362 15,126,201,255,211,205,137,193,252,233,244,131,248,118,184,237,252,233,244,
363 56,248,120,184,237,248,56,139,108,36,16,41,202,137,89,252,252,137,92,36,20,
364 137,20,36,137,141,233,141,68,193,252,248,141,144,233,137,133,233,139,65,252,
365 248,59,149,233,15,135,244,251,137,252,239,252,255,144,233,133,192,15,133,
366 244,249,248,1,139,141,233,255,139,133,233,41,200,193,232,3,131,192,1,139,
367 105,252,248,139,20,36,1,202,57,89,252,252,15,133,244,248,252,255,165,233,
368 248,2,129,121,253,252,252,239,15,133,244,31,252,255,165,233,248,3,139,141,
369 233,139,20,36,1,202,252,233,244,70,248,5,190,237,137,252,239,232,251,1,0,
370 252,233,244,1,248,67,93,72,137,108,36,24,139,108,36,16,41,202,137,84,36,4,
371 137,89,252,252,137,92,36,20,137,141,233,141,68,193,252,248,137,252,239,137,
372 133,233,255,232,251,1,19,139,141,233,139,133,233,41,200,193,232,3,131,192,
373 1,139,89,252,252,139,84,36,4,1,202,72,139,108,36,24,85,139,105,252,248,195,
374 248,138,255,65,15,182,134,233,168,235,15,133,244,251,168,235,15,133,244,247,
375 168,235,15,132,244,247,65,252,255,142,233,252,233,244,247,255,248,139,65,
376 15,182,134,233,168,235,15,133,244,251,168,235,15,132,244,251,65,252,255,142,
377 233,15,132,244,247,168,235,15,132,244,251,248,1,139,108,36,16,137,149,233,
378 137,222,137,252,239,232,251,1,20,248,3,139,149,233,248,4,15,182,75,252,253,
379 248,5,255,15,182,107,252,252,15,183,67,252,254,65,252,255,164,253,252,238,
380 233,248,140,131,195,4,139,77,232,137,76,36,4,252,233,244,4,248,141,255,204,
381 255,248,142,255,248,143,255,248,144,255,68,139,122,252,248,69,139,191,233,
382 69,139,191,233,65,199,134,233,0,0,0,0,65,199,134,233,237,139,3,15,182,204,
383 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,248,83,255,217,
384 124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,4,102,37,252,255,252,247,102,
385 137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,255,248,
386 145,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,
387 40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,252,242,15,
388 88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,72,15,110,208,252,
389 242,15,194,193,1,102,15,84,194,252,242,15,92,200,15,40,193,248,1,195,248,
390 85,255,217,124,36,4,137,68,36,8,102,184,0,8,102,11,68,36,4,102,37,252,255,
391 252,251,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,
392 195,255,248,146,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,
393 110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,
394 252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,72,15,
395 110,208,252,242,15,194,193,6,102,15,84,194,252,242,15,92,200,15,40,193,248,
396 1,195,248,105,255,217,124,36,4,137,68,36,8,102,184,0,12,102,11,68,36,4,102,
397 137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,255,248,
398 147,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,
399 40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,15,40,193,
400 252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,72,15,110,216,252,
401 242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,86,202,15,40,193,
402 248,1,195,248,148,255,15,40,232,252,242,15,94,193,72,184,237,237,102,72,15,
403 110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,15,84,226,102,15,46,
404 220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,242,15,92,227,102,
405 15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,196,1,102,15,84,
406 194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,15,92,193,195,248,
407 1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,217,193,216,252,241,
408 217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,252,247,102,137,68,
409 36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,252,233,195,255,248,
410 89,217,252,234,222,201,248,149,217,84,36,252,248,129,124,36,252,248,0,0,128,
411 127,15,132,244,247,129,124,36,252,248,0,0,128,252,255,15,132,244,248,248,
412 150,217,192,217,252,252,220,252,233,217,201,217,252,240,217,232,222,193,217,
413 252,253,221,217,248,1,195,248,2,221,216,217,252,238,195,255,248,108,255,248,
414 151,252,242,15,45,193,252,242,15,42,208,102,15,46,202,15,133,244,254,15,138,
415 244,255,248,152,131,252,248,1,15,142,244,252,248,1,169,1,0,0,0,15,133,244,
416 248,252,242,15,89,192,209,232,252,233,244,1,248,2,209,232,15,132,244,251,
417 15,40,200,248,3,252,242,15,89,192,209,232,15,132,244,250,15,131,244,3,255,
418 252,242,15,89,200,252,233,244,3,248,4,252,242,15,89,193,248,5,195,248,6,15,
419 132,244,5,15,130,244,253,80,72,184,237,237,102,72,15,110,200,252,242,15,94,
420 200,88,15,40,193,252,247,216,131,252,248,1,15,132,244,5,252,233,244,1,248,
421 7,72,184,237,237,102,72,15,110,192,195,248,8,102,72,15,126,200,72,209,224,
422 72,193,192,12,72,61,252,254,15,0,0,15,132,244,248,255,102,72,15,126,192,72,
423 209,224,15,132,244,250,72,193,192,12,72,61,252,254,15,0,0,15,132,244,251,
424 252,242,15,17,76,36,252,240,252,242,15,17,68,36,252,248,221,68,36,252,240,
425 221,68,36,252,248,217,252,241,217,192,217,252,252,220,252,233,217,201,217,
426 252,240,217,232,222,193,217,252,253,221,217,221,92,36,252,248,252,242,15,
427 16,68,36,252,248,195,248,9,72,184,237,237,102,72,15,110,208,102,15,46,194,
428 15,132,244,247,15,40,193,248,1,195,248,2,72,184,237,237,102,72,15,110,208,
429 102,15,84,194,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,1,
430 102,15,80,193,15,87,192,136,196,15,146,208,48,224,15,133,244,1,248,3,72,184,
431 237,237,255,102,72,15,110,192,195,248,4,102,15,80,193,133,192,15,133,244,
432 3,15,87,192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,192,195,248,
433 153,255,131,252,255,1,15,130,244,83,15,132,244,85,131,252,255,3,15,130,244,
434 105,15,135,244,248,252,242,15,81,192,195,248,2,252,242,15,17,68,36,252,248,
435 221,68,36,252,248,131,252,255,5,15,135,244,248,15,132,244,247,232,244,89,
436 252,233,244,253,248,1,232,244,149,255,252,233,244,253,248,2,131,252,255,7,
437 15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,241,252,233,244,
438 253,248,1,217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,255,9,
439 15,132,244,247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,244,
440 253,248,1,255,217,252,254,252,233,244,253,248,2,131,252,255,11,15,132,244,
441 247,15,135,244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,216,
442 248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,255,139,124,36,12,
443 221,68,36,4,131,252,255,1,15,130,244,83,15,132,244,85,131,252,255,3,15,130,
444 244,105,15,135,244,248,217,252,250,195,248,2,131,252,255,5,15,130,244,89,
445 15,132,244,149,131,252,255,7,15,132,244,247,15,135,244,248,217,252,237,217,
446 201,217,252,241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,255,
447 9,15,132,244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,
448 1,217,252,254,195,248,2,131,252,255,11,15,132,244,247,15,135,244,255,217,
449 252,255,195,248,1,217,252,242,221,216,195,255,248,9,204,248,154,255,131,252,
450 255,1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15,
451 92,193,195,248,2,131,252,255,3,15,132,244,247,15,135,244,248,252,242,15,89,
452 193,195,248,1,252,242,15,94,193,195,248,2,131,252,255,5,15,130,244,148,15,
453 132,244,108,131,252,255,7,15,132,244,247,15,135,244,248,72,184,237,237,255,
454 102,72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,110,200,15,
455 84,193,195,248,2,131,252,255,9,15,135,244,248,252,242,15,17,68,36,252,248,
456 252,242,15,17,76,36,252,240,221,68,36,252,248,221,68,36,252,240,15,132,244,
457 247,217,252,243,248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,248,
458 1,217,201,217,252,253,221,217,252,233,244,7,248,2,131,252,255,11,15,132,244,
459 247,15,135,244,255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,
460 9,204,255,139,68,36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,
461 247,15,135,244,248,222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,
462 15,132,244,247,15,135,244,248,222,201,195,248,1,222,252,249,195,248,2,131,
463 252,248,5,15,130,244,148,15,132,244,108,131,252,248,7,15,132,244,247,15,135,
464 244,248,255,221,216,217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,
465 9,15,132,244,247,15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,
466 221,217,195,248,2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,
467 233,219,209,221,217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,
468 223,224,252,246,196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,
469 225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,
470 155,137,252,248,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,195,255,249,
471 255,129,124,253,202,4,239,15,135,244,43,129,124,253,194,4,239,15,135,244,
472 43,255,252,242,15,16,4,194,131,195,4,102,15,46,4,202,255,221,4,202,221,4,
473 194,131,195,4,255,223,252,233,221,216,255,218,252,233,223,224,158,255,15,
474 134,244,248,255,15,131,244,248,255,248,1,15,183,67,252,254,141,156,253,131,
475 233,248,2,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
476 252,238,255,139,108,194,4,131,195,4,129,252,253,239,15,135,244,251,129,124,
477 253,202,4,239,15,135,244,251,255,252,242,15,16,4,194,102,15,46,4,202,255,
478 221,4,202,221,4,194,255,15,138,244,248,15,133,244,248,255,15,138,244,248,
479 15,132,244,247,255,248,1,15,183,67,252,254,141,156,253,131,233,248,2,255,
480 248,2,15,183,67,252,254,141,156,253,131,233,248,1,255,248,5,57,108,202,4,
481 15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,57,193,15,
482 132,244,1,129,252,253,239,15,135,244,2,139,169,233,133,252,237,15,132,244,
483 2,252,246,133,233,235,15,133,244,2,255,49,252,237,255,189,1,0,0,0,255,252,
484 233,244,47,255,72,252,247,208,131,195,4,129,124,253,202,4,239,15,133,244,
485 248,139,12,202,65,59,12,135,255,131,195,4,129,124,253,202,4,239,15,135,244,
486 248,255,252,242,65,15,16,4,199,102,15,46,4,202,255,221,4,202,65,221,4,199,
487 255,72,252,247,208,131,195,4,57,68,202,4,255,139,108,194,4,131,195,4,129,
488 252,253,239,255,15,131,244,247,255,15,130,244,247,255,137,108,202,4,139,44,
489 194,137,44,202,255,15,183,67,252,254,141,156,253,131,233,248,1,139,3,15,182,
490 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,108,194,
491 4,139,4,194,137,108,202,4,137,4,202,139,3,15,182,204,15,182,232,131,195,4,
492 193,232,16,65,252,255,36,252,238,255,49,252,237,129,124,253,194,4,239,129,
493 213,239,137,108,202,4,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
494 252,255,36,252,238,255,129,124,253,194,4,239,15,135,244,50,255,252,242,15,
495 16,4,194,72,184,237,237,102,72,15,110,200,15,87,193,252,242,15,17,4,202,255,
496 221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,133,244,248,139,
497 4,194,255,15,87,192,252,242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,
498 128,233,248,1,221,28,202,255,139,3,15,182,204,15,182,232,131,195,4,193,232,
499 16,65,252,255,36,252,238,248,2,129,124,253,194,4,239,15,133,244,52,139,60,
500 194,137,213,232,251,1,18,255,252,242,15,42,192,137,252,234,255,15,182,75,
501 252,253,252,233,244,1,255,15,182,252,236,15,182,192,255,129,124,253,252,234,
502 4,239,15,135,244,48,255,252,242,15,16,4,252,234,252,242,65,15,88,4,199,255,
503 221,4,252,234,65,220,4,199,255,129,124,253,252,234,4,239,15,135,244,49,255,
504 252,242,65,15,16,4,199,252,242,15,88,4,252,234,255,65,221,4,199,220,4,252,
505 234,255,129,124,253,252,234,4,239,15,135,244,51,129,124,253,194,4,239,15,
506 135,244,51,255,252,242,15,16,4,252,234,252,242,15,88,4,194,255,221,4,252,
507 234,220,4,194,255,252,242,15,16,4,252,234,252,242,65,15,92,4,199,255,221,
508 4,252,234,65,220,36,199,255,252,242,65,15,16,4,199,252,242,15,92,4,252,234,
509 255,65,221,4,199,220,36,252,234,255,252,242,15,16,4,252,234,252,242,15,92,
510 4,194,255,221,4,252,234,220,36,194,255,252,242,15,16,4,252,234,252,242,65,
511 15,89,4,199,255,221,4,252,234,65,220,12,199,255,252,242,65,15,16,4,199,252,
512 242,15,89,4,252,234,255,65,221,4,199,220,12,252,234,255,252,242,15,16,4,252,
513 234,252,242,15,89,4,194,255,221,4,252,234,220,12,194,255,252,242,15,16,4,
514 252,234,252,242,65,15,94,4,199,255,221,4,252,234,65,220,52,199,255,252,242,
515 65,15,16,4,199,252,242,15,94,4,252,234,255,65,221,4,199,220,52,252,234,255,
516 252,242,15,16,4,252,234,252,242,15,94,4,194,255,221,4,252,234,220,52,194,
517 255,252,242,15,16,4,252,234,252,242,65,15,16,12,199,255,221,4,252,234,65,
518 221,4,199,255,252,242,65,15,16,4,199,252,242,15,16,12,252,234,255,65,221,
519 4,199,221,4,252,234,255,252,242,15,16,4,252,234,252,242,15,16,12,194,255,
520 221,4,252,234,221,4,194,255,248,156,232,244,148,255,252,233,244,156,255,232,
521 244,108,255,15,182,252,236,15,182,192,139,124,36,16,137,151,233,141,52,194,
522 137,194,41,252,234,248,35,137,252,253,137,92,36,20,232,251,1,21,139,149,233,
523 133,192,15,133,244,44,15,182,107,252,255,15,182,75,252,253,139,68,252,234,
524 4,139,44,252,234,137,68,202,4,137,44,202,139,3,15,182,204,15,182,232,131,
525 195,4,193,232,16,65,252,255,36,252,238,255,72,252,247,208,65,139,4,135,199,
526 68,202,4,237,137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
527 252,255,36,252,238,255,15,191,192,252,242,15,42,192,252,242,15,17,4,202,255,
528 223,67,252,254,221,28,202,255,252,242,65,15,16,4,199,252,242,15,17,4,202,
529 255,65,221,4,199,221,28,202,255,72,252,247,208,137,68,202,4,139,3,15,182,
530 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,141,76,202,
531 12,141,68,194,4,189,237,137,105,252,248,248,1,137,41,131,193,8,57,193,15,
532 134,244,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
533 252,238,255,139,106,252,248,139,172,253,133,233,139,173,233,139,69,4,139,
534 109,0,137,68,202,4,137,44,202,139,3,15,182,204,15,182,232,131,195,4,193,232,
535 16,65,252,255,36,252,238,255,139,106,252,248,139,172,253,141,233,128,189,
536 233,0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,69,4,15,132,244,247,
537 252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,204,15,182,232,131,
538 195,4,193,232,16,65,252,255,36,252,238,248,2,129,232,239,129,252,248,239,
539 15,134,244,1,252,246,129,233,235,15,132,244,1,137,252,238,137,213,65,141,
540 190,233,255,232,251,1,22,137,252,234,252,233,244,1,255,72,252,247,208,139,
541 106,252,248,139,172,253,141,233,65,139,12,135,139,133,233,137,8,199,64,4,
542 237,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,204,15,182,232,
543 131,195,4,193,232,16,65,252,255,36,252,238,248,2,252,246,129,233,235,15,132,
544 244,1,128,189,233,0,15,132,244,1,137,213,137,198,65,141,190,233,232,251,1,
545 22,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,65,15,16,4,199,
546 255,139,172,253,141,233,139,141,233,255,72,252,247,208,139,106,252,248,139,
547 172,253,141,233,139,141,233,137,65,4,139,3,15,182,204,15,182,232,131,195,
548 4,193,232,16,65,252,255,36,252,238,255,141,156,253,131,233,139,108,36,16,
549 131,189,233,0,15,132,244,247,137,149,233,141,52,202,137,252,239,232,251,1,
550 23,139,149,233,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
551 252,255,36,252,238,255,72,252,247,208,139,108,36,16,137,149,233,139,82,252,
552 248,65,139,52,135,137,252,239,137,92,36,20,232,251,1,24,139,149,233,15,182,
553 75,252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,195,
554 4,193,232,16,65,252,255,36,252,238,255,139,124,36,16,137,151,233,248,1,137,
555 194,37,252,255,7,0,0,193,252,234,11,61,252,255,7,0,0,15,132,244,249,248,2,
556 137,198,65,139,134,233,137,252,253,65,59,134,233,137,92,36,20,15,131,244,
557 251,232,251,1,25,139,149,233,15,182,75,252,253,137,4,202,199,68,202,4,237,
558 139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,
559 3,184,1,8,0,0,252,233,244,2,248,5,232,251,1,26,15,183,67,252,254,137,252,
560 239,252,233,244,1,255,72,252,247,208,139,108,36,16,65,139,142,233,137,92,
561 36,20,65,59,142,233,137,149,233,15,131,244,249,248,2,65,139,52,135,137,252,
562 239,232,251,1,27,139,149,233,15,182,75,252,253,137,4,202,199,68,202,4,237,
563 139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,
564 3,137,252,239,232,251,1,26,15,183,67,252,254,72,252,247,208,252,233,244,2,
565 255,72,252,247,208,139,106,252,248,139,173,233,65,139,4,135,252,233,244,157,
566 255,72,252,247,208,139,106,252,248,139,173,233,65,139,4,135,252,233,244,158,
567 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,38,139,
568 44,252,234,129,124,253,194,4,239,15,135,244,251,255,252,242,15,16,4,194,252,
569 242,15,45,192,252,242,15,42,200,102,15,46,193,255,15,133,244,38,59,133,233,
570 15,131,244,38,193,224,3,3,133,233,129,120,253,4,239,15,132,244,248,248,1,
571 139,40,139,64,4,137,44,202,137,68,202,4,139,3,15,182,204,15,182,232,131,195,
572 4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,244,1,139,141,
573 233,252,246,129,233,235,15,132,244,38,15,182,75,252,253,252,233,244,1,248,
574 5,255,129,124,253,194,4,239,15,133,244,38,139,4,194,252,233,244,157,255,15,
575 182,252,236,15,182,192,72,252,247,208,65,139,4,135,129,124,253,252,234,4,
576 239,15,133,244,36,139,44,252,234,248,157,139,141,233,35,136,233,105,201,239,
577 3,141,233,248,1,129,185,233,239,15,133,244,250,57,129,233,15,133,244,250,
578 129,121,253,4,239,15,132,244,251,15,182,67,252,253,139,41,139,73,4,137,44,
579 194,248,2,255,137,76,194,4,139,3,15,182,204,15,182,232,131,195,4,193,232,
580 16,65,252,255,36,252,238,248,3,15,182,67,252,253,185,237,252,233,244,2,248,
581 4,139,137,233,133,201,15,133,244,1,248,5,139,141,233,133,201,15,132,244,3,
582 252,246,129,233,235,15,133,244,3,252,233,244,36,255,15,182,252,236,15,182,
583 192,129,124,253,252,234,4,239,15,133,244,37,139,44,252,234,59,133,233,15,
584 131,244,37,193,224,3,3,133,233,129,120,253,4,239,15,132,244,248,248,1,139,
585 40,139,64,4,137,44,202,137,68,202,4,139,3,15,182,204,15,182,232,131,195,4,
586 193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,244,1,139,141,
587 233,252,246,129,233,235,15,132,244,37,255,15,182,252,236,15,182,192,129,124,
588 253,252,234,4,239,15,133,244,41,139,44,252,234,129,124,253,194,4,239,15,135,
589 244,251,255,15,133,244,41,59,133,233,15,131,244,41,193,224,3,3,133,233,129,
590 120,253,4,239,15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,
591 2,139,108,202,4,139,12,202,137,104,4,137,8,139,3,15,182,204,15,182,232,131,
592 195,4,193,232,16,65,252,255,36,252,238,248,3,131,189,233,0,15,132,244,1,139,
593 141,233,255,252,246,129,233,235,15,132,244,41,15,182,75,252,253,252,233,244,
594 1,248,5,129,124,253,194,4,239,15,133,244,41,139,4,194,252,233,244,158,248,
595 7,128,165,233,235,65,139,142,233,65,137,174,233,137,141,233,15,182,75,252,
596 253,252,233,244,2,255,15,182,252,236,15,182,192,72,252,247,208,65,139,4,135,
597 129,124,253,252,234,4,239,15,133,244,39,139,44,252,234,248,158,139,141,233,
598 35,136,233,105,201,239,198,133,233,0,3,141,233,248,1,129,185,233,239,15,133,
599 244,251,57,129,233,15,133,244,251,129,121,253,4,239,15,132,244,250,248,2,
600 255,252,246,133,233,235,15,133,244,253,248,3,15,182,67,252,253,139,108,194,
601 4,139,4,194,137,105,4,137,1,139,3,15,182,204,15,182,232,131,195,4,193,232,
602 16,65,252,255,36,252,238,248,4,131,189,233,0,15,132,244,2,137,12,36,139,141,
603 233,252,246,129,233,235,15,132,244,39,139,12,36,252,233,244,2,248,5,139,137,
604 233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244,252,252,246,129,
605 233,235,15,132,244,39,248,6,137,4,36,199,68,36,4,237,137,108,36,24,139,124,
606 36,16,137,151,233,72,141,20,36,137,252,238,137,252,253,137,92,36,20,232,251,
607 1,28,139,149,233,139,108,36,24,137,193,252,233,244,2,248,7,128,165,233,235,
608 65,139,134,233,65,137,174,233,137,133,233,252,233,244,3,255,15,182,252,236,
609 15,182,192,129,124,253,252,234,4,239,15,133,244,40,139,44,252,234,59,133,
610 233,15,131,244,40,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,
611 1,252,246,133,233,235,15,133,244,253,248,2,139,108,202,4,139,12,202,137,104,
612 4,137,8,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
613 238,248,3,131,189,233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,
614 15,132,244,40,15,182,75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,
615 142,233,65,137,174,233,137,141,233,15,182,75,252,253,252,233,244,2,255,68,
616 137,60,36,255,248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,133,
617 244,253,248,2,139,68,36,4,255,252,242,68,15,45,252,248,255,131,232,1,15,132,
618 244,250,68,1,252,248,59,133,233,15,131,244,251,68,41,252,248,65,193,231,3,
619 68,3,189,233,248,3,139,41,65,137,47,139,105,4,131,193,8,65,137,111,4,65,131,
620 199,8,131,232,1,15,133,244,3,248,4,68,139,60,36,139,3,15,182,204,15,182,232,
621 131,195,4,193,232,16,65,252,255,36,252,238,248,5,139,124,36,16,137,151,233,
622 137,252,238,137,194,137,252,253,137,92,36,20,232,251,1,29,139,149,233,15,
623 182,75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,134,233,65,137,
624 174,233,255,137,133,233,252,233,244,2,255,3,68,36,4,255,141,76,202,8,139,
625 105,252,248,129,121,253,252,252,239,15,133,244,31,252,255,165,233,255,141,
626 76,202,8,65,137,215,139,105,252,248,129,121,253,252,252,239,15,133,244,31,
627 248,53,139,90,252,252,252,247,195,237,15,133,244,253,248,1,137,106,252,248,
628 137,68,36,4,131,232,1,15,132,244,249,248,2,139,41,65,137,47,139,105,4,65,
629 137,111,4,65,131,199,8,131,193,8,131,232,1,15,133,244,2,139,106,252,248,248,
630 3,137,209,128,189,233,1,15,135,244,251,248,4,139,68,36,4,252,255,165,233,
631 248,5,255,252,247,195,237,15,133,244,4,15,182,67,252,253,72,252,247,208,141,
632 20,194,68,139,122,252,248,69,139,191,233,69,139,191,233,252,233,244,4,248,
633 7,15,139,244,1,131,227,252,248,41,218,65,137,215,139,90,252,252,252,233,244,
634 1,255,141,76,202,8,139,105,232,139,65,252,236,137,41,137,65,4,139,105,252,
635 240,139,65,252,244,137,105,8,137,65,12,139,105,224,139,65,228,137,105,252,
636 248,137,65,252,252,129,252,248,239,184,3,0,0,0,15,133,244,31,252,255,165,
637 233,255,15,182,252,236,139,66,252,248,141,12,202,139,128,233,15,182,128,233,
638 68,137,60,36,68,141,188,253,194,233,68,43,122,252,252,133,252,237,15,132,
639 244,251,141,108,252,233,252,248,65,57,215,15,131,244,248,248,1,65,139,71,
640 252,248,137,1,65,139,71,252,252,65,131,199,8,137,65,4,131,193,8,57,252,233,
641 15,131,244,249,65,57,215,15,130,244,1,248,2,199,65,4,237,131,193,8,57,252,
642 233,15,130,244,2,248,3,68,139,60,36,139,3,15,182,204,15,182,232,131,195,4,
643 193,232,16,65,252,255,36,252,238,248,5,199,68,36,4,1,0,0,0,137,208,68,41,
644 252,248,15,134,244,3,255,137,197,193,252,237,3,131,197,1,137,108,36,4,139,
645 108,36,16,1,200,59,133,233,15,135,244,253,248,6,65,139,71,252,248,137,1,65,
646 139,71,252,252,65,131,199,8,137,65,4,131,193,8,65,57,215,15,130,244,6,252,
647 233,244,3,248,7,137,149,233,137,141,233,137,92,36,20,65,41,215,139,116,36,
648 4,131,252,238,1,137,252,239,232,251,1,0,139,149,233,139,141,233,65,1,215,
649 252,233,244,6,255,193,225,3,255,248,1,139,90,252,252,137,68,36,4,252,247,
650 195,237,15,133,244,253,255,248,17,65,137,215,131,232,1,15,132,244,249,248,
651 2,65,139,44,15,65,137,111,252,248,65,139,108,15,4,65,137,111,252,252,65,131,
652 199,8,131,232,1,15,133,244,2,248,3,139,68,36,4,15,182,107,252,255,248,5,57,
653 197,15,135,244,252,255,139,108,10,4,137,106,252,252,139,44,10,137,106,252,
654 248,255,248,5,56,67,252,255,15,135,244,252,255,15,182,75,252,253,72,252,247,
655 209,141,20,202,68,139,122,252,248,69,139,191,233,69,139,191,233,139,3,15,
656 182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,6,255,65,
657 199,71,252,252,237,65,131,199,8,255,199,68,194,252,244,237,255,131,192,1,
658 252,233,244,5,248,7,15,139,244,18,131,227,252,248,41,218,255,1,217,255,137,
659 221,209,252,237,129,229,239,102,65,131,172,253,46,233,1,15,132,244,141,255,
660 141,12,202,255,129,121,253,4,239,15,135,244,54,129,121,253,12,239,15,135,
661 244,54,255,139,105,20,255,129,252,253,239,15,135,244,54,255,252,242,15,16,
662 1,252,242,15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,237,
663 15,136,244,249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15,17,65,
664 24,255,221,65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15,136,244,
665 247,255,221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,67,252,254,
666 255,15,131,244,248,141,156,253,131,233,255,141,156,253,131,233,15,183,67,
667 252,254,15,131,245,255,15,130,244,248,141,156,253,131,233,255,248,3,102,15,
668 46,193,252,233,244,1,255,141,12,202,139,105,4,129,252,253,239,15,132,244,
669 247,255,137,105,252,252,139,41,137,105,252,248,252,233,245,255,141,156,253,
670 131,233,139,1,137,105,252,252,137,65,252,248,255,65,139,142,233,139,4,129,
671 72,139,128,233,139,108,36,16,65,137,150,233,65,137,174,233,252,255,224,255,
672 141,156,253,131,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,
673 255,36,252,238,255,254,0
674};
675
676enum {
677 GLOB_gate_lf,
678 GLOB_gate_lf_growstack,
679 GLOB_gate_lv,
680 GLOB_gate_lv_growstack,
681 GLOB_gate_cwrap,
682 GLOB_gate_c_growstack,
683 GLOB_vm_returnc,
684 GLOB_BC_RET_Z,
685 GLOB_vm_return,
686 GLOB_gate_c,
687 GLOB_vm_returnp,
688 GLOB_vm_leave_cp,
689 GLOB_vm_leave_unw,
690 GLOB_vm_unwind_c,
691 GLOB_vm_unwind_c_eh,
692 GLOB_vm_unwind_ff,
693 GLOB_vm_unwind_ff_eh,
694 GLOB_cont_dispatch,
695 GLOB_vm_resume,
696 GLOB_vm_pcall,
697 GLOB_vm_call,
698 GLOB_vmeta_call,
699 GLOB_vm_cpcall,
700 GLOB_cont_cat,
701 GLOB_cont_ra,
702 GLOB_BC_CAT_Z,
703 GLOB_vmeta_tgets,
704 GLOB_vmeta_tgetb,
705 GLOB_vmeta_tgetv,
706 GLOB_vmeta_tsets,
707 GLOB_vmeta_tsetb,
708 GLOB_vmeta_tsetv,
709 GLOB_cont_nop,
710 GLOB_vmeta_comp,
711 GLOB_vmeta_binop,
712 GLOB_cont_condt,
713 GLOB_cont_condf,
714 GLOB_vmeta_equal,
715 GLOB_vmeta_arith_vn,
716 GLOB_vmeta_arith_nv,
717 GLOB_vmeta_unm,
718 GLOB_vmeta_arith_vv,
719 GLOB_vmeta_len,
720 GLOB_BC_CALLT_Z,
721 GLOB_vmeta_for,
722 GLOB_ff_assert,
723 GLOB_fff_fallback,
724 GLOB_fff_res_,
725 GLOB_ff_type,
726 GLOB_fff_res1,
727 GLOB_ff_getmetatable,
728 GLOB_ff_setmetatable,
729 GLOB_ff_rawget,
730 GLOB_ff_tonumber,
731 GLOB_fff_resxmm0,
732 GLOB_fff_resn,
733 GLOB_ff_tostring,
734 GLOB_fff_gcstep,
735 GLOB_ff_next,
736 GLOB_fff_res2,
737 GLOB_fff_res,
738 GLOB_ff_pairs,
739 GLOB_ff_ipairs_aux,
740 GLOB_fff_res0,
741 GLOB_ff_ipairs,
742 GLOB_ff_pcall,
743 GLOB_ff_xpcall,
744 GLOB_ff_coroutine_resume,
745 GLOB_ff_coroutine_wrap_aux,
746 GLOB_ff_coroutine_yield,
747 GLOB_ff_math_abs,
748 GLOB_ff_math_sqrt,
749 GLOB_ff_math_floor,
750 GLOB_vm_floor,
751 GLOB_ff_math_ceil,
752 GLOB_vm_ceil,
753 GLOB_ff_math_log,
754 GLOB_ff_math_log10,
755 GLOB_ff_math_exp,
756 GLOB_vm_exp,
757 GLOB_ff_math_sin,
758 GLOB_ff_math_cos,
759 GLOB_ff_math_tan,
760 GLOB_ff_math_asin,
761 GLOB_ff_math_acos,
762 GLOB_ff_math_atan,
763 GLOB_ff_math_sinh,
764 GLOB_ff_math_cosh,
765 GLOB_ff_math_tanh,
766 GLOB_ff_math_deg,
767 GLOB_ff_math_rad,
768 GLOB_ff_math_atan2,
769 GLOB_ff_math_ldexp,
770 GLOB_ff_math_frexp,
771 GLOB_ff_math_modf,
772 GLOB_vm_trunc,
773 GLOB_ff_math_fmod,
774 GLOB_ff_math_pow,
775 GLOB_vm_pow,
776 GLOB_ff_math_min,
777 GLOB_ff_math_max,
778 GLOB_ff_string_len,
779 GLOB_ff_string_byte,
780 GLOB_ff_string_char,
781 GLOB_fff_newstr,
782 GLOB_ff_string_sub,
783 GLOB_fff_emptystr,
784 GLOB_ff_string_rep,
785 GLOB_fff_fallback_2,
786 GLOB_ff_string_reverse,
787 GLOB_fff_fallback_1,
788 GLOB_ff_string_lower,
789 GLOB_ff_string_upper,
790 GLOB_ff_table_getn,
791 GLOB_ff_bit_tobit,
792 GLOB_ff_bit_band,
793 GLOB_fff_resbit_op,
794 GLOB_fff_fallback_bit_op,
795 GLOB_ff_bit_bor,
796 GLOB_ff_bit_bxor,
797 GLOB_ff_bit_bswap,
798 GLOB_fff_resbit,
799 GLOB_ff_bit_bnot,
800 GLOB_ff_bit_lshift,
801 GLOB_ff_bit_rshift,
802 GLOB_ff_bit_arshift,
803 GLOB_ff_bit_rol,
804 GLOB_ff_bit_ror,
805 GLOB_vm_record,
806 GLOB_vm_hook,
807 GLOB_cont_hook,
808 GLOB_vm_hotloop,
809 GLOB_vm_hotcall,
810 GLOB_vm_exit_handler,
811 GLOB_vm_exit_interp,
812 GLOB_vm_floor_sse,
813 GLOB_vm_ceil_sse,
814 GLOB_vm_trunc_sse,
815 GLOB_vm_mod,
816 GLOB_vm_exp2,
817 GLOB_vm_exp2raw,
818 GLOB_vm_pow_sse,
819 GLOB_vm_powi_sse,
820 GLOB_vm_foldfpm,
821 GLOB_vm_foldarith,
822 GLOB_vm_cpuid,
823 GLOB_BC_MODVN_Z,
824 GLOB_BC_TGETS_Z,
825 GLOB_BC_TSETS_Z,
826 GLOB__MAX
827};
828static const char *const globnames[] = {
829 "gate_lf",
830 "gate_lf_growstack",
831 "gate_lv",
832 "gate_lv_growstack",
833 "gate_cwrap",
834 "gate_c_growstack",
835 "vm_returnc",
836 "BC_RET_Z",
837 "vm_return",
838 "gate_c",
839 "vm_returnp",
840 "vm_leave_cp",
841 "vm_leave_unw",
842 "vm_unwind_c@8",
843 "vm_unwind_c_eh",
844 "vm_unwind_ff@4",
845 "vm_unwind_ff_eh",
846 "cont_dispatch",
847 "vm_resume",
848 "vm_pcall",
849 "vm_call",
850 "vmeta_call",
851 "vm_cpcall",
852 "cont_cat",
853 "cont_ra",
854 "BC_CAT_Z",
855 "vmeta_tgets",
856 "vmeta_tgetb",
857 "vmeta_tgetv",
858 "vmeta_tsets",
859 "vmeta_tsetb",
860 "vmeta_tsetv",
861 "cont_nop",
862 "vmeta_comp",
863 "vmeta_binop",
864 "cont_condt",
865 "cont_condf",
866 "vmeta_equal",
867 "vmeta_arith_vn",
868 "vmeta_arith_nv",
869 "vmeta_unm",
870 "vmeta_arith_vv",
871 "vmeta_len",
872 "BC_CALLT_Z",
873 "vmeta_for",
874 "ff_assert",
875 "fff_fallback",
876 "fff_res_",
877 "ff_type",
878 "fff_res1",
879 "ff_getmetatable",
880 "ff_setmetatable",
881 "ff_rawget",
882 "ff_tonumber",
883 "fff_resxmm0",
884 "fff_resn",
885 "ff_tostring",
886 "fff_gcstep",
887 "ff_next",
888 "fff_res2",
889 "fff_res",
890 "ff_pairs",
891 "ff_ipairs_aux",
892 "fff_res0",
893 "ff_ipairs",
894 "ff_pcall",
895 "ff_xpcall",
896 "ff_coroutine_resume",
897 "ff_coroutine_wrap_aux",
898 "ff_coroutine_yield",
899 "ff_math_abs",
900 "ff_math_sqrt",
901 "ff_math_floor",
902 "vm_floor",
903 "ff_math_ceil",
904 "vm_ceil",
905 "ff_math_log",
906 "ff_math_log10",
907 "ff_math_exp",
908 "vm_exp",
909 "ff_math_sin",
910 "ff_math_cos",
911 "ff_math_tan",
912 "ff_math_asin",
913 "ff_math_acos",
914 "ff_math_atan",
915 "ff_math_sinh",
916 "ff_math_cosh",
917 "ff_math_tanh",
918 "ff_math_deg",
919 "ff_math_rad",
920 "ff_math_atan2",
921 "ff_math_ldexp",
922 "ff_math_frexp",
923 "ff_math_modf",
924 "vm_trunc",
925 "ff_math_fmod",
926 "ff_math_pow",
927 "vm_pow",
928 "ff_math_min",
929 "ff_math_max",
930 "ff_string_len",
931 "ff_string_byte",
932 "ff_string_char",
933 "fff_newstr",
934 "ff_string_sub",
935 "fff_emptystr",
936 "ff_string_rep",
937 "fff_fallback_2",
938 "ff_string_reverse",
939 "fff_fallback_1",
940 "ff_string_lower",
941 "ff_string_upper",
942 "ff_table_getn",
943 "ff_bit_tobit",
944 "ff_bit_band",
945 "fff_resbit_op",
946 "fff_fallback_bit_op",
947 "ff_bit_bor",
948 "ff_bit_bxor",
949 "ff_bit_bswap",
950 "fff_resbit",
951 "ff_bit_bnot",
952 "ff_bit_lshift",
953 "ff_bit_rshift",
954 "ff_bit_arshift",
955 "ff_bit_rol",
956 "ff_bit_ror",
957 "vm_record",
958 "vm_hook",
959 "cont_hook",
960 "vm_hotloop",
961 "vm_hotcall",
962 "vm_exit_handler",
963 "vm_exit_interp",
964 "vm_floor_sse",
965 "vm_ceil_sse",
966 "vm_trunc_sse",
967 "vm_mod",
968 "vm_exp2",
969 "vm_exp2raw",
970 "vm_pow_sse",
971 "vm_powi_sse",
972 "vm_foldfpm",
973 "vm_foldarith",
974 "vm_cpuid",
975 "BC_MODVN_Z",
976 "BC_TGETS_Z",
977 "BC_TSETS_Z",
978 (const char *)0
979};
980static const char *const extnames[] = {
981 "lj_state_growstack@8",
982 "lj_meta_tget",
983 "lj_meta_tset",
984 "lj_meta_comp",
985 "lj_meta_equal",
986 "lj_meta_arith",
987 "lj_meta_len@8",
988 "lj_meta_call",
989 "lj_meta_for@8",
990 "lj_tab_get",
991 "lj_str_fromnum@8",
992 "lj_tab_next",
993 "lj_tab_getinth@8",
994 "lj_ffh_coroutine_wrap_err@8",
995 "lj_wrapper_sinh",
996 "lj_wrapper_cosh",
997 "lj_wrapper_tanh",
998 "lj_str_new",
999 "lj_tab_len@4",
1000 "lj_gc_step@4",
1001 "lj_dispatch_ins@8",
1002 "lj_meta_cat",
1003 "lj_gc_barrieruv@8",
1004 "lj_func_closeuv@8",
1005 "lj_func_newL_gc",
1006 "lj_tab_new",
1007 "lj_gc_step_fixtop@4",
1008 "lj_tab_dup@8",
1009 "lj_tab_newkey",
1010 "lj_tab_reasize",
1011 (const char *)0
1012};
1013#define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1014#define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1015#define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1016#define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1017#define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1018#define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1019#define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1020#define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1021#define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1022#define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1023#define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1024#define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1025#define DtD(_V) (int)(ptrdiff_t)&(((Trace *)0)_V)
1026#define DtE(_V) (int)(ptrdiff_t)&(((ExitInfo *)0)_V)
1027#define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1028#define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1029
1030/* Generate subroutines used by opcodes and other parts of the VM. */
1031/* The .code_sub section should be last to help static branch prediction. */
1032static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1033{
1034 dasm_put(Dst, 0);
1035 dasm_put(Dst, 2, Dt7(->pt), Dt9(->framesize), Dt9(->bc), Dt9(->k), Dt1(->maxstack), LJ_TNIL);
1036#if LJ_HASJIT
1037#endif
1038 dasm_put(Dst, 64, FRAME_VARG, -FRAME_VARG, Dt7(->pt), Dt9(->framesize), Dt1(->maxstack), Dt9(->numparams), LJ_TNIL, Dt9(->framesize), Dt9(->bc));
1039 dasm_put(Dst, 198, Dt9(->k), Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), DISPATCH_GL(vmstate), ~LJ_VMST_C, DISPATCH_GL(wrapf), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top), FRAME_TYPE);
1040 dasm_put(Dst, 292, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), DISPATCH_GL(vmstate), ~LJ_VMST_C, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top), FRAME_TYPE);
1041 dasm_put(Dst, 378, FRAME_C, DISPATCH_GL(vmstate), ~LJ_VMST_C, Dt1(->base));
1042 dasm_put(Dst, 470, Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL, Dt1(->top));
1043 dasm_put(Dst, 554, Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK, 1+1, Dt1(->base), Dt1(->glref), GG_G2DISP, LJ_TFALSE, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1044 dasm_put(Dst, 655, FRAME_P, LJ_TTRUE, LUA_MINSTACK, Dt9(->bc), Dt1(->base), Dt1(->top), Dt1(->base));
1045 dasm_put(Dst, 759, Dt1(->top), Dt7(->gate), 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);
1046 dasm_put(Dst, 898, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top), LJ_TFUNC, Dt7(->gate));
1047 dasm_put(Dst, 1023, Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL, 0, Dt7(->pt), Dt9(->k), Dt1(->base));
1048 dasm_put(Dst, 1207, LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1049 if (sse) {
1050 dasm_put(Dst, 1252);
1051 } else {
1052 }
1053 dasm_put(Dst, 1264, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, Dt7(->gate), LJ_TSTR, BC_GSET, DISPATCH_GL(tmptv));
1054 dasm_put(Dst, 1422, LJ_TTAB);
1055 if (sse) {
1056 dasm_put(Dst, 1252);
1057 } else {
1058 }
1059 dasm_put(Dst, 1442, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, Dt7(->gate), Dt1(->base), Dt1(->base));
1060 dasm_put(Dst, 1637, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1061 dasm_put(Dst, 1745, Dt1(->base), Dt1(->base), FRAME_CONT, LJ_TFUNC);
1062 dasm_put(Dst, 1868, Dt7(->gate), Dt1(->base), Dt1(->base), Dt1(->base), Dt1(->base), Dt7(->gate), Dt1(->base), Dt1(->base), GG_DISP_STATIC*8, 1+1);
1063 dasm_put(Dst, 2023, LJ_TISTRUECOND, 1+1, ~LJ_TNUMX);
1064 if (cmov) {
1065 dasm_put(Dst, 2117);
1066 } else {
1067 dasm_put(Dst, 2121);
1068 }
1069 dasm_put(Dst, 2130, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL, DISPATCH_GL(mmname)+4*MM_metatable, LJ_TTAB, Dt6(->hmask));
1070 dasm_put(Dst, 2218, Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next), LJ_TNIL);
1071 dasm_put(Dst, 2273, LJ_TUDATA, LJ_TISNUM, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB);
1072 dasm_put(Dst, 2345, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->marked), LJ_GC_BLACK, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
1073 dasm_put(Dst, 2412, 2+1, LJ_TTAB, 1+1, LJ_TISNUM);
1074 if (sse) {
1075 dasm_put(Dst, 2490);
1076 } else {
1077 dasm_put(Dst, 2500);
1078 }
1079 dasm_put(Dst, 2507, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1080 dasm_put(Dst, 2572, Dt1(->base), Dt1(->base), 1+1, LJ_TTAB, Dt1(->base));
1081 dasm_put(Dst, 2656, Dt1(->base), 1+2, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1082 dasm_put(Dst, 2756, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1083 if (sse) {
1084 dasm_put(Dst, 2811, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1085 } else {
1086 }
1087 dasm_put(Dst, 2844, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1088 dasm_put(Dst, 2931, 1+1, LJ_TTAB, Dt8(->upvalue[0]), LJ_TFUNC);
1089 if (sse) {
1090 dasm_put(Dst, 2961);
1091 } else {
1092 dasm_put(Dst, 2971);
1093 }
1094 dasm_put(Dst, 2978, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE, LJ_TFUNC, Dt7(->gate));
1095 dasm_put(Dst, 3052, 2+1, LJ_TFUNC, LJ_TFUNC, 2*8+FRAME_PCALL, 2*8, 1+1, LJ_TTHREAD);
1096 dasm_put(Dst, 3150, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1097 dasm_put(Dst, 3216, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top));
1098 dasm_put(Dst, 3320, Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2);
1099 dasm_put(Dst, 3443, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base));
1100 dasm_put(Dst, 3524, Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1101 dasm_put(Dst, 3630, LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), FRAME_TYPE);
1102 dasm_put(Dst, 3730, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1103 if (sse) {
1104 dasm_put(Dst, 3817, 1+1, LJ_TISNUM, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1105 } else {
1106 dasm_put(Dst, 3873, 1+1, LJ_TISNUM);
1107 }
1108 dasm_put(Dst, 3905, 1+1, FRAME_TYPE, LJ_TNIL);
1109 if (sse) {
1110 dasm_put(Dst, 3990, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1111 dasm_put(Dst, 4052, 1+1, LJ_TISNUM);
1112 } else {
1113 dasm_put(Dst, 4082, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1114 dasm_put(Dst, 4141, 1+1, LJ_TISNUM);
1115 }
1116 dasm_put(Dst, 4168, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1117 dasm_put(Dst, 4237, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1118 dasm_put(Dst, 4294, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1119 dasm_put(Dst, 4357, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1120 dasm_put(Dst, 4447);
1121 if (sse) {
1122 dasm_put(Dst, 4459, 1+1, LJ_TISNUM);
1123 } else {
1124 }
1125 dasm_put(Dst, 4484);
1126 if (sse) {
1127 dasm_put(Dst, 4504, 1+1, LJ_TISNUM);
1128 } else {
1129 }
1130 dasm_put(Dst, 4529);
1131 if (sse) {
1132 dasm_put(Dst, 4549, 1+1, LJ_TISNUM);
1133 } else {
1134 }
1135 dasm_put(Dst, 4574);
1136 if (sse) {
1137 dasm_put(Dst, 4596, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1138 } else {
1139 dasm_put(Dst, 4631, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1140 }
1141 dasm_put(Dst, 4660, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1142 dasm_put(Dst, 4725, 1+1, LJ_TISNUM);
1143 if (sse) {
1144 dasm_put(Dst, 4820);
1145 } else {
1146 dasm_put(Dst, 4826);
1147 }
1148 dasm_put(Dst, 4833);
1149 if (sse) {
1150 dasm_put(Dst, 4858);
1151 } else {
1152 dasm_put(Dst, 4864);
1153 }
1154 dasm_put(Dst, 4867, 1+2);
1155 if (sse) {
1156 dasm_put(Dst, 4876);
1157 } else {
1158 dasm_put(Dst, 4884);
1159 }
1160 dasm_put(Dst, 1634);
1161 if (sse) {
1162 dasm_put(Dst, 4892, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
1163 } else {
1164 dasm_put(Dst, 4919);
1165 }
1166 dasm_put(Dst, 4936);
1167 if (sse) {
1168 dasm_put(Dst, 4952, 1+1, LJ_TISNUM);
1169 } else {
1170 dasm_put(Dst, 4977, 1+1, LJ_TISNUM);
1171 }
1172 dasm_put(Dst, 4999);
1173 if (sse) {
1174 dasm_put(Dst, 5017);
1175 } else {
1176 dasm_put(Dst, 5043);
1177 }
1178 dasm_put(Dst, 5060, 1+2);
1179 if (sse) {
1180 dasm_put(Dst, 5100);
1181 } else {
1182 dasm_put(Dst, 5108);
1183 }
1184 dasm_put(Dst, 5118, 2+1, LJ_TISNUM, LJ_TISNUM);
1185 if (sse) {
1186 dasm_put(Dst, 5170, 1+1, LJ_TISNUM, LJ_TISNUM);
1187 } else {
1188 dasm_put(Dst, 5217, 2+1, LJ_TISNUM, LJ_TISNUM);
1189 }
1190 if (sse) {
1191 dasm_put(Dst, 5258, 1+1, LJ_TISNUM, LJ_TISNUM);
1192 } else {
1193 }
1194 if (sse) {
1195 dasm_put(Dst, 5329, 1+1, LJ_TISNUM, LJ_TISNUM);
1196 } else {
1197 }
1198 if (!sse) {
1199 dasm_put(Dst, 5400);
1200 }
1201 dasm_put(Dst, 5409, 1+1, LJ_TSTR);
1202 if (sse) {
1203 dasm_put(Dst, 5431, Dt5(->len));
1204 } else {
1205 dasm_put(Dst, 5442, Dt5(->len));
1206 }
1207 dasm_put(Dst, 5450, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1208 if (sse) {
1209 dasm_put(Dst, 5484);
1210 } else {
1211 dasm_put(Dst, 5494);
1212 }
1213 dasm_put(Dst, 5505, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1214 if (sse) {
1215 dasm_put(Dst, 5542);
1216 } else {
1217 dasm_put(Dst, 5562);
1218 }
1219 dasm_put(Dst, 5582, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1220 dasm_put(Dst, 2485);
1221 if (sse) {
1222 dasm_put(Dst, 5696);
1223 } else {
1224 dasm_put(Dst, 5707);
1225 }
1226 dasm_put(Dst, 5715, LJ_TSTR, LJ_TISNUM, Dt5(->len));
1227 if (sse) {
1228 dasm_put(Dst, 5745);
1229 } else {
1230 }
1231 dasm_put(Dst, 5752, sizeof(GCstr)-1);
1232 dasm_put(Dst, 5827, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1233 dasm_put(Dst, 5888, LJ_TSTR, LJ_TISNUM);
1234 if (sse) {
1235 dasm_put(Dst, 5912);
1236 } else {
1237 dasm_put(Dst, 5919);
1238 }
1239 dasm_put(Dst, 5931, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1240 dasm_put(Dst, 5999, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1241 dasm_put(Dst, 6069, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1242 dasm_put(Dst, 6145, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1243 dasm_put(Dst, 6230, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1244 dasm_put(Dst, 6307, 1+1, LJ_TTAB);
1245 if (sse) {
1246 dasm_put(Dst, 6380);
1247 } else {
1248 }
1249 if (sse) {
1250 dasm_put(Dst, 6390, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1251 } else {
1252 }
1253 if (sse) {
1254 dasm_put(Dst, 6442, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1255 } else {
1256 }
1257 dasm_put(Dst, 6485);
1258 if (sse) {
1259 dasm_put(Dst, 6495);
1260 }
1261 dasm_put(Dst, 6499, LJ_TISNUM);
1262 if (sse) {
1263 dasm_put(Dst, 6517);
1264 } else {
1265 }
1266 dasm_put(Dst, 6534);
1267 if (sse) {
1268 dasm_put(Dst, 6542, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1269 } else {
1270 }
1271 dasm_put(Dst, 6485);
1272 if (sse) {
1273 dasm_put(Dst, 6495);
1274 }
1275 dasm_put(Dst, 6499, LJ_TISNUM);
1276 if (sse) {
1277 dasm_put(Dst, 6585);
1278 } else {
1279 }
1280 dasm_put(Dst, 6534);
1281 if (sse) {
1282 dasm_put(Dst, 6602, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1283 } else {
1284 }
1285 dasm_put(Dst, 6485);
1286 if (sse) {
1287 dasm_put(Dst, 6495);
1288 }
1289 dasm_put(Dst, 6499, LJ_TISNUM);
1290 if (sse) {
1291 dasm_put(Dst, 6645);
1292 } else {
1293 }
1294 dasm_put(Dst, 6534);
1295 if (sse) {
1296 dasm_put(Dst, 6662, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1297 } else {
1298 }
1299 dasm_put(Dst, 6705);
1300 if (sse) {
1301 dasm_put(Dst, 6712, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1302 } else {
1303 }
1304 dasm_put(Dst, 6755);
1305 if (sse) {
1306 dasm_put(Dst, 6759);
1307 } else {
1308 }
1309 dasm_put(Dst, 6785);
1310 if (sse) {
1311 dasm_put(Dst, 6376);
1312 }
1313 dasm_put(Dst, 6788);
1314 if (sse) {
1315 dasm_put(Dst, 6797, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1316 } else {
1317 }
1318 dasm_put(Dst, 6866);
1319 if (sse) {
1320 dasm_put(Dst, 6875, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1321 } else {
1322 }
1323 dasm_put(Dst, 6944);
1324 if (sse) {
1325 dasm_put(Dst, 6954, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1326 } else {
1327 }
1328 dasm_put(Dst, 7023);
1329 if (sse) {
1330 dasm_put(Dst, 7033, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1331 } else {
1332 }
1333 dasm_put(Dst, 7102);
1334 if (sse) {
1335 dasm_put(Dst, 7111, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1336 } else {
1337 }
1338 dasm_put(Dst, 7180, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1339 dasm_put(Dst, 7263, Dt1(->top), Dt7(->gate), LJ_TFUNC, Dt7(->gate), Dt1(->base), LUA_MINSTACK, Dt1(->base), Dt1(->top));
1340 dasm_put(Dst, 7381, Dt1(->base), Dt1(->top));
1341#if LJ_HASJIT
1342 dasm_put(Dst, 7423, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1343#endif
1344 dasm_put(Dst, 7456, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE, Dt1(->base), Dt1(->base));
1345 dasm_put(Dst, 7523, GG_DISP_STATIC*8);
1346#if LJ_HASJIT
1347 dasm_put(Dst, 7560);
1348#endif
1349 dasm_put(Dst, 7562);
1350#if LJ_HASJIT
1351 dasm_put(Dst, 7560);
1352#endif
1353 dasm_put(Dst, 7565);
1354#if LJ_HASJIT
1355 dasm_put(Dst, 7560);
1356#endif
1357 dasm_put(Dst, 7568);
1358#if LJ_HASJIT
1359 dasm_put(Dst, 7571, Dt7(->pt), Dt9(->k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1360#endif
1361 dasm_put(Dst, 7618);
1362 if (!sse) {
1363 dasm_put(Dst, 7621);
1364 }
1365 dasm_put(Dst, 7666, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1366 if (!sse) {
1367 dasm_put(Dst, 7752);
1368 }
1369 dasm_put(Dst, 7797, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(bff00000,00000000)), (unsigned int)((U64x(bff00000,00000000))>>32));
1370 if (!sse) {
1371 dasm_put(Dst, 7883);
1372 }
1373 dasm_put(Dst, 7922, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1374 if (sse) {
1375 dasm_put(Dst, 8011, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1376 } else {
1377 dasm_put(Dst, 8125);
1378 }
1379 dasm_put(Dst, 8172);
1380 if (!sse) {
1381 } else {
1382 dasm_put(Dst, 8249);
1383 }
1384 dasm_put(Dst, 8252);
1385 dasm_put(Dst, 8337, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1386 dasm_put(Dst, 8438, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(7ff00000,00000000)), (unsigned int)((U64x(7ff00000,00000000))>>32));
1387 dasm_put(Dst, 8612);
1388 if (sse) {
1389 dasm_put(Dst, 8653);
1390 dasm_put(Dst, 8723);
1391 dasm_put(Dst, 8795);
1392 } else {
1393 dasm_put(Dst, 8847);
1394 dasm_put(Dst, 8939);
1395 }
1396 dasm_put(Dst, 8985);
1397 if (sse) {
1398 dasm_put(Dst, 8991, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1399 dasm_put(Dst, 9076, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1400 } else {
1401 dasm_put(Dst, 9204);
1402 dasm_put(Dst, 9287);
1403 if (cmov) {
1404 dasm_put(Dst, 9342);
1405 } else {
1406 dasm_put(Dst, 9361);
1407 }
1408 dasm_put(Dst, 9200);
1409 }
1410 dasm_put(Dst, 9402);
1411}
1412
1413/* Generate the code for a single instruction. */
1414static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1415{
1416 int vk = 0;
1417 dasm_put(Dst, 9424, defop);
1418
1419 switch (op) {
1420
1421 /* -- Comparison ops ---------------------------------------------------- */
1422
1423 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1424
1425 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1426 dasm_put(Dst, 9426, LJ_TISNUM, LJ_TISNUM);
1427 if (sse) {
1428 dasm_put(Dst, 9447);
1429 } else {
1430 dasm_put(Dst, 9462);
1431 if (cmov) {
1432 dasm_put(Dst, 9472);
1433 } else {
1434 dasm_put(Dst, 9478);
1435 }
1436 }
1437 switch (op) {
1438 case BC_ISLT:
1439 dasm_put(Dst, 9485);
1440 break;
1441 case BC_ISGE:
1442 dasm_put(Dst, 9282);
1443 break;
1444 case BC_ISLE:
1445 dasm_put(Dst, 6302);
1446 break;
1447 case BC_ISGT:
1448 dasm_put(Dst, 9490);
1449 break;
1450 default: break; /* Shut up GCC. */
1451 }
1452 dasm_put(Dst, 9495, -BCBIAS_J*4);
1453 break;
1454
1455 case BC_ISEQV: case BC_ISNEV:
1456 vk = op == BC_ISEQV;
1457 dasm_put(Dst, 9530, LJ_TISNUM, LJ_TISNUM);
1458 if (sse) {
1459 dasm_put(Dst, 9556);
1460 } else {
1461 dasm_put(Dst, 9568);
1462 if (cmov) {
1463 dasm_put(Dst, 9472);
1464 } else {
1465 dasm_put(Dst, 9478);
1466 }
1467 }
1468 iseqne_fp:
1469 if (vk) {
1470 dasm_put(Dst, 9575);
1471 } else {
1472 dasm_put(Dst, 9584);
1473 }
1474 iseqne_end:
1475 if (vk) {
1476 dasm_put(Dst, 9593, -BCBIAS_J*4);
1477 } else {
1478 dasm_put(Dst, 9608, -BCBIAS_J*4);
1479 }
1480 dasm_put(Dst, 7597);
1481 if (op == BC_ISEQV || op == BC_ISNEV) {
1482 dasm_put(Dst, 9623, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
1483 if (vk) {
1484 dasm_put(Dst, 9681);
1485 } else {
1486 dasm_put(Dst, 9685);
1487 }
1488 dasm_put(Dst, 9691);
1489 }
1490 break;
1491 case BC_ISEQS: case BC_ISNES:
1492 vk = op == BC_ISEQS;
1493 dasm_put(Dst, 9696, LJ_TSTR);
1494 iseqne_test:
1495 if (vk) {
1496 dasm_put(Dst, 9579);
1497 } else {
1498 dasm_put(Dst, 8934);
1499 }
1500 goto iseqne_end;
1501 case BC_ISEQN: case BC_ISNEN:
1502 vk = op == BC_ISEQN;
1503 dasm_put(Dst, 9721, LJ_TISNUM);
1504 if (sse) {
1505 dasm_put(Dst, 9735);
1506 } else {
1507 dasm_put(Dst, 9748);
1508 if (cmov) {
1509 dasm_put(Dst, 9472);
1510 } else {
1511 dasm_put(Dst, 9478);
1512 }
1513 }
1514 goto iseqne_fp;
1515 case BC_ISEQP: case BC_ISNEP:
1516 vk = op == BC_ISEQP;
1517 dasm_put(Dst, 9756);
1518 goto iseqne_test;
1519
1520 /* -- Unary test and copy ops ------------------------------------------- */
1521
1522 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
1523 dasm_put(Dst, 9768, LJ_TISTRUECOND);
1524 if (op == BC_IST || op == BC_ISTC) {
1525 dasm_put(Dst, 9780);
1526 } else {
1527 dasm_put(Dst, 9785);
1528 }
1529 if (op == BC_ISTC || op == BC_ISFC) {
1530 dasm_put(Dst, 9790);
1531 }
1532 dasm_put(Dst, 9801, -BCBIAS_J*4);
1533 break;
1534
1535 /* -- Unary ops --------------------------------------------------------- */
1536
1537 case BC_MOV:
1538 dasm_put(Dst, 9834);
1539 break;
1540 case BC_NOT:
1541 dasm_put(Dst, 9869, LJ_TISTRUECOND, LJ_TTRUE);
1542 break;
1543 case BC_UNM:
1544 dasm_put(Dst, 9906, LJ_TISNUM);
1545 if (sse) {
1546 dasm_put(Dst, 9917, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1547 } else {
1548 dasm_put(Dst, 9942);
1549 }
1550 dasm_put(Dst, 7597);
1551 break;
1552 case BC_LEN:
1553 dasm_put(Dst, 9951, LJ_TSTR);
1554 if (sse) {
1555 dasm_put(Dst, 9965, Dt5(->len));
1556 } else {
1557 dasm_put(Dst, 9983, Dt5(->len));
1558 }
1559 dasm_put(Dst, 9992, LJ_TTAB);
1560 if (sse) {
1561 dasm_put(Dst, 10034);
1562 } else {
1563 }
1564 dasm_put(Dst, 10043);
1565 break;
1566
1567 /* -- Binary ops -------------------------------------------------------- */
1568
1569
1570 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
1571 dasm_put(Dst, 10053);
1572 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1573 switch (vk) {
1574 case 0:
1575 dasm_put(Dst, 10061, LJ_TISNUM);
1576 if (sse) {
1577 dasm_put(Dst, 10073);
1578 } else {
1579 dasm_put(Dst, 10088);
1580 }
1581 break;
1582 case 1:
1583 dasm_put(Dst, 10097, LJ_TISNUM);
1584 if (sse) {
1585 dasm_put(Dst, 10109);
1586 } else {
1587 dasm_put(Dst, 10124);
1588 }
1589 break;
1590 default:
1591 dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
1592 if (sse) {
1593 dasm_put(Dst, 10155);
1594 } else {
1595 dasm_put(Dst, 10169);
1596 }
1597 break;
1598 }
1599 if (sse) {
1600 dasm_put(Dst, 9935);
1601 } else {
1602 dasm_put(Dst, 9947);
1603 }
1604 dasm_put(Dst, 7597);
1605 break;
1606 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
1607 dasm_put(Dst, 10053);
1608 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1609 switch (vk) {
1610 case 0:
1611 dasm_put(Dst, 10061, LJ_TISNUM);
1612 if (sse) {
1613 dasm_put(Dst, 10177);
1614 } else {
1615 dasm_put(Dst, 10192);
1616 }
1617 break;
1618 case 1:
1619 dasm_put(Dst, 10097, LJ_TISNUM);
1620 if (sse) {
1621 dasm_put(Dst, 10201);
1622 } else {
1623 dasm_put(Dst, 10216);
1624 }
1625 break;
1626 default:
1627 dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
1628 if (sse) {
1629 dasm_put(Dst, 10225);
1630 } else {
1631 dasm_put(Dst, 10239);
1632 }
1633 break;
1634 }
1635 if (sse) {
1636 dasm_put(Dst, 9935);
1637 } else {
1638 dasm_put(Dst, 9947);
1639 }
1640 dasm_put(Dst, 7597);
1641 break;
1642 case BC_MULVN: case BC_MULNV: case BC_MULVV:
1643 dasm_put(Dst, 10053);
1644 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1645 switch (vk) {
1646 case 0:
1647 dasm_put(Dst, 10061, LJ_TISNUM);
1648 if (sse) {
1649 dasm_put(Dst, 10247);
1650 } else {
1651 dasm_put(Dst, 10262);
1652 }
1653 break;
1654 case 1:
1655 dasm_put(Dst, 10097, LJ_TISNUM);
1656 if (sse) {
1657 dasm_put(Dst, 10271);
1658 } else {
1659 dasm_put(Dst, 10286);
1660 }
1661 break;
1662 default:
1663 dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
1664 if (sse) {
1665 dasm_put(Dst, 10295);
1666 } else {
1667 dasm_put(Dst, 10309);
1668 }
1669 break;
1670 }
1671 if (sse) {
1672 dasm_put(Dst, 9935);
1673 } else {
1674 dasm_put(Dst, 9947);
1675 }
1676 dasm_put(Dst, 7597);
1677 break;
1678 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
1679 dasm_put(Dst, 10053);
1680 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1681 switch (vk) {
1682 case 0:
1683 dasm_put(Dst, 10061, LJ_TISNUM);
1684 if (sse) {
1685 dasm_put(Dst, 10317);
1686 } else {
1687 dasm_put(Dst, 10332);
1688 }
1689 break;
1690 case 1:
1691 dasm_put(Dst, 10097, LJ_TISNUM);
1692 if (sse) {
1693 dasm_put(Dst, 10341);
1694 } else {
1695 dasm_put(Dst, 10356);
1696 }
1697 break;
1698 default:
1699 dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
1700 if (sse) {
1701 dasm_put(Dst, 10365);
1702 } else {
1703 dasm_put(Dst, 10379);
1704 }
1705 break;
1706 }
1707 if (sse) {
1708 dasm_put(Dst, 9935);
1709 } else {
1710 dasm_put(Dst, 9947);
1711 }
1712 dasm_put(Dst, 7597);
1713 break;
1714 case BC_MODVN:
1715 dasm_put(Dst, 10053);
1716 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1717 switch (vk) {
1718 case 0:
1719 dasm_put(Dst, 10061, LJ_TISNUM);
1720 if (sse) {
1721 dasm_put(Dst, 10387);
1722 } else {
1723 dasm_put(Dst, 10402);
1724 }
1725 break;
1726 case 1:
1727 dasm_put(Dst, 10097, LJ_TISNUM);
1728 if (sse) {
1729 dasm_put(Dst, 10411);
1730 } else {
1731 dasm_put(Dst, 10426);
1732 }
1733 break;
1734 default:
1735 dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
1736 if (sse) {
1737 dasm_put(Dst, 10435);
1738 } else {
1739 dasm_put(Dst, 10449);
1740 }
1741 break;
1742 }
1743 dasm_put(Dst, 10457);
1744 if (sse) {
1745 dasm_put(Dst, 9935);
1746 } else {
1747 dasm_put(Dst, 9947);
1748 }
1749 dasm_put(Dst, 7597);
1750 break;
1751 case BC_MODNV: case BC_MODVV:
1752 dasm_put(Dst, 10053);
1753 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1754 switch (vk) {
1755 case 0:
1756 dasm_put(Dst, 10061, LJ_TISNUM);
1757 if (sse) {
1758 dasm_put(Dst, 10387);
1759 } else {
1760 dasm_put(Dst, 10402);
1761 }
1762 break;
1763 case 1:
1764 dasm_put(Dst, 10097, LJ_TISNUM);
1765 if (sse) {
1766 dasm_put(Dst, 10411);
1767 } else {
1768 dasm_put(Dst, 10426);
1769 }
1770 break;
1771 default:
1772 dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
1773 if (sse) {
1774 dasm_put(Dst, 10435);
1775 } else {
1776 dasm_put(Dst, 10449);
1777 }
1778 break;
1779 }
1780 dasm_put(Dst, 10463);
1781 break;
1782 case BC_POW:
1783 dasm_put(Dst, 10053);
1784 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1785 switch (vk) {
1786 case 0:
1787 dasm_put(Dst, 10061, LJ_TISNUM);
1788 if (sse) {
1789 dasm_put(Dst, 10387);
1790 } else {
1791 dasm_put(Dst, 10402);
1792 }
1793 break;
1794 case 1:
1795 dasm_put(Dst, 10097, LJ_TISNUM);
1796 if (sse) {
1797 dasm_put(Dst, 10411);
1798 } else {
1799 dasm_put(Dst, 10426);
1800 }
1801 break;
1802 default:
1803 dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
1804 if (sse) {
1805 dasm_put(Dst, 10435);
1806 } else {
1807 dasm_put(Dst, 10449);
1808 }
1809 break;
1810 }
1811 dasm_put(Dst, 10468);
1812 if (sse) {
1813 dasm_put(Dst, 9935);
1814 } else {
1815 dasm_put(Dst, 9947);
1816 }
1817 dasm_put(Dst, 7597);
1818 break;
1819
1820 case BC_CAT:
1821 dasm_put(Dst, 10472, Dt1(->base), Dt1(->base));
1822 break;
1823
1824 /* -- Constant ops ------------------------------------------------------ */
1825
1826 case BC_KSTR:
1827 dasm_put(Dst, 10563, LJ_TSTR);
1828 break;
1829 case BC_KSHORT:
1830 if (sse) {
1831 dasm_put(Dst, 10600);
1832 } else {
1833 dasm_put(Dst, 10615);
1834 }
1835 dasm_put(Dst, 7597);
1836 break;
1837 case BC_KNUM:
1838 if (sse) {
1839 dasm_put(Dst, 10623);
1840 } else {
1841 dasm_put(Dst, 10637);
1842 }
1843 dasm_put(Dst, 7597);
1844 break;
1845 case BC_KPRI:
1846 dasm_put(Dst, 10645);
1847 break;
1848 case BC_KNIL:
1849 dasm_put(Dst, 10674, LJ_TNIL);
1850 break;
1851
1852 /* -- Upvalue and function ops ------------------------------------------ */
1853
1854 case BC_UGET:
1855 dasm_put(Dst, 10722, offsetof(GCfuncL, uvptr), DtA(->v));
1856 break;
1857 case BC_USETV:
1858#define TV2MARKOFS \
1859 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
1860 dasm_put(Dst, 10768, 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);
1861 dasm_put(Dst, 10864);
1862 break;
1863#undef TV2MARKOFS
1864 case BC_USETS:
1865 dasm_put(Dst, 10876, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
1866 break;
1867 case BC_USETN:
1868 dasm_put(Dst, 10972);
1869 if (sse) {
1870 dasm_put(Dst, 10977);
1871 } else {
1872 dasm_put(Dst, 9751);
1873 }
1874 dasm_put(Dst, 10985, offsetof(GCfuncL, uvptr), DtA(->v));
1875 if (sse) {
1876 dasm_put(Dst, 4858);
1877 } else {
1878 dasm_put(Dst, 4864);
1879 }
1880 dasm_put(Dst, 7597);
1881 break;
1882 case BC_USETP:
1883 dasm_put(Dst, 10994, offsetof(GCfuncL, uvptr), DtA(->v));
1884 break;
1885 case BC_UCLO:
1886 dasm_put(Dst, 11034, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
1887 break;
1888
1889 case BC_FNEW:
1890 dasm_put(Dst, 11090, Dt1(->base), Dt1(->base), LJ_TFUNC);
1891 break;
1892
1893 /* -- Table ops --------------------------------------------------------- */
1894
1895 case BC_TNEW:
1896 dasm_put(Dst, 11157, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
1897 break;
1898 case BC_TDUP:
1899 dasm_put(Dst, 11281, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
1900 break;
1901
1902 case BC_GGET:
1903 dasm_put(Dst, 11380, Dt7(->env));
1904 break;
1905 case BC_GSET:
1906 dasm_put(Dst, 11400, Dt7(->env));
1907 break;
1908
1909 case BC_TGETV:
1910 dasm_put(Dst, 11420, LJ_TTAB, LJ_TISNUM);
1911 if (sse) {
1912 dasm_put(Dst, 11453);
1913 } else {
1914 }
1915 dasm_put(Dst, 11474, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
1916 dasm_put(Dst, 11568, LJ_TSTR);
1917 break;
1918 case BC_TGETS:
1919 dasm_put(Dst, 11586, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
1920 dasm_put(Dst, 11672, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
1921 break;
1922 case BC_TGETB:
1923 dasm_put(Dst, 11745, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
1924 dasm_put(Dst, 10043);
1925 break;
1926
1927 case BC_TSETV:
1928 dasm_put(Dst, 11846, LJ_TTAB, LJ_TISNUM);
1929 if (sse) {
1930 dasm_put(Dst, 11453);
1931 } else {
1932 }
1933 dasm_put(Dst, 11879, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable));
1934 dasm_put(Dst, 11964, Dt6(->nomm), 1<<MM_newindex, LJ_TSTR, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
1935 break;
1936 case BC_TSETS:
1937 dasm_put(Dst, 12028, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
1938 dasm_put(Dst, 12105, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
1939 dasm_put(Dst, 12197, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, LJ_TSTR, Dt1(->base), Dt1(->base), Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
1940 break;
1941 case BC_TSETB:
1942 dasm_put(Dst, 12289, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
1943 dasm_put(Dst, 12389, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
1944 break;
1945
1946 case BC_TSETM:
1947 dasm_put(Dst, 12437);
1948 if (sse) {
1949 dasm_put(Dst, 10977);
1950 } else {
1951 }
1952 dasm_put(Dst, 12442, Dt6(->marked), LJ_GC_BLACK);
1953 if (sse) {
1954 dasm_put(Dst, 12467);
1955 } else {
1956 }
1957 dasm_put(Dst, 12475, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base), Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain));
1958 dasm_put(Dst, 12611, Dt6(->gclist));
1959 break;
1960
1961 /* -- Calls and vararg handling ----------------------------------------- */
1962
1963 case BC_CALL: case BC_CALLM:
1964 dasm_put(Dst, 10057);
1965 if (op == BC_CALLM) {
1966 dasm_put(Dst, 12619);
1967 }
1968 dasm_put(Dst, 12624, LJ_TFUNC, Dt7(->gate));
1969 break;
1970
1971 case BC_CALLMT:
1972 dasm_put(Dst, 12619);
1973 break;
1974 case BC_CALLT:
1975 dasm_put(Dst, 12647, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->gate));
1976 dasm_put(Dst, 12756, FRAME_TYPE, Dt7(->pt), Dt9(->k));
1977 break;
1978
1979 case BC_ITERC:
1980 dasm_put(Dst, 12817, LJ_TFUNC, Dt7(->gate));
1981 break;
1982
1983 case BC_VARG:
1984 dasm_put(Dst, 12879, Dt7(->pt), Dt9(->numparams), (8+FRAME_VARG), LJ_TNIL);
1985 dasm_put(Dst, 13033, Dt1(->maxstack), Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
1986 break;
1987
1988 /* -- Returns ----------------------------------------------------------- */
1989
1990 case BC_RETM:
1991 dasm_put(Dst, 12619);
1992 break;
1993
1994 case BC_RET: case BC_RET0: case BC_RET1:
1995 if (op != BC_RET0) {
1996 dasm_put(Dst, 13138);
1997 }
1998 dasm_put(Dst, 13142, FRAME_TYPE);
1999 switch (op) {
2000 case BC_RET:
2001 dasm_put(Dst, 13161);
2002 break;
2003 case BC_RET1:
2004 dasm_put(Dst, 13225);
2005 /* fallthrough */
2006 case BC_RET0:
2007 dasm_put(Dst, 13241);
2008 default:
2009 break;
2010 }
2011 dasm_put(Dst, 13252, Dt7(->pt), Dt9(->k));
2012 if (op == BC_RET) {
2013 dasm_put(Dst, 13300, LJ_TNIL);
2014 } else {
2015 dasm_put(Dst, 13311, LJ_TNIL);
2016 }
2017 dasm_put(Dst, 13318);
2018 if (op != BC_RET0) {
2019 dasm_put(Dst, 13338);
2020 }
2021 dasm_put(Dst, 4947);
2022 break;
2023
2024 /* -- Loops and branches ------------------------------------------------ */
2025
2026
2027 case BC_FORL:
2028#if LJ_HASJIT
2029 dasm_put(Dst, 13341, HOTCOUNT_PCMASK, GG_DISP2HOT);
2030#endif
2031 break;
2032
2033 case BC_JFORI:
2034 case BC_JFORL:
2035#if !LJ_HASJIT
2036 break;
2037#endif
2038 case BC_FORI:
2039 case BC_IFORL:
2040 vk = (op == BC_IFORL || op == BC_JFORL);
2041 dasm_put(Dst, 13362);
2042 if (!vk) {
2043 dasm_put(Dst, 13366, LJ_TISNUM, LJ_TISNUM);
2044 }
2045 dasm_put(Dst, 13385);
2046 if (!vk) {
2047 dasm_put(Dst, 13389, LJ_TISNUM);
2048 }
2049 if (sse) {
2050 dasm_put(Dst, 13398);
2051 if (vk) {
2052 dasm_put(Dst, 13410);
2053 } else {
2054 dasm_put(Dst, 13429);
2055 }
2056 dasm_put(Dst, 13434);
2057 } else {
2058 dasm_put(Dst, 13447);
2059 if (vk) {
2060 dasm_put(Dst, 13453);
2061 } else {
2062 dasm_put(Dst, 13469);
2063 }
2064 dasm_put(Dst, 13477);
2065 if (cmov) {
2066 dasm_put(Dst, 9472);
2067 } else {
2068 dasm_put(Dst, 9478);
2069 }
2070 if (!cmov) {
2071 dasm_put(Dst, 13482);
2072 }
2073 }
2074 if (op == BC_FORI) {
2075 dasm_put(Dst, 13488, -BCBIAS_J*4);
2076 } else if (op == BC_JFORI) {
2077 dasm_put(Dst, 13498, -BCBIAS_J*4, BC_JLOOP);
2078 } else if (op == BC_IFORL) {
2079 dasm_put(Dst, 13512, -BCBIAS_J*4);
2080 } else {
2081 dasm_put(Dst, 13508, BC_JLOOP);
2082 }
2083 dasm_put(Dst, 9507);
2084 if (sse) {
2085 dasm_put(Dst, 13522);
2086 }
2087 break;
2088
2089 case BC_ITERL:
2090#if LJ_HASJIT
2091 dasm_put(Dst, 13341, HOTCOUNT_PCMASK, GG_DISP2HOT);
2092#endif
2093 break;
2094
2095 case BC_JITERL:
2096#if !LJ_HASJIT
2097 break;
2098#endif
2099 case BC_IITERL:
2100 dasm_put(Dst, 13533, LJ_TNIL);
2101 if (op == BC_JITERL) {
2102 dasm_put(Dst, 13548, BC_JLOOP);
2103 } else {
2104 dasm_put(Dst, 13562, -BCBIAS_J*4);
2105 }
2106 dasm_put(Dst, 9811);
2107 break;
2108
2109 case BC_LOOP:
2110#if LJ_HASJIT
2111 dasm_put(Dst, 13341, HOTCOUNT_PCMASK, GG_DISP2HOT);
2112#endif
2113 break;
2114
2115 case BC_ILOOP:
2116 dasm_put(Dst, 7597);
2117 break;
2118
2119 case BC_JLOOP:
2120#if LJ_HASJIT
2121 dasm_put(Dst, 13578, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
2122#endif
2123 break;
2124
2125 case BC_JMP:
2126 dasm_put(Dst, 13605, -BCBIAS_J*4);
2127 break;
2128
2129 /* ---------------------------------------------------------------------- */
2130
2131 default:
2132 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
2133 exit(2);
2134 break;
2135 }
2136}
2137
2138static int build_backend(BuildCtx *ctx)
2139{
2140 int op;
2141 int cmov = 1;
2142 int sse = 0;
2143#ifdef LUAJIT_CPU_NOCMOV
2144 cmov = 0;
2145#endif
2146#if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
2147 sse = 1;
2148#endif
2149
2150 dasm_growpc(Dst, BC__MAX);
2151
2152 build_subroutines(ctx, cmov, sse);
2153
2154 dasm_put(Dst, 13631);
2155 for (op = 0; op < BC__MAX; op++)
2156 build_ins(ctx, (BCOp)op, op, cmov, sse);
2157
2158 return BC__MAX;
2159}
2160
2161/* Emit pseudo frame-info for all assembler functions. */
2162static void emit_asm_debug(BuildCtx *ctx)
2163{
2164#if LJ_64
2165#define SZPTR "8"
2166#define BSZPTR "3"
2167#define REG_SP "0x7"
2168#define REG_RA "0x10"
2169#else
2170#define SZPTR "4"
2171#define BSZPTR "2"
2172#define REG_SP "0x4"
2173#define REG_RA "0x8"
2174#endif
2175 switch (ctx->mode) {
2176 case BUILD_elfasm:
2177 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
2178 fprintf(ctx->fp,
2179 ".Lframe0:\n"
2180 "\t.long .LECIE0-.LSCIE0\n"
2181 ".LSCIE0:\n"
2182 "\t.long 0xffffffff\n"
2183 "\t.byte 0x1\n"
2184 "\t.string \"\"\n"
2185 "\t.uleb128 0x1\n"
2186 "\t.sleb128 -" SZPTR "\n"
2187 "\t.byte " REG_RA "\n"
2188 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
2189 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
2190 "\t.align " SZPTR "\n"
2191 ".LECIE0:\n\n");
2192 fprintf(ctx->fp,
2193 ".LSFDE0:\n"
2194 "\t.long .LEFDE0-.LASFDE0\n"
2195 ".LASFDE0:\n"
2196 "\t.long .Lframe0\n"
2197 "\t.long .Lbegin\n"
2198 "\t.long %d\n"
2199 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
2200#if LJ_64
2201 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
2202 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
2203 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
2204 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
2205#else
2206 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
2207 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
2208 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
2209 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
2210#endif
2211 "\t.align " SZPTR "\n"
2212 ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
2213 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
2214 fprintf(ctx->fp,
2215 ".Lframe1:\n"
2216 "\t.long .LECIE1-.LSCIE1\n"
2217 ".LSCIE1:\n"
2218 "\t.long 0\n"
2219 "\t.byte 0x1\n"
2220 "\t.string \"zPR\"\n"
2221 "\t.uleb128 0x1\n"
2222 "\t.sleb128 -" SZPTR "\n"
2223 "\t.byte " REG_RA "\n"
2224 "\t.uleb128 6\n" /* augmentation length */
2225 "\t.byte 0x1b\n" /* pcrel|sdata4 */
2226 "\t.long lj_err_unwind_dwarf-.\n"
2227 "\t.byte 0x1b\n" /* pcrel|sdata4 */
2228 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
2229 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
2230 "\t.align " SZPTR "\n"
2231 ".LECIE1:\n\n");
2232 fprintf(ctx->fp,
2233 ".LSFDE1:\n"
2234 "\t.long .LEFDE1-.LASFDE1\n"
2235 ".LASFDE1:\n"
2236 "\t.long .LASFDE1-.Lframe1\n"
2237 "\t.long .Lbegin-.\n"
2238 "\t.long %d\n"
2239 "\t.uleb128 0\n" /* augmentation length */
2240 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
2241#if LJ_64
2242 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
2243 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
2244 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
2245 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
2246#else
2247 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
2248 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
2249 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
2250 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
2251#endif
2252 "\t.align " SZPTR "\n"
2253 ".LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
2254 break;
2255 case BUILD_machasm:
2256 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
2257 fprintf(ctx->fp,
2258 "EH_frame1:\n"
2259 "\t.set L$set$0,LECIE1-LSCIE1\n"
2260 "\t.long L$set$0\n"
2261 "LSCIE1:\n"
2262 "\t.long 0\n"
2263 "\t.byte 0x1\n"
2264 "\t.ascii \"zPR\\0\"\n"
2265 "\t.byte 0x1\n"
2266 "\t.byte 128-" SZPTR "\n"
2267 "\t.byte " REG_RA "\n"
2268 "\t.byte 6\n" /* augmentation length */
2269 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
2270 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
2271 "\t.byte 0x1b\n" /* pcrel|sdata4 */
2272#if LJ_64
2273 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
2274#else
2275 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
2276#endif
2277 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
2278 "\t.align " BSZPTR "\n"
2279 "LECIE1:\n\n");
2280 fprintf(ctx->fp,
2281 "_lj_vm_asm_begin.eh:\n"
2282 "LSFDE1:\n"
2283 "\t.set L$set$1,LEFDE1-LASFDE1\n"
2284 "\t.long L$set$1\n"
2285 "LASFDE1:\n"
2286 "\t.long LASFDE1-EH_frame1\n"
2287 "\t.long _lj_vm_asm_begin-.\n"
2288 "\t.long %d\n"
2289 "\t.byte 0\n" /* augmentation length */
2290 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
2291#if LJ_64
2292 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
2293 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
2294 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
2295 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
2296#else
2297 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
2298 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
2299 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
2300 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
2301#endif
2302 "\t.align " BSZPTR "\n"
2303 "LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
2304 fprintf(ctx->fp,
2305 "\t.non_lazy_symbol_pointer\n"
2306 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
2307 ".indirect_symbol _lj_err_unwind_dwarf\n"
2308 ".long 0\n");
2309 break;
2310 default: /* Difficult for other modes. */
2311 break;
2312 }
2313}
2314