From bd00094c3b50e193fb32aad79b7ea8ea6b78ed25 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 8 Dec 2019 21:21:30 +0100 Subject: x64: Enable LJ_GC64 mode by default. --- doc/extensions.html | 5 ++--- doc/install.html | 11 +++++------ 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/extensions.html b/doc/extensions.html index 6d3518ea..35bd6c92 100644 --- a/doc/extensions.html +++ b/doc/extensions.html @@ -208,9 +208,8 @@ bytecode (e.g. from Lua 5.1) is incompatible and cannot be loaded.

Note: LJ_GC64 mode requires a different frame layout, which implies -a different, incompatible bytecode format for ports that use this mode (e.g. -ARM64 or MIPS64) or when explicitly enabled for x64. This may be rectified -in the future. +a different, incompatible bytecode format for all 64 bit ports. This may be +rectified in the future.

table.new(narray, nhash) allocates a pre-sized table

diff --git a/doc/install.html b/doc/install.html index 49d6e9ed..9e00b231 100644 --- a/doc/install.html +++ b/doc/install.html @@ -175,12 +175,11 @@ Please read the instructions given in these files, before changing any settings.

-LuaJIT on x64 currently uses 32 bit GC objects by default. -LJ_GC64 mode may be explicitly enabled: -add XCFLAGS=-DLUAJIT_ENABLE_GC64 to the make command or run -msvcbuild gc64 for MSVC/WinSDK. Please check the note -about the bytecode format -differences, too. +All LuaJIT 64 bit ports use 64 bit GC objects by default (LJ_GC64). +For x64, you can select the old 32-on-64 bit mode by adding +XCFLAGS=-DLUAJIT_DISABLE_GC64 to the make command. +Please check the note about the +bytecode format differences, too.

POSIX Systems (Linux, OSX, *BSD etc.)

-- cgit v1.2.3-55-g6feb