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