aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/luajit-2.0/src/buildvm_x64win.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/luajit-2.0/src/buildvm_x64win.h3401
1 files changed, 0 insertions, 3401 deletions
diff --git a/libraries/luajit-2.0/src/buildvm_x64win.h b/libraries/luajit-2.0/src/buildvm_x64win.h
deleted file mode 100644
index 533d5b0..0000000
--- a/libraries/luajit-2.0/src/buildvm_x64win.h
+++ /dev/null
@@ -1,3401 +0,0 @@
1/*
2** This file has been pre-processed with DynASM.
3** http://luajit.org/dynasm.html
4** DynASM version 1.3.0, DynASM x64 version 1.3.0
5** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
6*/
7
8#if DASM_VERSION != 10300
9#error "Version mismatch between DynASM and included encoding engine"
10#endif
11
12#define DASM_SECTION_CODE_OP 0
13#define DASM_SECTION_CODE_SUB 1
14#define DASM_MAXSECTION 2
15static const unsigned char build_actionlist[16196] = {
16 254,1,248,10,252,247,198,237,15,132,244,11,131,230,252,248,41,252,242,72,
17 141,76,49,252,248,139,114,252,252,199,68,10,4,237,248,12,131,192,1,137,68,
18 36,84,252,247,198,237,15,132,244,13,248,14,129,252,246,239,252,247,198,237,
19 15,133,244,10,199,131,233,237,131,230,252,248,41,214,252,247,222,131,232,
20 1,15,132,244,248,248,1,72,139,44,10,72,137,106,252,248,131,194,8,131,232,
21 1,15,133,244,1,248,2,255,139,108,36,96,137,181,233,248,3,139,68,36,84,139,
22 76,36,88,248,4,57,193,15,133,244,252,248,5,131,252,234,8,137,149,233,248,
23 15,72,139,76,36,104,72,137,141,233,49,192,248,16,72,131,196,40,91,94,95,93,
24 195,248,6,15,130,244,253,59,149,233,15,135,244,254,199,66,252,252,237,131,
25 194,8,131,192,1,252,233,244,4,248,7,255,133,201,15,132,244,5,41,193,141,20,
26 202,252,233,244,5,248,8,137,149,233,137,68,36,84,137,202,137,252,233,232,
27 251,1,0,139,149,233,252,233,244,3,248,17,137,208,72,137,204,248,18,139,108,
28 36,96,139,173,233,199,133,233,237,252,233,244,16,248,19,248,20,72,129,225,
29 239,72,137,204,248,21,255,139,108,36,96,72,199,193,252,248,252,255,252,255,
30 252,255,184,237,139,149,233,139,157,233,129,195,239,139,114,252,252,199,66,
31 252,252,237,199,131,233,237,252,233,244,12,248,22,186,237,252,233,244,248,
32 248,23,131,232,8,252,233,244,247,248,24,141,68,194,252,248,248,1,15,182,142,
33 233,131,198,4,137,149,233,255,137,133,233,137,116,36,100,137,202,248,2,137,
34 252,233,232,251,1,0,139,149,233,139,133,233,139,106,252,248,41,208,193,232,
35 3,131,192,1,139,181,233,139,14,15,182,252,233,15,182,205,131,198,4,252,255,
36 36,252,235,248,25,85,87,86,83,72,131,252,236,40,137,205,137,76,36,96,137,
37 209,190,237,49,192,72,141,188,253,36,233,139,157,233,129,195,239,72,137,189,
38 233,137,68,36,100,72,137,68,36,104,137,68,36,88,137,68,36,92,56,133,233,15,
39 132,244,249,199,131,233,237,136,133,233,139,149,233,139,133,233,41,200,193,
40 232,3,131,192,1,41,209,139,114,252,252,137,68,36,84,252,247,198,237,255,15,
41 132,244,13,252,233,244,14,248,26,85,87,86,83,72,131,252,236,40,190,237,68,
42 137,76,36,92,252,233,244,247,248,27,85,87,86,83,72,131,252,236,40,190,237,
43 248,1,68,137,68,36,88,137,205,137,76,36,96,137,209,72,139,189,233,72,137,
44 124,36,104,137,108,36,100,72,137,165,233,248,2,139,157,233,129,195,239,248,
45 3,199,131,233,237,139,149,233,255,1,206,41,214,139,133,233,41,200,193,232,
46 3,131,192,1,248,28,139,105,252,248,129,121,253,252,252,239,15,133,244,29,
47 248,30,137,202,137,114,252,252,139,181,233,139,14,15,182,252,233,15,182,205,
48 131,198,4,252,255,36,252,235,248,31,85,87,86,83,72,131,252,236,40,137,205,
49 137,76,36,96,137,108,36,100,139,189,233,43,189,233,199,68,36,92,0,0,0,0,137,
50 124,36,88,72,139,189,233,72,137,124,36,104,72,137,165,233,65,252,255,209,
51 133,192,15,132,244,15,137,193,190,237,252,233,244,2,248,11,1,209,131,230,
52 252,248,137,213,41,252,242,199,68,193,252,252,237,137,200,139,117,252,244,
53 72,99,77,252,240,255,131,252,249,1,15,134,244,247,255,72,141,61,245,72,1,
54 252,249,255,139,122,252,248,139,191,233,139,191,233,252,255,225,255,248,1,
55 15,132,244,32,41,213,193,252,237,3,141,69,252,255,252,233,244,33,255,248,
56 34,15,182,78,252,255,131,252,237,16,141,12,202,41,252,233,15,132,244,35,252,
57 247,217,193,252,233,3,65,137,200,139,76,36,96,137,145,233,72,139,0,72,137,
58 69,0,137,252,234,252,233,244,36,248,37,137,68,36,80,199,68,36,84,237,72,141,
59 68,36,80,128,126,252,252,235,15,133,244,247,141,139,233,137,41,199,65,4,237,
60 137,205,252,233,244,248,248,38,15,182,70,252,254,255,199,68,36,84,237,137,
61 68,36,80,255,252,242,15,42,192,252,242,15,17,68,36,80,255,72,141,68,36,80,
62 252,233,244,247,248,39,15,182,70,252,254,141,4,194,248,1,15,182,110,252,255,
63 141,44,252,234,248,2,139,76,36,96,137,145,233,137,252,234,73,137,192,137,
64 205,137,116,36,100,232,251,1,1,139,149,233,133,192,15,132,244,249,248,35,
65 15,182,78,252,253,72,139,40,72,137,44,202,139,6,15,182,204,15,182,232,131,
66 198,4,193,232,16,252,255,36,252,235,248,3,139,141,233,137,113,252,244,141,
67 177,233,41,214,139,105,252,248,184,237,252,233,244,30,248,40,137,68,36,80,
68 199,68,36,84,237,72,141,68,36,80,128,126,252,252,235,15,133,244,247,255,141,
69 139,233,137,41,199,65,4,237,137,205,252,233,244,248,248,41,15,182,70,252,
70 254,255,72,141,68,36,80,252,233,244,247,248,42,15,182,70,252,254,141,4,194,
71 248,1,15,182,110,252,255,141,44,252,234,248,2,139,76,36,96,137,145,233,137,
72 252,234,73,137,192,137,205,137,116,36,100,232,251,1,2,139,149,233,133,192,
73 15,132,244,249,15,182,78,252,253,72,139,44,202,72,137,40,248,43,139,6,15,
74 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,139,141,
75 233,137,113,252,244,15,182,70,252,253,72,139,44,194,72,137,105,16,141,177,
76 233,41,214,139,105,252,248,184,237,252,233,244,30,248,44,139,108,36,96,137,
77 149,233,68,141,4,194,141,20,202,137,252,233,68,15,182,78,252,252,137,116,
78 36,100,232,251,1,3,248,3,139,149,233,255,131,252,248,1,15,135,244,45,248,
79 4,141,118,4,15,130,244,252,248,5,15,183,70,252,254,141,180,253,134,233,248,
80 6,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,
81 46,131,198,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,47,129,120,
82 253,4,239,252,233,244,4,248,48,131,252,238,4,65,137,192,65,137,252,233,139,
83 108,36,96,137,149,233,255,137,202,137,252,233,137,116,36,100,232,251,1,4,
84 252,233,244,3,248,49,255,131,252,238,4,139,108,36,96,137,149,233,137,252,
85 233,139,86,252,252,137,116,36,100,232,251,1,5,252,233,244,3,255,248,50,255,
86 15,182,110,252,255,255,248,51,141,4,199,252,233,244,247,248,52,255,248,53,
87 141,4,199,141,44,252,234,149,252,233,244,248,248,54,141,4,194,137,197,252,
88 233,244,248,248,55,255,248,56,141,4,194,248,1,141,44,252,234,248,2,141,12,
89 202,65,137,232,65,137,193,15,182,70,252,252,137,68,36,32,139,108,36,96,137,
90 149,233,137,202,137,252,233,137,116,36,100,232,251,1,6,139,149,233,133,192,
91 15,132,244,43,248,45,137,193,41,208,137,113,252,244,141,176,233,184,237,252,
92 233,244,28,248,57,139,108,36,96,137,149,233,141,20,194,137,252,233,137,116,
93 36,100,232,251,1,7,139,149,233,255,133,192,15,133,244,45,15,183,70,252,254,
94 139,12,194,252,233,244,58,255,252,233,244,45,255,248,59,141,76,202,8,248,
95 29,137,76,36,84,137,68,36,80,131,252,233,8,139,108,36,96,137,149,233,137,
96 202,68,141,4,193,137,252,233,137,116,36,100,232,251,1,8,139,149,233,139,76,
97 36,84,139,68,36,80,139,105,252,248,131,192,1,57,215,15,132,244,60,137,202,
98 137,114,252,252,139,181,233,139,14,15,182,252,233,15,182,205,131,198,4,252,
99 255,36,252,235,248,61,139,108,36,96,137,149,233,137,202,137,252,233,137,116,
100 36,100,232,251,1,9,139,149,233,139,70,252,252,15,182,204,15,182,232,193,232,
101 16,252,255,164,253,252,235,233,248,62,129,252,248,239,15,130,244,63,139,106,
102 4,129,252,253,239,15,131,244,63,139,114,252,252,137,68,36,84,137,106,252,
103 252,139,42,137,106,252,248,131,232,2,15,132,244,248,255,137,209,248,1,131,
104 193,8,72,139,41,72,137,105,252,248,131,232,1,15,133,244,1,248,2,139,68,36,
105 84,252,233,244,64,248,65,129,252,248,239,15,130,244,63,139,106,4,137,252,
106 233,193,252,249,15,131,252,249,252,254,15,132,244,249,184,237,252,247,213,
107 57,232,255,15,71,197,255,15,134,244,247,137,232,248,1,255,248,2,139,106,252,
108 248,139,132,253,197,233,139,114,252,252,199,66,252,252,237,137,66,252,248,
109 252,233,244,66,248,3,184,237,252,233,244,2,248,67,129,252,248,239,15,130,
110 244,63,139,106,4,139,114,252,252,129,252,253,239,15,133,244,252,248,1,139,
111 42,139,173,233,248,2,133,252,237,199,66,252,252,237,255,15,132,244,66,139,
112 131,233,199,66,252,252,237,137,106,252,248,139,141,233,35,136,233,105,201,
113 239,3,141,233,248,3,129,185,233,239,15,133,244,250,57,129,233,15,132,244,
114 251,248,4,139,137,233,133,201,15,133,244,3,255,252,233,244,66,248,5,139,105,
115 4,129,252,253,239,15,132,244,66,139,1,137,106,252,252,137,66,252,248,252,
116 233,244,66,248,6,129,252,253,239,15,132,244,1,129,252,253,239,15,135,244,
117 254,129,252,253,239,15,134,244,253,189,237,252,233,244,254,248,7,255,189,
118 237,248,8,252,247,213,139,172,253,171,233,252,233,244,2,248,68,129,252,248,
119 239,15,130,244,63,129,122,253,4,239,15,133,244,63,139,42,131,189,233,0,15,
120 133,244,63,129,122,253,12,239,15,133,244,63,139,66,8,137,133,233,139,114,
121 252,252,199,66,252,252,237,255,137,106,252,248,252,246,133,233,235,15,132,
122 244,247,128,165,233,235,139,131,233,137,171,233,137,133,233,248,1,252,233,
123 244,66,248,69,129,252,248,239,15,130,244,63,129,122,253,4,239,15,133,244,
124 63,137,213,68,141,66,8,139,18,139,76,36,96,232,251,1,10,137,252,234,72,139,
125 40,139,114,252,252,72,137,106,252,248,252,233,244,66,248,70,255,129,252,248,
126 239,15,133,244,63,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244,
127 71,248,1,15,135,244,63,255,15,131,244,63,255,252,242,15,16,2,252,233,244,
128 72,255,221,2,252,233,244,73,255,248,74,129,252,248,239,15,130,244,63,139,
129 114,252,252,129,122,253,4,239,15,133,244,249,139,2,248,2,199,66,252,252,237,
130 137,66,252,248,252,233,244,66,248,3,129,122,253,4,239,15,135,244,63,131,187,
131 233,0,15,133,244,63,139,171,233,59,171,233,255,15,130,244,247,232,244,75,
132 248,1,139,108,36,96,137,149,233,137,116,36,100,137,252,233,255,232,251,1,
133 11,255,232,251,1,12,255,139,149,233,252,233,244,2,248,76,129,252,248,239,
134 15,130,244,63,15,132,244,248,248,1,129,122,253,4,239,15,133,244,63,139,108,
135 36,96,137,149,233,137,149,233,139,114,252,252,68,141,66,8,139,18,137,252,
136 233,137,116,36,100,232,251,1,13,139,149,233,133,192,15,132,244,249,72,139,
137 106,8,72,139,66,16,72,137,106,252,248,72,137,2,248,77,184,237,255,252,233,
138 244,78,248,2,199,66,12,237,252,233,244,1,248,3,199,66,252,252,237,252,233,
139 244,66,248,79,129,252,248,239,15,130,244,63,139,42,129,122,253,4,239,15,133,
140 244,63,255,131,189,233,0,15,133,244,63,255,139,106,252,248,139,133,233,139,
141 114,252,252,199,66,252,252,237,137,66,252,248,199,66,12,237,184,237,252,233,
142 244,78,248,80,129,252,248,239,15,130,244,63,129,122,253,4,239,15,133,244,
143 63,129,122,253,12,239,255,139,114,252,252,255,139,66,8,131,192,1,199,66,252,
144 252,237,137,66,252,248,255,252,242,15,16,66,8,72,189,237,237,102,72,15,110,
145 205,252,242,15,88,193,252,242,15,45,192,252,242,15,17,66,252,248,255,139,
146 42,59,133,233,15,131,244,248,193,224,3,3,133,233,248,1,129,120,253,4,239,
147 15,132,244,81,72,139,40,72,137,42,252,233,244,77,248,2,131,189,233,0,15,132,
148 244,81,137,252,233,137,213,137,194,232,251,1,14,137,252,234,133,192,15,133,
149 244,1,248,81,184,237,252,233,244,78,248,82,255,139,106,252,248,139,133,233,
150 139,114,252,252,199,66,252,252,237,137,66,252,248,255,199,66,12,237,199,66,
151 8,0,0,0,0,255,15,87,192,252,242,15,17,66,8,255,217,252,238,221,90,8,255,184,
152 237,252,233,244,78,248,83,129,252,248,239,15,130,244,63,141,74,8,131,232,
153 1,190,237,248,1,15,182,171,233,193,252,237,235,131,229,1,1,252,238,252,233,
154 244,28,248,84,129,252,248,239,15,130,244,63,129,122,253,12,239,15,133,244,
155 63,255,139,106,4,137,106,12,199,66,4,237,139,42,139,114,8,137,106,8,137,50,
156 141,74,16,131,232,2,190,237,252,233,244,1,248,85,129,252,248,239,15,130,244,
157 63,139,42,139,114,252,252,137,116,36,100,137,108,36,80,129,122,253,4,239,
158 15,133,244,63,72,131,189,233,0,15,133,244,63,128,189,233,235,15,135,244,63,
159 139,141,233,15,132,244,247,255,59,141,233,15,132,244,63,248,1,141,116,193,
160 252,240,59,181,233,15,135,244,63,137,181,233,139,108,36,96,137,149,233,131,
161 194,8,137,149,233,141,108,194,232,72,41,252,245,57,206,15,132,244,249,248,
162 2,72,139,4,46,72,137,70,252,248,131,252,238,8,57,206,15,133,244,2,248,3,137,
163 202,139,76,36,80,232,244,25,199,131,233,237,255,139,108,36,96,139,116,36,
164 80,139,149,233,129,252,248,239,15,135,244,254,248,4,139,142,233,139,190,233,
165 137,142,233,137,252,254,41,206,15,132,244,252,141,4,50,193,252,238,3,59,133,
166 233,15,135,244,255,137,213,72,41,205,248,5,72,139,1,72,137,4,41,131,193,8,
167 57,252,249,15,133,244,5,248,6,141,70,2,199,66,252,252,237,248,7,139,116,36,
168 100,137,68,36,84,72,199,193,252,248,252,255,252,255,252,255,252,247,198,237,
169 255,15,132,244,13,252,233,244,14,248,8,199,66,252,252,237,139,142,233,131,
170 252,233,8,137,142,233,72,139,1,72,137,2,184,237,252,233,244,7,248,9,139,76,
171 36,80,137,185,233,137,252,242,137,252,233,232,251,1,0,139,116,36,80,139,149,
172 233,252,233,244,4,248,86,139,106,252,248,139,173,233,139,114,252,252,137,
173 116,36,100,137,108,36,80,72,131,189,233,0,15,133,244,63,255,128,189,233,235,
174 15,135,244,63,139,141,233,15,132,244,247,59,141,233,15,132,244,63,248,1,141,
175 116,193,252,248,59,181,233,15,135,244,63,137,181,233,139,108,36,96,137,149,
176 233,137,149,233,141,108,194,252,240,72,41,252,245,57,206,15,132,244,249,248,
177 2,255,72,139,4,46,72,137,70,252,248,131,252,238,8,57,206,15,133,244,2,248,
178 3,137,202,139,76,36,80,232,244,25,199,131,233,237,139,108,36,96,139,116,36,
179 80,139,149,233,129,252,248,239,15,135,244,254,248,4,139,142,233,139,190,233,
180 137,142,233,137,252,254,41,206,15,132,244,252,141,4,50,193,252,238,3,59,133,
181 233,15,135,244,255,255,137,213,72,41,205,248,5,72,139,1,72,137,4,41,131,193,
182 8,57,252,249,15,133,244,5,248,6,141,70,1,248,7,139,116,36,100,137,68,36,84,
183 49,201,252,247,198,237,15,132,244,13,252,233,244,14,248,8,137,252,242,137,
184 252,233,232,251,1,15,248,9,139,76,36,80,137,185,233,137,252,242,137,252,233,
185 232,251,1,0,139,116,36,80,139,149,233,252,233,244,4,248,87,139,108,36,96,
186 72,252,247,133,233,237,15,132,244,63,255,137,149,233,141,68,194,252,248,137,
187 133,233,49,192,72,137,133,233,176,235,136,133,233,252,233,244,16,255,248,
188 71,255,248,73,139,114,252,252,221,90,252,248,252,233,244,66,255,248,88,129,
189 252,248,239,15,130,244,63,255,129,122,253,4,239,15,133,244,248,139,42,131,
190 252,253,0,15,137,244,71,252,247,221,15,136,244,247,248,89,248,71,139,114,
191 252,252,199,66,252,252,237,137,106,252,248,252,233,244,66,248,1,139,114,252,
192 252,199,66,252,252,0,0,224,65,199,66,252,248,0,0,0,0,252,233,244,66,248,2,
193 15,135,244,63,255,129,122,253,4,239,15,131,244,63,255,252,242,15,16,2,72,
194 184,237,237,102,72,15,110,200,15,84,193,248,72,139,114,252,252,252,242,15,
195 17,66,252,248,255,221,2,217,225,248,72,248,73,139,114,252,252,221,90,252,
196 248,255,248,66,184,237,248,78,137,68,36,84,248,64,252,247,198,237,15,133,
197 244,253,248,5,56,70,252,255,15,135,244,252,15,182,78,252,253,72,252,247,209,
198 141,20,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
199 235,248,6,199,68,194,252,244,237,131,192,1,252,233,244,5,248,7,72,199,193,
200 252,248,252,255,252,255,252,255,252,233,244,14,248,90,255,129,122,253,4,239,
201 15,133,244,247,139,42,252,233,244,71,248,1,15,135,244,63,255,252,242,15,16,
202 2,232,244,91,255,252,242,15,45,232,129,252,253,0,0,0,128,15,133,244,71,252,
203 242,15,42,205,102,15,46,193,15,138,244,72,15,132,244,71,255,221,2,232,244,
204 91,255,248,92,255,252,242,15,16,2,232,244,93,255,221,2,232,244,93,255,248,
205 94,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,252,242,
206 15,81,2,252,233,244,72,255,248,94,129,252,248,239,15,130,244,63,129,122,253,
207 4,239,15,131,244,63,221,2,217,252,250,252,233,244,73,255,248,95,129,252,248,
208 239,15,130,244,63,129,122,253,4,239,15,131,244,63,217,252,237,221,2,217,252,
209 241,252,233,244,73,248,96,129,252,248,239,15,130,244,63,129,122,253,4,239,
210 15,131,244,63,217,252,236,221,2,217,252,241,252,233,244,73,248,97,129,252,
211 248,239,255,15,130,244,63,129,122,253,4,239,15,131,244,63,221,2,232,244,98,
212 252,233,244,73,248,99,129,252,248,239,15,130,244,63,129,122,253,4,239,15,
213 131,244,63,221,2,217,252,254,252,233,244,73,248,100,129,252,248,239,255,15,
214 130,244,63,129,122,253,4,239,15,131,244,63,221,2,217,252,255,252,233,244,
215 73,248,101,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,
216 221,2,217,252,242,221,216,252,233,244,73,248,102,129,252,248,239,15,130,244,
217 63,255,129,122,253,4,239,15,131,244,63,221,2,217,192,216,200,217,232,222,
218 225,217,252,250,217,252,243,252,233,244,73,248,103,129,252,248,239,15,130,
219 244,63,129,122,253,4,239,15,131,244,63,221,2,217,192,216,200,217,232,222,
220 225,217,252,250,217,201,217,252,243,252,233,244,73,248,104,129,252,248,239,
221 15,130,244,63,129,122,253,4,239,15,131,244,63,255,221,2,217,232,217,252,243,
222 252,233,244,73,255,248,105,129,252,248,239,15,130,244,63,129,122,253,4,239,
223 15,131,244,63,252,242,15,16,2,255,137,213,232,251,1,16,137,252,234,252,233,
224 244,72,255,248,106,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,
225 244,63,252,242,15,16,2,255,137,213,232,251,1,17,137,252,234,252,233,244,72,
226 255,248,107,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,
227 252,242,15,16,2,255,137,213,232,251,1,18,137,252,234,252,233,244,72,248,108,
228 255,248,109,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,
229 252,242,15,16,2,139,106,252,248,252,242,15,89,133,233,252,233,244,72,255,
230 248,109,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,221,
231 2,139,106,252,248,220,141,233,252,233,244,73,255,248,110,129,252,248,239,
232 15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,
233 63,221,2,221,66,8,217,252,243,252,233,244,73,248,111,129,252,248,239,15,130,
234 244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,255,15,131,244,
235 63,221,66,8,221,2,217,252,253,221,217,252,233,244,73,248,112,129,252,248,
236 239,15,130,244,63,139,106,4,129,252,253,239,15,131,244,63,139,114,252,252,
237 139,2,137,106,252,252,137,66,252,248,209,229,129,252,253,0,0,224,252,255,
238 15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,32,
239 0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,137,
240 108,36,80,219,68,36,80,255,139,106,252,252,129,229,252,255,252,255,15,128,
241 129,205,0,0,224,63,137,106,252,252,248,2,255,252,242,15,17,2,255,221,26,255,
242 184,237,252,233,244,78,248,3,255,15,87,192,252,233,244,2,255,217,252,238,
243 252,233,244,2,255,248,4,255,252,242,15,16,2,72,189,237,237,102,72,15,110,
244 205,252,242,15,89,193,252,242,15,17,66,252,248,255,221,2,199,68,36,80,0,0,
245 128,90,216,76,36,80,221,90,252,248,255,139,106,252,252,184,52,4,0,0,209,229,
246 252,233,244,1,255,248,113,129,252,248,239,15,130,244,63,129,122,253,4,239,
247 15,131,244,63,252,242,15,16,2,255,248,113,129,252,248,239,15,130,244,63,129,
248 122,253,4,239,15,131,244,63,221,2,255,139,106,4,139,114,252,252,209,229,129,
249 252,253,0,0,224,252,255,15,132,244,250,255,15,40,224,232,244,114,252,242,
250 15,92,224,248,1,252,242,15,17,66,252,248,252,242,15,17,34,255,217,192,232,
251 244,114,220,252,233,248,1,221,90,252,248,221,26,255,139,66,252,252,139,106,
252 4,49,232,15,136,244,249,248,2,184,237,252,233,244,78,248,3,129,252,245,0,
253 0,0,128,137,106,4,252,233,244,2,248,4,255,15,87,228,252,233,244,1,255,217,
254 252,238,217,201,252,233,244,1,255,248,115,129,252,248,239,15,130,244,63,129,
255 122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,63,221,66,8,221,
256 2,248,1,217,252,248,223,224,158,15,138,244,1,221,217,252,233,244,73,255,248,
257 116,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,
258 253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,16,74,8,232,244,117,252,
259 233,244,72,255,248,116,129,252,248,239,15,130,244,63,129,122,253,4,239,15,
260 131,244,63,129,122,253,12,239,15,131,244,63,221,2,221,66,8,232,244,117,252,
261 233,244,73,255,248,118,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139,
262 42,248,1,57,193,15,131,244,71,129,124,253,202,252,252,239,15,133,244,249,
263 59,108,202,252,248,15,79,108,202,252,248,131,193,1,252,233,244,1,248,3,15,
264 135,244,63,255,252,233,244,252,248,4,15,135,244,63,255,252,242,15,16,2,248,
265 5,57,193,15,131,244,72,129,124,253,202,252,252,239,255,15,130,244,252,15,
266 135,244,63,252,242,15,42,76,202,252,248,252,233,244,253,255,248,6,252,242,
267 15,16,76,202,252,248,248,7,252,242,15,93,193,131,193,1,252,233,244,5,255,
268 248,119,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,1,57,
269 193,15,131,244,71,129,124,253,202,252,252,239,15,133,244,249,59,108,202,252,
270 248,15,76,108,202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,63,255,
271 248,6,252,242,15,16,76,202,252,248,248,7,252,242,15,95,193,131,193,1,252,
272 233,244,5,255,248,9,221,216,252,233,244,63,255,248,120,129,252,248,239,15,
273 130,244,63,129,122,253,4,239,15,133,244,63,139,42,255,139,173,233,252,233,
274 244,71,255,252,242,15,42,133,233,252,233,244,72,255,219,133,233,252,233,244,
275 73,255,248,121,129,252,248,239,15,133,244,63,129,122,253,4,239,15,133,244,
276 63,139,42,139,114,252,252,131,189,233,1,15,130,244,81,15,182,173,233,255,
277 252,242,15,42,197,252,233,244,72,255,137,108,36,80,219,68,36,80,252,233,244,
278 73,255,248,122,139,171,233,59,171,233,15,130,244,247,232,244,75,248,1,129,
279 252,248,239,15,133,244,63,129,122,253,4,239,255,15,133,244,63,139,42,129,
280 252,253,252,255,0,0,0,15,135,244,63,137,108,36,84,255,15,131,244,63,252,242,
281 15,44,42,129,252,253,252,255,0,0,0,15,135,244,63,137,108,36,84,255,15,131,
282 244,63,221,2,219,92,36,84,129,124,36,84,252,255,0,0,0,15,135,244,63,255,199,
283 68,36,32,1,0,0,0,72,141,68,36,84,248,123,139,108,36,96,137,149,233,68,139,
284 68,36,32,72,137,194,137,252,233,137,116,36,100,232,251,1,19,139,149,233,139,
285 114,252,252,199,66,252,252,237,137,66,252,248,252,233,244,66,248,124,139,
286 171,233,59,171,233,15,130,244,247,232,244,75,248,1,199,68,36,84,252,255,252,
287 255,252,255,252,255,129,252,248,239,15,130,244,63,15,134,244,247,129,122,
288 253,20,239,255,15,133,244,63,139,106,16,137,108,36,84,255,15,131,244,63,252,
289 242,15,44,106,16,137,108,36,84,255,15,131,244,63,221,66,16,219,92,36,84,255,
290 248,1,129,122,253,4,239,15,133,244,63,129,122,253,12,239,255,139,42,137,108,
291 36,32,139,173,233,255,139,74,8,255,252,242,15,44,74,8,255,139,68,36,84,57,
292 197,15,130,244,251,248,2,133,201,15,142,244,253,248,3,139,108,36,32,41,200,
293 15,140,244,125,141,172,253,13,233,131,192,1,248,4,137,68,36,32,137,232,252,
294 233,244,123,248,5,15,140,244,252,141,68,40,1,252,233,244,2,248,6,137,232,
295 252,233,244,2,248,7,255,15,132,244,254,1,252,233,131,193,1,15,143,244,3,248,
296 8,185,1,0,0,0,252,233,244,3,248,125,49,192,252,233,244,4,248,126,129,252,
297 248,239,15,130,244,63,139,171,233,59,171,233,15,130,244,247,232,244,75,248,
298 1,255,129,122,253,4,239,15,133,244,63,129,122,253,12,239,139,42,255,15,133,
299 244,63,139,66,8,255,15,131,244,63,252,242,15,44,66,8,255,15,131,244,63,221,
300 66,8,219,92,36,84,139,68,36,84,255,133,192,15,142,244,125,131,189,233,1,15,
301 130,244,125,15,133,244,127,57,131,233,15,130,244,127,15,182,141,233,139,171,
302 233,137,68,36,32,248,1,136,77,0,131,197,1,131,232,1,15,133,244,1,139,131,
303 233,252,233,244,123,248,128,129,252,248,239,255,15,130,244,63,139,171,233,
304 59,171,233,15,130,244,247,232,244,75,248,1,129,122,253,4,239,15,133,244,63,
305 139,42,139,133,233,133,192,15,132,244,125,57,131,233,15,130,244,129,129,197,
306 239,137,116,36,84,137,68,36,32,139,179,233,248,1,255,15,182,77,0,131,197,
307 1,131,232,1,136,12,6,15,133,244,1,137,252,240,139,116,36,84,252,233,244,123,
308 248,130,129,252,248,239,15,130,244,63,139,171,233,59,171,233,15,130,244,247,
309 232,244,75,248,1,129,122,253,4,239,15,133,244,63,139,42,139,133,233,57,131,
310 233,255,15,130,244,129,129,197,239,137,116,36,84,137,68,36,32,139,179,233,
311 252,233,244,249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,
312 249,90,15,135,244,248,131,252,241,32,248,2,136,12,6,248,3,131,232,1,15,137,
313 244,1,137,252,240,139,116,36,84,252,233,244,123,248,131,129,252,248,239,15,
314 130,244,63,255,139,171,233,59,171,233,15,130,244,247,232,244,75,248,1,129,
315 122,253,4,239,15,133,244,63,139,42,139,133,233,57,131,233,15,130,244,129,
316 129,197,239,137,116,36,84,137,68,36,32,139,179,233,252,233,244,249,248,1,
317 15,182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,
318 248,131,252,241,32,248,2,136,12,6,248,3,131,232,1,15,137,244,1,137,252,240,
319 139,116,36,84,252,233,244,123,248,132,129,252,248,239,15,130,244,63,129,122,
320 253,4,239,15,133,244,63,137,213,139,10,232,251,1,20,137,252,234,255,137,197,
321 252,233,244,71,255,252,242,15,42,192,252,233,244,72,255,248,133,129,252,248,
322 239,15,130,244,63,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244,
323 89,248,1,15,135,244,63,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205,
324 252,242,15,88,193,102,15,126,197,255,252,233,244,89,255,248,134,129,252,248,
325 239,15,130,244,63,255,72,189,237,237,102,72,15,110,205,255,199,68,36,80,0,
326 0,192,89,255,15,133,244,247,139,42,252,233,244,248,248,1,15,135,244,63,255,
327 252,242,15,16,2,252,242,15,88,193,102,15,126,197,255,248,2,137,68,36,84,141,
328 68,194,252,240,248,1,57,208,15,134,244,89,129,120,253,4,239,255,15,133,244,
329 248,35,40,131,232,8,252,233,244,1,248,2,15,135,244,135,255,15,131,244,135,
330 255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,33,205,255,131,232,8,
331 252,233,244,1,248,136,129,252,248,239,15,130,244,63,255,15,133,244,248,11,
332 40,131,232,8,252,233,244,1,248,2,15,135,244,135,255,252,242,15,16,0,252,242,
333 15,88,193,102,15,126,193,9,205,255,131,232,8,252,233,244,1,248,137,129,252,
334 248,239,15,130,244,63,255,15,133,244,248,51,40,131,232,8,252,233,244,1,248,
335 2,15,135,244,135,255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,49,
336 205,255,131,232,8,252,233,244,1,248,138,129,252,248,239,15,130,244,63,129,
337 122,253,4,239,255,248,2,15,205,252,233,244,89,248,139,129,252,248,239,15,
338 130,244,63,129,122,253,4,239,255,248,2,252,247,213,255,248,89,252,242,15,
339 42,197,252,233,244,72,255,248,135,139,68,36,84,252,233,244,63,255,248,140,
340 129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,2,129,122,253,12,
341 239,15,133,244,63,139,74,8,255,248,140,129,252,248,239,15,130,244,63,129,
342 122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,
343 2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
344 242,15,88,202,102,15,126,197,102,15,126,201,255,211,229,252,233,244,89,255,
345 248,141,129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,141,129,252,
346 248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,
347 15,131,244,63,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,
348 110,213,252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,
349 255,211,252,237,252,233,244,89,255,248,142,129,252,248,239,15,130,244,63,
350 129,122,253,4,239,255,248,142,129,252,248,239,15,130,244,63,129,122,253,4,
351 239,15,131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,
352 15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,
353 88,202,102,15,126,197,102,15,126,201,255,211,252,253,252,233,244,89,255,248,
354 143,129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,143,129,252,248,
355 239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,
356 244,63,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,
357 252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,255,211,
358 197,252,233,244,89,255,248,144,129,252,248,239,15,130,244,63,129,122,253,
359 4,239,255,248,144,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,
360 244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,16,74,
361 8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102,
362 15,126,197,102,15,126,201,255,211,205,252,233,244,89,248,127,184,237,252,
363 233,244,63,248,129,184,237,248,63,139,108,36,96,139,114,252,252,137,116,36,
364 100,137,149,233,141,68,194,252,248,141,136,233,137,133,233,139,66,252,248,
365 59,141,233,15,135,244,251,137,252,233,252,255,144,233,139,149,233,133,192,
366 15,143,244,78,248,1,255,139,141,233,41,209,193,252,233,3,133,192,141,65,1,
367 139,106,252,248,15,133,244,33,139,181,233,139,14,15,182,252,233,15,182,205,
368 131,198,4,252,255,36,252,235,248,33,137,209,252,247,198,237,15,133,244,249,
369 15,182,110,252,253,72,252,247,213,141,20,252,234,252,233,244,28,248,3,137,
370 252,245,131,229,252,248,41,252,234,252,233,244,28,248,5,186,237,137,252,233,
371 232,251,1,0,139,149,233,49,192,252,233,244,1,248,75,93,72,137,108,36,32,139,
372 108,36,96,137,116,36,100,137,149,233,255,141,68,194,252,248,137,252,233,137,
373 133,233,232,251,1,21,139,149,233,139,133,233,41,208,193,232,3,131,192,1,72,
374 139,108,36,32,85,195,248,145,255,15,182,131,233,168,235,15,133,244,251,168,
375 235,15,133,244,247,168,235,15,132,244,247,252,255,139,233,252,233,244,247,
376 255,248,146,15,182,131,233,168,235,15,133,244,251,252,233,244,247,248,147,
377 15,182,131,233,168,235,15,133,244,251,168,235,15,132,244,251,252,255,139,
378 233,15,132,244,247,168,235,15,132,244,251,248,1,255,139,108,36,96,137,149,
379 233,137,252,242,137,252,233,232,251,1,22,248,3,139,149,233,248,4,15,182,78,
380 252,253,248,5,15,182,110,252,252,15,183,70,252,254,252,255,164,253,252,235,
381 233,248,148,131,198,4,139,77,232,137,76,36,84,252,233,244,4,248,149,255,139,
382 106,252,248,139,173,233,15,182,133,233,141,4,194,139,108,36,96,137,149,233,
383 137,133,233,137,252,242,141,139,233,72,137,171,233,137,116,36,100,232,251,
384 1,23,252,233,244,3,255,248,150,137,116,36,100,255,248,151,255,137,116,36,
385 100,131,206,1,248,1,255,141,68,194,252,248,139,108,36,96,137,149,233,137,
386 133,233,137,252,242,137,252,233,232,251,1,24,199,68,36,100,0,0,0,0,255,131,
387 230,252,254,255,139,149,233,72,137,193,139,133,233,41,208,72,137,205,15,182,
388 78,252,253,193,232,3,131,192,1,252,255,229,248,152,255,65,85,65,84,65,83,
389 65,82,65,81,65,80,87,86,85,72,141,108,36,88,85,83,82,81,80,15,182,69,252,
390 248,138,101,252,240,76,137,125,252,248,76,137,117,252,240,139,93,0,139,139,
391 233,199,131,233,237,137,131,233,137,139,233,72,129,252,236,239,72,131,197,
392 128,252,242,68,15,17,125,252,248,252,242,68,15,17,117,252,240,252,242,68,
393 15,17,109,232,252,242,68,15,17,101,224,252,242,68,15,17,93,216,252,242,68,
394 15,17,85,208,252,242,68,15,17,77,200,252,242,68,15,17,69,192,252,242,15,17,
395 125,184,252,242,15,17,117,176,252,242,15,17,109,168,252,242,15,17,101,160,
396 252,242,15,17,93,152,252,242,15,17,85,144,252,242,15,17,77,136,252,242,15,
397 17,69,128,139,171,233,139,147,233,72,137,171,233,199,131,233,0,0,0,0,137,
398 149,233,72,141,148,253,36,233,141,139,233,232,251,1,25,72,139,141,233,72,
399 129,225,239,137,169,233,139,149,233,139,177,233,252,233,244,247,255,248,153,
400 255,72,141,140,253,36,233,248,1,102,68,15,111,185,233,102,68,15,111,177,233,
401 102,68,15,111,169,233,102,68,15,111,161,233,102,68,15,111,153,233,102,68,
402 15,111,145,233,102,68,15,111,137,233,102,68,15,111,129,233,102,15,111,185,
403 233,72,137,204,102,15,111,49,76,139,124,36,16,76,139,116,36,24,76,139,108,
404 36,32,76,139,100,36,80,133,192,15,136,244,249,137,68,36,84,139,122,252,248,
405 139,191,233,139,191,233,199,131,233,0,0,0,0,199,131,233,237,139,6,15,182,
406 204,15,182,232,131,198,4,193,232,16,129,252,253,239,15,130,244,248,255,139,
407 68,36,84,248,2,252,255,36,252,235,248,3,252,247,216,137,252,233,137,194,232,
408 251,1,26,255,248,91,255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,
409 4,102,37,252,255,252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,
410 36,4,139,68,36,8,195,255,248,154,72,184,237,237,102,72,15,110,208,72,184,
411 237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,
412 247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,
413 237,237,102,72,15,110,208,252,242,15,194,193,1,102,15,84,194,252,242,15,92,
414 200,15,40,193,248,1,195,248,93,255,217,124,36,4,137,68,36,8,102,184,0,8,102,
415 11,68,36,4,102,37,252,255,252,251,102,137,68,36,6,217,108,36,6,217,252,252,
416 217,108,36,4,139,68,36,8,195,255,248,155,72,184,237,237,102,72,15,110,208,
417 72,184,237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,
418 134,244,247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,
419 72,184,237,237,102,72,15,110,208,252,242,15,194,193,6,102,15,84,194,252,242,
420 15,92,200,15,40,193,248,1,195,248,114,255,217,124,36,4,137,68,36,8,102,184,
421 0,12,102,11,68,36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,
422 139,68,36,8,195,255,248,156,72,184,237,237,102,72,15,110,208,72,184,237,237,
423 102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,
424 15,85,208,15,40,193,252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,
425 72,15,110,216,252,242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,
426 86,202,15,40,193,248,1,195,248,157,255,15,40,232,252,242,15,94,193,72,184,
427 237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,
428 15,84,226,102,15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,
429 242,15,92,227,102,15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,
430 196,1,102,15,84,194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,
431 15,92,193,195,248,1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,
432 217,193,216,252,241,217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,
433 252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,
434 252,233,195,255,248,98,217,252,234,222,201,248,158,217,84,36,8,129,124,36,
435 8,0,0,128,127,15,132,244,247,129,124,36,8,0,0,128,252,255,15,132,244,248,
436 248,159,217,192,217,252,252,220,252,233,217,201,217,252,240,217,232,222,193,
437 217,252,253,221,217,248,1,195,248,2,221,216,217,252,238,195,255,248,117,255,
438 248,160,252,242,15,45,193,252,242,15,42,208,102,15,46,202,15,133,244,254,
439 15,138,244,255,248,161,131,252,248,1,15,142,244,252,248,1,169,1,0,0,0,15,
440 133,244,248,252,242,15,89,192,209,232,252,233,244,1,248,2,209,232,15,132,
441 244,251,15,40,200,248,3,252,242,15,89,192,209,232,15,132,244,250,15,131,244,
442 3,255,252,242,15,89,200,252,233,244,3,248,4,252,242,15,89,193,248,5,195,248,
443 6,15,132,244,5,15,130,244,253,252,247,216,232,244,1,72,184,237,237,102,72,
444 15,110,200,252,242,15,94,200,15,40,193,195,248,7,72,184,237,237,102,72,15,
445 110,192,195,248,8,102,72,15,126,200,72,209,224,72,193,192,12,72,61,252,254,
446 15,0,0,15,132,244,248,102,72,15,126,192,72,209,224,15,132,244,250,255,72,
447 193,192,12,72,61,252,254,15,0,0,15,132,244,251,252,242,15,17,76,36,16,252,
448 242,15,17,68,36,8,221,68,36,16,221,68,36,8,217,252,241,217,192,217,252,252,
449 220,252,233,217,201,217,252,240,217,232,222,193,217,252,253,221,217,221,92,
450 36,8,252,242,15,16,68,36,8,195,248,9,72,184,237,237,102,72,15,110,208,102,
451 15,46,194,15,132,244,247,15,40,193,248,1,195,248,2,72,184,237,237,102,72,
452 15,110,208,102,15,84,194,72,184,237,237,102,72,15,110,208,102,15,46,194,15,
453 132,244,1,102,15,80,193,15,87,192,136,196,15,146,208,48,224,15,133,244,1,
454 248,3,72,184,237,237,255,102,72,15,110,192,195,248,4,102,15,80,193,133,192,
455 15,133,244,3,15,87,192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,
456 192,195,248,162,255,131,252,250,1,15,130,244,91,15,132,244,93,131,252,250,
457 3,15,130,244,114,15,135,244,248,252,242,15,81,192,195,248,2,252,242,15,17,
458 68,36,8,221,68,36,8,131,252,250,5,15,135,244,248,88,15,132,244,247,232,244,
459 98,80,252,233,244,253,248,1,232,244,158,255,80,252,233,244,253,248,2,131,
460 252,250,7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,241,252,
461 233,244,253,248,1,217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,
462 250,9,15,132,244,247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,
463 244,253,248,1,255,217,252,254,252,233,244,253,248,2,131,252,250,11,15,132,
464 244,247,15,135,244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,
465 216,248,7,221,92,36,8,252,242,15,16,68,36,8,195,255,139,84,36,12,221,68,36,
466 4,131,252,250,1,15,130,244,91,15,132,244,93,131,252,250,3,15,130,244,114,
467 15,135,244,248,217,252,250,195,248,2,131,252,250,5,15,130,244,98,15,132,244,
468 158,131,252,250,7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,
469 241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,250,9,15,132,
470 244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,1,217,
471 252,254,195,248,2,131,252,250,11,15,132,244,247,15,135,244,255,217,252,255,
472 195,248,1,217,252,242,221,216,195,255,248,9,204,255,248,163,255,65,131,252,
473 248,1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15,
474 92,193,195,248,2,65,131,252,248,3,15,132,244,247,15,135,244,248,252,242,15,
475 89,193,195,248,1,252,242,15,94,193,195,248,2,65,131,252,248,5,15,130,244,
476 157,15,132,244,117,65,131,252,248,7,15,132,244,247,15,135,244,248,72,184,
477 237,237,255,102,72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,
478 110,200,15,84,193,195,248,2,65,131,252,248,9,15,135,244,248,252,242,15,17,
479 68,36,8,252,242,15,17,76,36,16,221,68,36,8,221,68,36,16,15,132,244,247,217,
480 252,243,248,7,221,92,36,8,252,242,15,16,68,36,8,195,248,1,217,201,217,252,
481 253,221,217,252,233,244,7,248,2,65,131,252,248,11,15,132,244,247,15,135,244,
482 255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,9,204,255,139,68,
483 36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,247,15,135,244,248,
484 222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,15,132,244,247,15,135,
485 244,248,222,201,195,248,1,222,252,249,195,248,2,131,252,248,5,15,130,244,
486 157,15,132,244,117,131,252,248,7,15,132,244,247,15,135,244,248,255,221,216,
487 217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,9,15,132,244,247,
488 15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,221,217,195,248,
489 2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,233,219,209,221,
490 217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,223,224,252,246,
491 196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,225,223,224,252,
492 246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,164,137,200,86,
493 72,137,214,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,94,195,248,165,
494 255,204,248,166,255,87,86,83,72,131,252,236,40,141,157,233,139,181,233,15,
495 183,192,137,134,233,72,137,142,233,72,137,150,233,76,137,134,233,76,137,142,
496 233,252,242,15,17,134,233,252,242,15,17,142,233,252,242,15,17,150,233,252,
497 242,15,17,158,233,72,141,132,253,36,233,72,137,134,233,72,137,226,137,116,
498 36,100,137,252,241,232,251,1,27,199,131,233,237,139,144,233,139,128,233,41,
499 208,139,106,252,248,193,232,3,131,192,1,139,181,233,139,14,15,182,252,233,
500 15,182,205,131,198,4,252,255,36,252,235,255,248,32,255,139,76,36,96,139,179,
501 233,72,137,142,233,137,145,233,137,169,233,137,252,241,137,194,232,251,1,
502 28,72,139,134,233,252,242,15,16,134,233,252,233,244,16,255,248,167,255,85,
503 72,137,229,83,72,137,203,139,131,233,72,41,196,255,15,182,139,233,131,252,
504 233,1,15,136,244,248,248,1,72,139,132,253,203,233,72,137,132,253,204,233,
505 131,252,233,1,15,137,244,1,248,2,15,182,131,233,72,139,139,233,72,139,147,
506 233,76,139,131,233,76,139,139,233,133,192,15,132,244,251,15,40,131,233,15,
507 40,139,233,15,40,147,233,15,40,155,233,248,5,255,252,255,147,233,72,137,131,
508 233,15,41,131,233,255,72,139,93,252,248,201,195,255,129,124,253,202,4,239,
509 15,133,244,253,129,124,253,194,4,239,15,133,244,254,139,44,202,131,198,4,
510 59,44,194,255,15,141,244,255,255,15,140,244,255,255,15,143,244,255,255,15,
511 142,244,255,255,248,6,15,183,70,252,254,141,180,253,134,233,248,9,139,6,15,
512 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,7,15,135,244,
513 44,129,124,253,194,4,239,15,130,244,247,15,133,244,44,255,252,242,15,42,4,
514 194,252,233,244,248,255,221,4,202,219,4,194,252,233,244,249,255,248,8,15,
515 135,244,44,255,252,242,15,42,12,202,252,242,15,16,4,194,131,198,4,102,15,
516 46,193,255,15,134,244,9,255,15,135,244,9,255,15,130,244,9,255,15,131,244,
517 9,255,252,233,244,6,255,219,4,202,252,233,244,248,255,129,124,253,202,4,239,
518 15,131,244,44,129,124,253,194,4,239,15,131,244,44,255,248,1,252,242,15,16,
519 4,194,248,2,131,198,4,102,15,46,4,202,248,3,255,248,1,221,4,202,248,2,221,
520 4,194,248,3,131,198,4,255,223,252,233,221,216,255,218,252,233,223,224,158,
521 255,15,135,244,247,255,15,130,244,247,255,15,131,244,247,255,15,183,70,252,
522 254,141,180,253,134,233,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,
523 16,252,255,36,252,235,255,139,108,194,4,131,198,4,255,129,252,253,239,15,
524 133,244,253,129,124,253,202,4,239,15,133,244,254,139,44,194,59,44,202,255,
525 15,133,244,255,255,15,132,244,255,255,15,183,70,252,254,141,180,253,134,233,
526 248,9,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
527 248,7,15,135,244,251,129,124,253,202,4,239,15,130,244,247,15,133,244,251,
528 255,252,242,15,42,4,202,255,219,4,202,255,252,233,244,248,248,8,15,135,244,
529 251,255,252,242,15,42,4,194,102,15,46,4,202,255,219,4,194,221,4,202,255,252,
530 233,244,250,255,129,252,253,239,15,131,244,251,129,124,253,202,4,239,15,131,
531 244,251,255,248,1,252,242,15,16,4,202,248,2,102,15,46,4,194,248,4,255,248,
532 1,221,4,202,248,2,221,4,194,248,4,255,15,138,244,248,15,133,244,248,255,15,
533 138,244,248,15,132,244,247,255,248,1,15,183,70,252,254,141,180,253,134,233,
534 248,2,255,248,2,15,183,70,252,254,141,180,253,134,233,248,1,255,252,233,244,
535 9,255,129,252,253,239,15,132,244,49,129,124,253,202,4,239,15,132,244,49,255,
536 57,108,202,4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,
537 57,193,15,132,244,1,129,252,253,239,15,135,244,2,129,252,253,239,15,130,244,
538 2,139,169,233,133,252,237,15,132,244,2,252,246,133,233,235,15,133,244,2,255,
539 49,252,237,255,189,1,0,0,0,255,252,233,244,48,255,248,3,129,252,253,239,255,
540 15,133,244,9,255,252,233,244,49,255,72,252,247,208,139,108,202,4,131,198,
541 4,129,252,253,239,15,133,244,249,139,12,202,59,12,135,255,139,108,202,4,131,
542 198,4,255,129,252,253,239,15,133,244,253,129,124,253,199,4,239,15,133,244,
543 254,139,44,199,59,44,202,255,15,183,70,252,254,141,180,253,134,233,248,9,
544 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,7,
545 15,135,244,249,129,124,253,199,4,239,15,130,244,247,255,252,242,15,42,4,199,
546 255,219,4,199,255,252,233,244,248,248,8,255,252,242,15,42,4,202,102,15,46,
547 4,199,255,219,4,202,221,4,199,255,129,252,253,239,15,131,244,249,255,248,
548 1,252,242,15,16,4,199,248,2,102,15,46,4,202,248,4,255,248,1,221,4,199,248,
549 2,221,4,202,248,4,255,72,252,247,208,139,108,202,4,131,198,4,57,197,255,15,
550 133,244,249,15,183,70,252,254,141,180,253,134,233,248,2,139,6,15,182,204,
551 15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,129,252,253,239,
552 15,133,244,2,252,233,244,49,255,15,132,244,248,129,252,253,239,15,132,244,
553 49,15,183,70,252,254,141,180,253,134,233,248,2,139,6,15,182,204,15,182,232,
554 131,198,4,193,232,16,252,255,36,252,235,255,139,108,194,4,131,198,4,129,252,
555 253,239,255,137,108,202,4,139,44,194,137,44,202,255,72,139,44,194,72,137,
556 44,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
557 255,49,252,237,129,124,253,194,4,239,129,213,239,137,108,202,4,139,6,15,182,
558 204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,129,124,253,194,
559 4,239,15,133,244,251,139,44,194,252,247,221,15,128,244,250,199,68,202,4,237,
560 137,44,202,248,9,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
561 36,252,235,248,4,199,68,202,4,0,0,224,65,199,4,202,0,0,0,0,252,233,244,9,
562 248,5,15,135,244,54,255,129,124,253,194,4,239,15,131,244,54,255,252,242,15,
563 16,4,194,72,184,237,237,102,72,15,110,200,15,87,193,252,242,15,17,4,202,255,
564 221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,133,244,248,139,
565 4,194,255,139,128,233,248,1,199,68,202,4,237,137,4,202,255,15,87,192,252,
566 242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,128,233,248,1,221,28,
567 202,255,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
568 248,2,129,124,253,194,4,239,15,133,244,57,139,12,194,255,139,169,233,131,
569 252,253,0,15,133,244,255,248,3,255,248,58,137,213,232,251,1,20,255,252,242,
570 15,42,192,255,137,252,234,15,182,78,252,253,252,233,244,1,255,248,9,252,246,
571 133,233,235,15,133,244,3,252,233,244,57,255,15,182,252,236,15,182,192,255,
572 129,124,253,252,234,4,239,15,133,244,51,129,124,253,199,4,239,15,133,244,
573 51,139,44,252,234,3,44,199,15,128,244,50,255,129,124,253,252,234,4,239,15,
574 133,244,53,129,124,253,199,4,239,15,133,244,53,139,4,199,3,4,252,234,15,128,
575 244,52,255,129,124,253,252,234,4,239,15,133,244,56,129,124,253,194,4,239,
576 15,133,244,56,139,44,252,234,3,44,194,15,128,244,55,255,199,68,202,4,237,
577 255,129,124,253,252,234,4,239,15,131,244,51,255,129,124,253,199,4,239,15,
578 131,244,51,255,252,242,15,16,4,252,234,252,242,15,88,4,199,255,221,4,252,
579 234,220,4,199,255,129,124,253,252,234,4,239,15,131,244,53,255,129,124,253,
580 199,4,239,15,131,244,53,255,252,242,15,16,4,199,252,242,15,88,4,252,234,255,
581 221,4,199,220,4,252,234,255,129,124,253,252,234,4,239,15,131,244,56,129,124,
582 253,194,4,239,15,131,244,56,255,252,242,15,16,4,252,234,252,242,15,88,4,194,
583 255,221,4,252,234,220,4,194,255,129,124,253,252,234,4,239,15,133,244,51,129,
584 124,253,199,4,239,15,133,244,51,139,44,252,234,43,44,199,15,128,244,50,255,
585 129,124,253,252,234,4,239,15,133,244,53,129,124,253,199,4,239,15,133,244,
586 53,139,4,199,43,4,252,234,15,128,244,52,255,129,124,253,252,234,4,239,15,
587 133,244,56,129,124,253,194,4,239,15,133,244,56,139,44,252,234,43,44,194,15,
588 128,244,55,255,252,242,15,16,4,252,234,252,242,15,92,4,199,255,221,4,252,
589 234,220,36,199,255,252,242,15,16,4,199,252,242,15,92,4,252,234,255,221,4,
590 199,220,36,252,234,255,252,242,15,16,4,252,234,252,242,15,92,4,194,255,221,
591 4,252,234,220,36,194,255,129,124,253,252,234,4,239,15,133,244,51,129,124,
592 253,199,4,239,15,133,244,51,139,44,252,234,15,175,44,199,15,128,244,50,255,
593 129,124,253,252,234,4,239,15,133,244,53,129,124,253,199,4,239,15,133,244,
594 53,139,4,199,15,175,4,252,234,15,128,244,52,255,129,124,253,252,234,4,239,
595 15,133,244,56,129,124,253,194,4,239,15,133,244,56,139,44,252,234,15,175,44,
596 194,15,128,244,55,255,252,242,15,16,4,252,234,252,242,15,89,4,199,255,221,
597 4,252,234,220,12,199,255,252,242,15,16,4,199,252,242,15,89,4,252,234,255,
598 221,4,199,220,12,252,234,255,252,242,15,16,4,252,234,252,242,15,89,4,194,
599 255,221,4,252,234,220,12,194,255,252,242,15,16,4,252,234,252,242,15,94,4,
600 199,255,221,4,252,234,220,52,199,255,252,242,15,16,4,199,252,242,15,94,4,
601 252,234,255,221,4,199,220,52,252,234,255,252,242,15,16,4,252,234,252,242,
602 15,94,4,194,255,221,4,252,234,220,52,194,255,252,242,15,16,4,252,234,252,
603 242,15,16,12,199,255,221,4,252,234,221,4,199,255,252,242,15,16,4,199,252,
604 242,15,16,12,252,234,255,221,4,199,221,4,252,234,255,252,242,15,16,4,252,
605 234,252,242,15,16,12,194,255,221,4,252,234,221,4,194,255,248,168,232,244,
606 157,255,252,233,244,168,255,232,244,117,255,15,182,252,236,15,182,192,139,
607 76,36,96,137,145,233,141,20,194,65,137,192,65,41,232,248,36,137,205,137,116,
608 36,100,232,251,1,29,139,149,233,133,192,15,133,244,45,15,182,110,252,255,
609 15,182,78,252,253,72,139,4,252,234,72,137,4,202,139,6,15,182,204,15,182,232,
610 131,198,4,193,232,16,252,255,36,252,235,255,72,252,247,208,139,4,135,199,
611 68,202,4,237,137,4,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
612 255,36,252,235,255,15,191,192,199,68,202,4,237,137,4,202,255,15,191,192,252,
613 242,15,42,192,252,242,15,17,4,202,255,223,70,252,254,221,28,202,255,252,242,
614 15,16,4,199,252,242,15,17,4,202,255,221,4,199,221,28,202,255,72,252,247,208,
615 137,68,202,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,
616 252,235,255,141,76,202,12,141,68,194,4,189,237,137,105,252,248,248,1,137,
617 41,131,193,8,57,193,15,134,244,1,139,6,15,182,204,15,182,232,131,198,4,193,
618 232,16,252,255,36,252,235,255,139,106,252,248,139,172,253,133,233,139,173,
619 233,72,139,69,0,72,137,4,202,139,6,15,182,204,15,182,232,131,198,4,193,232,
620 16,252,255,36,252,235,255,139,106,252,248,139,172,253,141,233,128,189,233,
621 0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,69,4,15,132,244,247,252,
622 246,133,233,235,15,133,244,248,248,1,139,6,15,182,204,15,182,232,131,198,
623 4,193,232,16,252,255,36,252,235,248,2,129,232,239,129,252,248,239,15,134,
624 244,1,252,246,129,233,235,15,132,244,1,135,213,141,139,233,255,232,251,1,
625 30,137,252,234,252,233,244,1,255,72,252,247,208,139,106,252,248,139,172,253,
626 141,233,139,12,135,139,133,233,137,8,199,64,4,237,252,246,133,233,235,15,
627 133,244,248,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
628 36,252,235,248,2,252,246,129,233,235,15,132,244,1,128,189,233,0,15,132,244,
629 1,137,213,137,194,141,139,233,232,251,1,30,137,252,234,252,233,244,1,255,
630 139,106,252,248,255,252,242,15,16,4,199,255,139,172,253,141,233,139,141,233,
631 255,252,242,15,17,1,255,221,25,255,72,252,247,208,139,106,252,248,139,172,
632 253,141,233,139,141,233,137,65,4,139,6,15,182,204,15,182,232,131,198,4,193,
633 232,16,252,255,36,252,235,255,141,180,253,134,233,139,108,36,96,131,189,233,
634 0,15,132,244,247,137,149,233,141,20,202,137,252,233,232,251,1,31,139,149,
635 233,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
636 235,255,72,252,247,208,139,108,36,96,137,149,233,68,139,66,252,248,139,20,
637 135,137,252,233,137,116,36,100,232,251,1,32,139,149,233,15,182,78,252,253,
638 137,4,202,199,68,202,4,237,139,6,15,182,204,15,182,232,131,198,4,193,232,
639 16,252,255,36,252,235,255,139,108,36,96,137,149,233,139,139,233,59,139,233,
640 137,116,36,100,15,131,244,251,248,1,65,137,192,37,252,255,7,0,0,65,193,232,
641 11,61,252,255,7,0,0,15,132,244,249,248,2,137,252,233,137,194,232,251,1,33,
642 139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,204,
643 15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,184,1,8,0,0,252,
644 233,244,2,248,5,137,252,233,232,251,1,34,15,183,70,252,254,252,233,244,1,
645 255,72,252,247,208,139,108,36,96,139,139,233,137,116,36,100,59,139,233,137,
646 149,233,15,131,244,249,248,2,139,20,135,137,252,233,232,251,1,35,139,149,
647 233,15,182,78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,204,15,182,
648 232,131,198,4,193,232,16,252,255,36,252,235,248,3,137,252,233,232,251,1,34,
649 15,183,70,252,254,72,252,247,208,252,233,244,2,255,72,252,247,208,139,106,
650 252,248,139,173,233,139,4,135,252,233,244,169,255,72,252,247,208,139,106,
651 252,248,139,173,233,139,4,135,252,233,244,170,255,15,182,252,236,15,182,192,
652 129,124,253,252,234,4,239,15,133,244,39,139,44,252,234,255,129,124,253,194,
653 4,239,15,133,244,251,139,4,194,255,129,124,253,194,4,239,15,131,244,251,255,
654 252,242,15,16,4,194,252,242,15,45,192,252,242,15,42,200,102,15,46,193,255,
655 15,133,244,39,255,59,133,233,15,131,244,39,193,224,3,3,133,233,129,120,253,
656 4,239,15,132,244,248,72,139,40,72,137,44,202,248,1,139,6,15,182,204,15,182,
657 232,131,198,4,193,232,16,252,255,36,252,235,248,2,131,189,233,0,15,132,244,
658 249,139,141,233,252,246,129,233,235,15,132,244,39,15,182,78,252,253,248,3,
659 199,68,202,4,237,252,233,244,1,248,5,255,129,124,253,194,4,239,15,133,244,
660 39,139,4,194,252,233,244,169,255,15,182,252,236,15,182,192,72,252,247,208,
661 139,4,135,129,124,253,252,234,4,239,15,133,244,37,139,44,252,234,248,169,
662 139,141,233,35,136,233,105,201,239,3,141,233,248,1,129,185,233,239,15,133,
663 244,250,57,129,233,15,133,244,250,129,121,253,4,239,15,132,244,251,15,182,
664 70,252,253,72,139,41,72,137,44,194,248,2,255,139,6,15,182,204,15,182,232,
665 131,198,4,193,232,16,252,255,36,252,235,248,3,15,182,70,252,253,199,68,194,
666 4,237,252,233,244,2,248,4,139,137,233,133,201,15,133,244,1,248,5,139,141,
667 233,133,201,15,132,244,3,252,246,129,233,235,15,133,244,3,252,233,244,37,
668 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,38,139,
669 44,252,234,59,133,233,15,131,244,38,193,224,3,3,133,233,129,120,253,4,239,
670 15,132,244,248,72,139,40,72,137,44,202,248,1,139,6,15,182,204,15,182,232,
671 131,198,4,193,232,16,252,255,36,252,235,248,2,131,189,233,0,15,132,244,249,
672 139,141,233,252,246,129,233,235,15,132,244,38,255,15,182,78,252,253,248,3,
673 199,68,202,4,237,252,233,244,1,255,15,182,252,236,15,182,192,129,124,253,
674 252,234,4,239,15,133,244,42,139,44,252,234,255,15,133,244,42,255,59,133,233,
675 15,131,244,42,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,1,
676 252,246,133,233,235,15,133,244,253,248,2,72,139,44,202,72,137,40,139,6,15,
677 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,131,189,
678 233,0,15,132,244,1,139,141,233,252,246,129,233,235,255,15,132,244,42,15,182,
679 78,252,253,252,233,244,1,248,5,129,124,253,194,4,239,15,133,244,42,139,4,
680 194,252,233,244,170,248,7,128,165,233,235,139,139,233,137,171,233,137,141,
681 233,15,182,78,252,253,252,233,244,2,255,15,182,252,236,15,182,192,72,252,
682 247,208,139,4,135,129,124,253,252,234,4,239,15,133,244,40,139,44,252,234,
683 248,170,139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,233,248,1,
684 129,185,233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,253,4,239,
685 15,132,244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,3,15,182,
686 70,252,253,72,139,44,194,72,137,41,139,6,15,182,204,15,182,232,131,198,4,
687 193,232,16,252,255,36,252,235,248,4,131,189,233,0,15,132,244,2,137,76,36,
688 80,139,141,233,252,246,129,233,235,15,132,244,40,139,76,36,80,252,233,244,
689 2,248,5,139,137,233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244,
690 252,252,246,129,233,235,15,132,244,40,248,6,137,68,36,80,199,68,36,84,237,
691 137,108,36,32,139,76,36,96,137,145,233,76,141,68,36,80,137,252,234,137,205,
692 137,116,36,100,232,251,1,36,139,149,233,139,108,36,32,137,193,252,233,244,
693 2,248,7,128,165,233,235,139,131,233,137,171,233,137,133,233,252,233,244,3,
694 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,41,139,
695 44,252,234,59,133,233,15,131,244,41,193,224,3,3,133,233,129,120,253,4,239,
696 15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,2,72,139,12,202,
697 72,137,8,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
698 235,248,3,131,189,233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,
699 15,132,244,41,15,182,78,252,253,252,233,244,1,248,7,128,165,233,235,139,139,
700 233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,2,255,137,124,36,
701 80,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,133,
702 244,253,248,2,139,68,36,84,131,232,1,15,132,244,250,1,252,248,59,133,233,
703 15,135,244,251,41,252,248,193,231,3,3,189,233,248,3,72,139,41,131,193,8,72,
704 137,47,131,199,8,131,232,1,15,133,244,3,248,4,139,124,36,80,139,6,15,182,
705 204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,5,139,76,36,96,
706 137,145,233,137,252,234,65,137,192,137,205,137,116,36,100,232,251,1,37,139,
707 149,233,15,182,78,252,253,252,233,244,1,248,7,255,128,165,233,235,139,131,
708 233,137,171,233,137,133,233,252,233,244,2,255,3,68,36,84,255,129,124,253,
709 202,4,239,139,44,202,15,133,244,59,141,84,202,8,137,114,252,252,139,181,233,
710 139,14,15,182,252,233,15,182,205,131,198,4,252,255,36,252,235,255,141,76,
711 202,8,137,215,139,105,252,248,129,121,253,252,252,239,15,133,244,29,248,60,
712 139,114,252,252,252,247,198,237,15,133,244,253,248,1,137,106,252,248,137,
713 68,36,84,131,232,1,15,132,244,249,248,2,72,139,41,131,193,8,72,137,47,131,
714 199,8,131,232,1,15,133,244,2,139,106,252,248,248,3,139,68,36,84,128,189,233,
715 1,15,135,244,251,248,4,139,181,233,139,14,15,182,252,233,15,182,205,131,198,
716 4,252,255,36,252,235,248,5,255,252,247,198,237,15,133,244,4,15,182,78,252,
717 253,72,252,247,209,141,12,202,139,121,252,248,139,191,233,139,191,233,252,
718 233,244,4,248,7,129,252,238,239,252,247,198,237,15,133,244,254,41,252,242,
719 137,215,139,114,252,252,252,233,244,1,248,8,129,198,239,252,233,244,1,255,
720 141,76,202,8,72,139,105,232,72,139,65,252,240,72,137,41,72,137,65,8,139,105,
721 224,139,65,228,137,105,252,248,137,65,252,252,129,252,248,239,184,237,15,
722 133,244,29,137,202,137,114,252,252,139,181,233,139,14,15,182,252,233,15,182,
723 205,131,198,4,252,255,36,252,235,255,137,124,36,80,137,92,36,84,139,108,202,
724 252,240,139,68,202,252,248,139,157,233,131,198,4,139,189,233,248,1,57,216,
725 15,131,244,251,129,124,253,199,4,239,15,132,244,250,255,219,68,202,252,248,
726 255,72,139,44,199,72,137,108,202,8,131,192,1,255,137,68,202,252,248,248,2,
727 15,183,70,252,254,141,180,253,134,233,248,3,139,92,36,84,139,124,36,80,139,
728 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,4,131,
729 192,1,255,137,68,202,252,248,255,252,233,244,1,248,5,41,216,248,6,59,133,
730 233,15,135,244,3,105,252,248,239,3,189,233,129,191,233,239,15,132,244,253,
731 141,92,24,1,72,139,175,233,72,139,135,233,72,137,44,202,72,137,68,202,8,137,
732 92,202,252,248,252,233,244,2,248,7,131,192,1,252,233,244,6,255,129,124,253,
733 202,252,236,239,15,133,244,251,139,108,202,232,129,124,253,202,252,244,239,
734 15,133,244,251,129,124,253,202,252,252,239,15,133,244,251,128,189,233,235,
735 15,133,244,251,141,180,253,134,233,199,68,202,252,248,0,0,0,0,248,1,139,6,
736 15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,5,198,70,
737 252,252,235,141,180,253,134,233,198,6,235,252,233,244,1,255,15,182,252,236,
738 15,182,192,137,124,36,80,141,188,253,194,233,141,12,202,43,122,252,252,133,
739 252,237,15,132,244,251,141,108,252,233,252,248,57,215,15,131,244,248,248,
740 1,72,139,71,252,248,131,199,8,72,137,1,131,193,8,57,252,233,15,131,244,249,
741 57,215,15,130,244,1,248,2,199,65,4,237,131,193,8,57,252,233,15,130,244,2,
742 248,3,139,124,36,80,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
743 255,36,252,235,248,5,199,68,36,84,1,0,0,0,137,208,41,252,248,15,134,244,3,
744 137,197,193,252,237,3,131,197,1,137,108,36,84,139,108,36,96,1,200,59,133,
745 233,15,135,244,253,248,6,255,72,139,71,252,248,131,199,8,72,137,1,131,193,
746 8,57,215,15,130,244,6,252,233,244,3,248,7,137,149,233,137,141,233,137,116,
747 36,100,41,215,139,84,36,84,131,252,234,1,137,252,233,232,251,1,0,139,149,
748 233,139,141,233,1,215,252,233,244,6,255,193,225,3,255,248,1,139,114,252,252,
749 137,68,36,84,252,247,198,237,15,133,244,253,255,248,13,137,215,131,232,1,
750 15,132,244,249,248,2,72,139,44,15,72,137,111,252,248,131,199,8,131,232,1,
751 15,133,244,2,248,3,139,68,36,84,15,182,110,252,255,248,5,57,197,15,135,244,
752 252,255,72,139,44,10,72,137,106,252,248,255,248,5,56,70,252,255,15,135,244,
753 252,255,15,182,78,252,253,72,252,247,209,141,20,202,139,122,252,248,139,191,
754 233,139,191,233,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
755 36,252,235,248,6,255,199,71,252,252,237,131,199,8,255,199,68,194,252,244,
756 237,255,131,192,1,252,233,244,5,248,7,141,174,233,252,247,197,237,15,133,
757 244,14,41,252,234,255,1,252,233,255,137,252,245,209,252,237,129,229,239,102,
758 129,172,253,43,233,238,15,130,244,149,255,141,12,202,255,129,121,253,4,239,
759 15,133,244,255,255,129,121,253,12,239,15,133,244,61,129,121,253,20,239,15,
760 133,244,61,139,41,131,121,16,0,15,140,244,251,255,129,121,253,12,239,15,133,
761 244,165,129,121,253,20,239,15,133,244,165,255,139,105,16,133,252,237,15,136,
762 244,251,3,41,15,128,244,247,137,41,255,59,105,8,199,65,28,237,137,105,24,
763 255,15,142,244,253,248,1,248,6,141,180,253,134,233,255,141,180,253,134,233,
764 15,183,70,252,254,15,142,245,248,1,248,6,255,15,143,244,253,248,6,141,180,
765 253,134,233,248,1,255,248,7,139,6,15,182,204,15,182,232,131,198,4,193,232,
766 16,252,255,36,252,235,248,5,255,3,41,15,128,244,1,137,41,255,15,141,244,7,
767 255,141,180,253,134,233,15,183,70,252,254,15,141,245,255,15,140,244,7,255,
768 252,233,244,6,248,9,255,129,121,253,4,239,255,15,131,244,61,129,121,253,12,
769 239,15,131,244,61,255,129,121,253,12,239,15,131,244,165,129,121,253,20,239,
770 15,131,244,165,255,139,105,20,255,129,252,253,239,15,131,244,61,255,252,242,
771 15,16,1,252,242,15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,
772 237,15,136,244,249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15,
773 17,65,24,255,221,65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15,
774 136,244,247,255,221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,70,
775 252,254,255,15,131,244,7,255,15,131,244,248,141,180,253,134,233,255,141,180,
776 253,134,233,15,183,70,252,254,15,131,245,255,15,130,244,7,255,15,130,244,
777 248,141,180,253,134,233,255,248,3,102,15,46,193,252,233,244,1,255,141,12,
778 202,139,105,4,129,252,253,239,15,132,244,247,255,137,105,252,252,139,41,137,
779 105,252,248,252,233,245,255,141,180,253,134,233,139,1,137,105,252,252,137,
780 65,252,248,255,139,139,233,139,4,129,72,139,128,233,139,108,36,96,137,147,
781 233,137,171,233,76,137,100,36,80,76,137,108,36,32,76,137,116,36,24,76,137,
782 124,36,16,72,137,225,72,129,252,236,239,102,15,127,49,102,15,127,185,233,
783 102,68,15,127,129,233,102,68,15,127,137,233,102,68,15,127,145,233,102,68,
784 15,127,153,233,102,68,15,127,161,233,102,68,15,127,169,233,102,68,15,127,
785 177,233,102,68,15,127,185,233,252,255,224,255,141,180,253,134,233,139,6,15,
786 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,137,252,245,
787 209,252,237,129,229,239,102,129,172,253,43,233,238,15,130,244,151,255,139,
788 190,233,139,108,36,96,141,12,202,59,141,233,15,135,244,24,15,182,142,233,
789 57,200,15,134,244,249,248,2,255,15,183,70,252,254,252,233,245,255,248,3,199,
790 68,194,252,252,237,131,192,1,57,200,15,134,244,3,252,233,244,2,255,141,44,
791 197,237,141,4,194,139,122,252,248,137,104,252,252,137,120,252,248,139,108,
792 36,96,141,12,200,59,141,233,15,135,244,23,137,209,137,194,15,182,174,233,
793 133,252,237,15,132,244,248,248,1,131,193,8,57,209,15,131,244,249,139,121,
794 252,248,137,56,139,121,252,252,137,120,4,131,192,8,199,65,252,252,237,131,
795 252,237,1,15,133,244,1,248,2,255,139,190,233,139,6,15,182,204,15,182,232,
796 131,198,4,193,232,16,252,255,36,252,235,255,248,3,199,64,4,237,131,192,8,
797 131,252,237,1,15,133,244,3,252,233,244,2,255,139,106,252,248,72,139,189,233,
798 139,108,36,96,141,68,194,252,248,137,149,233,141,136,233,59,141,233,137,133,
799 233,255,72,137,252,250,137,252,233,255,15,135,244,22,199,131,233,237,255,
800 252,255,215,255,252,255,147,233,255,199,131,233,237,139,149,233,141,12,194,
801 252,247,217,3,141,233,139,114,252,252,252,233,244,12,255,254,0
802};
803
804enum {
805 GLOB_vm_returnp,
806 GLOB_cont_dispatch,
807 GLOB_vm_returnc,
808 GLOB_BC_RET_Z,
809 GLOB_vm_return,
810 GLOB_vm_leave_cp,
811 GLOB_vm_leave_unw,
812 GLOB_vm_unwind_c,
813 GLOB_vm_unwind_c_eh,
814 GLOB_vm_unwind_rethrow,
815 GLOB_vm_unwind_ff,
816 GLOB_vm_unwind_ff_eh,
817 GLOB_vm_growstack_c,
818 GLOB_vm_growstack_v,
819 GLOB_vm_growstack_f,
820 GLOB_vm_resume,
821 GLOB_vm_pcall,
822 GLOB_vm_call,
823 GLOB_vm_call_dispatch,
824 GLOB_vmeta_call,
825 GLOB_vm_call_dispatch_f,
826 GLOB_vm_cpcall,
827 GLOB_cont_ffi_callback,
828 GLOB_vm_call_tail,
829 GLOB_cont_cat,
830 GLOB_cont_ra,
831 GLOB_BC_CAT_Z,
832 GLOB_vmeta_tgets,
833 GLOB_vmeta_tgetb,
834 GLOB_vmeta_tgetv,
835 GLOB_vmeta_tsets,
836 GLOB_vmeta_tsetb,
837 GLOB_vmeta_tsetv,
838 GLOB_cont_nop,
839 GLOB_vmeta_comp,
840 GLOB_vmeta_binop,
841 GLOB_cont_condt,
842 GLOB_cont_condf,
843 GLOB_vmeta_equal,
844 GLOB_vmeta_equal_cd,
845 GLOB_vmeta_arith_vno,
846 GLOB_vmeta_arith_vn,
847 GLOB_vmeta_arith_nvo,
848 GLOB_vmeta_arith_nv,
849 GLOB_vmeta_unm,
850 GLOB_vmeta_arith_vvo,
851 GLOB_vmeta_arith_vv,
852 GLOB_vmeta_len,
853 GLOB_BC_LEN_Z,
854 GLOB_vmeta_call_ra,
855 GLOB_BC_CALLT_Z,
856 GLOB_vmeta_for,
857 GLOB_ff_assert,
858 GLOB_fff_fallback,
859 GLOB_fff_res_,
860 GLOB_ff_type,
861 GLOB_fff_res1,
862 GLOB_ff_getmetatable,
863 GLOB_ff_setmetatable,
864 GLOB_ff_rawget,
865 GLOB_ff_tonumber,
866 GLOB_fff_resi,
867 GLOB_fff_resxmm0,
868 GLOB_fff_resn,
869 GLOB_ff_tostring,
870 GLOB_fff_gcstep,
871 GLOB_ff_next,
872 GLOB_fff_res2,
873 GLOB_fff_res,
874 GLOB_ff_pairs,
875 GLOB_ff_ipairs_aux,
876 GLOB_fff_res0,
877 GLOB_ff_ipairs,
878 GLOB_ff_pcall,
879 GLOB_ff_xpcall,
880 GLOB_ff_coroutine_resume,
881 GLOB_ff_coroutine_wrap_aux,
882 GLOB_ff_coroutine_yield,
883 GLOB_ff_math_abs,
884 GLOB_fff_resbit,
885 GLOB_ff_math_floor,
886 GLOB_vm_floor,
887 GLOB_ff_math_ceil,
888 GLOB_vm_ceil,
889 GLOB_ff_math_sqrt,
890 GLOB_ff_math_log,
891 GLOB_ff_math_log10,
892 GLOB_ff_math_exp,
893 GLOB_vm_exp_x87,
894 GLOB_ff_math_sin,
895 GLOB_ff_math_cos,
896 GLOB_ff_math_tan,
897 GLOB_ff_math_asin,
898 GLOB_ff_math_acos,
899 GLOB_ff_math_atan,
900 GLOB_ff_math_sinh,
901 GLOB_ff_math_cosh,
902 GLOB_ff_math_tanh,
903 GLOB_ff_math_deg,
904 GLOB_ff_math_rad,
905 GLOB_ff_math_atan2,
906 GLOB_ff_math_ldexp,
907 GLOB_ff_math_frexp,
908 GLOB_ff_math_modf,
909 GLOB_vm_trunc,
910 GLOB_ff_math_fmod,
911 GLOB_ff_math_pow,
912 GLOB_vm_pow,
913 GLOB_ff_math_min,
914 GLOB_ff_math_max,
915 GLOB_ff_string_len,
916 GLOB_ff_string_byte,
917 GLOB_ff_string_char,
918 GLOB_fff_newstr,
919 GLOB_ff_string_sub,
920 GLOB_fff_emptystr,
921 GLOB_ff_string_rep,
922 GLOB_fff_fallback_2,
923 GLOB_ff_string_reverse,
924 GLOB_fff_fallback_1,
925 GLOB_ff_string_lower,
926 GLOB_ff_string_upper,
927 GLOB_ff_table_getn,
928 GLOB_ff_bit_tobit,
929 GLOB_ff_bit_band,
930 GLOB_fff_fallback_bit_op,
931 GLOB_ff_bit_bor,
932 GLOB_ff_bit_bxor,
933 GLOB_ff_bit_bswap,
934 GLOB_ff_bit_bnot,
935 GLOB_ff_bit_lshift,
936 GLOB_ff_bit_rshift,
937 GLOB_ff_bit_arshift,
938 GLOB_ff_bit_rol,
939 GLOB_ff_bit_ror,
940 GLOB_vm_record,
941 GLOB_vm_rethook,
942 GLOB_vm_inshook,
943 GLOB_cont_hook,
944 GLOB_vm_hotloop,
945 GLOB_vm_callhook,
946 GLOB_vm_hotcall,
947 GLOB_vm_exit_handler,
948 GLOB_vm_exit_interp,
949 GLOB_vm_floor_sse,
950 GLOB_vm_ceil_sse,
951 GLOB_vm_trunc_sse,
952 GLOB_vm_mod,
953 GLOB_vm_exp2_x87,
954 GLOB_vm_exp2raw,
955 GLOB_vm_pow_sse,
956 GLOB_vm_powi_sse,
957 GLOB_vm_foldfpm,
958 GLOB_vm_foldarith,
959 GLOB_vm_cpuid,
960 GLOB_assert_bad_for_arg_type,
961 GLOB_vm_ffi_callback,
962 GLOB_vm_ffi_call,
963 GLOB_BC_MODVN_Z,
964 GLOB_BC_TGETS_Z,
965 GLOB_BC_TSETS_Z,
966 GLOB__MAX
967};
968static const char *const globnames[] = {
969 "vm_returnp",
970 "cont_dispatch",
971 "vm_returnc",
972 "BC_RET_Z",
973 "vm_return",
974 "vm_leave_cp",
975 "vm_leave_unw",
976 "vm_unwind_c@8",
977 "vm_unwind_c_eh",
978 "vm_unwind_rethrow",
979 "vm_unwind_ff@4",
980 "vm_unwind_ff_eh",
981 "vm_growstack_c",
982 "vm_growstack_v",
983 "vm_growstack_f",
984 "vm_resume",
985 "vm_pcall",
986 "vm_call",
987 "vm_call_dispatch",
988 "vmeta_call",
989 "vm_call_dispatch_f",
990 "vm_cpcall",
991 "cont_ffi_callback",
992 "vm_call_tail",
993 "cont_cat",
994 "cont_ra",
995 "BC_CAT_Z",
996 "vmeta_tgets",
997 "vmeta_tgetb",
998 "vmeta_tgetv",
999 "vmeta_tsets",
1000 "vmeta_tsetb",
1001 "vmeta_tsetv",
1002 "cont_nop",
1003 "vmeta_comp",
1004 "vmeta_binop",
1005 "cont_condt",
1006 "cont_condf",
1007 "vmeta_equal",
1008 "vmeta_equal_cd",
1009 "vmeta_arith_vno",
1010 "vmeta_arith_vn",
1011 "vmeta_arith_nvo",
1012 "vmeta_arith_nv",
1013 "vmeta_unm",
1014 "vmeta_arith_vvo",
1015 "vmeta_arith_vv",
1016 "vmeta_len",
1017 "BC_LEN_Z",
1018 "vmeta_call_ra",
1019 "BC_CALLT_Z",
1020 "vmeta_for",
1021 "ff_assert",
1022 "fff_fallback",
1023 "fff_res_",
1024 "ff_type",
1025 "fff_res1",
1026 "ff_getmetatable",
1027 "ff_setmetatable",
1028 "ff_rawget",
1029 "ff_tonumber",
1030 "fff_resi",
1031 "fff_resxmm0",
1032 "fff_resn",
1033 "ff_tostring",
1034 "fff_gcstep",
1035 "ff_next",
1036 "fff_res2",
1037 "fff_res",
1038 "ff_pairs",
1039 "ff_ipairs_aux",
1040 "fff_res0",
1041 "ff_ipairs",
1042 "ff_pcall",
1043 "ff_xpcall",
1044 "ff_coroutine_resume",
1045 "ff_coroutine_wrap_aux",
1046 "ff_coroutine_yield",
1047 "ff_math_abs",
1048 "fff_resbit",
1049 "ff_math_floor",
1050 "vm_floor",
1051 "ff_math_ceil",
1052 "vm_ceil",
1053 "ff_math_sqrt",
1054 "ff_math_log",
1055 "ff_math_log10",
1056 "ff_math_exp",
1057 "vm_exp_x87",
1058 "ff_math_sin",
1059 "ff_math_cos",
1060 "ff_math_tan",
1061 "ff_math_asin",
1062 "ff_math_acos",
1063 "ff_math_atan",
1064 "ff_math_sinh",
1065 "ff_math_cosh",
1066 "ff_math_tanh",
1067 "ff_math_deg",
1068 "ff_math_rad",
1069 "ff_math_atan2",
1070 "ff_math_ldexp",
1071 "ff_math_frexp",
1072 "ff_math_modf",
1073 "vm_trunc",
1074 "ff_math_fmod",
1075 "ff_math_pow",
1076 "vm_pow",
1077 "ff_math_min",
1078 "ff_math_max",
1079 "ff_string_len",
1080 "ff_string_byte",
1081 "ff_string_char",
1082 "fff_newstr",
1083 "ff_string_sub",
1084 "fff_emptystr",
1085 "ff_string_rep",
1086 "fff_fallback_2",
1087 "ff_string_reverse",
1088 "fff_fallback_1",
1089 "ff_string_lower",
1090 "ff_string_upper",
1091 "ff_table_getn",
1092 "ff_bit_tobit",
1093 "ff_bit_band",
1094 "fff_fallback_bit_op",
1095 "ff_bit_bor",
1096 "ff_bit_bxor",
1097 "ff_bit_bswap",
1098 "ff_bit_bnot",
1099 "ff_bit_lshift",
1100 "ff_bit_rshift",
1101 "ff_bit_arshift",
1102 "ff_bit_rol",
1103 "ff_bit_ror",
1104 "vm_record",
1105 "vm_rethook",
1106 "vm_inshook",
1107 "cont_hook",
1108 "vm_hotloop",
1109 "vm_callhook",
1110 "vm_hotcall",
1111 "vm_exit_handler",
1112 "vm_exit_interp",
1113 "vm_floor_sse",
1114 "vm_ceil_sse",
1115 "vm_trunc_sse",
1116 "vm_mod",
1117 "vm_exp2_x87",
1118 "vm_exp2raw",
1119 "vm_pow_sse",
1120 "vm_powi_sse",
1121 "vm_foldfpm",
1122 "vm_foldarith",
1123 "vm_cpuid",
1124 "assert_bad_for_arg_type",
1125 "vm_ffi_callback",
1126 "vm_ffi_call@4",
1127 "BC_MODVN_Z",
1128 "BC_TGETS_Z",
1129 "BC_TSETS_Z",
1130 (const char *)0
1131};
1132static const char *const extnames[] = {
1133 "lj_state_growstack@8",
1134 "lj_meta_tget",
1135 "lj_meta_tset",
1136 "lj_meta_comp",
1137 "lj_meta_equal",
1138 "lj_meta_equal_cd@8",
1139 "lj_meta_arith",
1140 "lj_meta_len@8",
1141 "lj_meta_call",
1142 "lj_meta_for@8",
1143 "lj_tab_get",
1144 "lj_str_fromnumber@8",
1145 "lj_str_fromnum@8",
1146 "lj_tab_next",
1147 "lj_tab_getinth@8",
1148 "lj_ffh_coroutine_wrap_err@8",
1149 "lj_vm_sinh",
1150 "lj_vm_cosh",
1151 "lj_vm_tanh",
1152 "lj_str_new",
1153 "lj_tab_len@4",
1154 "lj_gc_step@4",
1155 "lj_dispatch_ins@8",
1156 "lj_trace_hot@8",
1157 "lj_dispatch_call@8",
1158 "lj_trace_exit@8",
1159 "lj_err_throw@8",
1160 "lj_ccallback_enter@8",
1161 "lj_ccallback_leave@8",
1162 "lj_meta_cat",
1163 "lj_gc_barrieruv@8",
1164 "lj_func_closeuv@8",
1165 "lj_func_newL_gc",
1166 "lj_tab_new",
1167 "lj_gc_step_fixtop@4",
1168 "lj_tab_dup@8",
1169 "lj_tab_newkey",
1170 "lj_tab_reasize",
1171 (const char *)0
1172};
1173#define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
1174#define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
1175#define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
1176#define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
1177#define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
1178#define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
1179#define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
1180#define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
1181#define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
1182#define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
1183#define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
1184#define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
1185#define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V)
1186#define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
1187#define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
1188#define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto))
1189
1190/* Generate subroutines used by opcodes and other parts of the VM. */
1191/* The .code_sub section should be last to help static branch prediction. */
1192static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1193{
1194 dasm_put(Dst, 0);
1195 dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C);
1196 dasm_put(Dst, 109, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL);
1197 dasm_put(Dst, 198, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK);
1198 dasm_put(Dst, 276, 1+1, Dt1(->base), Dt1(->glref), GG_G2DISP, LJ_TFALSE, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, LUA_MINSTACK, -4+PC2PROTO(framesize), Dt1(->base));
1199 dasm_put(Dst, 356, Dt1(->top), Dt1(->base), Dt1(->top), Dt7(->pc), FRAME_CP, CFRAME_RESUME, Dt1(->glref), GG_G2DISP, Dt1(->cframe), Dt1(->status), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->status), Dt1(->base), Dt1(->top), FRAME_TYPE);
1200 dasm_put(Dst, 511, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
1201 dasm_put(Dst, 604, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL);
1202#if LJ_HASFFI
1203 dasm_put(Dst, 764);
1204#endif
1205 dasm_put(Dst, 773, 0);
1206#if LJ_HASFFI
1207#endif
1208 dasm_put(Dst, 782, Dt7(->pc), PC2PROTO(k));
1209#if LJ_HASFFI
1210 dasm_put(Dst, 796);
1211#endif
1212 dasm_put(Dst, 817, Dt1(->base), LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
1213 if (LJ_DUALNUM) {
1214 dasm_put(Dst, 917, LJ_TISNUM);
1215 } else if (sse) {
1216 dasm_put(Dst, 927);
1217 } else {
1218 }
1219 dasm_put(Dst, 940, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET);
1220 dasm_put(Dst, 1087, DISPATCH_GL(tmptv), LJ_TTAB);
1221 if (LJ_DUALNUM) {
1222 dasm_put(Dst, 917, LJ_TISNUM);
1223 } else if (sse) {
1224 dasm_put(Dst, 927);
1225 } else {
1226 }
1227 dasm_put(Dst, 1110, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base));
1228 dasm_put(Dst, 1283, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
1229 dasm_put(Dst, 1383);
1230#if LJ_HASFFI
1231 dasm_put(Dst, 1403, Dt1(->base));
1232#endif
1233 dasm_put(Dst, 1434);
1234#if LJ_DUALNUM
1235 dasm_put(Dst, 1437);
1236#endif
1237 dasm_put(Dst, 1443);
1238#if LJ_DUALNUM
1239 dasm_put(Dst, 911);
1240#endif
1241 dasm_put(Dst, 1455);
1242#if LJ_DUALNUM
1243 dasm_put(Dst, 1437);
1244#endif
1245 dasm_put(Dst, 1483, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base));
1246#ifdef LUAJIT_ENABLE_LUA52COMPAT
1247 dasm_put(Dst, 1589);
1248#else
1249 dasm_put(Dst, 1608);
1250#endif
1251 dasm_put(Dst, 1613, Dt1(->base), Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND);
1252 dasm_put(Dst, 1799, 1+1, ~LJ_TNUMX);
1253 if (cmov) {
1254 dasm_put(Dst, 1868);
1255 } else {
1256 dasm_put(Dst, 1872);
1257 }
1258 dasm_put(Dst, 1881, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, ~LJ_TLIGHTUD, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL);
1259 dasm_put(Dst, 1960, DISPATCH_GL(gcroot)+4*(GCROOT_MMNAME+MM_metatable), LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next));
1260 dasm_put(Dst, 2017, LJ_TNIL, LJ_TUDATA, LJ_TNUMX, LJ_TISNUM, LJ_TLIGHTUD);
1261 dasm_put(Dst, 2083, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB);
1262 dasm_put(Dst, 2153, Dt6(->marked), LJ_GC_BLACK, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist), 2+1, LJ_TTAB);
1263 dasm_put(Dst, 2242, 1+1, LJ_TISNUM);
1264 if (LJ_DUALNUM) {
1265 dasm_put(Dst, 2256);
1266 } else {
1267 dasm_put(Dst, 2273);
1268 }
1269 if (sse) {
1270 dasm_put(Dst, 2278);
1271 } else {
1272 dasm_put(Dst, 2288);
1273 }
1274 dasm_put(Dst, 2295, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1275 dasm_put(Dst, 2361, Dt1(->base));
1276 if (LJ_DUALNUM) {
1277 dasm_put(Dst, 2385);
1278 } else {
1279 dasm_put(Dst, 2390);
1280 }
1281 dasm_put(Dst, 2395, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2);
1282 dasm_put(Dst, 2488, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
1283#ifdef LUAJIT_ENABLE_LUA52COMPAT
1284 dasm_put(Dst, 2535, Dt6(->metatable));
1285#endif
1286 dasm_put(Dst, 2544, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
1287 if (LJ_DUALNUM) {
1288 dasm_put(Dst, 2530);
1289 } else {
1290 dasm_put(Dst, 2273);
1291 }
1292 dasm_put(Dst, 2599);
1293 if (LJ_DUALNUM) {
1294 dasm_put(Dst, 2604, LJ_TISNUM);
1295 } else if (sse) {
1296 dasm_put(Dst, 2620, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1297 } else {
1298 }
1299 dasm_put(Dst, 2653, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
1300 dasm_put(Dst, 2515, 1+1, LJ_TTAB);
1301#ifdef LUAJIT_ENABLE_LUA52COMPAT
1302 dasm_put(Dst, 2535, Dt6(->metatable));
1303#endif
1304 dasm_put(Dst, 2730, Dt8(->upvalue[0]), LJ_TFUNC);
1305 if (LJ_DUALNUM) {
1306 dasm_put(Dst, 2751, LJ_TISNUM);
1307 } else if (sse) {
1308 dasm_put(Dst, 2763);
1309 } else {
1310 dasm_put(Dst, 2773);
1311 }
1312 dasm_put(Dst, 2780, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC);
1313 dasm_put(Dst, 2844, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top));
1314 dasm_put(Dst, 2934, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
1315 dasm_put(Dst, 3022, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE);
1316 dasm_put(Dst, 3135, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe));
1317 dasm_put(Dst, 3233, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
1318 dasm_put(Dst, 3300, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack));
1319 dasm_put(Dst, 3388, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME);
1320 dasm_put(Dst, 3500, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
1321 if (!LJ_DUALNUM) {
1322 dasm_put(Dst, 3527);
1323 }
1324 if (sse) {
1325 dasm_put(Dst, 3530);
1326 }
1327 dasm_put(Dst, 3545, 1+1);
1328 if (LJ_DUALNUM) {
1329 dasm_put(Dst, 3556, LJ_TISNUM, LJ_TISNUM);
1330 } else {
1331 dasm_put(Dst, 3636, LJ_TISNUM);
1332 }
1333 if (sse) {
1334 dasm_put(Dst, 3646, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1335 } else {
1336 dasm_put(Dst, 3677);
1337 }
1338 dasm_put(Dst, 3694, 1+1, FRAME_TYPE, LJ_TNIL);
1339 if (LJ_DUALNUM) {
1340 dasm_put(Dst, 3790, LJ_TISNUM);
1341 } else {
1342 dasm_put(Dst, 3636, LJ_TISNUM);
1343 }
1344 if (sse) {
1345 dasm_put(Dst, 3812);
1346 if (LJ_DUALNUM) {
1347 dasm_put(Dst, 3821);
1348 }
1349 dasm_put(Dst, 2283);
1350 } else {
1351 dasm_put(Dst, 3855);
1352 if (LJ_DUALNUM) {
1353 } else {
1354 dasm_put(Dst, 2290);
1355 }
1356 }
1357 dasm_put(Dst, 3861);
1358 if (LJ_DUALNUM) {
1359 dasm_put(Dst, 3790, LJ_TISNUM);
1360 } else {
1361 dasm_put(Dst, 3636, LJ_TISNUM);
1362 }
1363 if (sse) {
1364 dasm_put(Dst, 3864);
1365 if (LJ_DUALNUM) {
1366 dasm_put(Dst, 3821);
1367 }
1368 dasm_put(Dst, 2283);
1369 } else {
1370 dasm_put(Dst, 3873);
1371 if (LJ_DUALNUM) {
1372 } else {
1373 dasm_put(Dst, 2290);
1374 }
1375 }
1376 if (sse) {
1377 dasm_put(Dst, 3879, 1+1, LJ_TISNUM);
1378 } else {
1379 dasm_put(Dst, 3908, 1+1, LJ_TISNUM);
1380 }
1381 dasm_put(Dst, 3937, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1382 dasm_put(Dst, 4006, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1383 dasm_put(Dst, 4063, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
1384 dasm_put(Dst, 4126, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
1385 dasm_put(Dst, 4216);
1386 if (sse) {
1387 dasm_put(Dst, 4228, 1+1, LJ_TISNUM);
1388 } else {
1389 }
1390 dasm_put(Dst, 4253);
1391 if (sse) {
1392 dasm_put(Dst, 4267, 1+1, LJ_TISNUM);
1393 } else {
1394 }
1395 dasm_put(Dst, 4292);
1396 if (sse) {
1397 dasm_put(Dst, 4306, 1+1, LJ_TISNUM);
1398 } else {
1399 }
1400 dasm_put(Dst, 4331);
1401 if (sse) {
1402 dasm_put(Dst, 4347, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1403 } else {
1404 dasm_put(Dst, 4386, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
1405 }
1406 dasm_put(Dst, 4419, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
1407 dasm_put(Dst, 4484, 1+1, LJ_TISNUM);
1408 if (sse) {
1409 dasm_put(Dst, 4583);
1410 } else {
1411 dasm_put(Dst, 4589);
1412 }
1413 dasm_put(Dst, 4598);
1414 if (sse) {
1415 dasm_put(Dst, 4623);
1416 } else {
1417 dasm_put(Dst, 4629);
1418 }
1419 dasm_put(Dst, 4632, 1+2);
1420 if (sse) {
1421 dasm_put(Dst, 4641);
1422 } else {
1423 dasm_put(Dst, 4649);
1424 }
1425 dasm_put(Dst, 4657);
1426 if (sse) {
1427 dasm_put(Dst, 4660, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
1428 } else {
1429 dasm_put(Dst, 4687);
1430 }
1431 dasm_put(Dst, 4706);
1432 if (sse) {
1433 dasm_put(Dst, 4722, 1+1, LJ_TISNUM);
1434 } else {
1435 dasm_put(Dst, 4747, 1+1, LJ_TISNUM);
1436 }
1437 dasm_put(Dst, 4769);
1438 if (sse) {
1439 dasm_put(Dst, 4791);
1440 } else {
1441 dasm_put(Dst, 4817);
1442 }
1443 dasm_put(Dst, 4834, 1+2);
1444 if (sse) {
1445 dasm_put(Dst, 4874);
1446 } else {
1447 dasm_put(Dst, 4882);
1448 }
1449 dasm_put(Dst, 4892, 2+1, LJ_TISNUM, LJ_TISNUM);
1450 if (sse) {
1451 dasm_put(Dst, 4944, 2+1, LJ_TISNUM, LJ_TISNUM);
1452 } else {
1453 dasm_put(Dst, 4991, 2+1, LJ_TISNUM, LJ_TISNUM);
1454 }
1455 dasm_put(Dst, 5032, LJ_TISNUM);
1456 if (LJ_DUALNUM) {
1457 dasm_put(Dst, 5045, LJ_TISNUM);
1458 if (sse) {
1459 dasm_put(Dst, 4583);
1460 } else {
1461 }
1462 dasm_put(Dst, 5095);
1463 } else {
1464 dasm_put(Dst, 2273);
1465 }
1466 if (sse) {
1467 dasm_put(Dst, 5106, LJ_TISNUM);
1468 if (LJ_DUALNUM) {
1469 dasm_put(Dst, 5127);
1470 } else {
1471 dasm_put(Dst, 2273);
1472 }
1473 dasm_put(Dst, 5148);
1474 } else {
1475 }
1476 dasm_put(Dst, 5173, LJ_TISNUM);
1477 if (LJ_DUALNUM) {
1478 dasm_put(Dst, 5186, LJ_TISNUM);
1479 if (sse) {
1480 dasm_put(Dst, 4583);
1481 } else {
1482 }
1483 dasm_put(Dst, 5095);
1484 } else {
1485 dasm_put(Dst, 2273);
1486 }
1487 if (sse) {
1488 dasm_put(Dst, 5106, LJ_TISNUM);
1489 if (LJ_DUALNUM) {
1490 dasm_put(Dst, 5127);
1491 } else {
1492 dasm_put(Dst, 2273);
1493 }
1494 dasm_put(Dst, 5236);
1495 } else {
1496 }
1497 if (!sse) {
1498 dasm_put(Dst, 5261);
1499 }
1500 dasm_put(Dst, 5270, 1+1, LJ_TSTR);
1501 if (LJ_DUALNUM) {
1502 dasm_put(Dst, 5292, Dt5(->len));
1503 } else if (sse) {
1504 dasm_put(Dst, 5300, Dt5(->len));
1505 } else {
1506 dasm_put(Dst, 5311, Dt5(->len));
1507 }
1508 dasm_put(Dst, 5319, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
1509 if (LJ_DUALNUM) {
1510 dasm_put(Dst, 5295);
1511 } else if (sse) {
1512 dasm_put(Dst, 5357);
1513 } else {
1514 dasm_put(Dst, 5367);
1515 }
1516 dasm_put(Dst, 5380, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
1517 if (LJ_DUALNUM) {
1518 dasm_put(Dst, 5411);
1519 } else if (sse) {
1520 dasm_put(Dst, 5434);
1521 } else {
1522 dasm_put(Dst, 5460);
1523 }
1524 dasm_put(Dst, 5484, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
1525 if (LJ_DUALNUM) {
1526 dasm_put(Dst, 5592);
1527 } else if (sse) {
1528 dasm_put(Dst, 5604);
1529 } else {
1530 dasm_put(Dst, 5619);
1531 }
1532 dasm_put(Dst, 5631, LJ_TSTR, LJ_TISNUM);
1533 if (LJ_DUALNUM) {
1534 dasm_put(Dst, 2530);
1535 } else {
1536 dasm_put(Dst, 2273);
1537 }
1538 dasm_put(Dst, 5648, Dt5(->len));
1539 if (LJ_DUALNUM) {
1540 dasm_put(Dst, 5658);
1541 } else if (sse) {
1542 dasm_put(Dst, 5662);
1543 } else {
1544 }
1545 dasm_put(Dst, 5669, sizeof(GCstr)-1);
1546 dasm_put(Dst, 5744, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
1547 dasm_put(Dst, 5803, LJ_TSTR, LJ_TISNUM);
1548 if (LJ_DUALNUM) {
1549 dasm_put(Dst, 5820);
1550 } else if (sse) {
1551 dasm_put(Dst, 5828);
1552 } else {
1553 dasm_put(Dst, 5839);
1554 }
1555 dasm_put(Dst, 5855, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
1556 dasm_put(Dst, 5920, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1557 dasm_put(Dst, 5983, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
1558 dasm_put(Dst, 6054, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
1559 dasm_put(Dst, 6139, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf));
1560 dasm_put(Dst, 6209, 1+1, LJ_TTAB);
1561 if (LJ_DUALNUM) {
1562 dasm_put(Dst, 6277);
1563 } else if (sse) {
1564 dasm_put(Dst, 6284);
1565 } else {
1566 }
1567 dasm_put(Dst, 6294, 1+1, LJ_TISNUM);
1568 if (LJ_DUALNUM) {
1569 dasm_put(Dst, 6310);
1570 } else {
1571 dasm_put(Dst, 2273);
1572 }
1573 if (sse) {
1574 dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1575 } else {
1576 }
1577 dasm_put(Dst, 106);
1578 if (LJ_DUALNUM || sse) {
1579 if (!sse) {
1580 }
1581 dasm_put(Dst, 6351);
1582 } else {
1583 }
1584 dasm_put(Dst, 6356, 1+1);
1585 if (sse) {
1586 dasm_put(Dst, 6367, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1587 } else {
1588 dasm_put(Dst, 6377);
1589 }
1590 dasm_put(Dst, 2250, LJ_TISNUM);
1591 if (LJ_DUALNUM) {
1592 dasm_put(Dst, 6386);
1593 } else {
1594 dasm_put(Dst, 2273);
1595 }
1596 if (sse) {
1597 dasm_put(Dst, 6403);
1598 } else {
1599 }
1600 dasm_put(Dst, 6418, LJ_TISNUM);
1601 if (LJ_DUALNUM) {
1602 dasm_put(Dst, 6443);
1603 } else {
1604 dasm_put(Dst, 6463);
1605 }
1606 if (sse) {
1607 dasm_put(Dst, 6468);
1608 } else {
1609 }
1610 dasm_put(Dst, 6485, 1+1);
1611 if (sse) {
1612 dasm_put(Dst, 6367, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1613 } else {
1614 dasm_put(Dst, 6377);
1615 }
1616 dasm_put(Dst, 2250, LJ_TISNUM);
1617 if (LJ_DUALNUM) {
1618 dasm_put(Dst, 6386);
1619 } else {
1620 dasm_put(Dst, 2273);
1621 }
1622 if (sse) {
1623 dasm_put(Dst, 6403);
1624 } else {
1625 }
1626 dasm_put(Dst, 6418, LJ_TISNUM);
1627 if (LJ_DUALNUM) {
1628 dasm_put(Dst, 6503);
1629 } else {
1630 dasm_put(Dst, 6463);
1631 }
1632 if (sse) {
1633 dasm_put(Dst, 6523);
1634 } else {
1635 }
1636 dasm_put(Dst, 6540, 1+1);
1637 if (sse) {
1638 dasm_put(Dst, 6367, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1639 } else {
1640 dasm_put(Dst, 6377);
1641 }
1642 dasm_put(Dst, 2250, LJ_TISNUM);
1643 if (LJ_DUALNUM) {
1644 dasm_put(Dst, 6386);
1645 } else {
1646 dasm_put(Dst, 2273);
1647 }
1648 if (sse) {
1649 dasm_put(Dst, 6403);
1650 } else {
1651 }
1652 dasm_put(Dst, 6418, LJ_TISNUM);
1653 if (LJ_DUALNUM) {
1654 dasm_put(Dst, 6558);
1655 } else {
1656 dasm_put(Dst, 6463);
1657 }
1658 if (sse) {
1659 dasm_put(Dst, 6578);
1660 } else {
1661 }
1662 dasm_put(Dst, 6595, 1+1, LJ_TISNUM);
1663 if (LJ_DUALNUM) {
1664 dasm_put(Dst, 6386);
1665 } else {
1666 dasm_put(Dst, 2273);
1667 }
1668 if (sse) {
1669 dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1670 } else {
1671 }
1672 dasm_put(Dst, 6618, 1+1, LJ_TISNUM);
1673 if (LJ_DUALNUM) {
1674 dasm_put(Dst, 6386);
1675 } else {
1676 dasm_put(Dst, 2273);
1677 }
1678 if (sse) {
1679 dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1680 } else {
1681 }
1682 dasm_put(Dst, 6642);
1683 if (LJ_DUALNUM) {
1684 dasm_put(Dst, 6351);
1685 } else if (sse) {
1686 dasm_put(Dst, 6648);
1687 } else {
1688 }
1689 dasm_put(Dst, 6660);
1690 if (LJ_DUALNUM) {
1691 dasm_put(Dst, 6671, 1+1, LJ_TISNUM);
1692 if (LJ_DUALNUM) {
1693 dasm_put(Dst, 6386);
1694 } else {
1695 dasm_put(Dst, 2273);
1696 }
1697 if (sse) {
1698 dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1699 } else {
1700 }
1701 dasm_put(Dst, 6687, LJ_TISNUM);
1702 } else if (sse) {
1703 dasm_put(Dst, 6702, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1704 } else {
1705 }
1706 dasm_put(Dst, 6769);
1707 if (LJ_DUALNUM) {
1708 dasm_put(Dst, 6776, 1+1, LJ_TISNUM);
1709 if (LJ_DUALNUM) {
1710 dasm_put(Dst, 6386);
1711 } else {
1712 dasm_put(Dst, 2273);
1713 }
1714 if (sse) {
1715 dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1716 } else {
1717 }
1718 dasm_put(Dst, 6687, LJ_TISNUM);
1719 } else if (sse) {
1720 dasm_put(Dst, 6792, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1721 } else {
1722 }
1723 dasm_put(Dst, 6859);
1724 if (LJ_DUALNUM) {
1725 dasm_put(Dst, 6867, 1+1, LJ_TISNUM);
1726 if (LJ_DUALNUM) {
1727 dasm_put(Dst, 6386);
1728 } else {
1729 dasm_put(Dst, 2273);
1730 }
1731 if (sse) {
1732 dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1733 } else {
1734 }
1735 dasm_put(Dst, 6687, LJ_TISNUM);
1736 } else if (sse) {
1737 dasm_put(Dst, 6883, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1738 } else {
1739 }
1740 dasm_put(Dst, 6950);
1741 if (LJ_DUALNUM) {
1742 dasm_put(Dst, 6958, 1+1, LJ_TISNUM);
1743 if (LJ_DUALNUM) {
1744 dasm_put(Dst, 6386);
1745 } else {
1746 dasm_put(Dst, 2273);
1747 }
1748 if (sse) {
1749 dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1750 } else {
1751 }
1752 dasm_put(Dst, 6687, LJ_TISNUM);
1753 } else if (sse) {
1754 dasm_put(Dst, 6974, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1755 } else {
1756 }
1757 dasm_put(Dst, 7041);
1758 if (LJ_DUALNUM) {
1759 dasm_put(Dst, 7048, 1+1, LJ_TISNUM);
1760 if (LJ_DUALNUM) {
1761 dasm_put(Dst, 6386);
1762 } else {
1763 dasm_put(Dst, 2273);
1764 }
1765 if (sse) {
1766 dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1767 } else {
1768 }
1769 dasm_put(Dst, 6687, LJ_TISNUM);
1770 } else if (sse) {
1771 dasm_put(Dst, 7064, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
1772 } else {
1773 }
1774 dasm_put(Dst, 7131, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
1775 dasm_put(Dst, 7207, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base));
1776 dasm_put(Dst, 7334, Dt1(->top), Dt1(->base), Dt1(->top));
1777#if LJ_HASJIT
1778 dasm_put(Dst, 7373, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
1779#endif
1780 dasm_put(Dst, 7404, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE);
1781 dasm_put(Dst, 7455, Dt1(->base), Dt1(->base), GG_DISP2STATIC);
1782#if LJ_HASJIT
1783 dasm_put(Dst, 7522, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L));
1784#endif
1785 dasm_put(Dst, 7569);
1786#if LJ_HASJIT
1787 dasm_put(Dst, 7399);
1788#endif
1789 dasm_put(Dst, 7576);
1790#if LJ_HASJIT
1791 dasm_put(Dst, 7579);
1792#endif
1793 dasm_put(Dst, 7589, Dt1(->base), Dt1(->top));
1794#if LJ_HASJIT
1795 dasm_put(Dst, 7623);
1796#endif
1797 dasm_put(Dst, 7628, Dt1(->base), Dt1(->top));
1798#if LJ_HASJIT
1799 dasm_put(Dst, 7659, DISPATCH_GL(vmstate), DISPATCH_GL(vmstate), ~LJ_VMST_EXIT, DISPATCH_J(exitno), DISPATCH_J(parent), 16*8+4*8, DISPATCH_GL(jit_L), DISPATCH_GL(jit_base), DISPATCH_J(L), DISPATCH_GL(jit_L), Dt1(->base), 4*8, GG_DISP2J, Dt1(->cframe), CFRAME_RAWMASK, CFRAME_OFS_L, Dt1(->base), CFRAME_OFS_PC);
1800#endif
1801 dasm_put(Dst, 7889);
1802#if LJ_HASJIT
1803 dasm_put(Dst, 7892, 9*16+4*8, -9*16, -8*16, -7*16, -6*16, -5*16, -4*16, -3*16, -2*16, -1*16, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF);
1804 dasm_put(Dst, 8034);
1805#endif
1806 dasm_put(Dst, 8060);
1807 if (!sse) {
1808 dasm_put(Dst, 8063);
1809 }
1810 dasm_put(Dst, 8108, (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));
1811 if (!sse) {
1812 dasm_put(Dst, 8194);
1813 }
1814 dasm_put(Dst, 8239, (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));
1815 if (!sse) {
1816 dasm_put(Dst, 8325);
1817 }
1818 dasm_put(Dst, 8364, (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));
1819 if (sse) {
1820 dasm_put(Dst, 8453, (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));
1821 } else {
1822 dasm_put(Dst, 8567);
1823 }
1824 dasm_put(Dst, 8614);
1825 if (!sse) {
1826 } else {
1827 dasm_put(Dst, 8688);
1828 }
1829 dasm_put(Dst, 8691);
1830 dasm_put(Dst, 8776, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
1831 dasm_put(Dst, 8879, (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));
1832 dasm_put(Dst, 9035);
1833#if LJ_HASJIT
1834 if (sse) {
1835 dasm_put(Dst, 9076);
1836 dasm_put(Dst, 9146);
1837 dasm_put(Dst, 9219);
1838 } else {
1839 dasm_put(Dst, 9269);
1840 dasm_put(Dst, 9361);
1841 }
1842 dasm_put(Dst, 9407);
1843#endif
1844 dasm_put(Dst, 9411);
1845 if (sse) {
1846 dasm_put(Dst, 9414, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
1847 dasm_put(Dst, 9503, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
1848 } else {
1849 dasm_put(Dst, 9627);
1850 dasm_put(Dst, 9710);
1851 if (cmov) {
1852 dasm_put(Dst, 9765);
1853 } else {
1854 dasm_put(Dst, 9784);
1855 }
1856 dasm_put(Dst, 9407);
1857 }
1858 dasm_put(Dst, 9825);
1859#ifdef LUA_USE_ASSERT
1860 dasm_put(Dst, 9409);
1861#endif
1862 dasm_put(Dst, 9853);
1863#if LJ_HASFFI
1864#define DtE(_V) (int)(ptrdiff_t)&(((CTState *)0)_V)
1865 dasm_put(Dst, 9857, GG_G2DISP, Dt2(->ctype_state), DtE(->cb.slot), DtE(->cb.gpr[0]), DtE(->cb.gpr[1]), DtE(->cb.gpr[2]), DtE(->cb.gpr[3]), DtE(->cb.fpr[0]), DtE(->cb.fpr[1]), DtE(->cb.fpr[2]), DtE(->cb.fpr[3]), CFRAME_SIZE+4*8, DtE(->cb.stack), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top), Dt7(->pc));
1866#endif
1867 dasm_put(Dst, 9984);
1868#if LJ_HASFFI
1869 dasm_put(Dst, 9987, DISPATCH_GL(ctype_state), DtE(->L), Dt1(->base), Dt1(->top), DtE(->cb.gpr[0]), DtE(->cb.fpr[0]));
1870#endif
1871 dasm_put(Dst, 10028);
1872#if LJ_HASFFI
1873#define DtF(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
1874 dasm_put(Dst, 10031, DtF(->spadj));
1875#if LJ_TARGET_WINDOWS
1876#endif
1877 dasm_put(Dst, 10046, DtF(->nsp), offsetof(CCallState, stack), CCALL_SPS_EXTRA*8, DtF(->nfpr), DtF(->gpr[0]), DtF(->gpr[1]), DtF(->gpr[2]), DtF(->gpr[3]), DtF(->fpr[0]), DtF(->fpr[1]), DtF(->fpr[2]), DtF(->fpr[3]));
1878 dasm_put(Dst, 10127, DtF(->func), DtF(->gpr[0]), DtF(->fpr[0]));
1879#if LJ_TARGET_WINDOWS
1880#endif
1881 dasm_put(Dst, 10140);
1882#endif
1883}
1884
1885/* Generate the code for a single instruction. */
1886static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1887{
1888 int vk = 0;
1889 dasm_put(Dst, 780, defop);
1890
1891 switch (op) {
1892
1893 /* -- Comparison ops ---------------------------------------------------- */
1894
1895 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1896
1897
1898 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1899 if (LJ_DUALNUM) {
1900 dasm_put(Dst, 10148, LJ_TISNUM, LJ_TISNUM);
1901 switch (op) {
1902 case BC_ISLT:
1903 dasm_put(Dst, 10178);
1904 break;
1905 case BC_ISGE:
1906 dasm_put(Dst, 10183);
1907 break;
1908 case BC_ISLE:
1909 dasm_put(Dst, 10188);
1910 break;
1911 case BC_ISGT:
1912 dasm_put(Dst, 10193);
1913 break;
1914 default: break; /* Shut up GCC. */
1915 }
1916 dasm_put(Dst, 10198, -BCBIAS_J*4, LJ_TISNUM);
1917 if (sse) {
1918 dasm_put(Dst, 10252);
1919 } else {
1920 dasm_put(Dst, 10263);
1921 }
1922 dasm_put(Dst, 10274);
1923 if (sse) {
1924 dasm_put(Dst, 10281);
1925 switch (op) {
1926 case BC_ISLT:
1927 dasm_put(Dst, 10301);
1928 break;
1929 case BC_ISGE:
1930 dasm_put(Dst, 10306);
1931 break;
1932 case BC_ISLE:
1933 dasm_put(Dst, 10311);
1934 break;
1935 case BC_ISGT:
1936 dasm_put(Dst, 10316);
1937 break;
1938 default: break; /* Shut up GCC. */
1939 }
1940 dasm_put(Dst, 10321);
1941 } else {
1942 dasm_put(Dst, 10326);
1943 }
1944 } else {
1945 dasm_put(Dst, 10334, LJ_TISNUM, LJ_TISNUM);
1946 }
1947 if (sse) {
1948 dasm_put(Dst, 10355);
1949 } else {
1950 dasm_put(Dst, 10376);
1951 if (cmov) {
1952 dasm_put(Dst, 10392);
1953 } else {
1954 dasm_put(Dst, 10398);
1955 }
1956 }
1957 if (LJ_DUALNUM) {
1958 switch (op) {
1959 case BC_ISLT:
1960 dasm_put(Dst, 10301);
1961 break;
1962 case BC_ISGE:
1963 dasm_put(Dst, 10306);
1964 break;
1965 case BC_ISLE:
1966 dasm_put(Dst, 10311);
1967 break;
1968 case BC_ISGT:
1969 dasm_put(Dst, 10316);
1970 break;
1971 default: break; /* Shut up GCC. */
1972 }
1973 dasm_put(Dst, 10321);
1974 } else {
1975 switch (op) {
1976 case BC_ISLT:
1977 dasm_put(Dst, 768);
1978 break;
1979 case BC_ISGE:
1980 dasm_put(Dst, 10405);
1981 break;
1982 case BC_ISLE:
1983 dasm_put(Dst, 10410);
1984 break;
1985 case BC_ISGT:
1986 dasm_put(Dst, 10415);
1987 break;
1988 default: break; /* Shut up GCC. */
1989 }
1990 dasm_put(Dst, 10420, -BCBIAS_J*4);
1991 }
1992 break;
1993
1994 case BC_ISEQV: case BC_ISNEV:
1995 vk = op == BC_ISEQV;
1996 dasm_put(Dst, 10452);
1997 if (LJ_DUALNUM) {
1998 dasm_put(Dst, 10460, LJ_TISNUM, LJ_TISNUM);
1999 if (vk) {
2000 dasm_put(Dst, 10485);
2001 } else {
2002 dasm_put(Dst, 10490);
2003 }
2004 dasm_put(Dst, 10495, -BCBIAS_J*4, LJ_TISNUM);
2005 if (sse) {
2006 dasm_put(Dst, 10547);
2007 } else {
2008 dasm_put(Dst, 10554);
2009 }
2010 dasm_put(Dst, 10558);
2011 if (sse) {
2012 dasm_put(Dst, 10569);
2013 } else {
2014 dasm_put(Dst, 10581);
2015 }
2016 dasm_put(Dst, 10588);
2017 } else {
2018 dasm_put(Dst, 10593, LJ_TISNUM, LJ_TISNUM);
2019 }
2020 if (sse) {
2021 dasm_put(Dst, 10612);
2022 } else {
2023 dasm_put(Dst, 10630);
2024 if (cmov) {
2025 dasm_put(Dst, 10392);
2026 } else {
2027 dasm_put(Dst, 10398);
2028 }
2029 }
2030 iseqne_fp:
2031 if (vk) {
2032 dasm_put(Dst, 10643);
2033 } else {
2034 dasm_put(Dst, 10652);
2035 }
2036 iseqne_end:
2037 if (vk) {
2038 dasm_put(Dst, 10661, -BCBIAS_J*4);
2039 if (!LJ_HASFFI) {
2040 dasm_put(Dst, 4638);
2041 }
2042 } else {
2043 if (!LJ_HASFFI) {
2044 dasm_put(Dst, 4638);
2045 }
2046 dasm_put(Dst, 10676, -BCBIAS_J*4);
2047 }
2048 if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV ||
2049 op == BC_ISEQN || op == BC_ISNEN)) {
2050 dasm_put(Dst, 10691);
2051 } else {
2052 dasm_put(Dst, 10432);
2053 }
2054 if (op == BC_ISEQV || op == BC_ISNEV) {
2055 dasm_put(Dst, 10124);
2056 if (LJ_HASFFI) {
2057 dasm_put(Dst, 10696, LJ_TCDATA, LJ_TCDATA);
2058 }
2059 dasm_put(Dst, 10715, LJ_TISPRI, LJ_TISTABUD, LJ_TUDATA, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
2060 if (vk) {
2061 dasm_put(Dst, 10779);
2062 } else {
2063 dasm_put(Dst, 10783);
2064 }
2065 dasm_put(Dst, 10789);
2066 } else if (LJ_HASFFI) {
2067 dasm_put(Dst, 10794, LJ_TCDATA);
2068 if (LJ_DUALNUM && vk) {
2069 dasm_put(Dst, 10801);
2070 } else {
2071 dasm_put(Dst, 10774);
2072 }
2073 dasm_put(Dst, 10806);
2074 }
2075 break;
2076 case BC_ISEQS: case BC_ISNES:
2077 vk = op == BC_ISEQS;
2078 dasm_put(Dst, 10811, LJ_TSTR);
2079 iseqne_test:
2080 if (vk) {
2081 dasm_put(Dst, 10647);
2082 } else {
2083 dasm_put(Dst, 2929);
2084 }
2085 goto iseqne_end;
2086 case BC_ISEQN: case BC_ISNEN:
2087 vk = op == BC_ISEQN;
2088 dasm_put(Dst, 10837);
2089 if (LJ_DUALNUM) {
2090 dasm_put(Dst, 10845, LJ_TISNUM, LJ_TISNUM);
2091 if (vk) {
2092 dasm_put(Dst, 10485);
2093 } else {
2094 dasm_put(Dst, 10490);
2095 }
2096 dasm_put(Dst, 10870, -BCBIAS_J*4, LJ_TISNUM);
2097 if (sse) {
2098 dasm_put(Dst, 10918);
2099 } else {
2100 dasm_put(Dst, 10925);
2101 }
2102 dasm_put(Dst, 10929);
2103 if (sse) {
2104 dasm_put(Dst, 10936);
2105 } else {
2106 dasm_put(Dst, 10948);
2107 }
2108 dasm_put(Dst, 10588);
2109 } else {
2110 dasm_put(Dst, 10955, LJ_TISNUM);
2111 }
2112 if (sse) {
2113 dasm_put(Dst, 10964);
2114 } else {
2115 dasm_put(Dst, 10982);
2116 if (cmov) {
2117 dasm_put(Dst, 10392);
2118 } else {
2119 dasm_put(Dst, 10398);
2120 }
2121 }
2122 goto iseqne_fp;
2123 case BC_ISEQP: case BC_ISNEP:
2124 vk = op == BC_ISEQP;
2125 dasm_put(Dst, 10995);
2126 if (!LJ_HASFFI) goto iseqne_test;
2127 if (vk) {
2128 dasm_put(Dst, 11009, -BCBIAS_J*4, LJ_TCDATA);
2129 } else {
2130 dasm_put(Dst, 11059, LJ_TCDATA, -BCBIAS_J*4);
2131 }
2132 break;
2133
2134 /* -- Unary test and copy ops ------------------------------------------- */
2135
2136 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
2137 dasm_put(Dst, 11103, LJ_TISTRUECOND);
2138 if (op == BC_IST || op == BC_ISTC) {
2139 dasm_put(Dst, 10415);
2140 } else {
2141 dasm_put(Dst, 10410);
2142 }
2143 if (op == BC_ISTC || op == BC_ISFC) {
2144 dasm_put(Dst, 11115);
2145 }
2146 dasm_put(Dst, 10420, -BCBIAS_J*4);
2147 break;
2148
2149 /* -- Unary ops --------------------------------------------------------- */
2150
2151 case BC_MOV:
2152 dasm_put(Dst, 11126);
2153 break;
2154 case BC_NOT:
2155 dasm_put(Dst, 11154, LJ_TISTRUECOND, LJ_TTRUE);
2156 break;
2157 case BC_UNM:
2158 if (LJ_DUALNUM) {
2159 dasm_put(Dst, 11190, LJ_TISNUM, LJ_TISNUM);
2160 } else {
2161 dasm_put(Dst, 11267, LJ_TISNUM);
2162 }
2163 if (sse) {
2164 dasm_put(Dst, 11278, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
2165 } else {
2166 dasm_put(Dst, 11303);
2167 }
2168 if (LJ_DUALNUM) {
2169 dasm_put(Dst, 10691);
2170 } else {
2171 dasm_put(Dst, 10432);
2172 }
2173 break;
2174 case BC_LEN:
2175 dasm_put(Dst, 11312, LJ_TSTR);
2176 if (LJ_DUALNUM) {
2177 dasm_put(Dst, 11326, Dt5(->len), LJ_TISNUM);
2178 } else if (sse) {
2179 dasm_put(Dst, 11340, Dt5(->len));
2180 } else {
2181 dasm_put(Dst, 11358, Dt5(->len));
2182 }
2183 dasm_put(Dst, 11367, LJ_TTAB);
2184#ifdef LUAJIT_ENABLE_LUA52COMPAT
2185 dasm_put(Dst, 11402, Dt6(->metatable));
2186#endif
2187 dasm_put(Dst, 11416);
2188 if (LJ_DUALNUM) {
2189 } else if (sse) {
2190 dasm_put(Dst, 11425);
2191 } else {
2192 }
2193 dasm_put(Dst, 11431);
2194#ifdef LUAJIT_ENABLE_LUA52COMPAT
2195 dasm_put(Dst, 11444, Dt6(->nomm), 1<<MM_len);
2196#endif
2197 break;
2198
2199 /* -- Binary ops -------------------------------------------------------- */
2200
2201
2202 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
2203 if (LJ_DUALNUM) {
2204 dasm_put(Dst, 11460);
2205 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2206 switch (vk) {
2207 case 0:
2208 dasm_put(Dst, 11468, LJ_TISNUM, LJ_TISNUM);
2209 break;
2210 case 1:
2211 dasm_put(Dst, 11501, LJ_TISNUM, LJ_TISNUM);
2212 break;
2213 default:
2214 dasm_put(Dst, 11534, LJ_TISNUM, LJ_TISNUM);
2215 break;
2216 }
2217 dasm_put(Dst, 11567, LJ_TISNUM);
2218 if (vk == 1) {
2219 dasm_put(Dst, 11336);
2220 } else {
2221 dasm_put(Dst, 11122);
2222 }
2223 dasm_put(Dst, 10432);
2224 } else {
2225 dasm_put(Dst, 11460);
2226 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2227 switch (vk) {
2228 case 0:
2229 dasm_put(Dst, 11573, LJ_TISNUM);
2230 if (LJ_DUALNUM) {
2231 dasm_put(Dst, 11585, LJ_TISNUM);
2232 }
2233 if (sse) {
2234 dasm_put(Dst, 11596);
2235 } else {
2236 dasm_put(Dst, 11610);
2237 }
2238 break;
2239 case 1:
2240 dasm_put(Dst, 11618, LJ_TISNUM);
2241 if (LJ_DUALNUM) {
2242 dasm_put(Dst, 11630, LJ_TISNUM);
2243 }
2244 if (sse) {
2245 dasm_put(Dst, 11641);
2246 } else {
2247 dasm_put(Dst, 11655);
2248 }
2249 break;
2250 default:
2251 dasm_put(Dst, 11663, LJ_TISNUM, LJ_TISNUM);
2252 if (sse) {
2253 dasm_put(Dst, 11685);
2254 } else {
2255 dasm_put(Dst, 11699);
2256 }
2257 break;
2258 }
2259 if (sse) {
2260 dasm_put(Dst, 11296);
2261 } else {
2262 dasm_put(Dst, 11308);
2263 }
2264 dasm_put(Dst, 10432);
2265 }
2266 break;
2267 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
2268 if (LJ_DUALNUM) {
2269 dasm_put(Dst, 11460);
2270 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2271 switch (vk) {
2272 case 0:
2273 dasm_put(Dst, 11707, LJ_TISNUM, LJ_TISNUM);
2274 break;
2275 case 1:
2276 dasm_put(Dst, 11740, LJ_TISNUM, LJ_TISNUM);
2277 break;
2278 default:
2279 dasm_put(Dst, 11773, LJ_TISNUM, LJ_TISNUM);
2280 break;
2281 }
2282 dasm_put(Dst, 11567, LJ_TISNUM);
2283 if (vk == 1) {
2284 dasm_put(Dst, 11336);
2285 } else {
2286 dasm_put(Dst, 11122);
2287 }
2288 dasm_put(Dst, 10432);
2289 } else {
2290 dasm_put(Dst, 11460);
2291 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2292 switch (vk) {
2293 case 0:
2294 dasm_put(Dst, 11573, LJ_TISNUM);
2295 if (LJ_DUALNUM) {
2296 dasm_put(Dst, 11585, LJ_TISNUM);
2297 }
2298 if (sse) {
2299 dasm_put(Dst, 11806);
2300 } else {
2301 dasm_put(Dst, 11820);
2302 }
2303 break;
2304 case 1:
2305 dasm_put(Dst, 11618, LJ_TISNUM);
2306 if (LJ_DUALNUM) {
2307 dasm_put(Dst, 11630, LJ_TISNUM);
2308 }
2309 if (sse) {
2310 dasm_put(Dst, 11828);
2311 } else {
2312 dasm_put(Dst, 11842);
2313 }
2314 break;
2315 default:
2316 dasm_put(Dst, 11663, LJ_TISNUM, LJ_TISNUM);
2317 if (sse) {
2318 dasm_put(Dst, 11850);
2319 } else {
2320 dasm_put(Dst, 11864);
2321 }
2322 break;
2323 }
2324 if (sse) {
2325 dasm_put(Dst, 11296);
2326 } else {
2327 dasm_put(Dst, 11308);
2328 }
2329 dasm_put(Dst, 10432);
2330 }
2331 break;
2332 case BC_MULVN: case BC_MULNV: case BC_MULVV:
2333 if (LJ_DUALNUM) {
2334 dasm_put(Dst, 11460);
2335 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2336 switch (vk) {
2337 case 0:
2338 dasm_put(Dst, 11872, LJ_TISNUM, LJ_TISNUM);
2339 break;
2340 case 1:
2341 dasm_put(Dst, 11906, LJ_TISNUM, LJ_TISNUM);
2342 break;
2343 default:
2344 dasm_put(Dst, 11940, LJ_TISNUM, LJ_TISNUM);
2345 break;
2346 }
2347 dasm_put(Dst, 11567, LJ_TISNUM);
2348 if (vk == 1) {
2349 dasm_put(Dst, 11336);
2350 } else {
2351 dasm_put(Dst, 11122);
2352 }
2353 dasm_put(Dst, 10432);
2354 } else {
2355 dasm_put(Dst, 11460);
2356 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2357 switch (vk) {
2358 case 0:
2359 dasm_put(Dst, 11573, LJ_TISNUM);
2360 if (LJ_DUALNUM) {
2361 dasm_put(Dst, 11585, LJ_TISNUM);
2362 }
2363 if (sse) {
2364 dasm_put(Dst, 11974);
2365 } else {
2366 dasm_put(Dst, 11988);
2367 }
2368 break;
2369 case 1:
2370 dasm_put(Dst, 11618, LJ_TISNUM);
2371 if (LJ_DUALNUM) {
2372 dasm_put(Dst, 11630, LJ_TISNUM);
2373 }
2374 if (sse) {
2375 dasm_put(Dst, 11996);
2376 } else {
2377 dasm_put(Dst, 12010);
2378 }
2379 break;
2380 default:
2381 dasm_put(Dst, 11663, LJ_TISNUM, LJ_TISNUM);
2382 if (sse) {
2383 dasm_put(Dst, 12018);
2384 } else {
2385 dasm_put(Dst, 12032);
2386 }
2387 break;
2388 }
2389 if (sse) {
2390 dasm_put(Dst, 11296);
2391 } else {
2392 dasm_put(Dst, 11308);
2393 }
2394 dasm_put(Dst, 10432);
2395 }
2396 break;
2397 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
2398 dasm_put(Dst, 11460);
2399 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2400 switch (vk) {
2401 case 0:
2402 dasm_put(Dst, 11573, LJ_TISNUM);
2403 if (LJ_DUALNUM) {
2404 dasm_put(Dst, 11585, LJ_TISNUM);
2405 }
2406 if (sse) {
2407 dasm_put(Dst, 12040);
2408 } else {
2409 dasm_put(Dst, 12054);
2410 }
2411 break;
2412 case 1:
2413 dasm_put(Dst, 11618, LJ_TISNUM);
2414 if (LJ_DUALNUM) {
2415 dasm_put(Dst, 11630, LJ_TISNUM);
2416 }
2417 if (sse) {
2418 dasm_put(Dst, 12062);
2419 } else {
2420 dasm_put(Dst, 12076);
2421 }
2422 break;
2423 default:
2424 dasm_put(Dst, 11663, LJ_TISNUM, LJ_TISNUM);
2425 if (sse) {
2426 dasm_put(Dst, 12084);
2427 } else {
2428 dasm_put(Dst, 12098);
2429 }
2430 break;
2431 }
2432 if (sse) {
2433 dasm_put(Dst, 11296);
2434 } else {
2435 dasm_put(Dst, 11308);
2436 }
2437 dasm_put(Dst, 10432);
2438 break;
2439 case BC_MODVN:
2440 dasm_put(Dst, 11460);
2441 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2442 switch (vk) {
2443 case 0:
2444 dasm_put(Dst, 11573, LJ_TISNUM);
2445 if (LJ_DUALNUM) {
2446 dasm_put(Dst, 11585, LJ_TISNUM);
2447 }
2448 if (sse) {
2449 dasm_put(Dst, 12106);
2450 } else {
2451 dasm_put(Dst, 12120);
2452 }
2453 break;
2454 case 1:
2455 dasm_put(Dst, 11618, LJ_TISNUM);
2456 if (LJ_DUALNUM) {
2457 dasm_put(Dst, 11630, LJ_TISNUM);
2458 }
2459 if (sse) {
2460 dasm_put(Dst, 12128);
2461 } else {
2462 dasm_put(Dst, 12142);
2463 }
2464 break;
2465 default:
2466 dasm_put(Dst, 11663, LJ_TISNUM, LJ_TISNUM);
2467 if (sse) {
2468 dasm_put(Dst, 12150);
2469 } else {
2470 dasm_put(Dst, 12164);
2471 }
2472 break;
2473 }
2474 dasm_put(Dst, 12172);
2475 if (sse) {
2476 dasm_put(Dst, 11296);
2477 } else {
2478 dasm_put(Dst, 11308);
2479 }
2480 dasm_put(Dst, 10432);
2481 break;
2482 case BC_MODNV: case BC_MODVV:
2483 dasm_put(Dst, 11460);
2484 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2485 switch (vk) {
2486 case 0:
2487 dasm_put(Dst, 11573, LJ_TISNUM);
2488 if (LJ_DUALNUM) {
2489 dasm_put(Dst, 11585, LJ_TISNUM);
2490 }
2491 if (sse) {
2492 dasm_put(Dst, 12106);
2493 } else {
2494 dasm_put(Dst, 12120);
2495 }
2496 break;
2497 case 1:
2498 dasm_put(Dst, 11618, LJ_TISNUM);
2499 if (LJ_DUALNUM) {
2500 dasm_put(Dst, 11630, LJ_TISNUM);
2501 }
2502 if (sse) {
2503 dasm_put(Dst, 12128);
2504 } else {
2505 dasm_put(Dst, 12142);
2506 }
2507 break;
2508 default:
2509 dasm_put(Dst, 11663, LJ_TISNUM, LJ_TISNUM);
2510 if (sse) {
2511 dasm_put(Dst, 12150);
2512 } else {
2513 dasm_put(Dst, 12164);
2514 }
2515 break;
2516 }
2517 dasm_put(Dst, 12178);
2518 break;
2519 case BC_POW:
2520 dasm_put(Dst, 11460);
2521 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
2522 switch (vk) {
2523 case 0:
2524 dasm_put(Dst, 11573, LJ_TISNUM);
2525 if (LJ_DUALNUM) {
2526 dasm_put(Dst, 11585, LJ_TISNUM);
2527 }
2528 if (sse) {
2529 dasm_put(Dst, 12106);
2530 } else {
2531 dasm_put(Dst, 12120);
2532 }
2533 break;
2534 case 1:
2535 dasm_put(Dst, 11618, LJ_TISNUM);
2536 if (LJ_DUALNUM) {
2537 dasm_put(Dst, 11630, LJ_TISNUM);
2538 }
2539 if (sse) {
2540 dasm_put(Dst, 12128);
2541 } else {
2542 dasm_put(Dst, 12142);
2543 }
2544 break;
2545 default:
2546 dasm_put(Dst, 11663, LJ_TISNUM, LJ_TISNUM);
2547 if (sse) {
2548 dasm_put(Dst, 12150);
2549 } else {
2550 dasm_put(Dst, 12164);
2551 }
2552 break;
2553 }
2554 dasm_put(Dst, 12183);
2555 if (sse) {
2556 dasm_put(Dst, 11296);
2557 } else {
2558 dasm_put(Dst, 11308);
2559 }
2560 dasm_put(Dst, 10432);
2561 break;
2562
2563 case BC_CAT:
2564 dasm_put(Dst, 12187, Dt1(->base), Dt1(->base));
2565 break;
2566
2567 /* -- Constant ops ------------------------------------------------------ */
2568
2569 case BC_KSTR:
2570 dasm_put(Dst, 12270, LJ_TSTR);
2571 break;
2572 case BC_KCDATA:
2573#if LJ_HASFFI
2574 dasm_put(Dst, 12270, LJ_TCDATA);
2575#endif
2576 break;
2577 case BC_KSHORT:
2578 if (LJ_DUALNUM) {
2579 dasm_put(Dst, 12305, LJ_TISNUM);
2580 } else if (sse) {
2581 dasm_put(Dst, 12317);
2582 } else {
2583 dasm_put(Dst, 12332);
2584 }
2585 dasm_put(Dst, 10432);
2586 break;
2587 case BC_KNUM:
2588 if (sse) {
2589 dasm_put(Dst, 12340);
2590 } else {
2591 dasm_put(Dst, 12353);
2592 }
2593 dasm_put(Dst, 10432);
2594 break;
2595 case BC_KPRI:
2596 dasm_put(Dst, 12360);
2597 break;
2598 case BC_KNIL:
2599 dasm_put(Dst, 12388, LJ_TNIL);
2600 break;
2601
2602 /* -- Upvalue and function ops ------------------------------------------ */
2603
2604 case BC_UGET:
2605 dasm_put(Dst, 12435, offsetof(GCfuncL, uvptr), DtA(->v));
2606 break;
2607 case BC_USETV:
2608#define TV2MARKOFS \
2609 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2610 dasm_put(Dst, 12475, 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);
2611 dasm_put(Dst, 12566);
2612 break;
2613#undef TV2MARKOFS
2614 case BC_USETS:
2615 dasm_put(Dst, 12578, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2616 break;
2617 case BC_USETN:
2618 dasm_put(Dst, 12671);
2619 if (sse) {
2620 dasm_put(Dst, 12676);
2621 } else {
2622 dasm_put(Dst, 10951);
2623 }
2624 dasm_put(Dst, 12683, offsetof(GCfuncL, uvptr), DtA(->v));
2625 if (sse) {
2626 dasm_put(Dst, 12692);
2627 } else {
2628 dasm_put(Dst, 12698);
2629 }
2630 dasm_put(Dst, 10432);
2631 break;
2632 case BC_USETP:
2633 dasm_put(Dst, 12701, offsetof(GCfuncL, uvptr), DtA(->v));
2634 break;
2635 case BC_UCLO:
2636 dasm_put(Dst, 12740, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2637 break;
2638
2639 case BC_FNEW:
2640 dasm_put(Dst, 12795, Dt1(->base), Dt1(->base), LJ_TFUNC);
2641 break;
2642
2643 /* -- Table ops --------------------------------------------------------- */
2644
2645 case BC_TNEW:
2646 dasm_put(Dst, 12861, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2647 break;
2648 case BC_TDUP:
2649 dasm_put(Dst, 12983, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2650 break;
2651
2652 case BC_GGET:
2653 dasm_put(Dst, 13078, Dt7(->env));
2654 break;
2655 case BC_GSET:
2656 dasm_put(Dst, 13097, Dt7(->env));
2657 break;
2658
2659 case BC_TGETV:
2660 dasm_put(Dst, 13116, LJ_TTAB);
2661 if (LJ_DUALNUM) {
2662 dasm_put(Dst, 13139, LJ_TISNUM);
2663 } else {
2664 dasm_put(Dst, 13153, LJ_TISNUM);
2665 if (sse) {
2666 dasm_put(Dst, 13164);
2667 } else {
2668 }
2669 dasm_put(Dst, 13185);
2670 }
2671 dasm_put(Dst, 13190, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index, LJ_TNIL);
2672 dasm_put(Dst, 13281, LJ_TSTR);
2673 break;
2674 case BC_TGETS:
2675 dasm_put(Dst, 13299, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2676 dasm_put(Dst, 13383, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2677 break;
2678 case BC_TGETB:
2679 dasm_put(Dst, 13454, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2680 dasm_put(Dst, 13549, LJ_TNIL);
2681 break;
2682
2683 case BC_TSETV:
2684 dasm_put(Dst, 13566, LJ_TTAB);
2685 if (LJ_DUALNUM) {
2686 dasm_put(Dst, 13139, LJ_TISNUM);
2687 } else {
2688 dasm_put(Dst, 13153, LJ_TISNUM);
2689 if (sse) {
2690 dasm_put(Dst, 13164);
2691 } else {
2692 }
2693 dasm_put(Dst, 13589);
2694 }
2695 dasm_put(Dst, 13594, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex);
2696 dasm_put(Dst, 13674, LJ_TSTR, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2697 break;
2698 case BC_TSETS:
2699 dasm_put(Dst, 13731, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2700 dasm_put(Dst, 13807, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2701 dasm_put(Dst, 13895, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, LJ_TSTR, Dt1(->base), Dt1(->base), Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2702 break;
2703 case BC_TSETB:
2704 dasm_put(Dst, 13986, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2705 dasm_put(Dst, 14080, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2706 break;
2707
2708 case BC_TSETM:
2709 dasm_put(Dst, 14126, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2710 dasm_put(Dst, 14269, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2711 break;
2712
2713 /* -- Calls and vararg handling ----------------------------------------- */
2714
2715 case BC_CALL: case BC_CALLM:
2716 dasm_put(Dst, 11464);
2717 if (op == BC_CALLM) {
2718 dasm_put(Dst, 14287);
2719 }
2720 dasm_put(Dst, 14292, LJ_TFUNC, Dt7(->pc));
2721 break;
2722
2723 case BC_CALLMT:
2724 dasm_put(Dst, 14287);
2725 break;
2726 case BC_CALLT:
2727 dasm_put(Dst, 14334, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2728 dasm_put(Dst, 14449, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2729 break;
2730
2731 case BC_ITERC:
2732 dasm_put(Dst, 14520, LJ_TFUNC, 2+1, Dt7(->pc));
2733 break;
2734
2735 case BC_ITERN:
2736#if LJ_HASJIT
2737#endif
2738 dasm_put(Dst, 14591, Dt6(->asize), Dt6(->array), LJ_TNIL);
2739 if (LJ_DUALNUM) {
2740 dasm_put(Dst, 11331, LJ_TISNUM);
2741 } else if (sse) {
2742 dasm_put(Dst, 11425);
2743 } else {
2744 dasm_put(Dst, 14637);
2745 }
2746 dasm_put(Dst, 14643);
2747 if (LJ_DUALNUM) {
2748 } else if (sse) {
2749 dasm_put(Dst, 11296);
2750 } else {
2751 dasm_put(Dst, 11308);
2752 }
2753 dasm_put(Dst, 14656, -BCBIAS_J*4);
2754 if (!LJ_DUALNUM && !sse) {
2755 dasm_put(Dst, 14708);
2756 }
2757 dasm_put(Dst, 14714, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key), DtB(->val));
2758 break;
2759
2760 case BC_ISNEXT:
2761 dasm_put(Dst, 14786, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2762 break;
2763
2764 case BC_VARG:
2765 dasm_put(Dst, 14886, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2766 dasm_put(Dst, 15046, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2767 break;
2768
2769 /* -- Returns ----------------------------------------------------------- */
2770
2771 case BC_RETM:
2772 dasm_put(Dst, 14287);
2773 break;
2774
2775 case BC_RET: case BC_RET0: case BC_RET1:
2776 if (op != BC_RET0) {
2777 dasm_put(Dst, 15112);
2778 }
2779 dasm_put(Dst, 15116, FRAME_TYPE);
2780 switch (op) {
2781 case BC_RET:
2782 dasm_put(Dst, 15135);
2783 break;
2784 case BC_RET1:
2785 dasm_put(Dst, 15187);
2786 /* fallthrough */
2787 case BC_RET0:
2788 dasm_put(Dst, 15197);
2789 default:
2790 break;
2791 }
2792 dasm_put(Dst, 15208, Dt7(->pc), PC2PROTO(k));
2793 if (op == BC_RET) {
2794 dasm_put(Dst, 15252, LJ_TNIL);
2795 } else {
2796 dasm_put(Dst, 15261, LJ_TNIL);
2797 }
2798 dasm_put(Dst, 15268, -FRAME_VARG, FRAME_TYPEP);
2799 if (op != BC_RET0) {
2800 dasm_put(Dst, 15292);
2801 }
2802 dasm_put(Dst, 4717);
2803 break;
2804
2805 /* -- Loops and branches ------------------------------------------------ */
2806
2807
2808 case BC_FORL:
2809#if LJ_HASJIT
2810 dasm_put(Dst, 15296, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2811#endif
2812 break;
2813
2814 case BC_JFORI:
2815 case BC_JFORL:
2816#if !LJ_HASJIT
2817 break;
2818#endif
2819 case BC_FORI:
2820 case BC_IFORL:
2821 vk = (op == BC_IFORL || op == BC_JFORL);
2822 dasm_put(Dst, 15317);
2823 if (LJ_DUALNUM) {
2824 dasm_put(Dst, 15321, LJ_TISNUM);
2825 if (!vk) {
2826 dasm_put(Dst, 15331, LJ_TISNUM, LJ_TISNUM);
2827 } else {
2828#ifdef LUA_USE_ASSERT
2829 dasm_put(Dst, 15360, LJ_TISNUM, LJ_TISNUM);
2830#endif
2831 dasm_put(Dst, 15379);
2832 }
2833 dasm_put(Dst, 15398, LJ_TISNUM);
2834 if (op == BC_FORI) {
2835 dasm_put(Dst, 15409, -BCBIAS_J*4);
2836 } else if (op == BC_JFORI) {
2837 dasm_put(Dst, 15423, -BCBIAS_J*4, BC_JLOOP);
2838 } else if (op == BC_IFORL) {
2839 dasm_put(Dst, 15441, -BCBIAS_J*4);
2840 } else {
2841 dasm_put(Dst, 15433, BC_JLOOP);
2842 }
2843 dasm_put(Dst, 15455);
2844 if (vk) {
2845 dasm_put(Dst, 15479);
2846 }
2847 dasm_put(Dst, 15398, LJ_TISNUM);
2848 if (op == BC_FORI) {
2849 dasm_put(Dst, 15488);
2850 } else if (op == BC_JFORI) {
2851 dasm_put(Dst, 15493, -BCBIAS_J*4, BC_JLOOP);
2852 } else if (op == BC_IFORL) {
2853 dasm_put(Dst, 15507);
2854 } else {
2855 dasm_put(Dst, 15503, BC_JLOOP);
2856 }
2857 dasm_put(Dst, 15512);
2858 } else if (!vk) {
2859 dasm_put(Dst, 15519, LJ_TISNUM);
2860 }
2861 if (!vk) {
2862 dasm_put(Dst, 15525, LJ_TISNUM);
2863 } else {
2864#ifdef LUA_USE_ASSERT
2865 dasm_put(Dst, 15539, LJ_TISNUM, LJ_TISNUM);
2866#endif
2867 }
2868 dasm_put(Dst, 15558);
2869 if (!vk) {
2870 dasm_put(Dst, 15562, LJ_TISNUM);
2871 }
2872 if (sse) {
2873 dasm_put(Dst, 15571);
2874 if (vk) {
2875 dasm_put(Dst, 15583);
2876 } else {
2877 dasm_put(Dst, 15602);
2878 }
2879 dasm_put(Dst, 15607);
2880 } else {
2881 dasm_put(Dst, 15620);
2882 if (vk) {
2883 dasm_put(Dst, 15626);
2884 } else {
2885 dasm_put(Dst, 15642);
2886 }
2887 dasm_put(Dst, 15650);
2888 if (cmov) {
2889 dasm_put(Dst, 10392);
2890 } else {
2891 dasm_put(Dst, 10398);
2892 }
2893 if (!cmov) {
2894 dasm_put(Dst, 15655);
2895 }
2896 }
2897 if (op == BC_FORI) {
2898 if (LJ_DUALNUM) {
2899 dasm_put(Dst, 15661);
2900 } else {
2901 dasm_put(Dst, 15666, -BCBIAS_J*4);
2902 }
2903 } else if (op == BC_JFORI) {
2904 dasm_put(Dst, 15676, -BCBIAS_J*4, BC_JLOOP);
2905 } else if (op == BC_IFORL) {
2906 if (LJ_DUALNUM) {
2907 dasm_put(Dst, 15690);
2908 } else {
2909 dasm_put(Dst, 15695, -BCBIAS_J*4);
2910 }
2911 } else {
2912 dasm_put(Dst, 15686, BC_JLOOP);
2913 }
2914 if (LJ_DUALNUM) {
2915 dasm_put(Dst, 10321);
2916 } else {
2917 dasm_put(Dst, 11081);
2918 }
2919 if (sse) {
2920 dasm_put(Dst, 15705);
2921 }
2922 break;
2923
2924 case BC_ITERL:
2925#if LJ_HASJIT
2926 dasm_put(Dst, 15296, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2927#endif
2928 break;
2929
2930 case BC_JITERL:
2931#if !LJ_HASJIT
2932 break;
2933#endif
2934 case BC_IITERL:
2935 dasm_put(Dst, 15716, LJ_TNIL);
2936 if (op == BC_JITERL) {
2937 dasm_put(Dst, 15731, BC_JLOOP);
2938 } else {
2939 dasm_put(Dst, 15745, -BCBIAS_J*4);
2940 }
2941 dasm_put(Dst, 10430);
2942 break;
2943
2944 case BC_LOOP:
2945#if LJ_HASJIT
2946 dasm_put(Dst, 15296, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP);
2947#endif
2948 break;
2949
2950 case BC_ILOOP:
2951 dasm_put(Dst, 10432);
2952 break;
2953
2954 case BC_JLOOP:
2955#if LJ_HASJIT
2956 dasm_put(Dst, 15761, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L), 9*16+4*8, -1*16, -2*16, -3*16, -4*16, -5*16, -6*16, -7*16, -8*16, -9*16);
2957#endif
2958 break;
2959
2960 case BC_JMP:
2961 dasm_put(Dst, 15870, -BCBIAS_J*4);
2962 break;
2963
2964 /* -- Function headers -------------------------------------------------- */
2965
2966 /*
2967 ** Reminder: A function may be called with func/args above L->maxstack,
2968 ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot,
2969 ** too. This means all FUNC* ops (including fast functions) must check
2970 ** for stack overflow _before_ adding more slots!
2971 */
2972
2973 case BC_FUNCF:
2974#if LJ_HASJIT
2975 dasm_put(Dst, 15895, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_CALL);
2976#endif
2977 case BC_FUNCV: /* NYI: compiled vararg functions. */
2978 break;
2979
2980 case BC_JFUNCF:
2981#if !LJ_HASJIT
2982 break;
2983#endif
2984 case BC_IFUNCF:
2985 dasm_put(Dst, 15916, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
2986 if (op == BC_JFUNCF) {
2987 dasm_put(Dst, 15946, BC_JLOOP);
2988 } else {
2989 dasm_put(Dst, 10432);
2990 }
2991 dasm_put(Dst, 15955, LJ_TNIL);
2992 break;
2993
2994 case BC_JFUNCV:
2995#if !LJ_HASJIT
2996 break;
2997#endif
2998 dasm_put(Dst, 9409);
2999 break; /* NYI: compiled vararg functions. */
3000
3001 case BC_IFUNCV:
3002 dasm_put(Dst, 15977, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
3003 if (op == BC_JFUNCV) {
3004 dasm_put(Dst, 15946, BC_JLOOP);
3005 } else {
3006 dasm_put(Dst, 16068, -4+PC2PROTO(k));
3007 }
3008 dasm_put(Dst, 16091, LJ_TNIL);
3009 break;
3010
3011 case BC_FUNCC:
3012 case BC_FUNCCW:
3013 dasm_put(Dst, 16113, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
3014 if (op == BC_FUNCC) {
3015 dasm_put(Dst, 2381);
3016 } else {
3017 dasm_put(Dst, 16143);
3018 }
3019 dasm_put(Dst, 16151, DISPATCH_GL(vmstate), ~LJ_VMST_C);
3020 if (op == BC_FUNCC) {
3021 dasm_put(Dst, 16160);
3022 } else {
3023 dasm_put(Dst, 16164, DISPATCH_GL(wrapf));
3024 }
3025 dasm_put(Dst, 16169, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
3026 break;
3027
3028 /* ---------------------------------------------------------------------- */
3029
3030 default:
3031 fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
3032 exit(2);
3033 break;
3034 }
3035}
3036
3037static int build_backend(BuildCtx *ctx)
3038{
3039 int op;
3040 int cmov = 1;
3041 int sse = 0;
3042#ifdef LUAJIT_CPU_NOCMOV
3043 cmov = 0;
3044#endif
3045#if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
3046 sse = 1;
3047#endif
3048
3049 dasm_growpc(Dst, BC__MAX);
3050
3051 build_subroutines(ctx, cmov, sse);
3052
3053 dasm_put(Dst, 16194);
3054 for (op = 0; op < BC__MAX; op++)
3055 build_ins(ctx, (BCOp)op, op, cmov, sse);
3056
3057 return BC__MAX;
3058}
3059
3060/* Emit pseudo frame-info for all assembler functions. */
3061static void emit_asm_debug(BuildCtx *ctx)
3062{
3063 int fcofs = (int)((uint8_t *)ctx->glob[GLOB_vm_ffi_call] - ctx->code);
3064#if LJ_64
3065#define SZPTR "8"
3066#define BSZPTR "3"
3067#define REG_SP "0x7"
3068#define REG_RA "0x10"
3069#else
3070#define SZPTR "4"
3071#define BSZPTR "2"
3072#define REG_SP "0x4"
3073#define REG_RA "0x8"
3074#endif
3075 switch (ctx->mode) {
3076 case BUILD_elfasm:
3077 fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
3078 fprintf(ctx->fp,
3079 ".Lframe0:\n"
3080 "\t.long .LECIE0-.LSCIE0\n"
3081 ".LSCIE0:\n"
3082 "\t.long 0xffffffff\n"
3083 "\t.byte 0x1\n"
3084 "\t.string \"\"\n"
3085 "\t.uleb128 0x1\n"
3086 "\t.sleb128 -" SZPTR "\n"
3087 "\t.byte " REG_RA "\n"
3088 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3089 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3090 "\t.align " SZPTR "\n"
3091 ".LECIE0:\n\n");
3092 fprintf(ctx->fp,
3093 ".LSFDE0:\n"
3094 "\t.long .LEFDE0-.LASFDE0\n"
3095 ".LASFDE0:\n"
3096 "\t.long .Lframe0\n"
3097#if LJ_64
3098 "\t.quad .Lbegin\n"
3099 "\t.quad %d\n"
3100 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3101 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3102 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3103 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3104 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3105#else
3106 "\t.long .Lbegin\n"
3107 "\t.long %d\n"
3108 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3109 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3110 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3111 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3112 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3113#endif
3114 "\t.align " SZPTR "\n"
3115 ".LEFDE0:\n\n", fcofs, CFRAME_SIZE);
3116#if LJ_HASFFI
3117 fprintf(ctx->fp,
3118 ".LSFDE1:\n"
3119 "\t.long .LEFDE1-.LASFDE1\n"
3120 ".LASFDE1:\n"
3121 "\t.long .Lframe0\n"
3122#if LJ_64
3123 "\t.quad lj_vm_ffi_call\n"
3124 "\t.quad %d\n"
3125 "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */
3126 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3127 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3128 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3129#else
3130 "\t.long lj_vm_ffi_call\n"
3131 "\t.long %d\n"
3132 "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */
3133 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3134 "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */
3135 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */
3136#endif
3137 "\t.align " SZPTR "\n"
3138 ".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
3139#endif
3140#if (defined(__sun__) && defined(__svr4__)) || defined(__solaris_)
3141 fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
3142#else
3143 fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
3144#endif
3145 fprintf(ctx->fp,
3146 ".Lframe1:\n"
3147 "\t.long .LECIE1-.LSCIE1\n"
3148 ".LSCIE1:\n"
3149 "\t.long 0\n"
3150 "\t.byte 0x1\n"
3151 "\t.string \"zPR\"\n"
3152 "\t.uleb128 0x1\n"
3153 "\t.sleb128 -" SZPTR "\n"
3154 "\t.byte " REG_RA "\n"
3155 "\t.uleb128 6\n" /* augmentation length */
3156 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3157 "\t.long lj_err_unwind_dwarf-.\n"
3158 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3159 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3160 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3161 "\t.align " SZPTR "\n"
3162 ".LECIE1:\n\n");
3163 fprintf(ctx->fp,
3164 ".LSFDE2:\n"
3165 "\t.long .LEFDE2-.LASFDE2\n"
3166 ".LASFDE2:\n"
3167 "\t.long .LASFDE2-.Lframe1\n"
3168 "\t.long .Lbegin-.\n"
3169 "\t.long %d\n"
3170 "\t.uleb128 0\n" /* augmentation length */
3171 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3172#if LJ_64
3173 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3174 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3175 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3176 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3177#else
3178 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3179 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3180 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3181 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3182#endif
3183 "\t.align " SZPTR "\n"
3184 ".LEFDE2:\n\n", fcofs, CFRAME_SIZE);
3185#if LJ_HASFFI
3186 fprintf(ctx->fp,
3187 ".Lframe2:\n"
3188 "\t.long .LECIE2-.LSCIE2\n"
3189 ".LSCIE2:\n"
3190 "\t.long 0\n"
3191 "\t.byte 0x1\n"
3192 "\t.string \"zR\"\n"
3193 "\t.uleb128 0x1\n"
3194 "\t.sleb128 -" SZPTR "\n"
3195 "\t.byte " REG_RA "\n"
3196 "\t.uleb128 1\n" /* augmentation length */
3197 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3198 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3199 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3200 "\t.align " SZPTR "\n"
3201 ".LECIE2:\n\n");
3202 fprintf(ctx->fp,
3203 ".LSFDE3:\n"
3204 "\t.long .LEFDE3-.LASFDE3\n"
3205 ".LASFDE3:\n"
3206 "\t.long .LASFDE3-.Lframe2\n"
3207 "\t.long lj_vm_ffi_call-.\n"
3208 "\t.long %d\n"
3209 "\t.uleb128 0\n" /* augmentation length */
3210#if LJ_64
3211 "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */
3212 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3213 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3214 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3215#else
3216 "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */
3217 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3218 "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */
3219 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */
3220#endif
3221 "\t.align " SZPTR "\n"
3222 ".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
3223#endif
3224 break;
3225 case BUILD_coffasm:
3226 fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n");
3227 fprintf(ctx->fp,
3228 "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n",
3229 LJ_32 ? "_" : "");
3230 fprintf(ctx->fp,
3231 "Lframe1:\n"
3232 "\t.long LECIE1-LSCIE1\n"
3233 "LSCIE1:\n"
3234 "\t.long 0\n"
3235 "\t.byte 0x1\n"
3236 "\t.string \"zP\"\n"
3237 "\t.uleb128 0x1\n"
3238 "\t.sleb128 -" SZPTR "\n"
3239 "\t.byte " REG_RA "\n"
3240 "\t.uleb128 5\n" /* augmentation length */
3241 "\t.byte 0x00\n" /* absptr */
3242 "\t.long %slj_err_unwind_dwarf\n"
3243 "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
3244 "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
3245 "\t.align " SZPTR "\n"
3246 "LECIE1:\n\n", LJ_32 ? "_" : "");
3247 fprintf(ctx->fp,
3248 "LSFDE1:\n"
3249 "\t.long LEFDE1-LASFDE1\n"
3250 "LASFDE1:\n"
3251 "\t.long LASFDE1-Lframe1\n"
3252 "\t.long %slj_vm_asm_begin\n"
3253 "\t.long %d\n"
3254 "\t.uleb128 0\n" /* augmentation length */
3255 "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
3256#if LJ_64
3257 "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
3258 "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
3259 "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
3260 "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
3261#else
3262 "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
3263 "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
3264 "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
3265 "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
3266#endif
3267 "\t.align " SZPTR "\n"
3268 "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE);
3269 break;
3270 /* Mental note: never let Apple design an assembler.
3271 ** Or a linker. Or a plastic case. But I digress.
3272 */
3273 case BUILD_machasm: {
3274#if LJ_HASFFI
3275 int fcsize = 0;
3276#endif
3277 int i;
3278 fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
3279 fprintf(ctx->fp,
3280 "EH_frame1:\n"
3281 "\t.set L$set$x,LECIEX-LSCIEX\n"
3282 "\t.long L$set$x\n"
3283 "LSCIEX:\n"
3284 "\t.long 0\n"
3285 "\t.byte 0x1\n"
3286 "\t.ascii \"zPR\\0\"\n"
3287 "\t.byte 0x1\n"
3288 "\t.byte 128-" SZPTR "\n"
3289 "\t.byte " REG_RA "\n"
3290 "\t.byte 6\n" /* augmentation length */
3291 "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
3292#if LJ_64
3293 "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n"
3294 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3295 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3296#else
3297 "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
3298 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3299 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
3300#endif
3301 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3302 "\t.align " BSZPTR "\n"
3303 "LECIEX:\n\n");
3304 for (i = 0; i < ctx->nsym; i++) {
3305 const char *name = ctx->sym[i].name;
3306 int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
3307 if (size == 0) continue;
3308#if LJ_HASFFI
3309 if (!strcmp(name, "_lj_vm_ffi_call")) { fcsize = size; continue; }
3310#endif
3311 fprintf(ctx->fp,
3312 "%s.eh:\n"
3313 "LSFDE%d:\n"
3314 "\t.set L$set$%d,LEFDE%d-LASFDE%d\n"
3315 "\t.long L$set$%d\n"
3316 "LASFDE%d:\n"
3317 "\t.long LASFDE%d-EH_frame1\n"
3318 "\t.long %s-.\n"
3319 "\t.long %d\n"
3320 "\t.byte 0\n" /* augmentation length */
3321 "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
3322#if LJ_64
3323 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3324 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3325 "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */
3326 "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */
3327#else
3328 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3329 "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
3330 "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
3331 "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
3332#endif
3333 "\t.align " BSZPTR "\n"
3334 "LEFDE%d:\n\n",
3335 name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i);
3336 }
3337#if LJ_HASFFI
3338 if (fcsize) {
3339 fprintf(ctx->fp,
3340 "EH_frame2:\n"
3341 "\t.set L$set$y,LECIEY-LSCIEY\n"
3342 "\t.long L$set$y\n"
3343 "LSCIEY:\n"
3344 "\t.long 0\n"
3345 "\t.byte 0x1\n"
3346 "\t.ascii \"zR\\0\"\n"
3347 "\t.byte 0x1\n"
3348 "\t.byte 128-" SZPTR "\n"
3349 "\t.byte " REG_RA "\n"
3350 "\t.byte 1\n" /* augmentation length */
3351#if LJ_64
3352 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3353 "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
3354#else
3355 "\t.byte 0x1b\n" /* pcrel|sdata4 */
3356 "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH. */
3357#endif
3358 "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
3359 "\t.align " BSZPTR "\n"
3360 "LECIEY:\n\n");
3361 fprintf(ctx->fp,
3362 "_lj_vm_ffi_call.eh:\n"
3363 "LSFDEY:\n"
3364 "\t.set L$set$yy,LEFDEY-LASFDEY\n"
3365 "\t.long L$set$yy\n"
3366 "LASFDEY:\n"
3367 "\t.long LASFDEY-EH_frame2\n"
3368 "\t.long _lj_vm_ffi_call-.\n"
3369 "\t.long %d\n"
3370 "\t.byte 0\n" /* augmentation length */
3371#if LJ_64
3372 "\t.byte 0xe\n\t.byte 16\n" /* def_cfa_offset */
3373 "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */
3374 "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */
3375 "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */
3376#else
3377 "\t.byte 0xe\n\t.byte 8\n" /* def_cfa_offset */
3378 "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
3379 "\t.byte 0xd\n\t.uleb128 0x4\n" /* def_cfa_register ebp */
3380 "\t.byte 0x83\n\t.byte 0x3\n" /* offset ebx */
3381#endif
3382 "\t.align " BSZPTR "\n"
3383 "LEFDEY:\n\n", fcsize);
3384 }
3385#endif
3386#if LJ_64
3387 fprintf(ctx->fp, "\t.subsections_via_symbols\n");
3388#else
3389 fprintf(ctx->fp,
3390 "\t.non_lazy_symbol_pointer\n"
3391 "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
3392 ".indirect_symbol _lj_err_unwind_dwarf\n"
3393 ".long 0\n");
3394#endif
3395 }
3396 break;
3397 default: /* Difficult for other modes. */
3398 break;
3399 }
3400}
3401