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.
Development Snapshot
+- Build of preliminary x64 interpreter can be enabled with
+make "CC=gcc -m64".
+Only works on Linux/x64. Does not work on WIN64 or OSX/x64 (yet).
- Implement yield from C hooks.
- Add abstract C call handling to IR.
- Improve KNUM fuse vs. load heuristics.
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))
HOST_CC= $(CC)
HOST_RM= rm -f
-# NOTE: The LuaJIT distribution comes with a pre-generated buildvm_*.h.
+# NOTE: The LuaJIT distribution comes with pre-generated buildvm_*.h files.
# You DO NOT NEED an installed copy of (plain) Lua 5.1 to run DynASM unless
# you want to MODIFY the corresponding *.dasc file. You can also use LuaJIT
-# itself (bootstrapped from the pre-generated file) to run DynASM of course.
+# itself (bootstrapped from a pre-generated file) to run DynASM of course.
HOST_LUA= lua
HOST_XCFLAGS=
@@ -237,6 +237,9 @@ DASM_DIR= ../dynasm
DASM= $(HOST_LUA) $(DASM_DIR)/dynasm.lua
DASM_FLAGS=
DASM_DISTFLAGS= -LN
+DASM_FLAGS_X86=
+DASM_FLAGS_X64= -D X64
+DASM_FLAGS_X64WIN= -D X64 -D X64WIN
BUILDVM_O= buildvm.o buildvm_asm.o buildvm_peobj.o buildvm_lib.o buildvm_fold.o
BUILDVM_T= buildvm
@@ -277,7 +280,7 @@ LUAJIT_T= luajit
ALL_T= $(LUAJIT_T) $(LUAJIT_A) $(LUAJIT_SO) $(BUILDVM_T)
ALL_GEN= $(LJVM_S) lj_ffdef.h lj_libdef.h lj_recdef.h $(LIB_VMDEFP) lj_folddef.h
-ALL_DYNGEN= buildvm_x86.h
+ALL_DYNGEN= buildvm_*.h
WIN_RM= *.obj *.lib *.exp *.dll *.exe *.manifest *.pdb *.ilk
ALL_RM= $(ALL_T) $(ALL_GEN) *.o $(WIN_RM)
@@ -358,7 +361,9 @@ cleaner:
distclean: clean
$(E) "DYNASM $@"
- $(Q)$(DASM) $(DASM_DISTFLAGS) -o buildvm_x86.h buildvm_x86.dasc
+ $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_X86) -o buildvm_x86.h buildvm_x86.dasc
+ $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_X64) -o buildvm_x64.h buildvm_x86.dasc
+ $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_X64WIN) -o buildvm_x64win.h buildvm_x86.dasc
depend:
@test -f lj_ffdef.h || touch lj_ffdef.h
@@ -366,12 +371,16 @@ depend:
@test -f lj_recdef.h || touch lj_recdef.h
@test -f lj_folddef.h || touch lj_folddef.h
@test -f buildvm_x86.h || touch buildvm_x86.h
+ @test -f buildvm_x64.h || touch buildvm_x64.h
+ @test -f buildvm_x64win.h || touch buildvm_x64win.h
@$(HOST_CC) $(HOST_ACFLAGS) -MM *.c | sed "s|$(DASM_DIR)|\$$(DASM_DIR)|g" >Makefile.dep
@test -s lj_ffdef.h || $(HOST_RM) lj_ffdef.h
@test -s lj_libdef.h || $(HOST_RM) lj_libdef.h
@test -s lj_recdef.h || $(HOST_RM) lj_recdef.h
@test -s lj_folddef.h || $(HOST_RM) lj_folddef.h
@test -s buildvm_x86.h || $(HOST_RM) buildvm_x86.h
+ @test -s buildvm_x64.h || $(HOST_RM) buildvm_x64.h
+ @test -s buildvm_x64win.h || $(HOST_RM) buildvm_x64win.h
.PHONY: default all amalg clean cleaner distclean depend
@@ -381,7 +390,17 @@ depend:
buildvm_x86.h: buildvm_x86.dasc
$(E) "DYNASM $@"
- $(Q)$(DASM) $(DASM_FLAGS) -o $@ buildvm_x86.dasc
+ $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_X86) -o $@ buildvm_x86.dasc
+
+buildvm_x64.h: buildvm_x86.dasc
+ $(E) "DYNASM $@"
+ $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_X64) -o $@ buildvm_x86.dasc
+
+buildvm_x64win.h: buildvm_x86.dasc
+ $(E) "DYNASM $@"
+ $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_X64WIN) -o $@ buildvm_x86.dasc
+
+buildvm.o: buildvm_x86.h buildvm_x64.h buildvm_x64win.h
$(BUILDVM_T): $(BUILDVM_O)
$(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);
#define DASM_ALIGNED_WRITES 1
/* Embed architecture-specific DynASM encoder and backend. */
-#if LJ_TARGET_X86
+#if LJ_TARGET_X86ORX64
#include "../dynasm/dasm_x86.h"
+#if LJ_32
#include "buildvm_x86.h"
+#elif defined(_WIN64)
+#include "buildvm_x64win.h"
+#else
+#include "buildvm_x64.h"
+#endif
#else
#error "No support for this architecture (yet)"
#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 @@
+/*
+** This file has been pre-processed with DynASM.
+** http://luajit.org/dynasm.html
+** DynASM version 1.2.1, DynASM x64 version 1.2.1
+** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
+*/
+
+#if DASM_VERSION != 10201
+#error "Version mismatch between DynASM and included encoding engine"
+#endif
+
+#define DASM_SECTION_CODE_OP 0
+#define DASM_SECTION_CODE_SUB 1
+#define DASM_MAXSECTION 2
+static const unsigned char build_actionlist[13633] = {
+ 254,1,248,10,137,202,139,173,233,137,90,252,252,15,182,141,233,139,157,233,
+ 68,139,189,233,139,108,36,16,141,12,202,141,68,194,252,252,59,141,233,15,
+ 135,244,11,248,9,189,237,248,1,137,40,137,104,8,131,192,16,57,200,15,130,
+ 244,1,255,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
+ 252,238,248,12,137,89,252,252,141,28,197,237,141,148,253,25,233,137,106,252,
+ 248,139,173,233,137,90,252,252,15,182,157,233,68,141,60,218,139,92,36,16,
+ 141,66,4,68,59,187,233,15,135,244,13,15,182,157,233,133,219,15,132,244,248,
+ 248,1,131,193,8,57,209,15,131,244,248,68,139,121,252,248,68,137,120,252,252,
+ 68,139,121,252,252,68,137,56,131,192,8,199,65,252,252,237,131,252,235,1,15,
+ 133,244,1,248,2,15,182,141,233,139,157,233,255,68,139,189,233,141,12,202,
+ 252,233,244,9,248,14,137,89,252,252,76,139,189,233,139,108,36,16,141,68,193,
+ 252,248,137,141,233,141,136,233,137,133,233,59,141,233,76,137,252,254,137,
+ 252,239,15,135,244,15,65,199,134,233,237,65,252,255,150,233,65,199,134,233,
+ 237,139,149,233,141,12,194,252,247,217,3,141,233,248,16,131,192,1,137,68,
+ 36,4,252,247,195,237,255,15,132,244,17,252,233,244,18,248,19,137,89,252,252,
+ 76,139,189,233,139,108,36,16,141,68,193,252,248,137,141,233,141,136,233,137,
+ 133,233,59,141,233,137,252,239,15,135,244,15,65,199,134,233,237,65,252,255,
+ 215,65,199,134,233,237,139,149,233,141,12,194,252,247,217,3,141,233,248,16,
+ 131,192,1,137,68,36,4,252,247,195,237,255,15,132,244,17,248,18,252,247,195,
+ 237,15,132,244,20,65,199,134,233,237,131,227,252,248,41,211,252,247,219,131,
+ 232,1,15,132,244,248,248,1,139,44,10,137,106,252,248,139,108,10,4,137,106,
+ 252,252,131,194,8,131,232,1,15,133,244,1,248,2,139,108,36,16,137,157,233,
+ 248,3,139,68,36,4,139,76,36,8,248,4,57,193,15,133,244,252,248,5,255,131,252,
+ 234,8,137,149,233,248,21,72,139,76,36,32,72,137,141,233,49,192,248,22,72,
+ 131,196,40,65,94,65,95,91,93,195,248,6,15,130,244,253,59,149,233,15,135,244,
+ 254,199,66,252,252,237,131,194,8,131,192,1,252,233,244,4,248,7,133,201,15,
+ 132,244,5,41,193,141,20,202,252,233,244,5,248,8,137,149,233,255,137,68,36,
+ 4,137,206,137,252,239,232,251,1,0,139,149,233,252,233,244,3,248,23,137,252,
+ 240,72,137,252,252,248,24,139,108,36,16,139,173,233,199,133,233,237,252,233,
+ 244,22,248,25,72,129,231,239,72,137,252,252,248,26,139,108,36,16,72,199,193,
+ 252,248,252,255,252,255,252,255,184,237,139,149,233,68,139,181,233,65,129,
+ 198,239,139,90,252,252,199,66,252,252,237,65,199,134,233,237,255,252,233,
+ 244,16,248,20,252,247,195,237,15,132,244,27,131,227,252,248,41,218,72,141,
+ 76,25,252,248,139,90,252,252,199,68,10,4,237,252,233,244,16,248,15,190,237,
+ 252,233,244,247,248,13,131,232,8,137,202,68,137,252,249,139,157,233,139,108,
+ 36,16,248,11,131,232,4,41,209,193,252,233,3,131,195,4,137,149,233,137,133,
+ 233,137,92,36,20,137,206,248,1,137,252,239,232,251,1,0,139,141,233,255,139,
+ 133,233,139,105,252,248,139,89,252,252,41,200,193,232,3,131,192,1,252,255,
+ 165,233,248,28,85,83,65,87,65,86,72,131,252,236,40,137,252,253,137,124,36,
+ 16,137,252,241,187,237,49,192,76,141,188,253,36,233,68,139,181,233,65,129,
+ 198,239,76,137,189,233,137,68,36,20,72,137,68,36,32,137,68,36,8,137,68,36,
+ 12,56,133,233,15,132,244,249,65,199,134,233,237,136,133,233,139,149,233,139,
+ 133,233,41,200,193,232,3,131,192,1,41,209,139,90,252,252,137,68,36,4,252,
+ 247,195,237,15,132,244,17,252,233,244,18,248,29,255,85,83,65,87,65,86,72,
+ 131,252,236,40,187,237,137,76,36,12,252,233,244,247,248,30,85,83,65,87,65,
+ 86,72,131,252,236,40,187,237,248,1,137,84,36,8,137,252,253,137,124,36,16,
+ 137,252,241,248,2,76,139,189,233,76,137,124,36,32,137,108,36,20,72,137,165,
+ 233,68,139,181,233,65,129,198,239,248,3,65,199,134,233,237,139,149,233,1,
+ 203,41,211,139,133,233,41,200,193,232,3,131,192,1,139,105,252,248,129,121,
+ 253,252,252,239,15,133,244,31,252,255,165,233,248,32,255,85,83,65,87,65,86,
+ 72,131,252,236,40,137,252,253,137,124,36,16,137,108,36,20,68,139,189,233,
+ 68,43,189,233,199,68,36,12,0,0,0,0,68,137,124,36,8,76,139,189,233,76,137,
+ 124,36,32,72,137,165,233,252,255,209,133,192,15,132,244,21,137,193,187,237,
+ 252,233,244,2,248,27,1,209,131,227,252,248,137,213,41,218,199,68,193,252,
+ 252,237,137,200,139,93,252,244,72,99,77,252,240,76,141,61,245,76,1,252,249,
+ 68,139,122,252,248,69,139,191,233,69,139,191,233,252,255,225,248,33,15,182,
+ 75,252,255,131,252,237,16,141,12,202,41,252,233,15,132,244,34,252,247,217,
+ 193,252,233,3,139,124,36,16,137,151,233,137,202,139,72,4,139,0,137,77,4,137,
+ 69,0,137,252,238,252,233,244,35,248,36,255,137,4,36,199,68,36,4,237,72,141,
+ 4,36,128,123,252,252,235,15,133,244,247,65,141,142,233,137,41,199,65,4,237,
+ 137,205,252,233,244,248,248,37,15,182,67,252,254,255,252,242,15,42,192,252,
+ 242,15,17,4,36,255,72,141,4,36,252,233,244,247,248,38,15,182,67,252,254,141,
+ 4,194,248,1,15,182,107,252,255,141,44,252,234,248,2,139,124,36,16,137,151,
+ 233,137,252,238,72,137,194,137,252,253,137,92,36,20,232,251,1,1,139,149,233,
+ 133,192,15,132,244,249,248,34,15,182,75,252,253,139,104,4,139,0,137,108,202,
+ 4,137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
+ 252,238,248,3,139,141,233,137,89,252,244,141,153,233,41,211,139,105,252,248,
+ 184,3,0,0,0,252,255,165,233,248,39,137,4,36,199,68,36,4,237,72,141,4,36,128,
+ 123,252,252,235,15,133,244,247,65,141,142,233,255,137,41,199,65,4,237,137,
+ 205,252,233,244,248,248,40,15,182,67,252,254,255,72,141,4,36,252,233,244,
+ 247,248,41,15,182,67,252,254,141,4,194,248,1,15,182,107,252,255,141,44,252,
+ 234,248,2,139,124,36,16,137,151,233,137,252,238,72,137,194,137,252,253,137,
+ 92,36,20,232,251,1,2,139,149,233,133,192,15,132,244,249,15,182,75,252,253,
+ 139,108,202,4,139,12,202,137,104,4,137,8,248,42,139,3,15,182,204,15,182,232,
+ 131,195,4,193,232,16,65,252,255,36,252,238,248,3,139,141,233,137,89,252,244,
+ 15,182,67,252,253,139,108,194,4,139,4,194,137,105,20,137,65,16,141,153,233,
+ 41,211,139,105,252,248,184,4,0,0,0,252,255,165,233,248,43,139,108,36,16,137,
+ 149,233,141,52,202,141,20,194,137,252,239,15,182,75,252,252,137,92,36,20,
+ 232,251,1,3,248,3,139,149,233,131,252,248,1,15,135,244,44,248,4,255,141,91,
+ 4,15,130,244,252,248,5,15,183,67,252,254,141,156,253,131,233,248,6,139,3,
+ 15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,45,131,
+ 195,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,46,129,120,253,4,239,
+ 252,233,244,4,248,47,131,252,235,4,137,206,137,252,233,139,108,36,16,137,
+ 149,233,137,194,137,252,239,137,92,36,20,232,251,1,4,252,233,244,3,248,48,
+ 255,65,141,4,199,252,233,244,247,248,49,65,141,4,199,141,44,252,234,149,252,
+ 233,244,248,248,50,141,4,194,137,197,252,233,244,248,248,51,141,4,194,248,
+ 1,141,44,252,234,248,2,141,12,202,68,15,182,67,252,252,137,206,137,193,139,
+ 124,36,16,137,151,233,137,252,234,137,252,253,137,92,36,20,232,251,1,5,139,
+ 149,233,133,192,15,132,244,42,248,44,137,193,41,208,137,89,252,244,141,152,
+ 233,139,105,252,248,184,3,0,0,0,129,121,253,252,252,239,15,133,244,31,255,
+ 252,255,165,233,248,52,139,108,36,16,137,149,233,141,52,194,137,252,239,137,
+ 92,36,20,232,251,1,6,139,149,233,252,233,244,44,248,31,137,76,36,4,137,4,
+ 36,131,252,233,8,139,108,36,16,137,149,233,137,206,141,20,193,137,252,239,
+ 137,92,36,20,232,251,1,7,139,149,233,139,76,36,4,139,4,36,139,105,252,248,
+ 131,192,1,65,57,215,15,132,244,53,252,255,165,233,248,54,139,108,36,16,137,
+ 149,233,137,206,137,252,239,137,92,36,20,232,251,1,8,139,149,233,139,67,252,
+ 252,15,182,204,15,182,232,193,232,16,65,252,255,164,253,252,238,233,248,55,
+ 129,252,248,239,15,130,244,56,255,139,105,4,129,252,253,239,15,131,244,56,
+ 137,68,36,4,137,105,252,252,139,41,137,105,252,248,131,232,2,15,132,244,248,
+ 137,12,36,248,1,131,193,8,139,105,4,137,105,252,252,139,41,137,105,252,248,
+ 131,232,1,15,133,244,1,139,12,36,248,2,139,68,36,4,252,233,244,57,248,58,
+ 129,252,248,239,15,130,244,56,139,105,4,184,237,252,247,213,57,232,255,15,
+ 71,197,255,15,134,244,247,137,232,248,1,255,139,105,252,248,139,132,253,197,
+ 233,199,65,252,252,237,137,65,252,248,252,233,244,59,248,60,129,252,248,239,
+ 15,130,244,56,139,105,4,129,252,253,239,15,133,244,252,248,1,139,41,139,173,
+ 233,248,2,133,252,237,199,65,252,252,237,15,132,244,59,139,65,252,248,65,
+ 139,134,233,199,65,252,252,237,137,105,252,248,137,12,36,139,141,233,255,
+ 35,136,233,105,201,239,3,141,233,248,3,129,185,233,239,15,133,244,250,57,
+ 129,233,15,132,244,251,248,4,139,137,233,133,201,15,133,244,3,252,233,244,
+ 59,248,5,139,105,4,129,252,253,239,15,132,244,59,255,139,1,139,12,36,137,
+ 105,252,252,137,65,252,248,252,233,244,59,248,6,129,252,253,239,15,132,244,
+ 1,129,252,253,239,15,135,244,253,189,237,248,7,252,247,213,65,139,172,253,
+ 174,233,252,233,244,2,248,61,129,252,248,239,15,130,244,56,129,121,253,4,
+ 239,15,133,244,56,255,139,41,131,189,233,0,15,133,244,56,129,121,253,12,239,
+ 15,133,244,56,139,65,8,137,133,233,199,65,252,252,237,137,105,252,248,252,
+ 246,133,233,235,15,132,244,247,128,165,233,235,65,139,134,233,65,137,174,
+ 233,137,133,233,248,1,252,233,244,59,248,62,255,129,252,248,239,15,130,244,
+ 56,129,121,253,4,239,15,133,244,56,137,20,36,137,205,139,49,141,81,8,139,
+ 124,36,16,232,251,1,9,137,252,233,139,20,36,139,40,139,64,4,137,105,252,248,
+ 137,65,252,252,252,233,244,59,248,63,129,252,248,239,15,133,244,56,129,121,
+ 253,4,239,15,135,244,56,255,252,242,15,16,1,252,233,244,64,255,221,1,252,
+ 233,244,65,255,248,66,129,252,248,239,15,130,244,56,129,121,253,4,239,15,
+ 133,244,249,139,1,248,2,199,65,252,252,237,137,65,252,248,252,233,244,59,
+ 248,3,129,121,253,4,239,15,135,244,56,65,131,190,233,0,15,133,244,56,65,139,
+ 174,233,65,59,174,233,255,15,130,244,247,232,244,67,248,1,139,108,36,16,137,
+ 141,233,137,89,252,252,137,92,36,20,137,20,36,137,206,137,252,239,232,251,
+ 1,10,139,141,233,139,20,36,252,233,244,2,248,68,129,252,248,239,15,130,244,
+ 56,15,132,244,248,248,1,129,121,253,4,239,15,133,244,56,137,20,36,139,49,
+ 139,108,36,16,137,141,233,255,137,89,252,252,141,81,8,137,252,239,137,92,
+ 36,20,232,251,1,11,139,141,233,139,20,36,133,192,15,132,244,249,139,105,8,
+ 139,65,12,137,105,252,248,137,65,252,252,139,105,16,139,65,20,137,41,137,
+ 65,4,248,69,184,237,252,233,244,70,248,2,199,65,12,237,252,233,244,1,248,
+ 3,199,65,252,252,237,252,233,244,59,248,71,129,252,248,239,15,130,244,56,
+ 129,121,253,4,239,255,15,133,244,56,139,133,233,199,65,252,252,237,137,65,
+ 252,248,199,65,12,237,184,237,252,233,244,70,248,72,129,252,248,239,15,130,
+ 244,56,129,121,253,4,239,15,133,244,56,129,121,253,12,239,15,135,244,56,255,
+ 252,242,15,16,65,8,72,189,237,237,102,72,15,110,205,252,242,15,88,193,252,
+ 242,15,45,192,252,242,15,17,65,252,248,255,139,41,59,133,233,15,131,244,248,
+ 193,224,3,3,133,233,248,1,129,120,253,4,239,15,132,244,73,139,40,139,64,4,
+ 137,41,137,65,4,252,233,244,69,248,2,131,189,233,0,15,132,244,73,137,20,36,
+ 137,252,239,137,205,137,198,232,251,1,12,137,252,233,139,20,36,133,192,15,
+ 133,244,1,248,73,184,237,252,233,244,70,248,74,255,129,252,248,239,15,130,
+ 244,56,129,121,253,4,239,15,133,244,56,139,133,233,199,65,252,252,237,137,
+ 65,252,248,255,15,87,192,252,242,15,17,65,8,255,217,252,238,221,89,8,255,
+ 184,237,252,233,244,70,248,75,129,252,248,239,15,130,244,56,137,89,252,252,
+ 187,237,137,202,131,193,8,131,232,1,139,105,252,248,248,1,65,252,246,134,
+ 233,235,15,133,244,249,248,2,129,121,253,252,252,239,15,133,244,31,252,255,
+ 165,233,248,3,131,195,1,252,233,244,2,248,76,255,129,252,248,239,15,130,244,
+ 56,129,121,253,12,239,15,133,244,56,137,89,252,252,139,105,4,137,105,12,199,
+ 65,4,237,139,41,139,89,8,137,105,8,137,25,187,237,137,202,129,193,239,131,
+ 232,2,252,233,244,1,248,9,139,92,36,20,252,233,244,56,248,77,129,252,248,
+ 239,15,130,244,56,139,41,137,89,252,252,137,92,36,20,137,44,36,129,121,253,
+ 4,239,15,133,244,9,255,72,131,189,233,0,15,133,244,9,128,189,233,235,15,135,
+ 244,9,139,157,233,137,92,36,4,15,132,244,247,59,157,233,15,132,244,9,248,
+ 1,141,92,195,252,240,59,157,233,15,135,244,9,137,157,233,139,108,36,16,137,
+ 141,233,131,193,8,137,141,233,255,139,108,36,4,141,76,193,232,72,41,217,57,
+ 252,235,15,132,244,249,248,2,139,68,11,4,137,67,252,252,139,4,11,137,67,252,
+ 248,131,252,235,8,57,252,235,15,133,244,2,248,3,139,60,36,139,116,36,4,232,
+ 244,28,65,199,134,233,237,139,108,36,16,139,28,36,139,149,233,129,252,248,
+ 239,15,135,244,254,248,4,139,139,233,68,139,187,233,137,139,233,68,137,252,
+ 251,41,203,15,132,244,252,255,141,4,26,193,252,235,3,59,133,233,15,135,244,
+ 255,137,213,72,41,205,248,5,139,1,137,4,41,139,65,4,137,68,41,4,131,193,8,
+ 68,57,252,249,15,133,244,5,248,6,141,67,2,199,66,252,252,237,248,7,139,92,
+ 36,20,137,68,36,4,72,199,193,252,248,252,255,252,255,252,255,252,247,195,
+ 237,15,132,244,17,252,233,244,18,248,8,199,66,252,252,237,139,139,233,131,
+ 252,233,8,137,139,233,139,1,137,2,139,65,4,137,66,4,184,237,252,233,244,7,
+ 248,9,255,139,12,36,68,137,185,233,137,222,137,252,239,232,251,1,0,139,149,
+ 233,252,233,244,4,248,9,139,92,36,20,252,233,244,56,248,78,139,173,233,137,
+ 89,252,252,137,92,36,20,137,44,36,72,131,189,233,0,15,133,244,9,128,189,233,
+ 235,15,135,244,9,139,157,233,137,92,36,4,15,132,244,247,59,157,233,255,15,
+ 132,244,9,248,1,141,92,195,252,248,59,157,233,15,135,244,9,137,157,233,139,
+ 108,36,16,137,141,233,137,141,233,139,108,36,4,141,76,193,252,240,72,41,217,
+ 57,252,235,15,132,244,249,248,2,139,68,11,4,137,67,252,252,139,4,11,137,67,
+ 252,248,131,252,235,8,57,252,235,15,133,244,2,248,3,139,60,36,139,116,36,
+ 4,232,244,28,65,199,134,233,237,139,108,36,16,139,28,36,139,149,233,255,129,
+ 252,248,239,15,135,244,254,248,4,139,139,233,68,139,187,233,137,139,233,68,
+ 137,252,251,41,203,15,132,244,252,141,4,26,193,252,235,3,59,133,233,15,135,
+ 244,255,137,213,72,41,205,248,5,139,1,137,4,41,139,65,4,137,68,41,4,131,193,
+ 8,68,57,252,249,15,133,244,5,248,6,141,67,1,248,7,139,92,36,20,137,68,36,
+ 4,49,201,252,247,195,237,15,132,244,17,255,252,233,244,18,248,8,137,222,137,
+ 252,239,232,251,1,13,248,9,139,12,36,68,137,185,233,137,222,137,252,239,232,
+ 251,1,0,139,149,233,252,233,244,4,248,79,139,108,36,16,137,89,252,252,72,
+ 252,247,133,233,237,15,132,244,56,137,141,233,141,68,193,252,248,137,133,
+ 233,49,192,72,137,133,233,176,235,136,133,233,252,233,244,22,255,248,65,221,
+ 89,252,248,252,233,244,59,248,80,129,252,248,239,15,130,244,56,129,121,253,
+ 4,239,15,135,244,56,252,242,15,16,1,72,184,237,237,102,72,15,110,200,15,84,
+ 193,248,64,252,242,15,17,65,252,248,255,248,80,129,252,248,239,15,130,244,
+ 56,129,121,253,4,239,15,135,244,56,221,1,217,225,248,64,248,65,221,89,252,
+ 248,255,248,59,184,237,248,70,137,68,36,4,248,57,252,247,195,237,15,133,244,
+ 253,248,5,56,67,252,255,15,135,244,252,139,3,15,182,204,15,182,232,131,195,
+ 4,193,232,16,65,252,255,36,252,238,248,6,199,68,193,252,244,237,131,192,1,
+ 252,233,244,5,248,7,137,202,72,199,193,252,248,252,255,252,255,252,255,252,
+ 233,244,18,255,248,81,129,252,248,239,15,130,244,56,129,121,253,4,239,15,
+ 135,244,56,252,242,15,81,1,252,233,244,64,248,82,129,252,248,239,15,130,244,
+ 56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,232,244,83,252,233,244,
+ 64,248,84,255,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,252,242,15,16,1,232,244,85,252,233,244,64,255,248,81,129,252,248,239,15,
+ 130,244,56,129,121,253,4,239,15,135,244,56,221,1,217,252,250,252,233,244,
+ 65,248,82,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,221,
+ 1,232,244,83,252,233,244,65,248,84,255,129,252,248,239,15,130,244,56,129,
+ 121,253,4,239,15,135,244,56,221,1,232,244,85,252,233,244,65,255,248,86,129,
+ 252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,217,252,237,221,
+ 1,217,252,241,252,233,244,65,248,87,129,252,248,239,15,130,244,56,129,121,
+ 253,4,239,15,135,244,56,217,252,236,221,1,217,252,241,252,233,244,65,248,
+ 88,129,252,248,239,255,15,130,244,56,129,121,253,4,239,15,135,244,56,221,
+ 1,232,244,89,252,233,244,65,248,90,129,252,248,239,15,130,244,56,129,121,
+ 253,4,239,15,135,244,56,221,1,217,252,254,252,233,244,65,248,91,129,252,248,
+ 239,255,15,130,244,56,129,121,253,4,239,15,135,244,56,221,1,217,252,255,252,
+ 233,244,65,248,92,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,
+ 244,56,221,1,217,252,242,221,216,252,233,244,65,248,93,129,252,248,239,15,
+ 130,244,56,255,129,121,253,4,239,15,135,244,56,221,1,217,192,216,200,217,
+ 232,222,225,217,252,250,217,252,243,252,233,244,65,248,94,129,252,248,239,
+ 15,130,244,56,129,121,253,4,239,15,135,244,56,221,1,217,192,216,200,217,232,
+ 222,225,217,252,250,217,201,217,252,243,252,233,244,65,248,95,129,252,248,
+ 239,15,130,244,56,129,121,253,4,239,15,135,244,56,255,221,1,217,232,217,252,
+ 243,252,233,244,65,255,248,96,129,252,248,239,15,130,244,56,129,121,253,4,
+ 239,15,135,244,56,252,242,15,16,1,255,137,12,36,137,213,232,251,1,14,139,
+ 12,36,137,252,234,252,233,244,64,255,248,97,129,252,248,239,15,130,244,56,
+ 129,121,253,4,239,15,135,244,56,252,242,15,16,1,255,137,12,36,137,213,232,
+ 251,1,15,139,12,36,137,252,234,252,233,244,64,255,248,98,129,252,248,239,
+ 15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,255,137,12,
+ 36,137,213,232,251,1,16,139,12,36,137,252,234,252,233,244,64,248,99,255,248,
+ 100,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,
+ 15,16,1,252,242,15,89,133,233,252,233,244,64,255,248,100,129,252,248,239,
+ 15,130,244,56,129,121,253,4,239,15,135,244,56,221,1,220,141,233,252,233,244,
+ 65,255,248,101,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,129,121,253,12,239,15,135,244,56,221,1,221,65,8,217,252,243,252,233,244,
+ 65,248,102,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,
+ 129,121,253,12,239,255,15,135,244,56,221,65,8,221,1,217,252,253,221,217,252,
+ 233,244,65,248,103,129,252,248,239,15,130,244,56,139,105,4,129,252,253,239,
+ 15,135,244,56,139,1,137,105,252,252,137,65,252,248,209,229,129,252,253,0,
+ 0,224,252,255,15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,
+ 253,0,0,32,0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,
+ 197,255,137,44,36,219,4,36,255,139,105,252,252,129,229,252,255,252,255,15,
+ 128,129,205,0,0,224,63,137,105,252,252,248,2,255,252,242,15,17,1,255,221,
+ 25,255,184,237,252,233,244,70,248,3,255,15,87,192,252,233,244,2,255,217,252,
+ 238,252,233,244,2,255,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,
+ 242,15,89,193,252,242,15,17,65,252,248,255,221,1,199,4,36,0,0,128,90,216,
+ 12,36,221,89,252,248,255,139,105,252,252,184,52,4,0,0,209,229,252,233,244,
+ 1,255,248,104,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,252,242,15,16,1,255,248,104,129,252,248,239,15,130,244,56,129,121,253,
+ 4,239,15,135,244,56,221,1,255,139,105,4,209,229,129,252,253,0,0,224,252,255,
+ 15,132,244,250,255,15,40,224,232,244,105,252,242,15,92,224,248,1,252,242,
+ 15,17,65,252,248,252,242,15,17,33,255,217,192,232,244,105,220,252,233,248,
+ 1,221,89,252,248,221,25,255,139,65,252,252,139,105,4,49,232,15,136,244,249,
+ 248,2,184,237,252,233,244,70,248,3,129,252,245,0,0,0,128,137,105,4,252,233,
+ 244,2,248,4,255,15,87,228,252,233,244,1,255,217,252,238,217,201,252,233,244,
+ 1,255,248,106,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,129,121,253,12,239,15,135,244,56,221,65,8,221,1,248,1,217,252,248,223,
+ 224,158,15,138,244,1,221,217,252,233,244,65,255,248,107,129,252,248,239,15,
+ 130,244,56,129,121,253,4,239,15,135,244,56,129,121,253,12,239,15,135,244,
+ 56,252,242,15,16,1,252,242,15,16,73,8,232,244,108,252,233,244,64,255,248,
+ 107,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,121,
+ 253,12,239,15,135,244,56,221,1,221,65,8,232,244,108,252,233,244,65,255,248,
+ 109,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,
+ 15,16,1,189,2,0,0,0,248,1,57,197,15,131,244,64,129,124,253,252,233,252,252,
+ 239,15,135,244,56,252,242,15,16,76,252,233,252,248,252,242,15,93,193,131,
+ 197,1,252,233,244,1,255,248,110,129,252,248,239,15,130,244,56,129,121,253,
+ 4,239,15,135,244,56,252,242,15,16,1,189,2,0,0,0,248,1,57,197,15,131,244,64,
+ 129,124,253,252,233,252,252,239,15,135,244,56,252,242,15,16,76,252,233,252,
+ 248,252,242,15,95,193,131,197,1,252,233,244,1,255,248,5,221,216,252,233,244,
+ 56,255,248,111,129,252,248,239,15,130,244,56,129,121,253,4,239,15,133,244,
+ 56,139,41,255,252,242,15,42,133,233,252,233,244,64,255,219,133,233,252,233,
+ 244,65,255,248,112,129,252,248,239,15,133,244,56,129,121,253,4,239,15,133,
+ 244,56,139,41,131,189,233,1,15,130,244,73,15,182,173,233,255,252,242,15,42,
+ 197,252,233,244,64,255,137,44,36,219,4,36,252,233,244,65,255,248,113,65,139,
+ 174,233,65,59,174,233,15,130,244,247,232,244,67,248,1,129,252,248,239,15,
+ 133,244,56,129,121,253,4,239,15,135,244,56,255,252,242,15,45,1,61,252,255,
+ 0,0,0,15,135,244,56,137,68,36,4,255,221,1,219,92,36,4,129,124,36,4,252,255,
+ 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,
+ 114,139,108,36,16,137,149,233,139,84,36,24,72,137,198,137,252,239,137,92,
+ 36,20,232,251,1,17,139,12,36,139,149,233,199,65,252,252,237,137,65,252,248,
+ 252,233,244,59,248,115,65,139,174,233,65,59,174,233,15,130,244,247,232,244,
+ 67,248,1,137,12,36,199,68,36,4,252,255,252,255,252,255,252,255,129,252,248,
+ 239,15,130,244,56,15,134,244,247,129,121,253,20,239,255,252,242,15,45,105,
+ 16,137,108,36,4,255,221,65,16,219,92,36,4,255,248,1,129,121,253,4,239,15,
+ 133,244,56,129,121,253,12,239,15,135,244,56,139,41,137,108,36,24,139,173,
+ 233,255,252,242,15,45,73,8,255,139,68,36,4,57,197,15,130,244,251,248,2,133,
+ 201,15,142,244,253,248,3,139,108,36,24,41,200,15,140,244,116,141,172,253,
+ 13,233,131,192,1,248,4,137,68,36,24,137,232,252,233,244,114,248,5,15,140,
+ 244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248,7,255,15,
+ 132,244,254,1,252,233,131,193,1,15,143,244,3,248,8,185,1,0,0,0,252,233,244,
+ 3,248,116,49,192,252,233,244,4,248,117,129,252,248,239,15,130,244,56,65,139,
+ 174,233,65,59,174,233,15,130,244,247,232,244,67,248,1,255,137,12,36,129,121,
+ 253,4,239,15,133,244,56,129,121,253,12,239,15,135,244,56,139,41,255,252,242,
+ 15,45,65,8,255,221,65,8,219,92,36,4,139,68,36,4,255,133,192,15,142,244,116,
+ 131,189,233,1,15,130,244,116,15,133,244,118,65,57,134,233,15,130,244,118,
+ 15,182,141,233,65,139,174,233,137,68,36,24,248,1,136,77,0,131,197,1,131,232,
+ 1,15,133,244,1,65,139,134,233,252,233,244,114,248,119,129,252,248,239,255,
+ 15,130,244,56,65,139,174,233,65,59,174,233,15,130,244,247,232,244,67,248,
+ 1,137,12,36,129,121,253,4,239,15,133,244,56,139,41,139,133,233,133,192,15,
+ 132,244,116,65,57,134,233,15,130,244,120,129,197,239,137,92,36,4,137,68,36,
+ 24,65,139,158,233,248,1,255,15,182,77,0,131,197,1,131,232,1,136,12,3,15,133,
+ 244,1,137,216,139,92,36,4,252,233,244,114,248,121,129,252,248,239,15,130,
+ 244,56,65,139,174,233,65,59,174,233,15,130,244,247,232,244,67,248,1,137,12,
+ 36,129,121,253,4,239,15,133,244,56,139,41,139,133,233,65,57,134,233,255,15,
+ 130,244,120,129,197,239,137,92,36,4,137,68,36,24,65,139,158,233,252,233,244,
+ 249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,249,90,15,135,
+ 244,248,131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,
+ 139,92,36,4,252,233,244,114,248,122,129,252,248,239,15,130,244,56,255,65,
+ 139,174,233,65,59,174,233,15,130,244,247,232,244,67,248,1,137,12,36,129,121,
+ 253,4,239,15,133,244,56,139,41,139,133,233,65,57,134,233,15,130,244,120,129,
+ 197,239,137,92,36,4,137,68,36,24,65,139,158,233,252,233,244,249,248,1,15,
+ 182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,248,
+ 131,252,241,32,248,2,136,12,3,248,3,131,232,1,15,137,244,1,137,216,139,92,
+ 36,4,252,233,244,114,248,123,129,252,248,239,15,130,244,56,129,121,253,4,
+ 239,15,133,244,56,137,20,36,137,205,139,57,232,251,1,18,137,252,233,139,20,
+ 36,255,252,242,15,42,192,252,233,244,64,255,248,124,129,252,248,239,15,130,
+ 244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,72,189,237,237,102,
+ 72,15,110,205,252,242,15,88,193,102,15,126,197,252,242,15,42,197,252,233,
+ 244,64,255,248,125,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,
+ 244,56,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,
+ 102,15,126,197,255,137,68,36,4,141,68,193,252,240,255,137,20,36,255,248,1,
+ 57,200,15,134,244,126,129,120,253,4,239,15,135,244,127,255,252,242,15,16,
+ 0,252,242,15,88,193,102,15,126,194,33,213,255,131,232,8,252,233,244,1,255,
+ 248,128,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,
+ 242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,126,
+ 197,255,252,242,15,16,0,252,242,15,88,193,102,15,126,194,9,213,255,248,129,
+ 129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,
+ 16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,126,197,255,
+ 252,242,15,16,0,252,242,15,88,193,102,15,126,194,49,213,255,248,130,129,252,
+ 248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,72,
+ 189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,126,197,255,15,205,
+ 252,233,244,131,255,248,132,129,252,248,239,15,130,244,56,129,121,253,4,239,
+ 15,135,244,56,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,
+ 88,193,102,15,126,197,255,252,247,213,255,248,131,252,242,15,42,197,252,233,
+ 244,64,248,126,252,242,15,42,197,139,20,36,252,233,244,64,255,248,127,255,
+ 139,68,36,4,252,233,244,56,255,248,133,129,252,248,239,15,130,244,56,129,
+ 121,253,4,239,15,135,244,56,129,121,253,12,239,15,135,244,56,252,242,15,16,
+ 1,252,242,15,16,73,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
+ 242,15,88,202,137,200,102,15,126,197,102,15,126,201,255,211,229,137,193,252,
+ 233,244,131,255,248,134,129,252,248,239,15,130,244,56,129,121,253,4,239,15,
+ 135,244,56,129,121,253,12,239,15,135,244,56,252,242,15,16,1,252,242,15,16,
+ 73,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,
+ 137,200,102,15,126,197,102,15,126,201,255,211,252,237,137,193,252,233,244,
+ 131,255,248,135,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,129,121,253,12,239,15,135,244,56,252,242,15,16,1,252,242,15,16,73,8,72,
+ 189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,137,200,
+ 102,15,126,197,102,15,126,201,255,211,252,253,137,193,252,233,244,131,255,
+ 248,136,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,
+ 121,253,12,239,15,135,244,56,252,242,15,16,1,252,242,15,16,73,8,72,189,237,
+ 237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,137,200,102,15,
+ 126,197,102,15,126,201,255,211,197,137,193,252,233,244,131,255,248,137,129,
+ 252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,121,253,12,
+ 239,15,135,244,56,252,242,15,16,1,252,242,15,16,73,8,72,189,237,237,102,72,
+ 15,110,213,252,242,15,88,194,252,242,15,88,202,137,200,102,15,126,197,102,
+ 15,126,201,255,211,205,137,193,252,233,244,131,248,118,184,237,252,233,244,
+ 56,248,120,184,237,248,56,139,108,36,16,41,202,137,89,252,252,137,92,36,20,
+ 137,20,36,137,141,233,141,68,193,252,248,141,144,233,137,133,233,139,65,252,
+ 248,59,149,233,15,135,244,251,137,252,239,252,255,144,233,133,192,15,133,
+ 244,249,248,1,139,141,233,255,139,133,233,41,200,193,232,3,131,192,1,139,
+ 105,252,248,139,20,36,1,202,57,89,252,252,15,133,244,248,252,255,165,233,
+ 248,2,129,121,253,252,252,239,15,133,244,31,252,255,165,233,248,3,139,141,
+ 233,139,20,36,1,202,252,233,244,70,248,5,190,237,137,252,239,232,251,1,0,
+ 252,233,244,1,248,67,93,72,137,108,36,24,139,108,36,16,41,202,137,84,36,4,
+ 137,89,252,252,137,92,36,20,137,141,233,141,68,193,252,248,137,252,239,137,
+ 133,233,255,232,251,1,19,139,141,233,139,133,233,41,200,193,232,3,131,192,
+ 1,139,89,252,252,139,84,36,4,1,202,72,139,108,36,24,85,139,105,252,248,195,
+ 248,138,255,65,15,182,134,233,168,235,15,133,244,251,168,235,15,133,244,247,
+ 168,235,15,132,244,247,65,252,255,142,233,252,233,244,247,255,248,139,65,
+ 15,182,134,233,168,235,15,133,244,251,168,235,15,132,244,251,65,252,255,142,
+ 233,15,132,244,247,168,235,15,132,244,251,248,1,139,108,36,16,137,149,233,
+ 137,222,137,252,239,232,251,1,20,248,3,139,149,233,248,4,15,182,75,252,253,
+ 248,5,255,15,182,107,252,252,15,183,67,252,254,65,252,255,164,253,252,238,
+ 233,248,140,131,195,4,139,77,232,137,76,36,4,252,233,244,4,248,141,255,204,
+ 255,248,142,255,248,143,255,248,144,255,68,139,122,252,248,69,139,191,233,
+ 69,139,191,233,65,199,134,233,0,0,0,0,65,199,134,233,237,139,3,15,182,204,
+ 15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,248,83,255,217,
+ 124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,4,102,37,252,255,252,247,102,
+ 137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,255,248,
+ 145,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,
+ 40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,252,242,15,
+ 88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,72,15,110,208,252,
+ 242,15,194,193,1,102,15,84,194,252,242,15,92,200,15,40,193,248,1,195,248,
+ 85,255,217,124,36,4,137,68,36,8,102,184,0,8,102,11,68,36,4,102,37,252,255,
+ 252,251,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,
+ 195,255,248,146,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,
+ 110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,
+ 252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,72,15,
+ 110,208,252,242,15,194,193,6,102,15,84,194,252,242,15,92,200,15,40,193,248,
+ 1,195,248,105,255,217,124,36,4,137,68,36,8,102,184,0,12,102,11,68,36,4,102,
+ 137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,255,248,
+ 147,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,
+ 40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,15,40,193,
+ 252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,72,15,110,216,252,
+ 242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,86,202,15,40,193,
+ 248,1,195,248,148,255,15,40,232,252,242,15,94,193,72,184,237,237,102,72,15,
+ 110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,15,84,226,102,15,46,
+ 220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,242,15,92,227,102,
+ 15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,196,1,102,15,84,
+ 194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,15,92,193,195,248,
+ 1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,217,193,216,252,241,
+ 217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,252,247,102,137,68,
+ 36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,252,233,195,255,248,
+ 89,217,252,234,222,201,248,149,217,84,36,252,248,129,124,36,252,248,0,0,128,
+ 127,15,132,244,247,129,124,36,252,248,0,0,128,252,255,15,132,244,248,248,
+ 150,217,192,217,252,252,220,252,233,217,201,217,252,240,217,232,222,193,217,
+ 252,253,221,217,248,1,195,248,2,221,216,217,252,238,195,255,248,108,255,248,
+ 151,252,242,15,45,193,252,242,15,42,208,102,15,46,202,15,133,244,254,15,138,
+ 244,255,248,152,131,252,248,1,15,142,244,252,248,1,169,1,0,0,0,15,133,244,
+ 248,252,242,15,89,192,209,232,252,233,244,1,248,2,209,232,15,132,244,251,
+ 15,40,200,248,3,252,242,15,89,192,209,232,15,132,244,250,15,131,244,3,255,
+ 252,242,15,89,200,252,233,244,3,248,4,252,242,15,89,193,248,5,195,248,6,15,
+ 132,244,5,15,130,244,253,80,72,184,237,237,102,72,15,110,200,252,242,15,94,
+ 200,88,15,40,193,252,247,216,131,252,248,1,15,132,244,5,252,233,244,1,248,
+ 7,72,184,237,237,102,72,15,110,192,195,248,8,102,72,15,126,200,72,209,224,
+ 72,193,192,12,72,61,252,254,15,0,0,15,132,244,248,255,102,72,15,126,192,72,
+ 209,224,15,132,244,250,72,193,192,12,72,61,252,254,15,0,0,15,132,244,251,
+ 252,242,15,17,76,36,252,240,252,242,15,17,68,36,252,248,221,68,36,252,240,
+ 221,68,36,252,248,217,252,241,217,192,217,252,252,220,252,233,217,201,217,
+ 252,240,217,232,222,193,217,252,253,221,217,221,92,36,252,248,252,242,15,
+ 16,68,36,252,248,195,248,9,72,184,237,237,102,72,15,110,208,102,15,46,194,
+ 15,132,244,247,15,40,193,248,1,195,248,2,72,184,237,237,102,72,15,110,208,
+ 102,15,84,194,72,184,237,237,102,72,15,110,208,102,15,46,194,15,132,244,1,
+ 102,15,80,193,15,87,192,136,196,15,146,208,48,224,15,133,244,1,248,3,72,184,
+ 237,237,255,102,72,15,110,192,195,248,4,102,15,80,193,133,192,15,133,244,
+ 3,15,87,192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87,192,195,248,
+ 153,255,131,252,255,1,15,130,244,83,15,132,244,85,131,252,255,3,15,130,244,
+ 105,15,135,244,248,252,242,15,81,192,195,248,2,252,242,15,17,68,36,252,248,
+ 221,68,36,252,248,131,252,255,5,15,135,244,248,15,132,244,247,232,244,89,
+ 252,233,244,253,248,1,232,244,149,255,252,233,244,253,248,2,131,252,255,7,
+ 15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,241,252,233,244,
+ 253,248,1,217,232,217,201,217,252,241,252,233,244,253,248,2,131,252,255,9,
+ 15,132,244,247,15,135,244,248,217,252,236,217,201,217,252,241,252,233,244,
+ 253,248,1,255,217,252,254,252,233,244,253,248,2,131,252,255,11,15,132,244,
+ 247,15,135,244,255,217,252,255,252,233,244,253,248,1,217,252,242,221,216,
+ 248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,255,139,124,36,12,
+ 221,68,36,4,131,252,255,1,15,130,244,83,15,132,244,85,131,252,255,3,15,130,
+ 244,105,15,135,244,248,217,252,250,195,248,2,131,252,255,5,15,130,244,89,
+ 15,132,244,149,131,252,255,7,15,132,244,247,15,135,244,248,217,252,237,217,
+ 201,217,252,241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,255,
+ 9,15,132,244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,
+ 1,217,252,254,195,248,2,131,252,255,11,15,132,244,247,15,135,244,255,217,
+ 252,255,195,248,1,217,252,242,221,216,195,255,248,9,204,248,154,255,131,252,
+ 255,1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15,
+ 92,193,195,248,2,131,252,255,3,15,132,244,247,15,135,244,248,252,242,15,89,
+ 193,195,248,1,252,242,15,94,193,195,248,2,131,252,255,5,15,130,244,148,15,
+ 132,244,108,131,252,255,7,15,132,244,247,15,135,244,248,72,184,237,237,255,
+ 102,72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15,110,200,15,
+ 84,193,195,248,2,131,252,255,9,15,135,244,248,252,242,15,17,68,36,252,248,
+ 252,242,15,17,76,36,252,240,221,68,36,252,248,221,68,36,252,240,15,132,244,
+ 247,217,252,243,248,7,221,92,36,252,248,252,242,15,16,68,36,252,248,195,248,
+ 1,217,201,217,252,253,221,217,252,233,244,7,248,2,131,252,255,11,15,132,244,
+ 247,15,135,244,255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,
+ 9,204,255,139,68,36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,
+ 247,15,135,244,248,222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,
+ 15,132,244,247,15,135,244,248,222,201,195,248,1,222,252,249,195,248,2,131,
+ 252,248,5,15,130,244,148,15,132,244,108,131,252,248,7,15,132,244,247,15,135,
+ 244,248,255,221,216,217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,
+ 9,15,132,244,247,15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,
+ 221,217,195,248,2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,
+ 233,219,209,221,217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,
+ 223,224,252,246,196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,
+ 225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,
+ 155,137,252,248,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,195,255,249,
+ 255,129,124,253,202,4,239,15,135,244,43,129,124,253,194,4,239,15,135,244,
+ 43,255,252,242,15,16,4,194,131,195,4,102,15,46,4,202,255,221,4,202,221,4,
+ 194,131,195,4,255,223,252,233,221,216,255,218,252,233,223,224,158,255,15,
+ 134,244,248,255,15,131,244,248,255,248,1,15,183,67,252,254,141,156,253,131,
+ 233,248,2,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
+ 252,238,255,139,108,194,4,131,195,4,129,252,253,239,15,135,244,251,129,124,
+ 253,202,4,239,15,135,244,251,255,252,242,15,16,4,194,102,15,46,4,202,255,
+ 221,4,202,221,4,194,255,15,138,244,248,15,133,244,248,255,15,138,244,248,
+ 15,132,244,247,255,248,1,15,183,67,252,254,141,156,253,131,233,248,2,255,
+ 248,2,15,183,67,252,254,141,156,253,131,233,248,1,255,248,5,57,108,202,4,
+ 15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,57,193,15,
+ 132,244,1,129,252,253,239,15,135,244,2,139,169,233,133,252,237,15,132,244,
+ 2,252,246,133,233,235,15,133,244,2,255,49,252,237,255,189,1,0,0,0,255,252,
+ 233,244,47,255,72,252,247,208,131,195,4,129,124,253,202,4,239,15,133,244,
+ 248,139,12,202,65,59,12,135,255,131,195,4,129,124,253,202,4,239,15,135,244,
+ 248,255,252,242,65,15,16,4,199,102,15,46,4,202,255,221,4,202,65,221,4,199,
+ 255,72,252,247,208,131,195,4,57,68,202,4,255,139,108,194,4,131,195,4,129,
+ 252,253,239,255,15,131,244,247,255,15,130,244,247,255,137,108,202,4,139,44,
+ 194,137,44,202,255,15,183,67,252,254,141,156,253,131,233,248,1,139,3,15,182,
+ 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,139,108,194,
+ 4,139,4,194,137,108,202,4,137,4,202,139,3,15,182,204,15,182,232,131,195,4,
+ 193,232,16,65,252,255,36,252,238,255,49,252,237,129,124,253,194,4,239,129,
+ 213,239,137,108,202,4,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
+ 252,255,36,252,238,255,129,124,253,194,4,239,15,135,244,50,255,252,242,15,
+ 16,4,194,72,184,237,237,102,72,15,110,200,15,87,193,252,242,15,17,4,202,255,
+ 221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,133,244,248,139,
+ 4,194,255,15,87,192,252,242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,
+ 128,233,248,1,221,28,202,255,139,3,15,182,204,15,182,232,131,195,4,193,232,
+ 16,65,252,255,36,252,238,248,2,129,124,253,194,4,239,15,133,244,52,139,60,
+ 194,137,213,232,251,1,18,255,252,242,15,42,192,137,252,234,255,15,182,75,
+ 252,253,252,233,244,1,255,15,182,252,236,15,182,192,255,129,124,253,252,234,
+ 4,239,15,135,244,48,255,252,242,15,16,4,252,234,252,242,65,15,88,4,199,255,
+ 221,4,252,234,65,220,4,199,255,129,124,253,252,234,4,239,15,135,244,49,255,
+ 252,242,65,15,16,4,199,252,242,15,88,4,252,234,255,65,221,4,199,220,4,252,
+ 234,255,129,124,253,252,234,4,239,15,135,244,51,129,124,253,194,4,239,15,
+ 135,244,51,255,252,242,15,16,4,252,234,252,242,15,88,4,194,255,221,4,252,
+ 234,220,4,194,255,252,242,15,16,4,252,234,252,242,65,15,92,4,199,255,221,
+ 4,252,234,65,220,36,199,255,252,242,65,15,16,4,199,252,242,15,92,4,252,234,
+ 255,65,221,4,199,220,36,252,234,255,252,242,15,16,4,252,234,252,242,15,92,
+ 4,194,255,221,4,252,234,220,36,194,255,252,242,15,16,4,252,234,252,242,65,
+ 15,89,4,199,255,221,4,252,234,65,220,12,199,255,252,242,65,15,16,4,199,252,
+ 242,15,89,4,252,234,255,65,221,4,199,220,12,252,234,255,252,242,15,16,4,252,
+ 234,252,242,15,89,4,194,255,221,4,252,234,220,12,194,255,252,242,15,16,4,
+ 252,234,252,242,65,15,94,4,199,255,221,4,252,234,65,220,52,199,255,252,242,
+ 65,15,16,4,199,252,242,15,94,4,252,234,255,65,221,4,199,220,52,252,234,255,
+ 252,242,15,16,4,252,234,252,242,15,94,4,194,255,221,4,252,234,220,52,194,
+ 255,252,242,15,16,4,252,234,252,242,65,15,16,12,199,255,221,4,252,234,65,
+ 221,4,199,255,252,242,65,15,16,4,199,252,242,15,16,12,252,234,255,65,221,
+ 4,199,221,4,252,234,255,252,242,15,16,4,252,234,252,242,15,16,12,194,255,
+ 221,4,252,234,221,4,194,255,248,156,232,244,148,255,252,233,244,156,255,232,
+ 244,108,255,15,182,252,236,15,182,192,139,124,36,16,137,151,233,141,52,194,
+ 137,194,41,252,234,248,35,137,252,253,137,92,36,20,232,251,1,21,139,149,233,
+ 133,192,15,133,244,44,15,182,107,252,255,15,182,75,252,253,139,68,252,234,
+ 4,139,44,252,234,137,68,202,4,137,44,202,139,3,15,182,204,15,182,232,131,
+ 195,4,193,232,16,65,252,255,36,252,238,255,72,252,247,208,65,139,4,135,199,
+ 68,202,4,237,137,4,202,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
+ 252,255,36,252,238,255,15,191,192,252,242,15,42,192,252,242,15,17,4,202,255,
+ 223,67,252,254,221,28,202,255,252,242,65,15,16,4,199,252,242,15,17,4,202,
+ 255,65,221,4,199,221,28,202,255,72,252,247,208,137,68,202,4,139,3,15,182,
+ 204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,255,141,76,202,
+ 12,141,68,194,4,189,237,137,105,252,248,248,1,137,41,131,193,8,57,193,15,
+ 134,244,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,
+ 252,238,255,139,106,252,248,139,172,253,133,233,139,173,233,139,69,4,139,
+ 109,0,137,68,202,4,137,44,202,139,3,15,182,204,15,182,232,131,195,4,193,232,
+ 16,65,252,255,36,252,238,255,139,106,252,248,139,172,253,141,233,128,189,
+ 233,0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,69,4,15,132,244,247,
+ 252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,204,15,182,232,131,
+ 195,4,193,232,16,65,252,255,36,252,238,248,2,129,232,239,129,252,248,239,
+ 15,134,244,1,252,246,129,233,235,15,132,244,1,137,252,238,137,213,65,141,
+ 190,233,255,232,251,1,22,137,252,234,252,233,244,1,255,72,252,247,208,139,
+ 106,252,248,139,172,253,141,233,65,139,12,135,139,133,233,137,8,199,64,4,
+ 237,252,246,133,233,235,15,133,244,248,248,1,139,3,15,182,204,15,182,232,
+ 131,195,4,193,232,16,65,252,255,36,252,238,248,2,252,246,129,233,235,15,132,
+ 244,1,128,189,233,0,15,132,244,1,137,213,137,198,65,141,190,233,232,251,1,
+ 22,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,65,15,16,4,199,
+ 255,139,172,253,141,233,139,141,233,255,72,252,247,208,139,106,252,248,139,
+ 172,253,141,233,139,141,233,137,65,4,139,3,15,182,204,15,182,232,131,195,
+ 4,193,232,16,65,252,255,36,252,238,255,141,156,253,131,233,139,108,36,16,
+ 131,189,233,0,15,132,244,247,137,149,233,141,52,202,137,252,239,232,251,1,
+ 23,139,149,233,248,1,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,
+ 252,255,36,252,238,255,72,252,247,208,139,108,36,16,137,149,233,139,82,252,
+ 248,65,139,52,135,137,252,239,137,92,36,20,232,251,1,24,139,149,233,15,182,
+ 75,252,253,137,4,202,199,68,202,4,237,139,3,15,182,204,15,182,232,131,195,
+ 4,193,232,16,65,252,255,36,252,238,255,139,124,36,16,137,151,233,248,1,137,
+ 194,37,252,255,7,0,0,193,252,234,11,61,252,255,7,0,0,15,132,244,249,248,2,
+ 137,198,65,139,134,233,137,252,253,65,59,134,233,137,92,36,20,15,131,244,
+ 251,232,251,1,25,139,149,233,15,182,75,252,253,137,4,202,199,68,202,4,237,
+ 139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,
+ 3,184,1,8,0,0,252,233,244,2,248,5,232,251,1,26,15,183,67,252,254,137,252,
+ 239,252,233,244,1,255,72,252,247,208,139,108,36,16,65,139,142,233,137,92,
+ 36,20,65,59,142,233,137,149,233,15,131,244,249,248,2,65,139,52,135,137,252,
+ 239,232,251,1,27,139,149,233,15,182,75,252,253,137,4,202,199,68,202,4,237,
+ 139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,
+ 3,137,252,239,232,251,1,26,15,183,67,252,254,72,252,247,208,252,233,244,2,
+ 255,72,252,247,208,139,106,252,248,139,173,233,65,139,4,135,252,233,244,157,
+ 255,72,252,247,208,139,106,252,248,139,173,233,65,139,4,135,252,233,244,158,
+ 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,38,139,
+ 44,252,234,129,124,253,194,4,239,15,135,244,251,255,252,242,15,16,4,194,252,
+ 242,15,45,192,252,242,15,42,200,102,15,46,193,255,15,133,244,38,59,133,233,
+ 15,131,244,38,193,224,3,3,133,233,129,120,253,4,239,15,132,244,248,248,1,
+ 139,40,139,64,4,137,44,202,137,68,202,4,139,3,15,182,204,15,182,232,131,195,
+ 4,193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,244,1,139,141,
+ 233,252,246,129,233,235,15,132,244,38,15,182,75,252,253,252,233,244,1,248,
+ 5,255,129,124,253,194,4,239,15,133,244,38,139,4,194,252,233,244,157,255,15,
+ 182,252,236,15,182,192,72,252,247,208,65,139,4,135,129,124,253,252,234,4,
+ 239,15,133,244,36,139,44,252,234,248,157,139,141,233,35,136,233,105,201,239,
+ 3,141,233,248,1,129,185,233,239,15,133,244,250,57,129,233,15,133,244,250,
+ 129,121,253,4,239,15,132,244,251,15,182,67,252,253,139,41,139,73,4,137,44,
+ 194,248,2,255,137,76,194,4,139,3,15,182,204,15,182,232,131,195,4,193,232,
+ 16,65,252,255,36,252,238,248,3,15,182,67,252,253,185,237,252,233,244,2,248,
+ 4,139,137,233,133,201,15,133,244,1,248,5,139,141,233,133,201,15,132,244,3,
+ 252,246,129,233,235,15,133,244,3,252,233,244,36,255,15,182,252,236,15,182,
+ 192,129,124,253,252,234,4,239,15,133,244,37,139,44,252,234,59,133,233,15,
+ 131,244,37,193,224,3,3,133,233,129,120,253,4,239,15,132,244,248,248,1,139,
+ 40,139,64,4,137,44,202,137,68,202,4,139,3,15,182,204,15,182,232,131,195,4,
+ 193,232,16,65,252,255,36,252,238,248,2,131,189,233,0,15,132,244,1,139,141,
+ 233,252,246,129,233,235,15,132,244,37,255,15,182,252,236,15,182,192,129,124,
+ 253,252,234,4,239,15,133,244,41,139,44,252,234,129,124,253,194,4,239,15,135,
+ 244,251,255,15,133,244,41,59,133,233,15,131,244,41,193,224,3,3,133,233,129,
+ 120,253,4,239,15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,
+ 2,139,108,202,4,139,12,202,137,104,4,137,8,139,3,15,182,204,15,182,232,131,
+ 195,4,193,232,16,65,252,255,36,252,238,248,3,131,189,233,0,15,132,244,1,139,
+ 141,233,255,252,246,129,233,235,15,132,244,41,15,182,75,252,253,252,233,244,
+ 1,248,5,129,124,253,194,4,239,15,133,244,41,139,4,194,252,233,244,158,248,
+ 7,128,165,233,235,65,139,142,233,65,137,174,233,137,141,233,15,182,75,252,
+ 253,252,233,244,2,255,15,182,252,236,15,182,192,72,252,247,208,65,139,4,135,
+ 129,124,253,252,234,4,239,15,133,244,39,139,44,252,234,248,158,139,141,233,
+ 35,136,233,105,201,239,198,133,233,0,3,141,233,248,1,129,185,233,239,15,133,
+ 244,251,57,129,233,15,133,244,251,129,121,253,4,239,15,132,244,250,248,2,
+ 255,252,246,133,233,235,15,133,244,253,248,3,15,182,67,252,253,139,108,194,
+ 4,139,4,194,137,105,4,137,1,139,3,15,182,204,15,182,232,131,195,4,193,232,
+ 16,65,252,255,36,252,238,248,4,131,189,233,0,15,132,244,2,137,12,36,139,141,
+ 233,252,246,129,233,235,15,132,244,39,139,12,36,252,233,244,2,248,5,139,137,
+ 233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244,252,252,246,129,
+ 233,235,15,132,244,39,248,6,137,4,36,199,68,36,4,237,137,108,36,24,139,124,
+ 36,16,137,151,233,72,141,20,36,137,252,238,137,252,253,137,92,36,20,232,251,
+ 1,28,139,149,233,139,108,36,24,137,193,252,233,244,2,248,7,128,165,233,235,
+ 65,139,134,233,65,137,174,233,137,133,233,252,233,244,3,255,15,182,252,236,
+ 15,182,192,129,124,253,252,234,4,239,15,133,244,40,139,44,252,234,59,133,
+ 233,15,131,244,40,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,
+ 1,252,246,133,233,235,15,133,244,253,248,2,139,108,202,4,139,12,202,137,104,
+ 4,137,8,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,
+ 238,248,3,131,189,233,0,15,132,244,1,255,139,141,233,252,246,129,233,235,
+ 15,132,244,40,15,182,75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,
+ 142,233,65,137,174,233,137,141,233,15,182,75,252,253,252,233,244,2,255,68,
+ 137,60,36,255,248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,133,
+ 244,253,248,2,139,68,36,4,255,252,242,68,15,45,252,248,255,131,232,1,15,132,
+ 244,250,68,1,252,248,59,133,233,15,131,244,251,68,41,252,248,65,193,231,3,
+ 68,3,189,233,248,3,139,41,65,137,47,139,105,4,131,193,8,65,137,111,4,65,131,
+ 199,8,131,232,1,15,133,244,3,248,4,68,139,60,36,139,3,15,182,204,15,182,232,
+ 131,195,4,193,232,16,65,252,255,36,252,238,248,5,139,124,36,16,137,151,233,
+ 137,252,238,137,194,137,252,253,137,92,36,20,232,251,1,29,139,149,233,15,
+ 182,75,252,253,252,233,244,1,248,7,128,165,233,235,65,139,134,233,65,137,
+ 174,233,255,137,133,233,252,233,244,2,255,3,68,36,4,255,141,76,202,8,139,
+ 105,252,248,129,121,253,252,252,239,15,133,244,31,252,255,165,233,255,141,
+ 76,202,8,65,137,215,139,105,252,248,129,121,253,252,252,239,15,133,244,31,
+ 248,53,139,90,252,252,252,247,195,237,15,133,244,253,248,1,137,106,252,248,
+ 137,68,36,4,131,232,1,15,132,244,249,248,2,139,41,65,137,47,139,105,4,65,
+ 137,111,4,65,131,199,8,131,193,8,131,232,1,15,133,244,2,139,106,252,248,248,
+ 3,137,209,128,189,233,1,15,135,244,251,248,4,139,68,36,4,252,255,165,233,
+ 248,5,255,252,247,195,237,15,133,244,4,15,182,67,252,253,72,252,247,208,141,
+ 20,194,68,139,122,252,248,69,139,191,233,69,139,191,233,252,233,244,4,248,
+ 7,15,139,244,1,131,227,252,248,41,218,65,137,215,139,90,252,252,252,233,244,
+ 1,255,141,76,202,8,139,105,232,139,65,252,236,137,41,137,65,4,139,105,252,
+ 240,139,65,252,244,137,105,8,137,65,12,139,105,224,139,65,228,137,105,252,
+ 248,137,65,252,252,129,252,248,239,184,3,0,0,0,15,133,244,31,252,255,165,
+ 233,255,15,182,252,236,139,66,252,248,141,12,202,139,128,233,15,182,128,233,
+ 68,137,60,36,68,141,188,253,194,233,68,43,122,252,252,133,252,237,15,132,
+ 244,251,141,108,252,233,252,248,65,57,215,15,131,244,248,248,1,65,139,71,
+ 252,248,137,1,65,139,71,252,252,65,131,199,8,137,65,4,131,193,8,57,252,233,
+ 15,131,244,249,65,57,215,15,130,244,1,248,2,199,65,4,237,131,193,8,57,252,
+ 233,15,130,244,2,248,3,68,139,60,36,139,3,15,182,204,15,182,232,131,195,4,
+ 193,232,16,65,252,255,36,252,238,248,5,199,68,36,4,1,0,0,0,137,208,68,41,
+ 252,248,15,134,244,3,255,137,197,193,252,237,3,131,197,1,137,108,36,4,139,
+ 108,36,16,1,200,59,133,233,15,135,244,253,248,6,65,139,71,252,248,137,1,65,
+ 139,71,252,252,65,131,199,8,137,65,4,131,193,8,65,57,215,15,130,244,6,252,
+ 233,244,3,248,7,137,149,233,137,141,233,137,92,36,20,65,41,215,139,116,36,
+ 4,131,252,238,1,137,252,239,232,251,1,0,139,149,233,139,141,233,65,1,215,
+ 252,233,244,6,255,193,225,3,255,248,1,139,90,252,252,137,68,36,4,252,247,
+ 195,237,15,133,244,253,255,248,17,65,137,215,131,232,1,15,132,244,249,248,
+ 2,65,139,44,15,65,137,111,252,248,65,139,108,15,4,65,137,111,252,252,65,131,
+ 199,8,131,232,1,15,133,244,2,248,3,139,68,36,4,15,182,107,252,255,248,5,57,
+ 197,15,135,244,252,255,139,108,10,4,137,106,252,252,139,44,10,137,106,252,
+ 248,255,248,5,56,67,252,255,15,135,244,252,255,15,182,75,252,253,72,252,247,
+ 209,141,20,202,68,139,122,252,248,69,139,191,233,69,139,191,233,139,3,15,
+ 182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,248,6,255,65,
+ 199,71,252,252,237,65,131,199,8,255,199,68,194,252,244,237,255,131,192,1,
+ 252,233,244,5,248,7,15,139,244,18,131,227,252,248,41,218,255,1,217,255,137,
+ 221,209,252,237,129,229,239,102,65,131,172,253,46,233,1,15,132,244,141,255,
+ 141,12,202,255,129,121,253,4,239,15,135,244,54,129,121,253,12,239,15,135,
+ 244,54,255,139,105,20,255,129,252,253,239,15,135,244,54,255,252,242,15,16,
+ 1,252,242,15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,237,
+ 15,136,244,249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15,17,65,
+ 24,255,221,65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15,136,244,
+ 247,255,221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,67,252,254,
+ 255,15,131,244,248,141,156,253,131,233,255,141,156,253,131,233,15,183,67,
+ 252,254,15,131,245,255,15,130,244,248,141,156,253,131,233,255,248,3,102,15,
+ 46,193,252,233,244,1,255,141,12,202,139,105,4,129,252,253,239,15,132,244,
+ 247,255,137,105,252,252,139,41,137,105,252,248,252,233,245,255,141,156,253,
+ 131,233,139,1,137,105,252,252,137,65,252,248,255,65,139,142,233,139,4,129,
+ 72,139,128,233,139,108,36,16,65,137,150,233,65,137,174,233,252,255,224,255,
+ 141,156,253,131,233,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,
+ 255,36,252,238,255,254,0
+};
+
+enum {
+ GLOB_gate_lf,
+ GLOB_gate_lf_growstack,
+ GLOB_gate_lv,
+ GLOB_gate_lv_growstack,
+ GLOB_gate_cwrap,
+ GLOB_gate_c_growstack,
+ GLOB_vm_returnc,
+ GLOB_BC_RET_Z,
+ GLOB_vm_return,
+ GLOB_gate_c,
+ GLOB_vm_returnp,
+ GLOB_vm_leave_cp,
+ GLOB_vm_leave_unw,
+ GLOB_vm_unwind_c,
+ GLOB_vm_unwind_c_eh,
+ GLOB_vm_unwind_ff,
+ GLOB_vm_unwind_ff_eh,
+ GLOB_cont_dispatch,
+ GLOB_vm_resume,
+ GLOB_vm_pcall,
+ GLOB_vm_call,
+ GLOB_vmeta_call,
+ GLOB_vm_cpcall,
+ GLOB_cont_cat,
+ GLOB_cont_ra,
+ GLOB_BC_CAT_Z,
+ GLOB_vmeta_tgets,
+ GLOB_vmeta_tgetb,
+ GLOB_vmeta_tgetv,
+ GLOB_vmeta_tsets,
+ GLOB_vmeta_tsetb,
+ GLOB_vmeta_tsetv,
+ GLOB_cont_nop,
+ GLOB_vmeta_comp,
+ GLOB_vmeta_binop,
+ GLOB_cont_condt,
+ GLOB_cont_condf,
+ GLOB_vmeta_equal,
+ GLOB_vmeta_arith_vn,
+ GLOB_vmeta_arith_nv,
+ GLOB_vmeta_unm,
+ GLOB_vmeta_arith_vv,
+ GLOB_vmeta_len,
+ GLOB_BC_CALLT_Z,
+ GLOB_vmeta_for,
+ GLOB_ff_assert,
+ GLOB_fff_fallback,
+ GLOB_fff_res_,
+ GLOB_ff_type,
+ GLOB_fff_res1,
+ GLOB_ff_getmetatable,
+ GLOB_ff_setmetatable,
+ GLOB_ff_rawget,
+ GLOB_ff_tonumber,
+ GLOB_fff_resxmm0,
+ GLOB_fff_resn,
+ GLOB_ff_tostring,
+ GLOB_fff_gcstep,
+ GLOB_ff_next,
+ GLOB_fff_res2,
+ GLOB_fff_res,
+ GLOB_ff_pairs,
+ GLOB_ff_ipairs_aux,
+ GLOB_fff_res0,
+ GLOB_ff_ipairs,
+ GLOB_ff_pcall,
+ GLOB_ff_xpcall,
+ GLOB_ff_coroutine_resume,
+ GLOB_ff_coroutine_wrap_aux,
+ GLOB_ff_coroutine_yield,
+ GLOB_ff_math_abs,
+ GLOB_ff_math_sqrt,
+ GLOB_ff_math_floor,
+ GLOB_vm_floor,
+ GLOB_ff_math_ceil,
+ GLOB_vm_ceil,
+ GLOB_ff_math_log,
+ GLOB_ff_math_log10,
+ GLOB_ff_math_exp,
+ GLOB_vm_exp,
+ GLOB_ff_math_sin,
+ GLOB_ff_math_cos,
+ GLOB_ff_math_tan,
+ GLOB_ff_math_asin,
+ GLOB_ff_math_acos,
+ GLOB_ff_math_atan,
+ GLOB_ff_math_sinh,
+ GLOB_ff_math_cosh,
+ GLOB_ff_math_tanh,
+ GLOB_ff_math_deg,
+ GLOB_ff_math_rad,
+ GLOB_ff_math_atan2,
+ GLOB_ff_math_ldexp,
+ GLOB_ff_math_frexp,
+ GLOB_ff_math_modf,
+ GLOB_vm_trunc,
+ GLOB_ff_math_fmod,
+ GLOB_ff_math_pow,
+ GLOB_vm_pow,
+ GLOB_ff_math_min,
+ GLOB_ff_math_max,
+ GLOB_ff_string_len,
+ GLOB_ff_string_byte,
+ GLOB_ff_string_char,
+ GLOB_fff_newstr,
+ GLOB_ff_string_sub,
+ GLOB_fff_emptystr,
+ GLOB_ff_string_rep,
+ GLOB_fff_fallback_2,
+ GLOB_ff_string_reverse,
+ GLOB_fff_fallback_1,
+ GLOB_ff_string_lower,
+ GLOB_ff_string_upper,
+ GLOB_ff_table_getn,
+ GLOB_ff_bit_tobit,
+ GLOB_ff_bit_band,
+ GLOB_fff_resbit_op,
+ GLOB_fff_fallback_bit_op,
+ GLOB_ff_bit_bor,
+ GLOB_ff_bit_bxor,
+ GLOB_ff_bit_bswap,
+ GLOB_fff_resbit,
+ GLOB_ff_bit_bnot,
+ GLOB_ff_bit_lshift,
+ GLOB_ff_bit_rshift,
+ GLOB_ff_bit_arshift,
+ GLOB_ff_bit_rol,
+ GLOB_ff_bit_ror,
+ GLOB_vm_record,
+ GLOB_vm_hook,
+ GLOB_cont_hook,
+ GLOB_vm_hotloop,
+ GLOB_vm_hotcall,
+ GLOB_vm_exit_handler,
+ GLOB_vm_exit_interp,
+ GLOB_vm_floor_sse,
+ GLOB_vm_ceil_sse,
+ GLOB_vm_trunc_sse,
+ GLOB_vm_mod,
+ GLOB_vm_exp2,
+ GLOB_vm_exp2raw,
+ GLOB_vm_pow_sse,
+ GLOB_vm_powi_sse,
+ GLOB_vm_foldfpm,
+ GLOB_vm_foldarith,
+ GLOB_vm_cpuid,
+ GLOB_BC_MODVN_Z,
+ GLOB_BC_TGETS_Z,
+ GLOB_BC_TSETS_Z,
+ GLOB__MAX
+};
+static const char *const globnames[] = {
+ "gate_lf",
+ "gate_lf_growstack",
+ "gate_lv",
+ "gate_lv_growstack",
+ "gate_cwrap",
+ "gate_c_growstack",
+ "vm_returnc",
+ "BC_RET_Z",
+ "vm_return",
+ "gate_c",
+ "vm_returnp",
+ "vm_leave_cp",
+ "vm_leave_unw",
+ "vm_unwind_c@8",
+ "vm_unwind_c_eh",
+ "vm_unwind_ff@4",
+ "vm_unwind_ff_eh",
+ "cont_dispatch",
+ "vm_resume",
+ "vm_pcall",
+ "vm_call",
+ "vmeta_call",
+ "vm_cpcall",
+ "cont_cat",
+ "cont_ra",
+ "BC_CAT_Z",
+ "vmeta_tgets",
+ "vmeta_tgetb",
+ "vmeta_tgetv",
+ "vmeta_tsets",
+ "vmeta_tsetb",
+ "vmeta_tsetv",
+ "cont_nop",
+ "vmeta_comp",
+ "vmeta_binop",
+ "cont_condt",
+ "cont_condf",
+ "vmeta_equal",
+ "vmeta_arith_vn",
+ "vmeta_arith_nv",
+ "vmeta_unm",
+ "vmeta_arith_vv",
+ "vmeta_len",
+ "BC_CALLT_Z",
+ "vmeta_for",
+ "ff_assert",
+ "fff_fallback",
+ "fff_res_",
+ "ff_type",
+ "fff_res1",
+ "ff_getmetatable",
+ "ff_setmetatable",
+ "ff_rawget",
+ "ff_tonumber",
+ "fff_resxmm0",
+ "fff_resn",
+ "ff_tostring",
+ "fff_gcstep",
+ "ff_next",
+ "fff_res2",
+ "fff_res",
+ "ff_pairs",
+ "ff_ipairs_aux",
+ "fff_res0",
+ "ff_ipairs",
+ "ff_pcall",
+ "ff_xpcall",
+ "ff_coroutine_resume",
+ "ff_coroutine_wrap_aux",
+ "ff_coroutine_yield",
+ "ff_math_abs",
+ "ff_math_sqrt",
+ "ff_math_floor",
+ "vm_floor",
+ "ff_math_ceil",
+ "vm_ceil",
+ "ff_math_log",
+ "ff_math_log10",
+ "ff_math_exp",
+ "vm_exp",
+ "ff_math_sin",
+ "ff_math_cos",
+ "ff_math_tan",
+ "ff_math_asin",
+ "ff_math_acos",
+ "ff_math_atan",
+ "ff_math_sinh",
+ "ff_math_cosh",
+ "ff_math_tanh",
+ "ff_math_deg",
+ "ff_math_rad",
+ "ff_math_atan2",
+ "ff_math_ldexp",
+ "ff_math_frexp",
+ "ff_math_modf",
+ "vm_trunc",
+ "ff_math_fmod",
+ "ff_math_pow",
+ "vm_pow",
+ "ff_math_min",
+ "ff_math_max",
+ "ff_string_len",
+ "ff_string_byte",
+ "ff_string_char",
+ "fff_newstr",
+ "ff_string_sub",
+ "fff_emptystr",
+ "ff_string_rep",
+ "fff_fallback_2",
+ "ff_string_reverse",
+ "fff_fallback_1",
+ "ff_string_lower",
+ "ff_string_upper",
+ "ff_table_getn",
+ "ff_bit_tobit",
+ "ff_bit_band",
+ "fff_resbit_op",
+ "fff_fallback_bit_op",
+ "ff_bit_bor",
+ "ff_bit_bxor",
+ "ff_bit_bswap",
+ "fff_resbit",
+ "ff_bit_bnot",
+ "ff_bit_lshift",
+ "ff_bit_rshift",
+ "ff_bit_arshift",
+ "ff_bit_rol",
+ "ff_bit_ror",
+ "vm_record",
+ "vm_hook",
+ "cont_hook",
+ "vm_hotloop",
+ "vm_hotcall",
+ "vm_exit_handler",
+ "vm_exit_interp",
+ "vm_floor_sse",
+ "vm_ceil_sse",
+ "vm_trunc_sse",
+ "vm_mod",
+ "vm_exp2",
+ "vm_exp2raw",
+ "vm_pow_sse",
+ "vm_powi_sse",
+ "vm_foldfpm",
+ "vm_foldarith",
+ "vm_cpuid",
+ "BC_MODVN_Z",
+ "BC_TGETS_Z",
+ "BC_TSETS_Z",
+ (const char *)0
+};
+static const char *const extnames[] = {
+ "lj_state_growstack@8",
+ "lj_meta_tget",
+ "lj_meta_tset",
+ "lj_meta_comp",
+ "lj_meta_equal",
+ "lj_meta_arith",
+ "lj_meta_len@8",
+ "lj_meta_call",
+ "lj_meta_for@8",
+ "lj_tab_get",
+ "lj_str_fromnum@8",
+ "lj_tab_next",
+ "lj_tab_getinth@8",
+ "lj_ffh_coroutine_wrap_err@8",
+ "lj_wrapper_sinh",
+ "lj_wrapper_cosh",
+ "lj_wrapper_tanh",
+ "lj_str_new",
+ "lj_tab_len@4",
+ "lj_gc_step@4",
+ "lj_dispatch_ins@8",
+ "lj_meta_cat",
+ "lj_gc_barrieruv@8",
+ "lj_func_closeuv@8",
+ "lj_func_newL_gc",
+ "lj_tab_new",
+ "lj_gc_step_fixtop@4",
+ "lj_tab_dup@8",
+ "lj_tab_newkey",
+ "lj_tab_reasize",
+ (const char *)0
+};
+#define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
+#define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
+#define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
+#define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
+#define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
+#define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
+#define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
+#define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
+#define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
+#define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
+#define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
+#define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
+#define DtD(_V) (int)(ptrdiff_t)&(((Trace *)0)_V)
+#define DtE(_V) (int)(ptrdiff_t)&(((ExitInfo *)0)_V)
+#define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
+#define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
+
+/* Generate subroutines used by opcodes and other parts of the VM. */
+/* The .code_sub section should be last to help static branch prediction. */
+static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
+{
+ dasm_put(Dst, 0);
+ dasm_put(Dst, 2, Dt7(->pt), Dt9(->framesize), Dt9(->bc), Dt9(->k), Dt1(->maxstack), LJ_TNIL);
+#if LJ_HASJIT
+#endif
+ dasm_put(Dst, 64, FRAME_VARG, -FRAME_VARG, Dt7(->pt), Dt9(->framesize), Dt1(->maxstack), Dt9(->numparams), LJ_TNIL, Dt9(->framesize), Dt9(->bc));
+ 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);
+ 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);
+ dasm_put(Dst, 378, FRAME_C, DISPATCH_GL(vmstate), ~LJ_VMST_C, Dt1(->base));
+ dasm_put(Dst, 470, Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL, Dt1(->top));
+ 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);
+ dasm_put(Dst, 655, FRAME_P, LJ_TTRUE, LUA_MINSTACK, Dt9(->bc), Dt1(->base), Dt1(->top), Dt1(->base));
+ 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);
+ 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));
+ dasm_put(Dst, 1023, Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL, 0, Dt7(->pt), Dt9(->k), Dt1(->base));
+ dasm_put(Dst, 1207, LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
+ if (sse) {
+ dasm_put(Dst, 1252);
+ } else {
+ }
+ dasm_put(Dst, 1264, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, Dt7(->gate), LJ_TSTR, BC_GSET, DISPATCH_GL(tmptv));
+ dasm_put(Dst, 1422, LJ_TTAB);
+ if (sse) {
+ dasm_put(Dst, 1252);
+ } else {
+ }
+ dasm_put(Dst, 1442, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, Dt7(->gate), Dt1(->base), Dt1(->base));
+ dasm_put(Dst, 1637, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
+ dasm_put(Dst, 1745, Dt1(->base), Dt1(->base), FRAME_CONT, LJ_TFUNC);
+ 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);
+ dasm_put(Dst, 2023, LJ_TISTRUECOND, 1+1, ~LJ_TNUMX);
+ if (cmov) {
+ dasm_put(Dst, 2117);
+ } else {
+ dasm_put(Dst, 2121);
+ }
+ 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));
+ dasm_put(Dst, 2218, Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next), LJ_TNIL);
+ dasm_put(Dst, 2273, LJ_TUDATA, LJ_TISNUM, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB);
+ 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));
+ dasm_put(Dst, 2412, 2+1, LJ_TTAB, 1+1, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 2490);
+ } else {
+ dasm_put(Dst, 2500);
+ }
+ 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));
+ dasm_put(Dst, 2572, Dt1(->base), Dt1(->base), 1+1, LJ_TTAB, Dt1(->base));
+ dasm_put(Dst, 2656, Dt1(->base), 1+2, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
+ dasm_put(Dst, 2756, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 2811, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 2844, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
+ dasm_put(Dst, 2931, 1+1, LJ_TTAB, Dt8(->upvalue[0]), LJ_TFUNC);
+ if (sse) {
+ dasm_put(Dst, 2961);
+ } else {
+ dasm_put(Dst, 2971);
+ }
+ dasm_put(Dst, 2978, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE, LJ_TFUNC, Dt7(->gate));
+ dasm_put(Dst, 3052, 2+1, LJ_TFUNC, LJ_TFUNC, 2*8+FRAME_PCALL, 2*8, 1+1, LJ_TTHREAD);
+ dasm_put(Dst, 3150, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
+ dasm_put(Dst, 3216, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top));
+ dasm_put(Dst, 3320, Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2);
+ dasm_put(Dst, 3443, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base));
+ dasm_put(Dst, 3524, Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
+ dasm_put(Dst, 3630, LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), FRAME_TYPE);
+ dasm_put(Dst, 3730, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
+ if (sse) {
+ dasm_put(Dst, 3817, 1+1, LJ_TISNUM, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
+ } else {
+ dasm_put(Dst, 3873, 1+1, LJ_TISNUM);
+ }
+ dasm_put(Dst, 3905, 1+1, FRAME_TYPE, LJ_TNIL);
+ if (sse) {
+ dasm_put(Dst, 3990, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
+ dasm_put(Dst, 4052, 1+1, LJ_TISNUM);
+ } else {
+ dasm_put(Dst, 4082, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
+ dasm_put(Dst, 4141, 1+1, LJ_TISNUM);
+ }
+ dasm_put(Dst, 4168, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
+ dasm_put(Dst, 4237, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
+ dasm_put(Dst, 4294, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
+ dasm_put(Dst, 4357, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
+ dasm_put(Dst, 4447);
+ if (sse) {
+ dasm_put(Dst, 4459, 1+1, LJ_TISNUM);
+ } else {
+ }
+ dasm_put(Dst, 4484);
+ if (sse) {
+ dasm_put(Dst, 4504, 1+1, LJ_TISNUM);
+ } else {
+ }
+ dasm_put(Dst, 4529);
+ if (sse) {
+ dasm_put(Dst, 4549, 1+1, LJ_TISNUM);
+ } else {
+ }
+ dasm_put(Dst, 4574);
+ if (sse) {
+ dasm_put(Dst, 4596, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
+ } else {
+ dasm_put(Dst, 4631, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
+ }
+ dasm_put(Dst, 4660, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
+ dasm_put(Dst, 4725, 1+1, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 4820);
+ } else {
+ dasm_put(Dst, 4826);
+ }
+ dasm_put(Dst, 4833);
+ if (sse) {
+ dasm_put(Dst, 4858);
+ } else {
+ dasm_put(Dst, 4864);
+ }
+ dasm_put(Dst, 4867, 1+2);
+ if (sse) {
+ dasm_put(Dst, 4876);
+ } else {
+ dasm_put(Dst, 4884);
+ }
+ dasm_put(Dst, 1634);
+ if (sse) {
+ dasm_put(Dst, 4892, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
+ } else {
+ dasm_put(Dst, 4919);
+ }
+ dasm_put(Dst, 4936);
+ if (sse) {
+ dasm_put(Dst, 4952, 1+1, LJ_TISNUM);
+ } else {
+ dasm_put(Dst, 4977, 1+1, LJ_TISNUM);
+ }
+ dasm_put(Dst, 4999);
+ if (sse) {
+ dasm_put(Dst, 5017);
+ } else {
+ dasm_put(Dst, 5043);
+ }
+ dasm_put(Dst, 5060, 1+2);
+ if (sse) {
+ dasm_put(Dst, 5100);
+ } else {
+ dasm_put(Dst, 5108);
+ }
+ dasm_put(Dst, 5118, 2+1, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 5170, 1+1, LJ_TISNUM, LJ_TISNUM);
+ } else {
+ dasm_put(Dst, 5217, 2+1, LJ_TISNUM, LJ_TISNUM);
+ }
+ if (sse) {
+ dasm_put(Dst, 5258, 1+1, LJ_TISNUM, LJ_TISNUM);
+ } else {
+ }
+ if (sse) {
+ dasm_put(Dst, 5329, 1+1, LJ_TISNUM, LJ_TISNUM);
+ } else {
+ }
+ if (!sse) {
+ dasm_put(Dst, 5400);
+ }
+ dasm_put(Dst, 5409, 1+1, LJ_TSTR);
+ if (sse) {
+ dasm_put(Dst, 5431, Dt5(->len));
+ } else {
+ dasm_put(Dst, 5442, Dt5(->len));
+ }
+ dasm_put(Dst, 5450, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
+ if (sse) {
+ dasm_put(Dst, 5484);
+ } else {
+ dasm_put(Dst, 5494);
+ }
+ dasm_put(Dst, 5505, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 5542);
+ } else {
+ dasm_put(Dst, 5562);
+ }
+ dasm_put(Dst, 5582, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
+ dasm_put(Dst, 2485);
+ if (sse) {
+ dasm_put(Dst, 5696);
+ } else {
+ dasm_put(Dst, 5707);
+ }
+ dasm_put(Dst, 5715, LJ_TSTR, LJ_TISNUM, Dt5(->len));
+ if (sse) {
+ dasm_put(Dst, 5745);
+ } else {
+ }
+ dasm_put(Dst, 5752, sizeof(GCstr)-1);
+ dasm_put(Dst, 5827, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
+ dasm_put(Dst, 5888, LJ_TSTR, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 5912);
+ } else {
+ dasm_put(Dst, 5919);
+ }
+ dasm_put(Dst, 5931, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
+ 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));
+ dasm_put(Dst, 6069, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
+ dasm_put(Dst, 6145, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
+ 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));
+ dasm_put(Dst, 6307, 1+1, LJ_TTAB);
+ if (sse) {
+ dasm_put(Dst, 6380);
+ } else {
+ }
+ if (sse) {
+ dasm_put(Dst, 6390, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ if (sse) {
+ dasm_put(Dst, 6442, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6485);
+ if (sse) {
+ dasm_put(Dst, 6495);
+ }
+ dasm_put(Dst, 6499, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 6517);
+ } else {
+ }
+ dasm_put(Dst, 6534);
+ if (sse) {
+ dasm_put(Dst, 6542, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6485);
+ if (sse) {
+ dasm_put(Dst, 6495);
+ }
+ dasm_put(Dst, 6499, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 6585);
+ } else {
+ }
+ dasm_put(Dst, 6534);
+ if (sse) {
+ dasm_put(Dst, 6602, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6485);
+ if (sse) {
+ dasm_put(Dst, 6495);
+ }
+ dasm_put(Dst, 6499, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 6645);
+ } else {
+ }
+ dasm_put(Dst, 6534);
+ if (sse) {
+ dasm_put(Dst, 6662, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6705);
+ if (sse) {
+ dasm_put(Dst, 6712, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6755);
+ if (sse) {
+ dasm_put(Dst, 6759);
+ } else {
+ }
+ dasm_put(Dst, 6785);
+ if (sse) {
+ dasm_put(Dst, 6376);
+ }
+ dasm_put(Dst, 6788);
+ if (sse) {
+ dasm_put(Dst, 6797, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6866);
+ if (sse) {
+ dasm_put(Dst, 6875, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6944);
+ if (sse) {
+ dasm_put(Dst, 6954, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 7023);
+ if (sse) {
+ dasm_put(Dst, 7033, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 7102);
+ if (sse) {
+ dasm_put(Dst, 7111, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 7180, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
+ dasm_put(Dst, 7263, Dt1(->top), Dt7(->gate), LJ_TFUNC, Dt7(->gate), Dt1(->base), LUA_MINSTACK, Dt1(->base), Dt1(->top));
+ dasm_put(Dst, 7381, Dt1(->base), Dt1(->top));
+#if LJ_HASJIT
+ dasm_put(Dst, 7423, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
+#endif
+ dasm_put(Dst, 7456, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE, Dt1(->base), Dt1(->base));
+ dasm_put(Dst, 7523, GG_DISP_STATIC*8);
+#if LJ_HASJIT
+ dasm_put(Dst, 7560);
+#endif
+ dasm_put(Dst, 7562);
+#if LJ_HASJIT
+ dasm_put(Dst, 7560);
+#endif
+ dasm_put(Dst, 7565);
+#if LJ_HASJIT
+ dasm_put(Dst, 7560);
+#endif
+ dasm_put(Dst, 7568);
+#if LJ_HASJIT
+ dasm_put(Dst, 7571, Dt7(->pt), Dt9(->k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
+#endif
+ dasm_put(Dst, 7618);
+ if (!sse) {
+ dasm_put(Dst, 7621);
+ }
+ 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));
+ if (!sse) {
+ dasm_put(Dst, 7752);
+ }
+ 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));
+ if (!sse) {
+ dasm_put(Dst, 7883);
+ }
+ 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));
+ if (sse) {
+ 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));
+ } else {
+ dasm_put(Dst, 8125);
+ }
+ dasm_put(Dst, 8172);
+ if (!sse) {
+ } else {
+ dasm_put(Dst, 8249);
+ }
+ dasm_put(Dst, 8252);
+ 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));
+ 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));
+ dasm_put(Dst, 8612);
+ if (sse) {
+ dasm_put(Dst, 8653);
+ dasm_put(Dst, 8723);
+ dasm_put(Dst, 8795);
+ } else {
+ dasm_put(Dst, 8847);
+ dasm_put(Dst, 8939);
+ }
+ dasm_put(Dst, 8985);
+ if (sse) {
+ dasm_put(Dst, 8991, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
+ dasm_put(Dst, 9076, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
+ } else {
+ dasm_put(Dst, 9204);
+ dasm_put(Dst, 9287);
+ if (cmov) {
+ dasm_put(Dst, 9342);
+ } else {
+ dasm_put(Dst, 9361);
+ }
+ dasm_put(Dst, 9200);
+ }
+ dasm_put(Dst, 9402);
+}
+
+/* Generate the code for a single instruction. */
+static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
+{
+ int vk = 0;
+ dasm_put(Dst, 9424, defop);
+
+ switch (op) {
+
+ /* -- Comparison ops ---------------------------------------------------- */
+
+ /* Remember: all ops branch for a true comparison, fall through otherwise. */
+
+ case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
+ dasm_put(Dst, 9426, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 9447);
+ } else {
+ dasm_put(Dst, 9462);
+ if (cmov) {
+ dasm_put(Dst, 9472);
+ } else {
+ dasm_put(Dst, 9478);
+ }
+ }
+ switch (op) {
+ case BC_ISLT:
+ dasm_put(Dst, 9485);
+ break;
+ case BC_ISGE:
+ dasm_put(Dst, 9282);
+ break;
+ case BC_ISLE:
+ dasm_put(Dst, 6302);
+ break;
+ case BC_ISGT:
+ dasm_put(Dst, 9490);
+ break;
+ default: break; /* Shut up GCC. */
+ }
+ dasm_put(Dst, 9495, -BCBIAS_J*4);
+ break;
+
+ case BC_ISEQV: case BC_ISNEV:
+ vk = op == BC_ISEQV;
+ dasm_put(Dst, 9530, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 9556);
+ } else {
+ dasm_put(Dst, 9568);
+ if (cmov) {
+ dasm_put(Dst, 9472);
+ } else {
+ dasm_put(Dst, 9478);
+ }
+ }
+ iseqne_fp:
+ if (vk) {
+ dasm_put(Dst, 9575);
+ } else {
+ dasm_put(Dst, 9584);
+ }
+ iseqne_end:
+ if (vk) {
+ dasm_put(Dst, 9593, -BCBIAS_J*4);
+ } else {
+ dasm_put(Dst, 9608, -BCBIAS_J*4);
+ }
+ dasm_put(Dst, 7597);
+ if (op == BC_ISEQV || op == BC_ISNEV) {
+ dasm_put(Dst, 9623, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<>32));
+ } else {
+ dasm_put(Dst, 9942);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_LEN:
+ dasm_put(Dst, 9951, LJ_TSTR);
+ if (sse) {
+ dasm_put(Dst, 9965, Dt5(->len));
+ } else {
+ dasm_put(Dst, 9983, Dt5(->len));
+ }
+ dasm_put(Dst, 9992, LJ_TTAB);
+ if (sse) {
+ dasm_put(Dst, 10034);
+ } else {
+ }
+ dasm_put(Dst, 10043);
+ break;
+
+ /* -- Binary ops -------------------------------------------------------- */
+
+
+ case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
+ dasm_put(Dst, 10053);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10061, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10073);
+ } else {
+ dasm_put(Dst, 10088);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10097, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10109);
+ } else {
+ dasm_put(Dst, 10124);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10155);
+ } else {
+ dasm_put(Dst, 10169);
+ }
+ break;
+ }
+ if (sse) {
+ dasm_put(Dst, 9935);
+ } else {
+ dasm_put(Dst, 9947);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
+ dasm_put(Dst, 10053);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10061, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10177);
+ } else {
+ dasm_put(Dst, 10192);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10097, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10201);
+ } else {
+ dasm_put(Dst, 10216);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10225);
+ } else {
+ dasm_put(Dst, 10239);
+ }
+ break;
+ }
+ if (sse) {
+ dasm_put(Dst, 9935);
+ } else {
+ dasm_put(Dst, 9947);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_MULVN: case BC_MULNV: case BC_MULVV:
+ dasm_put(Dst, 10053);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10061, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10247);
+ } else {
+ dasm_put(Dst, 10262);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10097, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10271);
+ } else {
+ dasm_put(Dst, 10286);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10295);
+ } else {
+ dasm_put(Dst, 10309);
+ }
+ break;
+ }
+ if (sse) {
+ dasm_put(Dst, 9935);
+ } else {
+ dasm_put(Dst, 9947);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
+ dasm_put(Dst, 10053);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10061, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10317);
+ } else {
+ dasm_put(Dst, 10332);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10097, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10341);
+ } else {
+ dasm_put(Dst, 10356);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10365);
+ } else {
+ dasm_put(Dst, 10379);
+ }
+ break;
+ }
+ if (sse) {
+ dasm_put(Dst, 9935);
+ } else {
+ dasm_put(Dst, 9947);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_MODVN:
+ dasm_put(Dst, 10053);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10061, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10387);
+ } else {
+ dasm_put(Dst, 10402);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10097, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10411);
+ } else {
+ dasm_put(Dst, 10426);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10435);
+ } else {
+ dasm_put(Dst, 10449);
+ }
+ break;
+ }
+ dasm_put(Dst, 10457);
+ if (sse) {
+ dasm_put(Dst, 9935);
+ } else {
+ dasm_put(Dst, 9947);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_MODNV: case BC_MODVV:
+ dasm_put(Dst, 10053);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10061, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10387);
+ } else {
+ dasm_put(Dst, 10402);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10097, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10411);
+ } else {
+ dasm_put(Dst, 10426);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10435);
+ } else {
+ dasm_put(Dst, 10449);
+ }
+ break;
+ }
+ dasm_put(Dst, 10463);
+ break;
+ case BC_POW:
+ dasm_put(Dst, 10053);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10061, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10387);
+ } else {
+ dasm_put(Dst, 10402);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10097, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10411);
+ } else {
+ dasm_put(Dst, 10426);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10133, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10435);
+ } else {
+ dasm_put(Dst, 10449);
+ }
+ break;
+ }
+ dasm_put(Dst, 10468);
+ if (sse) {
+ dasm_put(Dst, 9935);
+ } else {
+ dasm_put(Dst, 9947);
+ }
+ dasm_put(Dst, 7597);
+ break;
+
+ case BC_CAT:
+ dasm_put(Dst, 10472, Dt1(->base), Dt1(->base));
+ break;
+
+ /* -- Constant ops ------------------------------------------------------ */
+
+ case BC_KSTR:
+ dasm_put(Dst, 10563, LJ_TSTR);
+ break;
+ case BC_KSHORT:
+ if (sse) {
+ dasm_put(Dst, 10600);
+ } else {
+ dasm_put(Dst, 10615);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_KNUM:
+ if (sse) {
+ dasm_put(Dst, 10623);
+ } else {
+ dasm_put(Dst, 10637);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_KPRI:
+ dasm_put(Dst, 10645);
+ break;
+ case BC_KNIL:
+ dasm_put(Dst, 10674, LJ_TNIL);
+ break;
+
+ /* -- Upvalue and function ops ------------------------------------------ */
+
+ case BC_UGET:
+ dasm_put(Dst, 10722, offsetof(GCfuncL, uvptr), DtA(->v));
+ break;
+ case BC_USETV:
+#define TV2MARKOFS \
+ ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
+ 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);
+ dasm_put(Dst, 10864);
+ break;
+#undef TV2MARKOFS
+ case BC_USETS:
+ 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);
+ break;
+ case BC_USETN:
+ dasm_put(Dst, 10972);
+ if (sse) {
+ dasm_put(Dst, 10977);
+ } else {
+ dasm_put(Dst, 9751);
+ }
+ dasm_put(Dst, 10985, offsetof(GCfuncL, uvptr), DtA(->v));
+ if (sse) {
+ dasm_put(Dst, 4858);
+ } else {
+ dasm_put(Dst, 4864);
+ }
+ dasm_put(Dst, 7597);
+ break;
+ case BC_USETP:
+ dasm_put(Dst, 10994, offsetof(GCfuncL, uvptr), DtA(->v));
+ break;
+ case BC_UCLO:
+ dasm_put(Dst, 11034, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
+ break;
+
+ case BC_FNEW:
+ dasm_put(Dst, 11090, Dt1(->base), Dt1(->base), LJ_TFUNC);
+ break;
+
+ /* -- Table ops --------------------------------------------------------- */
+
+ case BC_TNEW:
+ dasm_put(Dst, 11157, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
+ break;
+ case BC_TDUP:
+ dasm_put(Dst, 11281, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
+ break;
+
+ case BC_GGET:
+ dasm_put(Dst, 11380, Dt7(->env));
+ break;
+ case BC_GSET:
+ dasm_put(Dst, 11400, Dt7(->env));
+ break;
+
+ case BC_TGETV:
+ dasm_put(Dst, 11420, LJ_TTAB, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 11453);
+ } else {
+ }
+ dasm_put(Dst, 11474, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
+ dasm_put(Dst, 11672, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable));
+ dasm_put(Dst, 11964, Dt6(->nomm), 1<marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
+ break;
+ case BC_TSETS:
+ 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);
+ dasm_put(Dst, 12105, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<next));
+ dasm_put(Dst, 12197, Dt6(->metatable), Dt6(->nomm), 1<base), Dt1(->base), Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
+ break;
+ case BC_TSETB:
+ dasm_put(Dst, 12289, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
+ dasm_put(Dst, 12389, Dt6(->metatable), Dt6(->nomm), 1<marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
+ break;
+
+ case BC_TSETM:
+ dasm_put(Dst, 12437);
+ if (sse) {
+ dasm_put(Dst, 10977);
+ } else {
+ }
+ dasm_put(Dst, 12442, Dt6(->marked), LJ_GC_BLACK);
+ if (sse) {
+ dasm_put(Dst, 12467);
+ } else {
+ }
+ 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));
+ dasm_put(Dst, 12611, Dt6(->gclist));
+ break;
+
+ /* -- Calls and vararg handling ----------------------------------------- */
+
+ case BC_CALL: case BC_CALLM:
+ dasm_put(Dst, 10057);
+ if (op == BC_CALLM) {
+ dasm_put(Dst, 12619);
+ }
+ dasm_put(Dst, 12624, LJ_TFUNC, Dt7(->gate));
+ break;
+
+ case BC_CALLMT:
+ dasm_put(Dst, 12619);
+ break;
+ case BC_CALLT:
+ dasm_put(Dst, 12647, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->gate));
+ dasm_put(Dst, 12756, FRAME_TYPE, Dt7(->pt), Dt9(->k));
+ break;
+
+ case BC_ITERC:
+ dasm_put(Dst, 12817, LJ_TFUNC, Dt7(->gate));
+ break;
+
+ case BC_VARG:
+ dasm_put(Dst, 12879, Dt7(->pt), Dt9(->numparams), (8+FRAME_VARG), LJ_TNIL);
+ dasm_put(Dst, 13033, Dt1(->maxstack), Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
+ break;
+
+ /* -- Returns ----------------------------------------------------------- */
+
+ case BC_RETM:
+ dasm_put(Dst, 12619);
+ break;
+
+ case BC_RET: case BC_RET0: case BC_RET1:
+ if (op != BC_RET0) {
+ dasm_put(Dst, 13138);
+ }
+ dasm_put(Dst, 13142, FRAME_TYPE);
+ switch (op) {
+ case BC_RET:
+ dasm_put(Dst, 13161);
+ break;
+ case BC_RET1:
+ dasm_put(Dst, 13225);
+ /* fallthrough */
+ case BC_RET0:
+ dasm_put(Dst, 13241);
+ default:
+ break;
+ }
+ dasm_put(Dst, 13252, Dt7(->pt), Dt9(->k));
+ if (op == BC_RET) {
+ dasm_put(Dst, 13300, LJ_TNIL);
+ } else {
+ dasm_put(Dst, 13311, LJ_TNIL);
+ }
+ dasm_put(Dst, 13318);
+ if (op != BC_RET0) {
+ dasm_put(Dst, 13338);
+ }
+ dasm_put(Dst, 4947);
+ break;
+
+ /* -- Loops and branches ------------------------------------------------ */
+
+
+ case BC_FORL:
+#if LJ_HASJIT
+ dasm_put(Dst, 13341, HOTCOUNT_PCMASK, GG_DISP2HOT);
+#endif
+ break;
+
+ case BC_JFORI:
+ case BC_JFORL:
+#if !LJ_HASJIT
+ break;
+#endif
+ case BC_FORI:
+ case BC_IFORL:
+ vk = (op == BC_IFORL || op == BC_JFORL);
+ dasm_put(Dst, 13362);
+ if (!vk) {
+ dasm_put(Dst, 13366, LJ_TISNUM, LJ_TISNUM);
+ }
+ dasm_put(Dst, 13385);
+ if (!vk) {
+ dasm_put(Dst, 13389, LJ_TISNUM);
+ }
+ if (sse) {
+ dasm_put(Dst, 13398);
+ if (vk) {
+ dasm_put(Dst, 13410);
+ } else {
+ dasm_put(Dst, 13429);
+ }
+ dasm_put(Dst, 13434);
+ } else {
+ dasm_put(Dst, 13447);
+ if (vk) {
+ dasm_put(Dst, 13453);
+ } else {
+ dasm_put(Dst, 13469);
+ }
+ dasm_put(Dst, 13477);
+ if (cmov) {
+ dasm_put(Dst, 9472);
+ } else {
+ dasm_put(Dst, 9478);
+ }
+ if (!cmov) {
+ dasm_put(Dst, 13482);
+ }
+ }
+ if (op == BC_FORI) {
+ dasm_put(Dst, 13488, -BCBIAS_J*4);
+ } else if (op == BC_JFORI) {
+ dasm_put(Dst, 13498, -BCBIAS_J*4, BC_JLOOP);
+ } else if (op == BC_IFORL) {
+ dasm_put(Dst, 13512, -BCBIAS_J*4);
+ } else {
+ dasm_put(Dst, 13508, BC_JLOOP);
+ }
+ dasm_put(Dst, 9507);
+ if (sse) {
+ dasm_put(Dst, 13522);
+ }
+ break;
+
+ case BC_ITERL:
+#if LJ_HASJIT
+ dasm_put(Dst, 13341, HOTCOUNT_PCMASK, GG_DISP2HOT);
+#endif
+ break;
+
+ case BC_JITERL:
+#if !LJ_HASJIT
+ break;
+#endif
+ case BC_IITERL:
+ dasm_put(Dst, 13533, LJ_TNIL);
+ if (op == BC_JITERL) {
+ dasm_put(Dst, 13548, BC_JLOOP);
+ } else {
+ dasm_put(Dst, 13562, -BCBIAS_J*4);
+ }
+ dasm_put(Dst, 9811);
+ break;
+
+ case BC_LOOP:
+#if LJ_HASJIT
+ dasm_put(Dst, 13341, HOTCOUNT_PCMASK, GG_DISP2HOT);
+#endif
+ break;
+
+ case BC_ILOOP:
+ dasm_put(Dst, 7597);
+ break;
+
+ case BC_JLOOP:
+#if LJ_HASJIT
+ dasm_put(Dst, 13578, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
+#endif
+ break;
+
+ case BC_JMP:
+ dasm_put(Dst, 13605, -BCBIAS_J*4);
+ break;
+
+ /* ---------------------------------------------------------------------- */
+
+ default:
+ fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
+ exit(2);
+ break;
+ }
+}
+
+static int build_backend(BuildCtx *ctx)
+{
+ int op;
+ int cmov = 1;
+ int sse = 0;
+#ifdef LUAJIT_CPU_NOCMOV
+ cmov = 0;
+#endif
+#if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
+ sse = 1;
+#endif
+
+ dasm_growpc(Dst, BC__MAX);
+
+ build_subroutines(ctx, cmov, sse);
+
+ dasm_put(Dst, 13631);
+ for (op = 0; op < BC__MAX; op++)
+ build_ins(ctx, (BCOp)op, op, cmov, sse);
+
+ return BC__MAX;
+}
+
+/* Emit pseudo frame-info for all assembler functions. */
+static void emit_asm_debug(BuildCtx *ctx)
+{
+#if LJ_64
+#define SZPTR "8"
+#define BSZPTR "3"
+#define REG_SP "0x7"
+#define REG_RA "0x10"
+#else
+#define SZPTR "4"
+#define BSZPTR "2"
+#define REG_SP "0x4"
+#define REG_RA "0x8"
+#endif
+ switch (ctx->mode) {
+ case BUILD_elfasm:
+ fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
+ fprintf(ctx->fp,
+ ".Lframe0:\n"
+ "\t.long .LECIE0-.LSCIE0\n"
+ ".LSCIE0:\n"
+ "\t.long 0xffffffff\n"
+ "\t.byte 0x1\n"
+ "\t.string \"\"\n"
+ "\t.uleb128 0x1\n"
+ "\t.sleb128 -" SZPTR "\n"
+ "\t.byte " REG_RA "\n"
+ "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
+ "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
+ "\t.align " SZPTR "\n"
+ ".LECIE0:\n\n");
+ fprintf(ctx->fp,
+ ".LSFDE0:\n"
+ "\t.long .LEFDE0-.LASFDE0\n"
+ ".LASFDE0:\n"
+ "\t.long .Lframe0\n"
+ "\t.long .Lbegin\n"
+ "\t.long %d\n"
+ "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
+#if LJ_64
+ "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
+ "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
+ "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
+ "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
+#else
+ "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
+ "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
+ "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
+ "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
+#endif
+ "\t.align " SZPTR "\n"
+ ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
+ fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
+ fprintf(ctx->fp,
+ ".Lframe1:\n"
+ "\t.long .LECIE1-.LSCIE1\n"
+ ".LSCIE1:\n"
+ "\t.long 0\n"
+ "\t.byte 0x1\n"
+ "\t.string \"zPR\"\n"
+ "\t.uleb128 0x1\n"
+ "\t.sleb128 -" SZPTR "\n"
+ "\t.byte " REG_RA "\n"
+ "\t.uleb128 6\n" /* augmentation length */
+ "\t.byte 0x1b\n" /* pcrel|sdata4 */
+ "\t.long lj_err_unwind_dwarf-.\n"
+ "\t.byte 0x1b\n" /* pcrel|sdata4 */
+ "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
+ "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
+ "\t.align " SZPTR "\n"
+ ".LECIE1:\n\n");
+ fprintf(ctx->fp,
+ ".LSFDE1:\n"
+ "\t.long .LEFDE1-.LASFDE1\n"
+ ".LASFDE1:\n"
+ "\t.long .LASFDE1-.Lframe1\n"
+ "\t.long .Lbegin-.\n"
+ "\t.long %d\n"
+ "\t.uleb128 0\n" /* augmentation length */
+ "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
+#if LJ_64
+ "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
+ "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
+ "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
+ "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
+#else
+ "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
+ "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
+ "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
+ "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
+#endif
+ "\t.align " SZPTR "\n"
+ ".LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
+ break;
+ case BUILD_machasm:
+ fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
+ fprintf(ctx->fp,
+ "EH_frame1:\n"
+ "\t.set L$set$0,LECIE1-LSCIE1\n"
+ "\t.long L$set$0\n"
+ "LSCIE1:\n"
+ "\t.long 0\n"
+ "\t.byte 0x1\n"
+ "\t.ascii \"zPR\\0\"\n"
+ "\t.byte 0x1\n"
+ "\t.byte 128-" SZPTR "\n"
+ "\t.byte " REG_RA "\n"
+ "\t.byte 6\n" /* augmentation length */
+ "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
+ "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
+ "\t.byte 0x1b\n" /* pcrel|sdata4 */
+#if LJ_64
+ "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
+#else
+ "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
+#endif
+ "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
+ "\t.align " BSZPTR "\n"
+ "LECIE1:\n\n");
+ fprintf(ctx->fp,
+ "_lj_vm_asm_begin.eh:\n"
+ "LSFDE1:\n"
+ "\t.set L$set$1,LEFDE1-LASFDE1\n"
+ "\t.long L$set$1\n"
+ "LASFDE1:\n"
+ "\t.long LASFDE1-EH_frame1\n"
+ "\t.long _lj_vm_asm_begin-.\n"
+ "\t.long %d\n"
+ "\t.byte 0\n" /* augmentation length */
+ "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
+#if LJ_64
+ "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
+ "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
+ "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
+ "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
+#else
+ "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
+ "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
+ "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
+ "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
+#endif
+ "\t.align " BSZPTR "\n"
+ "LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
+ fprintf(ctx->fp,
+ "\t.non_lazy_symbol_pointer\n"
+ "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
+ ".indirect_symbol _lj_err_unwind_dwarf\n"
+ ".long 0\n");
+ break;
+ default: /* Difficult for other modes. */
+ break;
+ }
+}
+
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 @@
+/*
+** This file has been pre-processed with DynASM.
+** http://luajit.org/dynasm.html
+** DynASM version 1.2.1, DynASM x64 version 1.2.1
+** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
+*/
+
+#if DASM_VERSION != 10201
+#error "Version mismatch between DynASM and included encoding engine"
+#endif
+
+#define DASM_SECTION_CODE_OP 0
+#define DASM_SECTION_CODE_SUB 1
+#define DASM_MAXSECTION 2
+static const unsigned char build_actionlist[13481] = {
+ 254,1,248,10,137,202,139,173,233,137,114,252,252,15,182,141,233,139,181,233,
+ 139,189,233,139,108,36,96,141,12,202,141,68,194,252,252,59,141,233,15,135,
+ 244,11,248,9,189,237,248,1,137,40,137,104,8,131,192,16,57,200,15,130,244,
+ 1,255,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
+ 248,12,137,113,252,252,141,52,197,237,141,148,253,49,233,137,106,252,248,
+ 139,173,233,137,114,252,252,15,182,181,233,141,60,252,242,139,116,36,96,141,
+ 66,4,59,190,233,15,135,244,13,15,182,181,233,133,252,246,15,132,244,248,248,
+ 1,131,193,8,57,209,15,131,244,248,139,121,252,248,137,120,252,252,139,121,
+ 252,252,137,56,131,192,8,199,65,252,252,237,131,252,238,1,15,133,244,1,248,
+ 2,15,182,141,233,139,181,233,255,139,189,233,141,12,202,252,233,244,9,248,
+ 14,137,113,252,252,72,139,189,233,139,108,36,96,141,68,193,252,248,137,141,
+ 233,141,136,233,137,133,233,59,141,233,72,137,252,250,137,252,233,15,135,
+ 244,15,199,131,233,237,252,255,147,233,199,131,233,237,139,149,233,141,12,
+ 194,252,247,217,3,141,233,248,16,131,192,1,137,68,36,84,252,247,198,237,255,
+ 15,132,244,17,252,233,244,18,248,19,137,113,252,252,72,139,189,233,139,108,
+ 36,96,141,68,193,252,248,137,141,233,141,136,233,137,133,233,59,141,233,137,
+ 252,233,15,135,244,15,199,131,233,237,252,255,215,199,131,233,237,139,149,
+ 233,141,12,194,252,247,217,3,141,233,248,16,131,192,1,137,68,36,84,252,247,
+ 198,237,255,15,132,244,17,248,18,252,247,198,237,15,132,244,20,199,131,233,
+ 237,131,230,252,248,41,214,252,247,222,131,232,1,15,132,244,248,248,1,139,
+ 44,10,137,106,252,248,139,108,10,4,137,106,252,252,131,194,8,131,232,1,15,
+ 133,244,1,248,2,139,108,36,96,137,181,233,248,3,139,68,36,84,139,76,36,88,
+ 248,4,57,193,15,133,244,252,248,5,255,131,252,234,8,137,149,233,248,21,72,
+ 139,76,36,104,72,137,141,233,49,192,248,22,72,131,196,40,91,94,95,93,195,
+ 248,6,15,130,244,253,59,149,233,15,135,244,254,199,66,252,252,237,131,194,
+ 8,131,192,1,252,233,244,4,248,7,133,201,15,132,244,5,41,193,141,20,202,252,
+ 233,244,5,248,8,137,149,233,255,137,68,36,84,137,202,137,252,233,232,251,
+ 1,0,139,149,233,252,233,244,3,248,23,137,208,72,137,204,248,24,139,108,36,
+ 96,139,173,233,199,133,233,237,252,233,244,22,248,25,72,129,225,239,72,137,
+ 204,248,26,139,108,36,96,72,199,193,252,248,252,255,252,255,252,255,184,237,
+ 139,149,233,139,157,233,129,195,239,139,114,252,252,199,66,252,252,237,199,
+ 131,233,237,255,252,233,244,16,248,20,252,247,198,237,15,132,244,27,131,230,
+ 252,248,41,252,242,72,141,76,49,252,248,139,114,252,252,199,68,10,4,237,252,
+ 233,244,16,248,15,186,237,252,233,244,247,248,13,131,232,8,137,202,137,252,
+ 249,139,181,233,139,108,36,96,248,11,131,232,4,41,209,193,252,233,3,131,198,
+ 4,137,149,233,137,133,233,137,116,36,100,137,202,248,1,137,252,233,232,251,
+ 1,0,139,141,233,255,139,133,233,139,105,252,248,139,113,252,252,41,200,193,
+ 232,3,131,192,1,252,255,165,233,248,28,85,87,86,83,72,131,252,236,40,137,
+ 205,137,76,36,96,137,209,190,237,49,192,72,141,188,253,36,233,139,157,233,
+ 129,195,239,72,137,189,233,137,68,36,100,72,137,68,36,104,137,68,36,88,137,
+ 68,36,92,56,133,233,15,132,244,249,199,131,233,237,136,133,233,139,149,233,
+ 139,133,233,41,200,193,232,3,131,192,1,41,209,139,114,252,252,137,68,36,84,
+ 252,247,198,237,15,132,244,17,252,233,244,18,248,29,255,85,87,86,83,72,131,
+ 252,236,40,190,237,68,137,76,36,92,252,233,244,247,248,30,85,87,86,83,72,
+ 131,252,236,40,190,237,248,1,68,137,68,36,88,137,205,137,76,36,96,137,209,
+ 248,2,72,139,189,233,72,137,124,36,104,137,108,36,100,72,137,165,233,139,
+ 157,233,129,195,239,248,3,199,131,233,237,139,149,233,1,206,41,214,139,133,
+ 233,41,200,193,232,3,131,192,1,139,105,252,248,129,121,253,252,252,239,15,
+ 133,244,31,252,255,165,233,248,32,255,85,87,86,83,72,131,252,236,40,137,205,
+ 137,76,36,96,137,108,36,100,139,189,233,43,189,233,199,68,36,92,0,0,0,0,137,
+ 124,36,88,72,139,189,233,72,137,124,36,104,72,137,165,233,65,252,255,209,
+ 133,192,15,132,244,21,137,193,190,237,252,233,244,2,248,27,1,209,131,230,
+ 252,248,137,213,41,252,242,199,68,193,252,252,237,137,200,139,117,252,244,
+ 72,99,77,252,240,72,141,61,245,72,1,252,249,139,122,252,248,139,191,233,139,
+ 191,233,252,255,225,248,33,15,182,78,252,255,131,252,237,16,141,12,202,41,
+ 252,233,15,132,244,34,252,247,217,193,252,233,3,65,137,200,139,76,36,96,137,
+ 145,233,139,80,4,139,0,137,85,4,137,69,0,137,252,234,252,233,244,35,248,36,
+ 255,137,68,36,80,199,68,36,84,237,72,141,68,36,80,128,126,252,252,235,15,
+ 133,244,247,141,139,233,137,41,199,65,4,237,137,205,252,233,244,248,248,37,
+ 15,182,70,252,254,255,252,242,15,42,192,252,242,15,17,68,36,80,255,72,141,
+ 68,36,80,252,233,244,247,248,38,15,182,70,252,254,141,4,194,248,1,15,182,
+ 110,252,255,141,44,252,234,248,2,139,76,36,96,137,145,233,137,252,234,73,
+ 137,192,137,205,137,116,36,100,232,251,1,1,139,149,233,133,192,15,132,244,
+ 249,248,34,15,182,78,252,253,139,104,4,139,0,137,108,202,4,137,4,202,139,
+ 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,139,
+ 141,233,137,113,252,244,141,177,233,41,214,139,105,252,248,184,3,0,0,0,252,
+ 255,165,233,248,39,137,68,36,80,199,68,36,84,237,72,141,68,36,80,128,126,
+ 252,252,235,15,133,244,247,141,139,233,255,137,41,199,65,4,237,137,205,252,
+ 233,244,248,248,40,15,182,70,252,254,255,72,141,68,36,80,252,233,244,247,
+ 248,41,15,182,70,252,254,141,4,194,248,1,15,182,110,252,255,141,44,252,234,
+ 248,2,139,76,36,96,137,145,233,137,252,234,73,137,192,137,205,137,116,36,
+ 100,232,251,1,2,139,149,233,133,192,15,132,244,249,15,182,78,252,253,139,
+ 108,202,4,139,12,202,137,104,4,137,8,248,42,139,6,15,182,204,15,182,232,131,
+ 198,4,193,232,16,252,255,36,252,235,248,3,139,141,233,137,113,252,244,15,
+ 182,70,252,253,139,108,194,4,139,4,194,137,105,20,137,65,16,141,177,233,41,
+ 214,139,105,252,248,184,4,0,0,0,252,255,165,233,248,43,139,108,36,96,137,
+ 149,233,68,141,4,194,141,20,202,137,252,233,68,15,182,78,252,252,137,116,
+ 36,100,232,251,1,3,248,3,139,149,233,131,252,248,1,15,135,244,44,248,4,255,
+ 141,118,4,15,130,244,252,248,5,15,183,70,252,254,141,180,253,134,233,248,
+ 6,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,
+ 45,131,198,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,46,129,120,
+ 253,4,239,252,233,244,4,248,47,131,252,238,4,65,137,192,65,137,252,233,139,
+ 108,36,96,137,149,233,137,202,137,252,233,137,116,36,100,232,251,1,4,252,
+ 233,244,3,248,48,255,141,4,199,252,233,244,247,248,49,141,4,199,141,44,252,
+ 234,149,252,233,244,248,248,50,141,4,194,137,197,252,233,244,248,248,51,141,
+ 4,194,248,1,141,44,252,234,248,2,141,12,202,65,137,232,65,137,193,15,182,
+ 70,252,252,137,68,36,32,139,108,36,96,137,149,233,137,202,137,252,233,137,
+ 116,36,100,232,251,1,5,139,149,233,133,192,15,132,244,42,248,44,137,193,41,
+ 208,137,113,252,244,141,176,233,139,105,252,248,184,3,0,0,0,129,121,253,252,
+ 252,239,15,133,244,31,255,252,255,165,233,248,52,139,108,36,96,137,149,233,
+ 141,20,194,137,252,233,137,116,36,100,232,251,1,6,139,149,233,252,233,244,
+ 44,248,31,137,76,36,84,137,68,36,80,131,252,233,8,139,108,36,96,137,149,233,
+ 137,202,68,141,4,193,137,252,233,137,116,36,100,232,251,1,7,139,149,233,139,
+ 76,36,84,139,68,36,80,139,105,252,248,131,192,1,57,215,15,132,244,53,252,
+ 255,165,233,248,54,139,108,36,96,137,149,233,137,202,137,252,233,137,116,
+ 36,100,232,251,1,8,139,149,233,139,70,252,252,15,182,204,15,182,232,193,232,
+ 16,252,255,164,253,252,235,233,248,55,129,252,248,239,15,130,244,56,255,139,
+ 105,4,129,252,253,239,15,131,244,56,137,68,36,84,137,105,252,252,139,41,137,
+ 105,252,248,131,232,2,15,132,244,248,137,76,36,80,248,1,131,193,8,139,105,
+ 4,137,105,252,252,139,41,137,105,252,248,131,232,1,15,133,244,1,139,76,36,
+ 80,248,2,139,68,36,84,252,233,244,57,248,58,129,252,248,239,15,130,244,56,
+ 139,105,4,184,237,252,247,213,57,232,255,15,71,197,255,15,134,244,247,137,
+ 232,248,1,255,139,105,252,248,139,132,253,197,233,199,65,252,252,237,137,
+ 65,252,248,252,233,244,59,248,60,129,252,248,239,15,130,244,56,139,105,4,
+ 129,252,253,239,15,133,244,252,248,1,139,41,139,173,233,248,2,133,252,237,
+ 199,65,252,252,237,15,132,244,59,139,65,252,248,139,131,233,199,65,252,252,
+ 237,137,105,252,248,137,76,36,80,139,141,233,255,35,136,233,105,201,239,3,
+ 141,233,248,3,129,185,233,239,15,133,244,250,57,129,233,15,132,244,251,248,
+ 4,139,137,233,133,201,15,133,244,3,252,233,244,59,248,5,139,105,4,129,252,
+ 253,239,15,132,244,59,255,139,1,139,76,36,80,137,105,252,252,137,65,252,248,
+ 252,233,244,59,248,6,129,252,253,239,15,132,244,1,129,252,253,239,15,135,
+ 244,253,189,237,248,7,252,247,213,139,172,253,171,233,252,233,244,2,248,61,
+ 129,252,248,239,15,130,244,56,129,121,253,4,239,15,133,244,56,255,139,41,
+ 131,189,233,0,15,133,244,56,129,121,253,12,239,15,133,244,56,139,65,8,137,
+ 133,233,199,65,252,252,237,137,105,252,248,252,246,133,233,235,15,132,244,
+ 247,128,165,233,235,139,131,233,137,171,233,137,133,233,248,1,252,233,244,
+ 59,248,62,255,129,252,248,239,15,130,244,56,129,121,253,4,239,15,133,244,
+ 56,137,84,36,80,137,205,139,17,68,141,65,8,139,76,36,96,232,251,1,9,137,252,
+ 233,139,84,36,80,139,40,139,64,4,137,105,252,248,137,65,252,252,252,233,244,
+ 59,248,63,129,252,248,239,15,133,244,56,129,121,253,4,239,15,135,244,56,255,
+ 252,242,15,16,1,252,233,244,64,255,221,1,252,233,244,65,255,248,66,129,252,
+ 248,239,15,130,244,56,129,121,253,4,239,15,133,244,249,139,1,248,2,199,65,
+ 252,252,237,137,65,252,248,252,233,244,59,248,3,129,121,253,4,239,15,135,
+ 244,56,131,187,233,0,15,133,244,56,139,171,233,59,171,233,255,15,130,244,
+ 247,232,244,67,248,1,139,108,36,96,137,141,233,137,113,252,252,137,116,36,
+ 100,137,84,36,80,137,202,137,252,233,232,251,1,10,139,141,233,139,84,36,80,
+ 252,233,244,2,248,68,129,252,248,239,15,130,244,56,15,132,244,248,248,1,129,
+ 121,253,4,239,15,133,244,56,137,84,36,80,139,17,139,108,36,96,137,141,233,
+ 255,137,113,252,252,68,141,65,8,137,252,233,137,116,36,100,232,251,1,11,139,
+ 141,233,139,84,36,80,133,192,15,132,244,249,139,105,8,139,65,12,137,105,252,
+ 248,137,65,252,252,139,105,16,139,65,20,137,41,137,65,4,248,69,184,237,252,
+ 233,244,70,248,2,199,65,12,237,252,233,244,1,248,3,199,65,252,252,237,252,
+ 233,244,59,248,71,129,252,248,239,15,130,244,56,129,121,253,4,239,255,15,
+ 133,244,56,139,133,233,199,65,252,252,237,137,65,252,248,199,65,12,237,184,
+ 237,252,233,244,70,248,72,129,252,248,239,15,130,244,56,129,121,253,4,239,
+ 15,133,244,56,129,121,253,12,239,15,135,244,56,255,252,242,15,16,65,8,72,
+ 189,237,237,102,72,15,110,205,252,242,15,88,193,252,242,15,45,192,252,242,
+ 15,17,65,252,248,255,139,41,59,133,233,15,131,244,248,193,224,3,3,133,233,
+ 248,1,129,120,253,4,239,15,132,244,73,139,40,139,64,4,137,41,137,65,4,252,
+ 233,244,69,248,2,131,189,233,0,15,132,244,73,137,84,36,80,135,205,137,194,
+ 232,251,1,12,137,252,233,139,84,36,80,133,192,15,133,244,1,248,73,184,237,
+ 252,233,244,70,248,74,255,129,252,248,239,15,130,244,56,129,121,253,4,239,
+ 15,133,244,56,139,133,233,199,65,252,252,237,137,65,252,248,255,15,87,192,
+ 252,242,15,17,65,8,255,217,252,238,221,89,8,255,184,237,252,233,244,70,248,
+ 75,129,252,248,239,15,130,244,56,137,113,252,252,190,237,137,202,131,193,
+ 8,131,232,1,139,105,252,248,248,1,252,246,131,233,235,15,133,244,249,248,
+ 2,129,121,253,252,252,239,15,133,244,31,252,255,165,233,248,3,131,198,1,252,
+ 233,244,2,248,76,255,129,252,248,239,15,130,244,56,129,121,253,12,239,15,
+ 133,244,56,137,113,252,252,139,105,4,137,105,12,199,65,4,237,139,41,139,113,
+ 8,137,105,8,137,49,190,237,137,202,129,193,239,131,232,2,252,233,244,1,248,
+ 9,139,116,36,100,252,233,244,56,248,77,129,252,248,239,15,130,244,56,139,
+ 41,137,113,252,252,137,116,36,100,137,108,36,80,129,121,253,4,239,15,133,
+ 244,9,255,72,131,189,233,0,15,133,244,9,128,189,233,235,15,135,244,9,139,
+ 181,233,137,116,36,84,15,132,244,247,59,181,233,15,132,244,9,248,1,141,116,
+ 198,252,240,59,181,233,15,135,244,9,137,181,233,139,108,36,96,137,141,233,
+ 131,193,8,137,141,233,255,139,108,36,84,141,76,193,232,72,41,252,241,57,252,
+ 238,15,132,244,249,248,2,139,68,14,4,137,70,252,252,139,4,14,137,70,252,248,
+ 131,252,238,8,57,252,238,15,133,244,2,248,3,139,76,36,80,139,84,36,84,232,
+ 244,28,199,131,233,237,139,108,36,96,139,116,36,80,139,149,233,129,252,248,
+ 239,15,135,244,254,248,4,139,142,233,139,190,233,137,142,233,137,252,254,
+ 41,206,15,132,244,252,255,141,4,50,193,252,238,3,59,133,233,15,135,244,255,
+ 137,213,72,41,205,248,5,139,1,137,4,41,139,65,4,137,68,41,4,131,193,8,57,
+ 252,249,15,133,244,5,248,6,141,70,2,199,66,252,252,237,248,7,139,116,36,100,
+ 137,68,36,84,72,199,193,252,248,252,255,252,255,252,255,252,247,198,237,15,
+ 132,244,17,252,233,244,18,248,8,199,66,252,252,237,139,142,233,131,252,233,
+ 8,137,142,233,139,1,137,2,139,65,4,137,66,4,184,237,252,233,244,7,248,9,255,
+ 139,76,36,80,137,185,233,137,252,242,137,252,233,232,251,1,0,139,149,233,
+ 252,233,244,4,248,9,139,116,36,100,252,233,244,56,248,78,139,173,233,137,
+ 113,252,252,137,116,36,100,137,108,36,80,72,131,189,233,0,15,133,244,9,128,
+ 189,233,235,15,135,244,9,139,181,233,137,116,36,84,15,132,244,247,59,181,
+ 233,255,15,132,244,9,248,1,141,116,198,252,248,59,181,233,15,135,244,9,137,
+ 181,233,139,108,36,96,137,141,233,137,141,233,139,108,36,84,141,76,193,252,
+ 240,72,41,252,241,57,252,238,15,132,244,249,248,2,139,68,14,4,137,70,252,
+ 252,139,4,14,137,70,252,248,131,252,238,8,57,252,238,15,133,244,2,248,3,139,
+ 76,36,80,139,84,36,84,232,244,28,199,131,233,237,139,108,36,96,139,116,36,
+ 80,139,149,233,255,129,252,248,239,15,135,244,254,248,4,139,142,233,139,190,
+ 233,137,142,233,137,252,254,41,206,15,132,244,252,141,4,50,193,252,238,3,
+ 59,133,233,15,135,244,255,137,213,72,41,205,248,5,139,1,137,4,41,139,65,4,
+ 137,68,41,4,131,193,8,57,252,249,15,133,244,5,248,6,141,70,1,248,7,139,116,
+ 36,100,137,68,36,84,49,201,252,247,198,237,15,132,244,17,255,252,233,244,
+ 18,248,8,137,252,242,137,252,233,232,251,1,13,248,9,139,76,36,80,137,185,
+ 233,137,252,242,137,252,233,232,251,1,0,139,149,233,252,233,244,4,248,79,
+ 139,108,36,96,137,113,252,252,72,252,247,133,233,237,15,132,244,56,137,141,
+ 233,141,68,193,252,248,137,133,233,49,192,72,137,133,233,176,235,136,133,
+ 233,252,233,244,22,255,248,65,221,89,252,248,252,233,244,59,248,80,129,252,
+ 248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,72,
+ 184,237,237,102,72,15,110,200,15,84,193,248,64,252,242,15,17,65,252,248,255,
+ 248,80,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,221,
+ 1,217,225,248,64,248,65,221,89,252,248,255,248,59,184,237,248,70,137,68,36,
+ 84,248,57,252,247,198,237,15,133,244,253,248,5,56,70,252,255,15,135,244,252,
+ 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,6,
+ 199,68,193,252,244,237,131,192,1,252,233,244,5,248,7,137,202,72,199,193,252,
+ 248,252,255,252,255,252,255,252,233,244,18,255,248,81,129,252,248,239,15,
+ 130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,81,1,252,233,244,64,
+ 248,82,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,
+ 242,15,16,1,232,244,83,252,233,244,64,248,84,255,129,252,248,239,15,130,244,
+ 56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,232,244,85,252,233,244,
+ 64,255,248,81,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,221,1,217,252,250,252,233,244,65,248,82,129,252,248,239,15,130,244,56,
+ 129,121,253,4,239,15,135,244,56,221,1,232,244,83,252,233,244,65,248,84,255,
+ 129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,221,1,232,244,
+ 85,252,233,244,65,255,248,86,129,252,248,239,15,130,244,56,129,121,253,4,
+ 239,15,135,244,56,217,252,237,221,1,217,252,241,252,233,244,65,248,87,129,
+ 252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,217,252,236,221,
+ 1,217,252,241,252,233,244,65,248,88,129,252,248,239,255,15,130,244,56,129,
+ 121,253,4,239,15,135,244,56,221,1,232,244,89,252,233,244,65,248,90,129,252,
+ 248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,221,1,217,252,254,252,
+ 233,244,65,248,91,129,252,248,239,255,15,130,244,56,129,121,253,4,239,15,
+ 135,244,56,221,1,217,252,255,252,233,244,65,248,92,129,252,248,239,15,130,
+ 244,56,129,121,253,4,239,15,135,244,56,221,1,217,252,242,221,216,252,233,
+ 244,65,248,93,129,252,248,239,15,130,244,56,255,129,121,253,4,239,15,135,
+ 244,56,221,1,217,192,216,200,217,232,222,225,217,252,250,217,252,243,252,
+ 233,244,65,248,94,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,
+ 244,56,221,1,217,192,216,200,217,232,222,225,217,252,250,217,201,217,252,
+ 243,252,233,244,65,248,95,129,252,248,239,15,130,244,56,129,121,253,4,239,
+ 15,135,244,56,255,221,1,217,232,217,252,243,252,233,244,65,255,248,96,129,
+ 252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,
+ 255,137,76,36,80,137,213,232,251,1,14,139,76,36,80,137,252,234,252,233,244,
+ 64,255,248,97,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,252,242,15,16,1,255,137,76,36,80,137,213,232,251,1,15,139,76,36,80,137,
+ 252,234,252,233,244,64,255,248,98,129,252,248,239,15,130,244,56,129,121,253,
+ 4,239,15,135,244,56,252,242,15,16,1,255,137,76,36,80,137,213,232,251,1,16,
+ 139,76,36,80,137,252,234,252,233,244,64,248,99,255,248,100,129,252,248,239,
+ 15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,252,242,15,
+ 89,133,233,252,233,244,64,255,248,100,129,252,248,239,15,130,244,56,129,121,
+ 253,4,239,15,135,244,56,221,1,220,141,233,252,233,244,65,255,248,101,129,
+ 252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,121,253,12,
+ 239,15,135,244,56,221,1,221,65,8,217,252,243,252,233,244,65,248,102,129,252,
+ 248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,121,253,12,239,
+ 255,15,135,244,56,221,65,8,221,1,217,252,253,221,217,252,233,244,65,248,103,
+ 129,252,248,239,15,130,244,56,139,105,4,129,252,253,239,15,135,244,56,139,
+ 1,137,105,252,252,137,65,252,248,209,229,129,252,253,0,0,224,252,255,15,131,
+ 244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,32,0,15,130,
+ 244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,137,108,36,
+ 80,219,68,36,80,255,139,105,252,252,129,229,252,255,252,255,15,128,129,205,
+ 0,0,224,63,137,105,252,252,248,2,255,252,242,15,17,1,255,221,25,255,184,237,
+ 252,233,244,70,248,3,255,15,87,192,252,233,244,2,255,217,252,238,252,233,
+ 244,2,255,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,89,
+ 193,252,242,15,17,65,252,248,255,221,1,199,68,36,80,0,0,128,90,216,76,36,
+ 80,221,89,252,248,255,139,105,252,252,184,52,4,0,0,209,229,252,233,244,1,
+ 255,248,104,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,
+ 252,242,15,16,1,255,248,104,129,252,248,239,15,130,244,56,129,121,253,4,239,
+ 15,135,244,56,221,1,255,139,105,4,209,229,129,252,253,0,0,224,252,255,15,
+ 132,244,250,255,15,40,224,232,244,105,252,242,15,92,224,248,1,252,242,15,
+ 17,65,252,248,252,242,15,17,33,255,217,192,232,244,105,220,252,233,248,1,
+ 221,89,252,248,221,25,255,139,65,252,252,139,105,4,49,232,15,136,244,249,
+ 248,2,184,237,252,233,244,70,248,3,129,252,245,0,0,0,128,137,105,4,252,233,
+ 244,2,248,4,255,15,87,228,252,233,244,1,255,217,252,238,217,201,252,233,244,
+ 1,255,248,106,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,129,121,253,12,239,15,135,244,56,221,65,8,221,1,248,1,217,252,248,223,
+ 224,158,15,138,244,1,221,217,252,233,244,65,255,248,107,129,252,248,239,15,
+ 130,244,56,129,121,253,4,239,15,135,244,56,129,121,253,12,239,15,135,244,
+ 56,252,242,15,16,1,252,242,15,16,73,8,232,244,108,252,233,244,64,255,248,
+ 107,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,129,121,
+ 253,12,239,15,135,244,56,221,1,221,65,8,232,244,108,252,233,244,65,255,248,
+ 109,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,
+ 15,16,1,189,2,0,0,0,248,1,57,197,15,131,244,64,129,124,253,252,233,252,252,
+ 239,15,135,244,56,252,242,15,16,76,252,233,252,248,252,242,15,93,193,131,
+ 197,1,252,233,244,1,255,248,110,129,252,248,239,15,130,244,56,129,121,253,
+ 4,239,15,135,244,56,252,242,15,16,1,189,2,0,0,0,248,1,57,197,15,131,244,64,
+ 129,124,253,252,233,252,252,239,15,135,244,56,252,242,15,16,76,252,233,252,
+ 248,252,242,15,95,193,131,197,1,252,233,244,1,255,248,5,221,216,252,233,244,
+ 56,255,248,111,129,252,248,239,15,130,244,56,129,121,253,4,239,15,133,244,
+ 56,139,41,255,252,242,15,42,133,233,252,233,244,64,255,219,133,233,252,233,
+ 244,65,255,248,112,129,252,248,239,15,133,244,56,129,121,253,4,239,15,133,
+ 244,56,139,41,131,189,233,1,15,130,244,73,15,182,173,233,255,252,242,15,42,
+ 197,252,233,244,64,255,137,108,36,80,219,68,36,80,252,233,244,65,255,248,
+ 113,139,171,233,59,171,233,15,130,244,247,232,244,67,248,1,129,252,248,239,
+ 15,133,244,56,129,121,253,4,239,15,135,244,56,255,252,242,15,45,1,61,252,
+ 255,0,0,0,15,135,244,56,137,68,36,84,255,221,1,219,92,36,84,129,124,36,84,
+ 252,255,0,0,0,15,135,244,56,255,199,68,36,32,1,0,0,0,72,141,68,36,84,137,
+ 76,36,80,248,114,139,108,36,96,137,149,233,68,139,68,36,32,72,137,194,137,
+ 252,233,137,116,36,100,232,251,1,17,139,76,36,80,139,149,233,199,65,252,252,
+ 237,137,65,252,248,252,233,244,59,248,115,139,171,233,59,171,233,15,130,244,
+ 247,232,244,67,248,1,137,76,36,80,199,68,36,84,252,255,252,255,252,255,252,
+ 255,129,252,248,239,15,130,244,56,15,134,244,247,129,121,253,20,239,255,252,
+ 242,15,45,105,16,137,108,36,84,255,221,65,16,219,92,36,84,255,248,1,129,121,
+ 253,4,239,15,133,244,56,129,121,253,12,239,15,135,244,56,139,41,137,108,36,
+ 32,139,173,233,255,252,242,15,45,73,8,255,139,68,36,84,57,197,15,130,244,
+ 251,248,2,133,201,15,142,244,253,248,3,139,108,36,32,41,200,15,140,244,116,
+ 141,172,253,13,233,131,192,1,248,4,137,68,36,32,137,232,252,233,244,114,248,
+ 5,15,140,244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248,
+ 7,255,15,132,244,254,1,252,233,131,193,1,15,143,244,3,248,8,185,1,0,0,0,252,
+ 233,244,3,248,116,49,192,252,233,244,4,248,117,129,252,248,239,15,130,244,
+ 56,139,171,233,59,171,233,15,130,244,247,232,244,67,248,1,255,137,76,36,80,
+ 129,121,253,4,239,15,133,244,56,129,121,253,12,239,15,135,244,56,139,41,255,
+ 252,242,15,45,65,8,255,221,65,8,219,92,36,84,139,68,36,84,255,133,192,15,
+ 142,244,116,131,189,233,1,15,130,244,116,15,133,244,118,57,131,233,15,130,
+ 244,118,15,182,141,233,139,171,233,137,68,36,32,248,1,136,77,0,131,197,1,
+ 131,232,1,15,133,244,1,139,131,233,252,233,244,114,248,119,129,252,248,239,
+ 255,15,130,244,56,139,171,233,59,171,233,15,130,244,247,232,244,67,248,1,
+ 137,76,36,80,129,121,253,4,239,15,133,244,56,139,41,139,133,233,133,192,15,
+ 132,244,116,57,131,233,15,130,244,120,129,197,239,137,116,36,84,137,68,36,
+ 32,139,179,233,248,1,255,15,182,77,0,131,197,1,131,232,1,136,12,6,15,133,
+ 244,1,137,252,240,139,116,36,84,252,233,244,114,248,121,129,252,248,239,15,
+ 130,244,56,139,171,233,59,171,233,15,130,244,247,232,244,67,248,1,137,76,
+ 36,80,129,121,253,4,239,15,133,244,56,139,41,139,133,233,57,131,233,255,15,
+ 130,244,120,129,197,239,137,116,36,84,137,68,36,32,139,179,233,252,233,244,
+ 249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252,249,90,15,135,
+ 244,248,131,252,241,32,248,2,136,12,6,248,3,131,232,1,15,137,244,1,137,252,
+ 240,139,116,36,84,252,233,244,114,248,122,129,252,248,239,15,130,244,56,255,
+ 139,171,233,59,171,233,15,130,244,247,232,244,67,248,1,137,76,36,80,129,121,
+ 253,4,239,15,133,244,56,139,41,139,133,233,57,131,233,15,130,244,120,129,
+ 197,239,137,116,36,84,137,68,36,32,139,179,233,252,233,244,249,248,1,15,182,
+ 76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244,248,131,
+ 252,241,32,248,2,136,12,6,248,3,131,232,1,15,137,244,1,137,252,240,139,116,
+ 36,84,252,233,244,114,248,123,129,252,248,239,15,130,244,56,129,121,253,4,
+ 239,15,133,244,56,137,84,36,80,137,205,139,9,232,251,1,18,137,252,233,139,
+ 84,36,80,255,252,242,15,42,192,252,233,244,64,255,248,124,129,252,248,239,
+ 15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,15,16,1,72,189,237,
+ 237,102,72,15,110,205,252,242,15,88,193,102,15,126,197,252,242,15,42,197,
+ 252,233,244,64,255,248,125,129,252,248,239,15,130,244,56,129,121,253,4,239,
+ 15,135,244,56,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,
+ 88,193,102,15,126,197,255,137,68,36,84,141,68,193,252,240,255,137,84,36,80,
+ 255,248,1,57,200,15,134,244,126,129,120,253,4,239,15,135,244,127,255,252,
+ 242,15,16,0,252,242,15,88,193,102,15,126,194,33,213,255,131,232,8,252,233,
+ 244,1,255,248,128,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,
+ 244,56,252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,
+ 102,15,126,197,255,252,242,15,16,0,252,242,15,88,193,102,15,126,194,9,213,
+ 255,248,129,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,
+ 252,242,15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,
+ 126,197,255,252,242,15,16,0,252,242,15,88,193,102,15,126,194,49,213,255,248,
+ 130,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,56,252,242,
+ 15,16,1,72,189,237,237,102,72,15,110,205,252,242,15,88,193,102,15,126,197,
+ 255,15,205,252,233,244,131,255,248,132,129,252,248,239,15,130,244,56,129,
+ 121,253,4,239,15,135,244,56,252,242,15,16,1,72,189,237,237,102,72,15,110,
+ 205,252,242,15,88,193,102,15,126,197,255,252,247,213,255,248,131,252,242,
+ 15,42,197,252,233,244,64,248,126,252,242,15,42,197,139,84,36,80,252,233,244,
+ 64,255,248,127,255,139,68,36,84,252,233,244,56,255,248,133,129,252,248,239,
+ 15,130,244,56,129,121,253,4,239,15,135,244,56,129,121,253,12,239,15,135,244,
+ 56,252,242,15,16,1,252,242,15,16,73,8,72,189,237,237,102,72,15,110,213,252,
+ 242,15,88,194,252,242,15,88,202,137,200,102,15,126,197,102,15,126,201,255,
+ 211,229,137,193,252,233,244,131,255,248,134,129,252,248,239,15,130,244,56,
+ 129,121,253,4,239,15,135,244,56,129,121,253,12,239,15,135,244,56,252,242,
+ 15,16,1,252,242,15,16,73,8,72,189,237,237,102,72,15,110,213,252,242,15,88,
+ 194,252,242,15,88,202,137,200,102,15,126,197,102,15,126,201,255,211,252,237,
+ 137,193,252,233,244,131,255,248,135,129,252,248,239,15,130,244,56,129,121,
+ 253,4,239,15,135,244,56,129,121,253,12,239,15,135,244,56,252,242,15,16,1,
+ 252,242,15,16,73,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,
+ 242,15,88,202,137,200,102,15,126,197,102,15,126,201,255,211,252,253,137,193,
+ 252,233,244,131,255,248,136,129,252,248,239,15,130,244,56,129,121,253,4,239,
+ 15,135,244,56,129,121,253,12,239,15,135,244,56,252,242,15,16,1,252,242,15,
+ 16,73,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,
+ 202,137,200,102,15,126,197,102,15,126,201,255,211,197,137,193,252,233,244,
+ 131,255,248,137,129,252,248,239,15,130,244,56,129,121,253,4,239,15,135,244,
+ 56,129,121,253,12,239,15,135,244,56,252,242,15,16,1,252,242,15,16,73,8,72,
+ 189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,137,200,
+ 102,15,126,197,102,15,126,201,255,211,205,137,193,252,233,244,131,248,118,
+ 184,237,252,233,244,56,248,120,184,237,248,56,139,108,36,96,41,202,137,113,
+ 252,252,137,116,36,100,137,84,36,80,137,141,233,141,68,193,252,248,141,144,
+ 233,137,133,233,139,65,252,248,59,149,233,15,135,244,251,137,252,233,252,
+ 255,144,233,133,192,15,133,244,249,248,1,139,141,233,255,139,133,233,41,200,
+ 193,232,3,131,192,1,139,105,252,248,139,84,36,80,1,202,57,113,252,252,15,
+ 133,244,248,252,255,165,233,248,2,129,121,253,252,252,239,15,133,244,31,252,
+ 255,165,233,248,3,139,141,233,139,84,36,80,1,202,252,233,244,70,248,5,186,
+ 237,137,252,233,232,251,1,0,252,233,244,1,248,67,93,72,137,108,36,32,139,
+ 108,36,96,41,202,137,84,36,84,137,113,252,252,137,116,36,100,137,141,233,
+ 141,68,193,252,248,137,252,233,137,133,233,255,232,251,1,19,139,141,233,139,
+ 133,233,41,200,193,232,3,131,192,1,139,113,252,252,139,84,36,84,1,202,72,
+ 139,108,36,32,85,139,105,252,248,195,248,138,255,15,182,131,233,168,235,15,
+ 133,244,251,168,235,15,133,244,247,168,235,15,132,244,247,252,255,139,233,
+ 252,233,244,247,255,248,139,15,182,131,233,168,235,15,133,244,251,168,235,
+ 15,132,244,251,252,255,139,233,15,132,244,247,168,235,15,132,244,251,248,
+ 1,139,108,36,96,137,149,233,137,252,242,137,252,233,232,251,1,20,248,3,139,
+ 149,233,248,4,15,182,78,252,253,248,5,255,15,182,110,252,252,15,183,70,252,
+ 254,252,255,164,253,252,235,233,248,140,131,198,4,139,77,232,137,76,36,84,
+ 252,233,244,4,248,141,255,204,255,248,142,255,248,143,255,248,144,255,139,
+ 122,252,248,139,191,233,139,191,233,199,131,233,0,0,0,0,199,131,233,237,139,
+ 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,248,83,
+ 255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,36,4,102,37,252,255,252,
+ 247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,
+ 255,248,145,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,
+ 216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,252,
+ 242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,72,15,110,
+ 208,252,242,15,194,193,1,102,15,84,194,252,242,15,92,200,15,40,193,248,1,
+ 195,248,85,255,217,124,36,4,137,68,36,8,102,184,0,8,102,11,68,36,4,102,37,
+ 252,255,252,251,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,
+ 68,36,8,195,255,248,146,72,184,237,237,102,72,15,110,208,72,184,237,237,102,
+ 72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,
+ 85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184,237,237,102,
+ 72,15,110,208,252,242,15,194,193,6,102,15,84,194,252,242,15,92,200,15,40,
+ 193,248,1,195,248,105,255,217,124,36,4,137,68,36,8,102,184,0,12,102,11,68,
+ 36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,139,68,36,8,195,
+ 255,248,147,72,184,237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,
+ 216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102,15,85,208,15,
+ 40,193,252,242,15,88,203,252,242,15,92,203,72,184,237,237,102,72,15,110,216,
+ 252,242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15,86,202,15,40,
+ 193,248,1,195,248,148,255,15,40,232,252,242,15,94,193,72,184,237,237,102,
+ 72,15,110,208,72,184,237,237,102,72,15,110,216,15,40,224,102,15,84,226,102,
+ 15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,227,252,242,15,92,227,
+ 102,15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194,196,1,102,15,
+ 84,194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242,15,92,193,195,
+ 248,1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255,217,193,216,252,
+ 241,217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255,252,247,102,137,
+ 68,36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222,252,233,195,255,
+ 248,89,217,252,234,222,201,248,149,217,84,36,8,129,124,36,8,0,0,128,127,15,
+ 132,244,247,129,124,36,8,0,0,128,252,255,15,132,244,248,248,150,217,192,217,
+ 252,252,220,252,233,217,201,217,252,240,217,232,222,193,217,252,253,221,217,
+ 248,1,195,248,2,221,216,217,252,238,195,255,248,108,255,248,151,252,242,15,
+ 45,193,252,242,15,42,208,102,15,46,202,15,133,244,254,15,138,244,255,248,
+ 152,131,252,248,1,15,142,244,252,248,1,169,1,0,0,0,15,133,244,248,252,242,
+ 15,89,192,209,232,252,233,244,1,248,2,209,232,15,132,244,251,15,40,200,248,
+ 3,252,242,15,89,192,209,232,15,132,244,250,15,131,244,3,255,252,242,15,89,
+ 200,252,233,244,3,248,4,252,242,15,89,193,248,5,195,248,6,15,132,244,5,15,
+ 130,244,253,80,72,184,237,237,102,72,15,110,200,252,242,15,94,200,88,15,40,
+ 193,252,247,216,131,252,248,1,15,132,244,5,252,233,244,1,248,7,72,184,237,
+ 237,102,72,15,110,192,195,248,8,102,72,15,126,200,72,209,224,72,193,192,12,
+ 72,61,252,254,15,0,0,15,132,244,248,255,102,72,15,126,192,72,209,224,15,132,
+ 244,250,72,193,192,12,72,61,252,254,15,0,0,15,132,244,251,252,242,15,17,76,
+ 36,16,252,242,15,17,68,36,8,221,68,36,16,221,68,36,8,217,252,241,217,192,
+ 217,252,252,220,252,233,217,201,217,252,240,217,232,222,193,217,252,253,221,
+ 217,221,92,36,8,252,242,15,16,68,36,8,195,248,9,72,184,237,237,102,72,15,
+ 110,208,102,15,46,194,15,132,244,247,15,40,193,248,1,195,248,2,72,184,237,
+ 237,102,72,15,110,208,102,15,84,194,72,184,237,237,102,72,15,110,208,102,
+ 15,46,194,15,132,244,1,102,15,80,193,15,87,192,136,196,15,146,208,48,224,
+ 15,133,244,1,248,3,72,184,237,237,255,102,72,15,110,192,195,248,4,102,15,
+ 80,193,133,192,15,133,244,3,15,87,192,195,248,5,102,15,80,193,133,192,15,
+ 132,244,3,15,87,192,195,248,153,255,131,252,250,1,15,130,244,83,15,132,244,
+ 85,131,252,250,3,15,130,244,105,15,135,244,248,252,242,15,81,192,195,248,
+ 2,252,242,15,17,68,36,8,221,68,36,8,131,252,250,5,15,135,244,248,88,15,132,
+ 244,247,232,244,89,80,252,233,244,253,248,1,232,244,149,255,80,252,233,244,
+ 253,248,2,131,252,250,7,15,132,244,247,15,135,244,248,217,252,237,217,201,
+ 217,252,241,252,233,244,253,248,1,217,232,217,201,217,252,241,252,233,244,
+ 253,248,2,131,252,250,9,15,132,244,247,15,135,244,248,217,252,236,217,201,
+ 217,252,241,252,233,244,253,248,1,255,217,252,254,252,233,244,253,248,2,131,
+ 252,250,11,15,132,244,247,15,135,244,255,217,252,255,252,233,244,253,248,
+ 1,217,252,242,221,216,248,7,221,92,36,8,252,242,15,16,68,36,8,195,255,139,
+ 84,36,12,221,68,36,4,131,252,250,1,15,130,244,83,15,132,244,85,131,252,250,
+ 3,15,130,244,105,15,135,244,248,217,252,250,195,248,2,131,252,250,5,15,130,
+ 244,89,15,132,244,149,131,252,250,7,15,132,244,247,15,135,244,248,217,252,
+ 237,217,201,217,252,241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,
+ 252,250,9,15,132,244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,
+ 195,248,1,217,252,254,195,248,2,131,252,250,11,15,132,244,247,15,135,244,
+ 255,217,252,255,195,248,1,217,252,242,221,216,195,255,248,9,204,248,154,255,
+ 65,131,252,248,1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,
+ 1,252,242,15,92,193,195,248,2,65,131,252,248,3,15,132,244,247,15,135,244,
+ 248,252,242,15,89,193,195,248,1,252,242,15,94,193,195,248,2,65,131,252,248,
+ 5,15,130,244,148,15,132,244,108,65,131,252,248,7,15,132,244,247,15,135,244,
+ 248,72,184,237,237,255,102,72,15,110,200,15,87,193,195,248,1,72,184,237,237,
+ 102,72,15,110,200,15,84,193,195,248,2,65,131,252,248,9,15,135,244,248,252,
+ 242,15,17,68,36,8,252,242,15,17,76,36,16,221,68,36,8,221,68,36,16,15,132,
+ 244,247,217,252,243,248,7,221,92,36,8,252,242,15,16,68,36,8,195,248,1,217,
+ 201,217,252,253,221,217,252,233,244,7,248,2,65,131,252,248,11,15,132,244,
+ 247,15,135,244,255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,
+ 9,204,255,139,68,36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,
+ 247,15,135,244,248,222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,
+ 15,132,244,247,15,135,244,248,222,201,195,248,1,222,252,249,195,248,2,131,
+ 252,248,5,15,130,244,148,15,132,244,108,131,252,248,7,15,132,244,247,15,135,
+ 244,248,255,221,216,217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,
+ 9,15,132,244,247,15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,
+ 221,217,195,248,2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,
+ 233,219,209,221,217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,
+ 223,224,252,246,196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,
+ 225,223,224,252,246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,
+ 155,137,200,86,72,137,214,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,
+ 94,195,255,249,255,129,124,253,202,4,239,15,135,244,43,129,124,253,194,4,
+ 239,15,135,244,43,255,252,242,15,16,4,194,131,198,4,102,15,46,4,202,255,221,
+ 4,202,221,4,194,131,198,4,255,223,252,233,221,216,255,218,252,233,223,224,
+ 158,255,15,134,244,248,255,15,131,244,248,255,248,1,15,183,70,252,254,141,
+ 180,253,134,233,248,2,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
+ 255,36,252,235,255,139,108,194,4,131,198,4,129,252,253,239,15,135,244,251,
+ 129,124,253,202,4,239,15,135,244,251,255,252,242,15,16,4,194,102,15,46,4,
+ 202,255,221,4,202,221,4,194,255,15,138,244,248,15,133,244,248,255,15,138,
+ 244,248,15,132,244,247,255,248,1,15,183,70,252,254,141,180,253,134,233,248,
+ 2,255,248,2,15,183,70,252,254,141,180,253,134,233,248,1,255,248,5,57,108,
+ 202,4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,57,193,
+ 15,132,244,1,129,252,253,239,15,135,244,2,139,169,233,133,252,237,15,132,
+ 244,2,252,246,133,233,235,15,133,244,2,255,49,252,237,255,189,1,0,0,0,255,
+ 252,233,244,47,255,72,252,247,208,131,198,4,129,124,253,202,4,239,15,133,
+ 244,248,139,12,202,59,12,135,255,131,198,4,129,124,253,202,4,239,15,135,244,
+ 248,255,252,242,15,16,4,199,102,15,46,4,202,255,221,4,202,221,4,199,255,72,
+ 252,247,208,131,198,4,57,68,202,4,255,139,108,194,4,131,198,4,129,252,253,
+ 239,255,15,131,244,247,255,15,130,244,247,255,137,108,202,4,139,44,194,137,
+ 44,202,255,15,183,70,252,254,141,180,253,134,233,248,1,139,6,15,182,204,15,
+ 182,232,131,198,4,193,232,16,252,255,36,252,235,255,139,108,194,4,139,4,194,
+ 137,108,202,4,137,4,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,
+ 252,255,36,252,235,255,49,252,237,129,124,253,194,4,239,129,213,239,137,108,
+ 202,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
+ 255,129,124,253,194,4,239,15,135,244,50,255,252,242,15,16,4,194,72,184,237,
+ 237,102,72,15,110,200,15,87,193,252,242,15,17,4,202,255,221,4,194,217,224,
+ 221,28,202,255,129,124,253,194,4,239,15,133,244,248,139,4,194,255,15,87,192,
+ 252,242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,128,233,248,1,221,
+ 28,202,255,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
+ 235,248,2,129,124,253,194,4,239,15,133,244,52,139,12,194,137,213,232,251,
+ 1,18,255,252,242,15,42,192,137,252,234,255,15,182,78,252,253,252,233,244,
+ 1,255,15,182,252,236,15,182,192,255,129,124,253,252,234,4,239,15,135,244,
+ 48,255,252,242,15,16,4,252,234,252,242,15,88,4,199,255,221,4,252,234,220,
+ 4,199,255,129,124,253,252,234,4,239,15,135,244,49,255,252,242,15,16,4,199,
+ 252,242,15,88,4,252,234,255,221,4,199,220,4,252,234,255,129,124,253,252,234,
+ 4,239,15,135,244,51,129,124,253,194,4,239,15,135,244,51,255,252,242,15,16,
+ 4,252,234,252,242,15,88,4,194,255,221,4,252,234,220,4,194,255,252,242,15,
+ 16,4,252,234,252,242,15,92,4,199,255,221,4,252,234,220,36,199,255,252,242,
+ 15,16,4,199,252,242,15,92,4,252,234,255,221,4,199,220,36,252,234,255,252,
+ 242,15,16,4,252,234,252,242,15,92,4,194,255,221,4,252,234,220,36,194,255,
+ 252,242,15,16,4,252,234,252,242,15,89,4,199,255,221,4,252,234,220,12,199,
+ 255,252,242,15,16,4,199,252,242,15,89,4,252,234,255,221,4,199,220,12,252,
+ 234,255,252,242,15,16,4,252,234,252,242,15,89,4,194,255,221,4,252,234,220,
+ 12,194,255,252,242,15,16,4,252,234,252,242,15,94,4,199,255,221,4,252,234,
+ 220,52,199,255,252,242,15,16,4,199,252,242,15,94,4,252,234,255,221,4,199,
+ 220,52,252,234,255,252,242,15,16,4,252,234,252,242,15,94,4,194,255,221,4,
+ 252,234,220,52,194,255,252,242,15,16,4,252,234,252,242,15,16,12,199,255,221,
+ 4,252,234,221,4,199,255,252,242,15,16,4,199,252,242,15,16,12,252,234,255,
+ 221,4,199,221,4,252,234,255,252,242,15,16,4,252,234,252,242,15,16,12,194,
+ 255,221,4,252,234,221,4,194,255,248,156,232,244,148,255,252,233,244,156,255,
+ 232,244,108,255,15,182,252,236,15,182,192,139,76,36,96,137,145,233,141,20,
+ 194,65,137,192,65,41,232,248,35,137,205,137,116,36,100,232,251,1,21,139,149,
+ 233,133,192,15,133,244,44,15,182,110,252,255,15,182,78,252,253,139,68,252,
+ 234,4,139,44,252,234,137,68,202,4,137,44,202,139,6,15,182,204,15,182,232,
+ 131,198,4,193,232,16,252,255,36,252,235,255,72,252,247,208,139,4,135,199,
+ 68,202,4,237,137,4,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
+ 255,36,252,235,255,15,191,192,252,242,15,42,192,252,242,15,17,4,202,255,223,
+ 70,252,254,221,28,202,255,252,242,15,16,4,199,252,242,15,17,4,202,255,221,
+ 4,199,221,28,202,255,72,252,247,208,137,68,202,4,139,6,15,182,204,15,182,
+ 232,131,198,4,193,232,16,252,255,36,252,235,255,141,76,202,12,141,68,194,
+ 4,189,237,137,105,252,248,248,1,137,41,131,193,8,57,193,15,134,244,1,139,
+ 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,139,106,
+ 252,248,139,172,253,133,233,139,173,233,139,69,4,139,109,0,137,68,202,4,137,
+ 44,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
+ 255,139,106,252,248,139,172,253,141,233,128,189,233,0,139,173,233,139,12,
+ 194,139,68,194,4,137,77,0,137,69,4,15,132,244,247,252,246,133,233,235,15,
+ 133,244,248,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
+ 36,252,235,248,2,129,232,239,129,252,248,239,15,134,244,1,252,246,129,233,
+ 235,15,132,244,1,135,213,141,139,233,255,232,251,1,22,137,252,234,252,233,
+ 244,1,255,72,252,247,208,139,106,252,248,139,172,253,141,233,139,12,135,139,
+ 133,233,137,8,199,64,4,237,252,246,133,233,235,15,133,244,248,248,1,139,6,
+ 15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,2,252,246,
+ 129,233,235,15,132,244,1,128,189,233,0,15,132,244,1,137,213,137,194,141,139,
+ 233,232,251,1,22,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,
+ 15,16,4,199,255,139,172,253,141,233,139,141,233,255,72,252,247,208,139,106,
+ 252,248,139,172,253,141,233,139,141,233,137,65,4,139,6,15,182,204,15,182,
+ 232,131,198,4,193,232,16,252,255,36,252,235,255,141,180,253,134,233,139,108,
+ 36,96,131,189,233,0,15,132,244,247,137,149,233,141,20,202,137,252,233,232,
+ 251,1,23,139,149,233,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,
+ 16,252,255,36,252,235,255,72,252,247,208,139,108,36,96,137,149,233,68,139,
+ 66,252,248,139,20,135,137,252,233,137,116,36,100,232,251,1,24,139,149,233,
+ 15,182,78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,204,15,182,232,
+ 131,198,4,193,232,16,252,255,36,252,235,255,139,76,36,96,137,145,233,248,
+ 1,65,137,192,37,252,255,7,0,0,65,193,232,11,61,252,255,7,0,0,15,132,244,249,
+ 248,2,137,194,139,131,233,137,205,59,131,233,137,116,36,100,15,131,244,251,
+ 232,251,1,25,139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,237,139,
+ 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,184,
+ 1,8,0,0,252,233,244,2,248,5,232,251,1,26,15,183,70,252,254,137,252,233,252,
+ 233,244,1,255,72,252,247,208,139,108,36,96,139,139,233,137,116,36,100,59,
+ 139,233,137,149,233,15,131,244,249,248,2,139,20,135,137,252,233,232,251,1,
+ 27,139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,
+ 204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,137,252,233,
+ 232,251,1,26,15,183,70,252,254,72,252,247,208,252,233,244,2,255,72,252,247,
+ 208,139,106,252,248,139,173,233,139,4,135,252,233,244,157,255,72,252,247,
+ 208,139,106,252,248,139,173,233,139,4,135,252,233,244,158,255,15,182,252,
+ 236,15,182,192,129,124,253,252,234,4,239,15,133,244,38,139,44,252,234,129,
+ 124,253,194,4,239,15,135,244,251,255,252,242,15,16,4,194,252,242,15,45,192,
+ 252,242,15,42,200,102,15,46,193,255,15,133,244,38,59,133,233,15,131,244,38,
+ 193,224,3,3,133,233,129,120,253,4,239,15,132,244,248,248,1,139,40,139,64,
+ 4,137,44,202,137,68,202,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,
+ 252,255,36,252,235,248,2,131,189,233,0,15,132,244,1,139,141,233,252,246,129,
+ 233,235,15,132,244,38,15,182,78,252,253,252,233,244,1,248,5,255,129,124,253,
+ 194,4,239,15,133,244,38,139,4,194,252,233,244,157,255,15,182,252,236,15,182,
+ 192,72,252,247,208,139,4,135,129,124,253,252,234,4,239,15,133,244,36,139,
+ 44,252,234,248,157,139,141,233,35,136,233,105,201,239,3,141,233,248,1,129,
+ 185,233,239,15,133,244,250,57,129,233,15,133,244,250,129,121,253,4,239,15,
+ 132,244,251,15,182,70,252,253,139,41,139,73,4,137,44,194,248,2,255,137,76,
+ 194,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
+ 248,3,15,182,70,252,253,185,237,252,233,244,2,248,4,139,137,233,133,201,15,
+ 133,244,1,248,5,139,141,233,133,201,15,132,244,3,252,246,129,233,235,15,133,
+ 244,3,252,233,244,36,255,15,182,252,236,15,182,192,129,124,253,252,234,4,
+ 239,15,133,244,37,139,44,252,234,59,133,233,15,131,244,37,193,224,3,3,133,
+ 233,129,120,253,4,239,15,132,244,248,248,1,139,40,139,64,4,137,44,202,137,
+ 68,202,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,
+ 235,248,2,131,189,233,0,15,132,244,1,139,141,233,252,246,129,233,235,15,132,
+ 244,37,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,
+ 41,139,44,252,234,129,124,253,194,4,239,15,135,244,251,255,15,133,244,41,
+ 59,133,233,15,131,244,41,193,224,3,3,133,233,129,120,253,4,239,15,132,244,
+ 249,248,1,252,246,133,233,235,15,133,244,253,248,2,139,108,202,4,139,12,202,
+ 137,104,4,137,8,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
+ 36,252,235,248,3,131,189,233,0,15,132,244,1,139,141,233,255,252,246,129,233,
+ 235,15,132,244,41,15,182,78,252,253,252,233,244,1,248,5,129,124,253,194,4,
+ 239,15,133,244,41,139,4,194,252,233,244,158,248,7,128,165,233,235,139,139,
+ 233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,2,255,15,182,252,
+ 236,15,182,192,72,252,247,208,139,4,135,129,124,253,252,234,4,239,15,133,
+ 244,39,139,44,252,234,248,158,139,141,233,35,136,233,105,201,239,198,133,
+ 233,0,3,141,233,248,1,129,185,233,239,15,133,244,251,57,129,233,15,133,244,
+ 251,129,121,253,4,239,15,132,244,250,248,2,255,252,246,133,233,235,15,133,
+ 244,253,248,3,15,182,70,252,253,139,108,194,4,139,4,194,137,105,4,137,1,139,
+ 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,4,131,
+ 189,233,0,15,132,244,2,137,76,36,80,139,141,233,252,246,129,233,235,15,132,
+ 244,39,139,76,36,80,252,233,244,2,248,5,139,137,233,133,201,15,133,244,1,
+ 255,139,141,233,133,201,15,132,244,252,252,246,129,233,235,15,132,244,39,
+ 248,6,137,68,36,80,199,68,36,84,237,137,108,36,32,139,76,36,96,137,145,233,
+ 76,141,68,36,80,137,252,234,137,205,137,116,36,100,232,251,1,28,139,149,233,
+ 139,108,36,32,137,193,252,233,244,2,248,7,128,165,233,235,139,131,233,137,
+ 171,233,137,133,233,252,233,244,3,255,15,182,252,236,15,182,192,129,124,253,
+ 252,234,4,239,15,133,244,40,139,44,252,234,59,133,233,15,131,244,40,193,224,
+ 3,3,133,233,129,120,253,4,239,15,132,244,249,248,1,252,246,133,233,235,15,
+ 133,244,253,248,2,139,108,202,4,139,12,202,137,104,4,137,8,139,6,15,182,204,
+ 15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,131,189,233,0,15,
+ 132,244,1,255,139,141,233,252,246,129,233,235,15,132,244,40,15,182,78,252,
+ 253,252,233,244,1,248,7,128,165,233,235,139,139,233,137,171,233,137,141,233,
+ 15,182,78,252,253,252,233,244,2,255,137,124,36,80,255,248,1,141,12,202,139,
+ 105,252,248,252,246,133,233,235,15,133,244,253,248,2,139,68,36,84,255,252,
+ 242,15,45,252,248,255,131,232,1,15,132,244,250,1,252,248,59,133,233,15,131,
+ 244,251,41,252,248,193,231,3,3,189,233,248,3,139,41,137,47,139,105,4,131,
+ 193,8,137,111,4,131,199,8,131,232,1,15,133,244,3,248,4,139,124,36,80,139,
+ 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,5,139,
+ 76,36,96,137,145,233,137,252,234,65,137,192,137,205,137,116,36,100,232,251,
+ 1,29,139,149,233,15,182,78,252,253,252,233,244,1,248,7,128,165,233,235,139,
+ 131,233,137,171,233,255,137,133,233,252,233,244,2,255,3,68,36,84,255,141,
+ 76,202,8,139,105,252,248,129,121,253,252,252,239,15,133,244,31,252,255,165,
+ 233,255,141,76,202,8,137,215,139,105,252,248,129,121,253,252,252,239,15,133,
+ 244,31,248,53,139,114,252,252,252,247,198,237,15,133,244,253,248,1,137,106,
+ 252,248,137,68,36,84,131,232,1,15,132,244,249,248,2,139,41,137,47,139,105,
+ 4,137,111,4,131,199,8,131,193,8,131,232,1,15,133,244,2,139,106,252,248,248,
+ 3,137,209,128,189,233,1,15,135,244,251,248,4,139,68,36,84,252,255,165,233,
+ 248,5,255,252,247,198,237,15,133,244,4,15,182,70,252,253,72,252,247,208,141,
+ 20,194,139,122,252,248,139,191,233,139,191,233,252,233,244,4,248,7,15,139,
+ 244,1,131,230,252,248,41,252,242,137,215,139,114,252,252,252,233,244,1,255,
+ 141,76,202,8,139,105,232,139,65,252,236,137,41,137,65,4,139,105,252,240,139,
+ 65,252,244,137,105,8,137,65,12,139,105,224,139,65,228,137,105,252,248,137,
+ 65,252,252,129,252,248,239,184,3,0,0,0,15,133,244,31,252,255,165,233,255,
+ 15,182,252,236,139,66,252,248,141,12,202,139,128,233,15,182,128,233,137,124,
+ 36,80,141,188,253,194,233,43,122,252,252,133,252,237,15,132,244,251,141,108,
+ 252,233,252,248,57,215,15,131,244,248,248,1,139,71,252,248,137,1,139,71,252,
+ 252,131,199,8,137,65,4,131,193,8,57,252,233,15,131,244,249,57,215,15,130,
+ 244,1,248,2,199,65,4,237,131,193,8,57,252,233,15,130,244,2,248,3,139,124,
+ 36,80,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
+ 248,5,199,68,36,84,1,0,0,0,137,208,41,252,248,15,134,244,3,255,137,197,193,
+ 252,237,3,131,197,1,137,108,36,84,139,108,36,96,1,200,59,133,233,15,135,244,
+ 253,248,6,139,71,252,248,137,1,139,71,252,252,131,199,8,137,65,4,131,193,
+ 8,57,215,15,130,244,6,252,233,244,3,248,7,137,149,233,137,141,233,137,116,
+ 36,100,41,215,139,84,36,84,131,252,234,1,137,252,233,232,251,1,0,139,149,
+ 233,139,141,233,1,215,252,233,244,6,255,193,225,3,255,248,1,139,114,252,252,
+ 137,68,36,84,252,247,198,237,15,133,244,253,255,248,17,137,215,131,232,1,
+ 15,132,244,249,248,2,139,44,15,137,111,252,248,139,108,15,4,137,111,252,252,
+ 131,199,8,131,232,1,15,133,244,2,248,3,139,68,36,84,15,182,110,252,255,248,
+ 5,57,197,15,135,244,252,255,139,108,10,4,137,106,252,252,139,44,10,137,106,
+ 252,248,255,248,5,56,70,252,255,15,135,244,252,255,15,182,78,252,253,72,252,
+ 247,209,141,20,202,139,122,252,248,139,191,233,139,191,233,139,6,15,182,204,
+ 15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,6,255,199,71,252,252,
+ 237,131,199,8,255,199,68,194,252,244,237,255,131,192,1,252,233,244,5,248,
+ 7,15,139,244,18,131,230,252,248,41,252,242,255,1,252,241,255,137,252,245,
+ 209,252,237,129,229,239,102,131,172,253,43,233,1,15,132,244,141,255,141,12,
+ 202,255,129,121,253,4,239,15,135,244,54,129,121,253,12,239,15,135,244,54,
+ 255,139,105,20,255,129,252,253,239,15,135,244,54,255,252,242,15,16,1,252,
+ 242,15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252,237,15,136,
+ 244,249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15,17,65,24,255,
+ 221,65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15,136,244,247,
+ 255,221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,70,252,254,255,
+ 15,131,244,248,141,180,253,134,233,255,141,180,253,134,233,15,183,70,252,
+ 254,15,131,245,255,15,130,244,248,141,180,253,134,233,255,248,3,102,15,46,
+ 193,252,233,244,1,255,141,12,202,139,105,4,129,252,253,239,15,132,244,247,
+ 255,137,105,252,252,139,41,137,105,252,248,252,233,245,255,141,180,253,134,
+ 233,139,1,137,105,252,252,137,65,252,248,255,139,139,233,139,4,129,72,139,
+ 128,233,139,108,36,96,137,147,233,137,171,233,252,255,224,255,141,180,253,
+ 134,233,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,
+ 255,254,0
+};
+
+enum {
+ GLOB_gate_lf,
+ GLOB_gate_lf_growstack,
+ GLOB_gate_lv,
+ GLOB_gate_lv_growstack,
+ GLOB_gate_cwrap,
+ GLOB_gate_c_growstack,
+ GLOB_vm_returnc,
+ GLOB_BC_RET_Z,
+ GLOB_vm_return,
+ GLOB_gate_c,
+ GLOB_vm_returnp,
+ GLOB_vm_leave_cp,
+ GLOB_vm_leave_unw,
+ GLOB_vm_unwind_c,
+ GLOB_vm_unwind_c_eh,
+ GLOB_vm_unwind_ff,
+ GLOB_vm_unwind_ff_eh,
+ GLOB_cont_dispatch,
+ GLOB_vm_resume,
+ GLOB_vm_pcall,
+ GLOB_vm_call,
+ GLOB_vmeta_call,
+ GLOB_vm_cpcall,
+ GLOB_cont_cat,
+ GLOB_cont_ra,
+ GLOB_BC_CAT_Z,
+ GLOB_vmeta_tgets,
+ GLOB_vmeta_tgetb,
+ GLOB_vmeta_tgetv,
+ GLOB_vmeta_tsets,
+ GLOB_vmeta_tsetb,
+ GLOB_vmeta_tsetv,
+ GLOB_cont_nop,
+ GLOB_vmeta_comp,
+ GLOB_vmeta_binop,
+ GLOB_cont_condt,
+ GLOB_cont_condf,
+ GLOB_vmeta_equal,
+ GLOB_vmeta_arith_vn,
+ GLOB_vmeta_arith_nv,
+ GLOB_vmeta_unm,
+ GLOB_vmeta_arith_vv,
+ GLOB_vmeta_len,
+ GLOB_BC_CALLT_Z,
+ GLOB_vmeta_for,
+ GLOB_ff_assert,
+ GLOB_fff_fallback,
+ GLOB_fff_res_,
+ GLOB_ff_type,
+ GLOB_fff_res1,
+ GLOB_ff_getmetatable,
+ GLOB_ff_setmetatable,
+ GLOB_ff_rawget,
+ GLOB_ff_tonumber,
+ GLOB_fff_resxmm0,
+ GLOB_fff_resn,
+ GLOB_ff_tostring,
+ GLOB_fff_gcstep,
+ GLOB_ff_next,
+ GLOB_fff_res2,
+ GLOB_fff_res,
+ GLOB_ff_pairs,
+ GLOB_ff_ipairs_aux,
+ GLOB_fff_res0,
+ GLOB_ff_ipairs,
+ GLOB_ff_pcall,
+ GLOB_ff_xpcall,
+ GLOB_ff_coroutine_resume,
+ GLOB_ff_coroutine_wrap_aux,
+ GLOB_ff_coroutine_yield,
+ GLOB_ff_math_abs,
+ GLOB_ff_math_sqrt,
+ GLOB_ff_math_floor,
+ GLOB_vm_floor,
+ GLOB_ff_math_ceil,
+ GLOB_vm_ceil,
+ GLOB_ff_math_log,
+ GLOB_ff_math_log10,
+ GLOB_ff_math_exp,
+ GLOB_vm_exp,
+ GLOB_ff_math_sin,
+ GLOB_ff_math_cos,
+ GLOB_ff_math_tan,
+ GLOB_ff_math_asin,
+ GLOB_ff_math_acos,
+ GLOB_ff_math_atan,
+ GLOB_ff_math_sinh,
+ GLOB_ff_math_cosh,
+ GLOB_ff_math_tanh,
+ GLOB_ff_math_deg,
+ GLOB_ff_math_rad,
+ GLOB_ff_math_atan2,
+ GLOB_ff_math_ldexp,
+ GLOB_ff_math_frexp,
+ GLOB_ff_math_modf,
+ GLOB_vm_trunc,
+ GLOB_ff_math_fmod,
+ GLOB_ff_math_pow,
+ GLOB_vm_pow,
+ GLOB_ff_math_min,
+ GLOB_ff_math_max,
+ GLOB_ff_string_len,
+ GLOB_ff_string_byte,
+ GLOB_ff_string_char,
+ GLOB_fff_newstr,
+ GLOB_ff_string_sub,
+ GLOB_fff_emptystr,
+ GLOB_ff_string_rep,
+ GLOB_fff_fallback_2,
+ GLOB_ff_string_reverse,
+ GLOB_fff_fallback_1,
+ GLOB_ff_string_lower,
+ GLOB_ff_string_upper,
+ GLOB_ff_table_getn,
+ GLOB_ff_bit_tobit,
+ GLOB_ff_bit_band,
+ GLOB_fff_resbit_op,
+ GLOB_fff_fallback_bit_op,
+ GLOB_ff_bit_bor,
+ GLOB_ff_bit_bxor,
+ GLOB_ff_bit_bswap,
+ GLOB_fff_resbit,
+ GLOB_ff_bit_bnot,
+ GLOB_ff_bit_lshift,
+ GLOB_ff_bit_rshift,
+ GLOB_ff_bit_arshift,
+ GLOB_ff_bit_rol,
+ GLOB_ff_bit_ror,
+ GLOB_vm_record,
+ GLOB_vm_hook,
+ GLOB_cont_hook,
+ GLOB_vm_hotloop,
+ GLOB_vm_hotcall,
+ GLOB_vm_exit_handler,
+ GLOB_vm_exit_interp,
+ GLOB_vm_floor_sse,
+ GLOB_vm_ceil_sse,
+ GLOB_vm_trunc_sse,
+ GLOB_vm_mod,
+ GLOB_vm_exp2,
+ GLOB_vm_exp2raw,
+ GLOB_vm_pow_sse,
+ GLOB_vm_powi_sse,
+ GLOB_vm_foldfpm,
+ GLOB_vm_foldarith,
+ GLOB_vm_cpuid,
+ GLOB_BC_MODVN_Z,
+ GLOB_BC_TGETS_Z,
+ GLOB_BC_TSETS_Z,
+ GLOB__MAX
+};
+static const char *const globnames[] = {
+ "gate_lf",
+ "gate_lf_growstack",
+ "gate_lv",
+ "gate_lv_growstack",
+ "gate_cwrap",
+ "gate_c_growstack",
+ "vm_returnc",
+ "BC_RET_Z",
+ "vm_return",
+ "gate_c",
+ "vm_returnp",
+ "vm_leave_cp",
+ "vm_leave_unw",
+ "vm_unwind_c@8",
+ "vm_unwind_c_eh",
+ "vm_unwind_ff@4",
+ "vm_unwind_ff_eh",
+ "cont_dispatch",
+ "vm_resume",
+ "vm_pcall",
+ "vm_call",
+ "vmeta_call",
+ "vm_cpcall",
+ "cont_cat",
+ "cont_ra",
+ "BC_CAT_Z",
+ "vmeta_tgets",
+ "vmeta_tgetb",
+ "vmeta_tgetv",
+ "vmeta_tsets",
+ "vmeta_tsetb",
+ "vmeta_tsetv",
+ "cont_nop",
+ "vmeta_comp",
+ "vmeta_binop",
+ "cont_condt",
+ "cont_condf",
+ "vmeta_equal",
+ "vmeta_arith_vn",
+ "vmeta_arith_nv",
+ "vmeta_unm",
+ "vmeta_arith_vv",
+ "vmeta_len",
+ "BC_CALLT_Z",
+ "vmeta_for",
+ "ff_assert",
+ "fff_fallback",
+ "fff_res_",
+ "ff_type",
+ "fff_res1",
+ "ff_getmetatable",
+ "ff_setmetatable",
+ "ff_rawget",
+ "ff_tonumber",
+ "fff_resxmm0",
+ "fff_resn",
+ "ff_tostring",
+ "fff_gcstep",
+ "ff_next",
+ "fff_res2",
+ "fff_res",
+ "ff_pairs",
+ "ff_ipairs_aux",
+ "fff_res0",
+ "ff_ipairs",
+ "ff_pcall",
+ "ff_xpcall",
+ "ff_coroutine_resume",
+ "ff_coroutine_wrap_aux",
+ "ff_coroutine_yield",
+ "ff_math_abs",
+ "ff_math_sqrt",
+ "ff_math_floor",
+ "vm_floor",
+ "ff_math_ceil",
+ "vm_ceil",
+ "ff_math_log",
+ "ff_math_log10",
+ "ff_math_exp",
+ "vm_exp",
+ "ff_math_sin",
+ "ff_math_cos",
+ "ff_math_tan",
+ "ff_math_asin",
+ "ff_math_acos",
+ "ff_math_atan",
+ "ff_math_sinh",
+ "ff_math_cosh",
+ "ff_math_tanh",
+ "ff_math_deg",
+ "ff_math_rad",
+ "ff_math_atan2",
+ "ff_math_ldexp",
+ "ff_math_frexp",
+ "ff_math_modf",
+ "vm_trunc",
+ "ff_math_fmod",
+ "ff_math_pow",
+ "vm_pow",
+ "ff_math_min",
+ "ff_math_max",
+ "ff_string_len",
+ "ff_string_byte",
+ "ff_string_char",
+ "fff_newstr",
+ "ff_string_sub",
+ "fff_emptystr",
+ "ff_string_rep",
+ "fff_fallback_2",
+ "ff_string_reverse",
+ "fff_fallback_1",
+ "ff_string_lower",
+ "ff_string_upper",
+ "ff_table_getn",
+ "ff_bit_tobit",
+ "ff_bit_band",
+ "fff_resbit_op",
+ "fff_fallback_bit_op",
+ "ff_bit_bor",
+ "ff_bit_bxor",
+ "ff_bit_bswap",
+ "fff_resbit",
+ "ff_bit_bnot",
+ "ff_bit_lshift",
+ "ff_bit_rshift",
+ "ff_bit_arshift",
+ "ff_bit_rol",
+ "ff_bit_ror",
+ "vm_record",
+ "vm_hook",
+ "cont_hook",
+ "vm_hotloop",
+ "vm_hotcall",
+ "vm_exit_handler",
+ "vm_exit_interp",
+ "vm_floor_sse",
+ "vm_ceil_sse",
+ "vm_trunc_sse",
+ "vm_mod",
+ "vm_exp2",
+ "vm_exp2raw",
+ "vm_pow_sse",
+ "vm_powi_sse",
+ "vm_foldfpm",
+ "vm_foldarith",
+ "vm_cpuid",
+ "BC_MODVN_Z",
+ "BC_TGETS_Z",
+ "BC_TSETS_Z",
+ (const char *)0
+};
+static const char *const extnames[] = {
+ "lj_state_growstack@8",
+ "lj_meta_tget",
+ "lj_meta_tset",
+ "lj_meta_comp",
+ "lj_meta_equal",
+ "lj_meta_arith",
+ "lj_meta_len@8",
+ "lj_meta_call",
+ "lj_meta_for@8",
+ "lj_tab_get",
+ "lj_str_fromnum@8",
+ "lj_tab_next",
+ "lj_tab_getinth@8",
+ "lj_ffh_coroutine_wrap_err@8",
+ "lj_wrapper_sinh",
+ "lj_wrapper_cosh",
+ "lj_wrapper_tanh",
+ "lj_str_new",
+ "lj_tab_len@4",
+ "lj_gc_step@4",
+ "lj_dispatch_ins@8",
+ "lj_meta_cat",
+ "lj_gc_barrieruv@8",
+ "lj_func_closeuv@8",
+ "lj_func_newL_gc",
+ "lj_tab_new",
+ "lj_gc_step_fixtop@4",
+ "lj_tab_dup@8",
+ "lj_tab_newkey",
+ "lj_tab_reasize",
+ (const char *)0
+};
+#define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V)
+#define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V)
+#define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V)
+#define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V)
+#define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V)
+#define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V)
+#define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V)
+#define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V)
+#define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V)
+#define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V)
+#define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V)
+#define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V)
+#define DtD(_V) (int)(ptrdiff_t)&(((Trace *)0)_V)
+#define DtE(_V) (int)(ptrdiff_t)&(((ExitInfo *)0)_V)
+#define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field))
+#define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field))
+
+/* Generate subroutines used by opcodes and other parts of the VM. */
+/* The .code_sub section should be last to help static branch prediction. */
+static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
+{
+ dasm_put(Dst, 0);
+ dasm_put(Dst, 2, Dt7(->pt), Dt9(->framesize), Dt9(->bc), Dt9(->k), Dt1(->maxstack), LJ_TNIL);
+#if LJ_HASJIT
+#endif
+ dasm_put(Dst, 63, FRAME_VARG, -FRAME_VARG, Dt7(->pt), Dt9(->framesize), Dt1(->maxstack), Dt9(->numparams), LJ_TNIL, Dt9(->framesize), Dt9(->bc));
+ 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);
+ 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);
+ dasm_put(Dst, 365, FRAME_C, DISPATCH_GL(vmstate), ~LJ_VMST_C, Dt1(->base));
+ dasm_put(Dst, 456, Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL, Dt1(->top));
+ 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);
+ dasm_put(Dst, 633, FRAME_P, LJ_TTRUE, LUA_MINSTACK, Dt9(->bc), Dt1(->base), Dt1(->top), Dt1(->base));
+ 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);
+ 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));
+ dasm_put(Dst, 987, Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL, 0, Dt7(->pt), Dt9(->k), Dt1(->base));
+ dasm_put(Dst, 1165, LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB);
+ if (sse) {
+ dasm_put(Dst, 1211);
+ } else {
+ }
+ dasm_put(Dst, 1224, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, Dt7(->gate), LJ_TSTR, BC_GSET, DISPATCH_GL(tmptv));
+ dasm_put(Dst, 1382, LJ_TTAB);
+ if (sse) {
+ dasm_put(Dst, 1211);
+ } else {
+ }
+ dasm_put(Dst, 1402, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, Dt7(->gate), Dt1(->base), Dt1(->base));
+ dasm_put(Dst, 1598, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base));
+ dasm_put(Dst, 1707, Dt1(->base), Dt1(->base), FRAME_CONT, LJ_TFUNC);
+ 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);
+ dasm_put(Dst, 1988, LJ_TISTRUECOND, 1+1, ~LJ_TNUMX);
+ if (cmov) {
+ dasm_put(Dst, 2084);
+ } else {
+ dasm_put(Dst, 2088);
+ }
+ 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));
+ dasm_put(Dst, 2185, Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next), LJ_TNIL);
+ dasm_put(Dst, 2240, LJ_TUDATA, LJ_TISNUM, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB);
+ 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));
+ dasm_put(Dst, 2377, 2+1, LJ_TTAB, 1+1, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 2458);
+ } else {
+ dasm_put(Dst, 2468);
+ }
+ 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));
+ dasm_put(Dst, 2537, Dt1(->base), Dt1(->base), 1+1, LJ_TTAB, Dt1(->base));
+ dasm_put(Dst, 2624, Dt1(->base), 1+2, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB);
+ dasm_put(Dst, 2726, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 2781, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 2814, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0);
+ dasm_put(Dst, 2900, 1+1, LJ_TTAB, Dt8(->upvalue[0]), LJ_TFUNC);
+ if (sse) {
+ dasm_put(Dst, 2930);
+ } else {
+ dasm_put(Dst, 2940);
+ }
+ dasm_put(Dst, 2947, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE, LJ_TFUNC, Dt7(->gate));
+ dasm_put(Dst, 3020, 2+1, LJ_TFUNC, LJ_TFUNC, 2*8+FRAME_PCALL, 2*8, 1+1, LJ_TTHREAD);
+ dasm_put(Dst, 3119, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top));
+ dasm_put(Dst, 3185, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top));
+ dasm_put(Dst, 3289, Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2);
+ dasm_put(Dst, 3411, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base));
+ dasm_put(Dst, 3494, Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base));
+ dasm_put(Dst, 3602, LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), FRAME_TYPE);
+ dasm_put(Dst, 3699, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status));
+ if (sse) {
+ dasm_put(Dst, 3788, 1+1, LJ_TISNUM, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
+ } else {
+ dasm_put(Dst, 3844, 1+1, LJ_TISNUM);
+ }
+ dasm_put(Dst, 3876, 1+1, FRAME_TYPE, LJ_TNIL);
+ if (sse) {
+ dasm_put(Dst, 3960, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
+ dasm_put(Dst, 4022, 1+1, LJ_TISNUM);
+ } else {
+ dasm_put(Dst, 4052, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
+ dasm_put(Dst, 4111, 1+1, LJ_TISNUM);
+ }
+ dasm_put(Dst, 4138, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
+ dasm_put(Dst, 4207, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
+ dasm_put(Dst, 4264, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1);
+ dasm_put(Dst, 4327, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM);
+ dasm_put(Dst, 4417);
+ if (sse) {
+ dasm_put(Dst, 4429, 1+1, LJ_TISNUM);
+ } else {
+ }
+ dasm_put(Dst, 4454);
+ if (sse) {
+ dasm_put(Dst, 4476, 1+1, LJ_TISNUM);
+ } else {
+ }
+ dasm_put(Dst, 4501);
+ if (sse) {
+ dasm_put(Dst, 4523, 1+1, LJ_TISNUM);
+ } else {
+ }
+ dasm_put(Dst, 4548);
+ if (sse) {
+ dasm_put(Dst, 4572, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
+ } else {
+ dasm_put(Dst, 4607, 1+1, LJ_TISNUM, Dt8(->upvalue[0]));
+ }
+ dasm_put(Dst, 4636, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM);
+ dasm_put(Dst, 4701, 1+1, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 4796);
+ } else {
+ dasm_put(Dst, 4802);
+ }
+ dasm_put(Dst, 4811);
+ if (sse) {
+ dasm_put(Dst, 4836);
+ } else {
+ dasm_put(Dst, 4842);
+ }
+ dasm_put(Dst, 4845, 1+2);
+ if (sse) {
+ dasm_put(Dst, 4854);
+ } else {
+ dasm_put(Dst, 4862);
+ }
+ dasm_put(Dst, 1595);
+ if (sse) {
+ dasm_put(Dst, 4870, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32));
+ } else {
+ dasm_put(Dst, 4897);
+ }
+ dasm_put(Dst, 4916);
+ if (sse) {
+ dasm_put(Dst, 4932, 1+1, LJ_TISNUM);
+ } else {
+ dasm_put(Dst, 4957, 1+1, LJ_TISNUM);
+ }
+ dasm_put(Dst, 4979);
+ if (sse) {
+ dasm_put(Dst, 4997);
+ } else {
+ dasm_put(Dst, 5023);
+ }
+ dasm_put(Dst, 5040, 1+2);
+ if (sse) {
+ dasm_put(Dst, 5080);
+ } else {
+ dasm_put(Dst, 5088);
+ }
+ dasm_put(Dst, 5098, 2+1, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 5150, 1+1, LJ_TISNUM, LJ_TISNUM);
+ } else {
+ dasm_put(Dst, 5197, 2+1, LJ_TISNUM, LJ_TISNUM);
+ }
+ if (sse) {
+ dasm_put(Dst, 5238, 1+1, LJ_TISNUM, LJ_TISNUM);
+ } else {
+ }
+ if (sse) {
+ dasm_put(Dst, 5309, 1+1, LJ_TISNUM, LJ_TISNUM);
+ } else {
+ }
+ if (!sse) {
+ dasm_put(Dst, 5380);
+ }
+ dasm_put(Dst, 5389, 1+1, LJ_TSTR);
+ if (sse) {
+ dasm_put(Dst, 5411, Dt5(->len));
+ } else {
+ dasm_put(Dst, 5422, Dt5(->len));
+ }
+ dasm_put(Dst, 5430, 1+1, LJ_TSTR, Dt5(->len), Dt5([1]));
+ if (sse) {
+ dasm_put(Dst, 5464);
+ } else {
+ dasm_put(Dst, 5474);
+ }
+ dasm_put(Dst, 5487, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 5522);
+ } else {
+ dasm_put(Dst, 5542);
+ }
+ dasm_put(Dst, 5562, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM);
+ dasm_put(Dst, 2453);
+ if (sse) {
+ dasm_put(Dst, 5678);
+ } else {
+ dasm_put(Dst, 5689);
+ }
+ dasm_put(Dst, 5697, LJ_TSTR, LJ_TISNUM, Dt5(->len));
+ if (sse) {
+ dasm_put(Dst, 5727);
+ } else {
+ }
+ dasm_put(Dst, 5734, sizeof(GCstr)-1);
+ dasm_put(Dst, 5809, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold));
+ dasm_put(Dst, 5868, LJ_TSTR, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 5893);
+ } else {
+ dasm_put(Dst, 5900);
+ }
+ dasm_put(Dst, 5912, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1);
+ 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));
+ dasm_put(Dst, 6044, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz));
+ dasm_put(Dst, 6119, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1);
+ 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));
+ dasm_put(Dst, 6278, 1+1, LJ_TTAB);
+ if (sse) {
+ dasm_put(Dst, 6354);
+ } else {
+ }
+ if (sse) {
+ dasm_put(Dst, 6364, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ if (sse) {
+ dasm_put(Dst, 6416, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6459);
+ if (sse) {
+ dasm_put(Dst, 6469);
+ }
+ dasm_put(Dst, 6474, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 6492);
+ } else {
+ }
+ dasm_put(Dst, 6509);
+ if (sse) {
+ dasm_put(Dst, 6517, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6459);
+ if (sse) {
+ dasm_put(Dst, 6469);
+ }
+ dasm_put(Dst, 6474, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 6560);
+ } else {
+ }
+ dasm_put(Dst, 6509);
+ if (sse) {
+ dasm_put(Dst, 6577, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6459);
+ if (sse) {
+ dasm_put(Dst, 6469);
+ }
+ dasm_put(Dst, 6474, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 6620);
+ } else {
+ }
+ dasm_put(Dst, 6509);
+ if (sse) {
+ dasm_put(Dst, 6637, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6680);
+ if (sse) {
+ dasm_put(Dst, 6687, 1+1, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6730);
+ if (sse) {
+ dasm_put(Dst, 6734);
+ } else {
+ }
+ dasm_put(Dst, 6761);
+ if (sse) {
+ dasm_put(Dst, 6349);
+ }
+ dasm_put(Dst, 6764);
+ if (sse) {
+ dasm_put(Dst, 6773, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6842);
+ if (sse) {
+ dasm_put(Dst, 6851, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6920);
+ if (sse) {
+ dasm_put(Dst, 6930, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 6999);
+ if (sse) {
+ dasm_put(Dst, 7009, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 7078);
+ if (sse) {
+ dasm_put(Dst, 7087, 1+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32));
+ } else {
+ }
+ dasm_put(Dst, 7156, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base));
+ dasm_put(Dst, 7240, Dt1(->top), Dt7(->gate), LJ_TFUNC, Dt7(->gate), Dt1(->base), LUA_MINSTACK, Dt1(->base), Dt1(->top));
+ dasm_put(Dst, 7360, Dt1(->base), Dt1(->top));
+#if LJ_HASJIT
+ dasm_put(Dst, 7402, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount));
+#endif
+ dasm_put(Dst, 7433, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE, Dt1(->base), Dt1(->base));
+ dasm_put(Dst, 7499, GG_DISP_STATIC*8);
+#if LJ_HASJIT
+ dasm_put(Dst, 7535);
+#endif
+ dasm_put(Dst, 7537);
+#if LJ_HASJIT
+ dasm_put(Dst, 7535);
+#endif
+ dasm_put(Dst, 7540);
+#if LJ_HASJIT
+ dasm_put(Dst, 7535);
+#endif
+ dasm_put(Dst, 7543);
+#if LJ_HASJIT
+ dasm_put(Dst, 7546, Dt7(->pt), Dt9(->k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP);
+#endif
+ dasm_put(Dst, 7587);
+ if (!sse) {
+ dasm_put(Dst, 7590);
+ }
+ 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));
+ if (!sse) {
+ dasm_put(Dst, 7721);
+ }
+ 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));
+ if (!sse) {
+ dasm_put(Dst, 7852);
+ }
+ 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));
+ if (sse) {
+ 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));
+ } else {
+ dasm_put(Dst, 8094);
+ }
+ dasm_put(Dst, 8141);
+ if (!sse) {
+ } else {
+ dasm_put(Dst, 8215);
+ }
+ dasm_put(Dst, 8218);
+ 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));
+ 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));
+ dasm_put(Dst, 8572);
+ if (sse) {
+ dasm_put(Dst, 8613);
+ dasm_put(Dst, 8683);
+ dasm_put(Dst, 8756);
+ } else {
+ dasm_put(Dst, 8806);
+ dasm_put(Dst, 8898);
+ }
+ dasm_put(Dst, 8944);
+ if (sse) {
+ dasm_put(Dst, 8950, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32));
+ dasm_put(Dst, 9039, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32));
+ } else {
+ dasm_put(Dst, 9163);
+ dasm_put(Dst, 9246);
+ if (cmov) {
+ dasm_put(Dst, 9301);
+ } else {
+ dasm_put(Dst, 9320);
+ }
+ dasm_put(Dst, 9159);
+ }
+ dasm_put(Dst, 9361);
+}
+
+/* Generate the code for a single instruction. */
+static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
+{
+ int vk = 0;
+ dasm_put(Dst, 9387, defop);
+
+ switch (op) {
+
+ /* -- Comparison ops ---------------------------------------------------- */
+
+ /* Remember: all ops branch for a true comparison, fall through otherwise. */
+
+ case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
+ dasm_put(Dst, 9389, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 9410);
+ } else {
+ dasm_put(Dst, 9425);
+ if (cmov) {
+ dasm_put(Dst, 9435);
+ } else {
+ dasm_put(Dst, 9441);
+ }
+ }
+ switch (op) {
+ case BC_ISLT:
+ dasm_put(Dst, 9448);
+ break;
+ case BC_ISGE:
+ dasm_put(Dst, 9241);
+ break;
+ case BC_ISLE:
+ dasm_put(Dst, 6273);
+ break;
+ case BC_ISGT:
+ dasm_put(Dst, 9453);
+ break;
+ default: break; /* Shut up GCC. */
+ }
+ dasm_put(Dst, 9458, -BCBIAS_J*4);
+ break;
+
+ case BC_ISEQV: case BC_ISNEV:
+ vk = op == BC_ISEQV;
+ dasm_put(Dst, 9492, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 9518);
+ } else {
+ dasm_put(Dst, 9530);
+ if (cmov) {
+ dasm_put(Dst, 9435);
+ } else {
+ dasm_put(Dst, 9441);
+ }
+ }
+ iseqne_fp:
+ if (vk) {
+ dasm_put(Dst, 9537);
+ } else {
+ dasm_put(Dst, 9546);
+ }
+ iseqne_end:
+ if (vk) {
+ dasm_put(Dst, 9555, -BCBIAS_J*4);
+ } else {
+ dasm_put(Dst, 9570, -BCBIAS_J*4);
+ }
+ dasm_put(Dst, 7567);
+ if (op == BC_ISEQV || op == BC_ISNEV) {
+ dasm_put(Dst, 9585, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<>32));
+ } else {
+ dasm_put(Dst, 9898);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_LEN:
+ dasm_put(Dst, 9907, LJ_TSTR);
+ if (sse) {
+ dasm_put(Dst, 9921, Dt5(->len));
+ } else {
+ dasm_put(Dst, 9939, Dt5(->len));
+ }
+ dasm_put(Dst, 9948, LJ_TTAB);
+ if (sse) {
+ dasm_put(Dst, 9989);
+ } else {
+ }
+ dasm_put(Dst, 9998);
+ break;
+
+ /* -- Binary ops -------------------------------------------------------- */
+
+
+ case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
+ dasm_put(Dst, 10008);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10016, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10028);
+ } else {
+ dasm_put(Dst, 10042);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10050, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10062);
+ } else {
+ dasm_put(Dst, 10076);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10084, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10106);
+ } else {
+ dasm_put(Dst, 10120);
+ }
+ break;
+ }
+ if (sse) {
+ dasm_put(Dst, 9891);
+ } else {
+ dasm_put(Dst, 9903);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
+ dasm_put(Dst, 10008);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10016, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10128);
+ } else {
+ dasm_put(Dst, 10142);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10050, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10150);
+ } else {
+ dasm_put(Dst, 10164);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10084, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10172);
+ } else {
+ dasm_put(Dst, 10186);
+ }
+ break;
+ }
+ if (sse) {
+ dasm_put(Dst, 9891);
+ } else {
+ dasm_put(Dst, 9903);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_MULVN: case BC_MULNV: case BC_MULVV:
+ dasm_put(Dst, 10008);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10016, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10194);
+ } else {
+ dasm_put(Dst, 10208);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10050, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10216);
+ } else {
+ dasm_put(Dst, 10230);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10084, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10238);
+ } else {
+ dasm_put(Dst, 10252);
+ }
+ break;
+ }
+ if (sse) {
+ dasm_put(Dst, 9891);
+ } else {
+ dasm_put(Dst, 9903);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
+ dasm_put(Dst, 10008);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10016, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10260);
+ } else {
+ dasm_put(Dst, 10274);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10050, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10282);
+ } else {
+ dasm_put(Dst, 10296);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10084, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10304);
+ } else {
+ dasm_put(Dst, 10318);
+ }
+ break;
+ }
+ if (sse) {
+ dasm_put(Dst, 9891);
+ } else {
+ dasm_put(Dst, 9903);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_MODVN:
+ dasm_put(Dst, 10008);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10016, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10326);
+ } else {
+ dasm_put(Dst, 10340);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10050, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10348);
+ } else {
+ dasm_put(Dst, 10362);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10084, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10370);
+ } else {
+ dasm_put(Dst, 10384);
+ }
+ break;
+ }
+ dasm_put(Dst, 10392);
+ if (sse) {
+ dasm_put(Dst, 9891);
+ } else {
+ dasm_put(Dst, 9903);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_MODNV: case BC_MODVV:
+ dasm_put(Dst, 10008);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10016, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10326);
+ } else {
+ dasm_put(Dst, 10340);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10050, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10348);
+ } else {
+ dasm_put(Dst, 10362);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10084, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10370);
+ } else {
+ dasm_put(Dst, 10384);
+ }
+ break;
+ }
+ dasm_put(Dst, 10398);
+ break;
+ case BC_POW:
+ dasm_put(Dst, 10008);
+ vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
+ switch (vk) {
+ case 0:
+ dasm_put(Dst, 10016, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10326);
+ } else {
+ dasm_put(Dst, 10340);
+ }
+ break;
+ case 1:
+ dasm_put(Dst, 10050, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10348);
+ } else {
+ dasm_put(Dst, 10362);
+ }
+ break;
+ default:
+ dasm_put(Dst, 10084, LJ_TISNUM, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 10370);
+ } else {
+ dasm_put(Dst, 10384);
+ }
+ break;
+ }
+ dasm_put(Dst, 10403);
+ if (sse) {
+ dasm_put(Dst, 9891);
+ } else {
+ dasm_put(Dst, 9903);
+ }
+ dasm_put(Dst, 7567);
+ break;
+
+ case BC_CAT:
+ dasm_put(Dst, 10407, Dt1(->base), Dt1(->base));
+ break;
+
+ /* -- Constant ops ------------------------------------------------------ */
+
+ case BC_KSTR:
+ dasm_put(Dst, 10497, LJ_TSTR);
+ break;
+ case BC_KSHORT:
+ if (sse) {
+ dasm_put(Dst, 10532);
+ } else {
+ dasm_put(Dst, 10547);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_KNUM:
+ if (sse) {
+ dasm_put(Dst, 10555);
+ } else {
+ dasm_put(Dst, 10568);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_KPRI:
+ dasm_put(Dst, 10575);
+ break;
+ case BC_KNIL:
+ dasm_put(Dst, 10603, LJ_TNIL);
+ break;
+
+ /* -- Upvalue and function ops ------------------------------------------ */
+
+ case BC_UGET:
+ dasm_put(Dst, 10650, offsetof(GCfuncL, uvptr), DtA(->v));
+ break;
+ case BC_USETV:
+#define TV2MARKOFS \
+ ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
+ 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);
+ dasm_put(Dst, 10786);
+ break;
+#undef TV2MARKOFS
+ case BC_USETS:
+ 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);
+ break;
+ case BC_USETN:
+ dasm_put(Dst, 10891);
+ if (sse) {
+ dasm_put(Dst, 10896);
+ } else {
+ dasm_put(Dst, 9711);
+ }
+ dasm_put(Dst, 10903, offsetof(GCfuncL, uvptr), DtA(->v));
+ if (sse) {
+ dasm_put(Dst, 4836);
+ } else {
+ dasm_put(Dst, 4842);
+ }
+ dasm_put(Dst, 7567);
+ break;
+ case BC_USETP:
+ dasm_put(Dst, 10912, offsetof(GCfuncL, uvptr), DtA(->v));
+ break;
+ case BC_UCLO:
+ dasm_put(Dst, 10951, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
+ break;
+
+ case BC_FNEW:
+ dasm_put(Dst, 11006, Dt1(->base), Dt1(->base), LJ_TFUNC);
+ break;
+
+ /* -- Table ops --------------------------------------------------------- */
+
+ case BC_TNEW:
+ dasm_put(Dst, 11072, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
+ break;
+ case BC_TDUP:
+ dasm_put(Dst, 11193, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
+ break;
+
+ case BC_GGET:
+ dasm_put(Dst, 11288, Dt7(->env));
+ break;
+ case BC_GSET:
+ dasm_put(Dst, 11307, Dt7(->env));
+ break;
+
+ case BC_TGETV:
+ dasm_put(Dst, 11326, LJ_TTAB, LJ_TISNUM);
+ if (sse) {
+ dasm_put(Dst, 11359);
+ } else {
+ }
+ dasm_put(Dst, 11380, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
+ dasm_put(Dst, 11576, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable));
+ dasm_put(Dst, 11865, Dt6(->nomm), 1<marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
+ break;
+ case BC_TSETS:
+ 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);
+ dasm_put(Dst, 12003, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<next));
+ dasm_put(Dst, 12096, Dt6(->metatable), Dt6(->nomm), 1<base), Dt1(->base), Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
+ break;
+ case BC_TSETB:
+ dasm_put(Dst, 12187, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
+ dasm_put(Dst, 12286, Dt6(->metatable), Dt6(->nomm), 1<marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
+ break;
+
+ case BC_TSETM:
+ dasm_put(Dst, 12332);
+ if (sse) {
+ dasm_put(Dst, 10896);
+ } else {
+ }
+ dasm_put(Dst, 12337, Dt6(->marked), LJ_GC_BLACK);
+ if (sse) {
+ dasm_put(Dst, 12362);
+ } else {
+ }
+ 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));
+ dasm_put(Dst, 12495, Dt6(->gclist));
+ break;
+
+ /* -- Calls and vararg handling ----------------------------------------- */
+
+ case BC_CALL: case BC_CALLM:
+ dasm_put(Dst, 10012);
+ if (op == BC_CALLM) {
+ dasm_put(Dst, 12503);
+ }
+ dasm_put(Dst, 12508, LJ_TFUNC, Dt7(->gate));
+ break;
+
+ case BC_CALLMT:
+ dasm_put(Dst, 12503);
+ break;
+ case BC_CALLT:
+ dasm_put(Dst, 12531, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->gate));
+ dasm_put(Dst, 12636, FRAME_TYPE, Dt7(->pt), Dt9(->k));
+ break;
+
+ case BC_ITERC:
+ dasm_put(Dst, 12694, LJ_TFUNC, Dt7(->gate));
+ break;
+
+ case BC_VARG:
+ dasm_put(Dst, 12756, Dt7(->pt), Dt9(->numparams), (8+FRAME_VARG), LJ_TNIL);
+ dasm_put(Dst, 12901, Dt1(->maxstack), Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
+ break;
+
+ /* -- Returns ----------------------------------------------------------- */
+
+ case BC_RETM:
+ dasm_put(Dst, 12503);
+ break;
+
+ case BC_RET: case BC_RET0: case BC_RET1:
+ if (op != BC_RET0) {
+ dasm_put(Dst, 13000);
+ }
+ dasm_put(Dst, 13004, FRAME_TYPE);
+ switch (op) {
+ case BC_RET:
+ dasm_put(Dst, 13023);
+ break;
+ case BC_RET1:
+ dasm_put(Dst, 13081);
+ /* fallthrough */
+ case BC_RET0:
+ dasm_put(Dst, 13097);
+ default:
+ break;
+ }
+ dasm_put(Dst, 13108, Dt7(->pt), Dt9(->k));
+ if (op == BC_RET) {
+ dasm_put(Dst, 13152, LJ_TNIL);
+ } else {
+ dasm_put(Dst, 13161, LJ_TNIL);
+ }
+ dasm_put(Dst, 13168);
+ if (op != BC_RET0) {
+ dasm_put(Dst, 13189);
+ }
+ dasm_put(Dst, 4927);
+ break;
+
+ /* -- Loops and branches ------------------------------------------------ */
+
+
+ case BC_FORL:
+#if LJ_HASJIT
+ dasm_put(Dst, 13193, HOTCOUNT_PCMASK, GG_DISP2HOT);
+#endif
+ break;
+
+ case BC_JFORI:
+ case BC_JFORL:
+#if !LJ_HASJIT
+ break;
+#endif
+ case BC_FORI:
+ case BC_IFORL:
+ vk = (op == BC_IFORL || op == BC_JFORL);
+ dasm_put(Dst, 13214);
+ if (!vk) {
+ dasm_put(Dst, 13218, LJ_TISNUM, LJ_TISNUM);
+ }
+ dasm_put(Dst, 13237);
+ if (!vk) {
+ dasm_put(Dst, 13241, LJ_TISNUM);
+ }
+ if (sse) {
+ dasm_put(Dst, 13250);
+ if (vk) {
+ dasm_put(Dst, 13262);
+ } else {
+ dasm_put(Dst, 13281);
+ }
+ dasm_put(Dst, 13286);
+ } else {
+ dasm_put(Dst, 13299);
+ if (vk) {
+ dasm_put(Dst, 13305);
+ } else {
+ dasm_put(Dst, 13321);
+ }
+ dasm_put(Dst, 13329);
+ if (cmov) {
+ dasm_put(Dst, 9435);
+ } else {
+ dasm_put(Dst, 9441);
+ }
+ if (!cmov) {
+ dasm_put(Dst, 13334);
+ }
+ }
+ if (op == BC_FORI) {
+ dasm_put(Dst, 13340, -BCBIAS_J*4);
+ } else if (op == BC_JFORI) {
+ dasm_put(Dst, 13350, -BCBIAS_J*4, BC_JLOOP);
+ } else if (op == BC_IFORL) {
+ dasm_put(Dst, 13364, -BCBIAS_J*4);
+ } else {
+ dasm_put(Dst, 13360, BC_JLOOP);
+ }
+ dasm_put(Dst, 9470);
+ if (sse) {
+ dasm_put(Dst, 13374);
+ }
+ break;
+
+ case BC_ITERL:
+#if LJ_HASJIT
+ dasm_put(Dst, 13193, HOTCOUNT_PCMASK, GG_DISP2HOT);
+#endif
+ break;
+
+ case BC_JITERL:
+#if !LJ_HASJIT
+ break;
+#endif
+ case BC_IITERL:
+ dasm_put(Dst, 13385, LJ_TNIL);
+ if (op == BC_JITERL) {
+ dasm_put(Dst, 13400, BC_JLOOP);
+ } else {
+ dasm_put(Dst, 13414, -BCBIAS_J*4);
+ }
+ dasm_put(Dst, 9770);
+ break;
+
+ case BC_LOOP:
+#if LJ_HASJIT
+ dasm_put(Dst, 13193, HOTCOUNT_PCMASK, GG_DISP2HOT);
+#endif
+ break;
+
+ case BC_ILOOP:
+ dasm_put(Dst, 7567);
+ break;
+
+ case BC_JLOOP:
+#if LJ_HASJIT
+ dasm_put(Dst, 13430, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
+#endif
+ break;
+
+ case BC_JMP:
+ dasm_put(Dst, 13454, -BCBIAS_J*4);
+ break;
+
+ /* ---------------------------------------------------------------------- */
+
+ default:
+ fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]);
+ exit(2);
+ break;
+ }
+}
+
+static int build_backend(BuildCtx *ctx)
+{
+ int op;
+ int cmov = 1;
+ int sse = 0;
+#ifdef LUAJIT_CPU_NOCMOV
+ cmov = 0;
+#endif
+#if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
+ sse = 1;
+#endif
+
+ dasm_growpc(Dst, BC__MAX);
+
+ build_subroutines(ctx, cmov, sse);
+
+ dasm_put(Dst, 13479);
+ for (op = 0; op < BC__MAX; op++)
+ build_ins(ctx, (BCOp)op, op, cmov, sse);
+
+ return BC__MAX;
+}
+
+/* Emit pseudo frame-info for all assembler functions. */
+static void emit_asm_debug(BuildCtx *ctx)
+{
+#if LJ_64
+#define SZPTR "8"
+#define BSZPTR "3"
+#define REG_SP "0x7"
+#define REG_RA "0x10"
+#else
+#define SZPTR "4"
+#define BSZPTR "2"
+#define REG_SP "0x4"
+#define REG_RA "0x8"
+#endif
+ switch (ctx->mode) {
+ case BUILD_elfasm:
+ fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n");
+ fprintf(ctx->fp,
+ ".Lframe0:\n"
+ "\t.long .LECIE0-.LSCIE0\n"
+ ".LSCIE0:\n"
+ "\t.long 0xffffffff\n"
+ "\t.byte 0x1\n"
+ "\t.string \"\"\n"
+ "\t.uleb128 0x1\n"
+ "\t.sleb128 -" SZPTR "\n"
+ "\t.byte " REG_RA "\n"
+ "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
+ "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
+ "\t.align " SZPTR "\n"
+ ".LECIE0:\n\n");
+ fprintf(ctx->fp,
+ ".LSFDE0:\n"
+ "\t.long .LEFDE0-.LASFDE0\n"
+ ".LASFDE0:\n"
+ "\t.long .Lframe0\n"
+ "\t.long .Lbegin\n"
+ "\t.long %d\n"
+ "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
+#if LJ_64
+ "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
+ "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
+ "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
+ "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
+#else
+ "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
+ "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
+ "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
+ "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
+#endif
+ "\t.align " SZPTR "\n"
+ ".LEFDE0:\n\n", (int)ctx->codesz, CFRAME_SIZE);
+ fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n");
+ fprintf(ctx->fp,
+ ".Lframe1:\n"
+ "\t.long .LECIE1-.LSCIE1\n"
+ ".LSCIE1:\n"
+ "\t.long 0\n"
+ "\t.byte 0x1\n"
+ "\t.string \"zPR\"\n"
+ "\t.uleb128 0x1\n"
+ "\t.sleb128 -" SZPTR "\n"
+ "\t.byte " REG_RA "\n"
+ "\t.uleb128 6\n" /* augmentation length */
+ "\t.byte 0x1b\n" /* pcrel|sdata4 */
+ "\t.long lj_err_unwind_dwarf-.\n"
+ "\t.byte 0x1b\n" /* pcrel|sdata4 */
+ "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n"
+ "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n"
+ "\t.align " SZPTR "\n"
+ ".LECIE1:\n\n");
+ fprintf(ctx->fp,
+ ".LSFDE1:\n"
+ "\t.long .LEFDE1-.LASFDE1\n"
+ ".LASFDE1:\n"
+ "\t.long .LASFDE1-.Lframe1\n"
+ "\t.long .Lbegin-.\n"
+ "\t.long %d\n"
+ "\t.uleb128 0\n" /* augmentation length */
+ "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */
+#if LJ_64
+ "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
+ "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
+ "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
+ "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
+#else
+ "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */
+ "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */
+ "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */
+ "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */
+#endif
+ "\t.align " SZPTR "\n"
+ ".LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
+ break;
+ case BUILD_machasm:
+ fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n");
+ fprintf(ctx->fp,
+ "EH_frame1:\n"
+ "\t.set L$set$0,LECIE1-LSCIE1\n"
+ "\t.long L$set$0\n"
+ "LSCIE1:\n"
+ "\t.long 0\n"
+ "\t.byte 0x1\n"
+ "\t.ascii \"zPR\\0\"\n"
+ "\t.byte 0x1\n"
+ "\t.byte 128-" SZPTR "\n"
+ "\t.byte " REG_RA "\n"
+ "\t.byte 6\n" /* augmentation length */
+ "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */
+ "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n"
+ "\t.byte 0x1b\n" /* pcrel|sdata4 */
+#if LJ_64
+ "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n"
+#else
+ "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */
+#endif
+ "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n"
+ "\t.align " BSZPTR "\n"
+ "LECIE1:\n\n");
+ fprintf(ctx->fp,
+ "_lj_vm_asm_begin.eh:\n"
+ "LSFDE1:\n"
+ "\t.set L$set$1,LEFDE1-LASFDE1\n"
+ "\t.long L$set$1\n"
+ "LASFDE1:\n"
+ "\t.long LASFDE1-EH_frame1\n"
+ "\t.long _lj_vm_asm_begin-.\n"
+ "\t.long %d\n"
+ "\t.byte 0\n" /* augmentation length */
+ "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */
+#if LJ_64
+ "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */
+ "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */
+ "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */
+ "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */
+#else
+ "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/
+ "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */
+ "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */
+ "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */
+#endif
+ "\t.align " BSZPTR "\n"
+ "LEFDE1:\n\n", (int)ctx->codesz, CFRAME_SIZE);
+ fprintf(ctx->fp,
+ "\t.non_lazy_symbol_pointer\n"
+ "L_lj_err_unwind_dwarf$non_lazy_ptr:\n"
+ ".indirect_symbol _lj_err_unwind_dwarf\n"
+ ".long 0\n");
+ break;
+ default: /* Difficult for other modes. */
+ break;
+ }
+}
+