aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-09-12Fix QNX build.Mike Pall3-1/+8
Note: this is not an officially supported target. Contributed by Wen Yang.
2022-08-15Add -F option to override filename in jit.bcsave (luajit -b).Mike Pall2-7/+23
Suggested by Mathias Westerdahl.
2022-08-15Patch luajit.pc with INSTALL_INC, if customized.Mike Pall1-1/+5
Suggested by Henrique Bucher.
2022-08-10LJ_GC64: Fix lua_concat().Mike Pall1-1/+1
Reported by Mathias Westerdahl.
2022-08-07Prevent use of RTLD_DEFAULT when NO_RTLD_DEFAULT is defined.Mike Pall2-2/+2
Workaround for Android 4.4 bug. Thanks to gudzpoz.
2022-07-28Improve GC estimation for userdata with attached managed memory.Mike Pall1-0/+3
This works well for string.buffers, but not for userdata or cdata with attached unmanaged memory (malloc/free, mmap/munmap).
2022-07-28Add missing GC steps to string buffer methods.Mike Pall1-0/+2
Reported by Cosmin Apreutesei.
2022-07-27x86/x64: Limit VLOAD fusion to simple cases.Mike Pall1-1/+2
Reported by ccagml.
2022-07-22OSX/iOS/ARM64: Fix generation of Mach-O object files.Mike Pall1-3/+3
Thanks to Carlo Cabrera.
2022-07-21Prevent trace start at BC_ITERL after compiled BC_ITERN.Mike Pall1-0/+2
Reported by ccagml.
2022-07-19ARM64: Allow building with unwinding disabled.Mike Pall1-0/+2
2022-07-13FFI: Fix sizeof expression in C parser for reference types.Mike Pall1-1/+1
2022-07-13FFI: Fix ffi.alignof() for reference types.Mike Pall3-1/+10
Reported by Eric Gouyer.
2022-07-13FFI: Allow ffi.metatype() for typedefs with attributes.Mike Pall1-1/+1
Reported by Eric Gouyer.
2022-07-12OSX/iOS/ARM64: Fix bytecode embedding in Mach-O object file.Mike Pall1-1/+13
Thanks to Carlo Cabrera.
2022-07-12LJ_GC64: Fix IR_VARG offset for fixed number of results.Mike Pall1-1/+1
Reported by George Vaintrub. Fixed by Sergey Kaplun.
2022-07-08x86/x64: Fix math.ceil(-0.9) result sign.Mike Pall1-7/+6
Reported by minoki.
2022-06-23Grammar and spell check.Mike Pall11-72/+72
2022-06-13Make embedded bytecode readable and forward-compatible.Mike Pall2-45/+95
2022-06-08DynASM: Fix warnings.Mike Pall2-9/+11
2022-06-08Fix warnings in minilua.c.Mike Pall2-2/+10
2022-06-08Update console build instructions.Mike Pall1-28/+36
2022-06-08Add Nintendo Switch port.Mike Pall6-4/+179
Contributed by Swyter and vdweller84.
2022-06-08Avoid zero-sized arrays in jit_State.Mike Pall1-0/+6
2022-06-08Don't use jit_State during build with JIT disabled.Mike Pall3-0/+19
2022-06-02DynASM/ARM64: Fix LSL/BFI* encoding with variable registers.Mike Pall1-4/+4
Thanks to Dmitry Stogov.
2022-06-02Fix ITERN loop detection when hook checks are enabled.Mike Pall1-5/+10
Reported by Myria.
2022-05-21Prevent C compiler undefined-behavior optimization.Mike Pall1-1/+1
2022-05-20Fix alias analysis for table length forwarding.Mike Pall1-1/+1
Contributed by Maxim Sokolov.
2022-05-20Fix loop initialization in table.foreach().Mike Pall3-32/+36
Reported by Daniel Steinberg.
2022-05-03LJ_GC64: Fix HREFK optimization.Mike Pall1-4/+4
Contributed by XmiliaH.
2022-05-02Fix recording of __concat metamethod.Mike Pall1-1/+1
Reported by Elias Oelschner. Analyzed by XmiliaH.
2022-04-18Cleanup of system and architecture support docs.Mike Pall1-65/+183
2022-04-17Add PS5 port.Mike Pall8-9/+149
2022-04-17Fix assertions.Mike Pall1-3/+0
Reported by ssdr.
2022-04-05x64: Fix RETHI/RETLO swap after call.Mike Pall1-1/+2
Reported by savilli.
2022-04-03Fix assertion for LJ_KEYINDEX.Mike Pall1-0/+1
Thanks to XmiliaH.
2022-04-02Add missing check for LJ_KEYINDEX in ITERN recording.Mike Pall6-12/+39
Reported by dragonorloong. Analyzed by vfprintf. #827
2022-03-25DynASM/ARM64: Fix NOP instruction for aligmentMike Pall1-1/+1
Reported by Marius Wachtler.
2022-03-20Fix soft-float IR_POW splitting.Mike Pall1-1/+1
Reported by lison0322.
2022-03-13Fix BC_UCLO insertion for returns.Mike Pall1-1/+1
Contributed by XmiliaH.
2022-03-08Fix compiler warning.Mike Pall1-3/+3
2022-03-08Revert to trival pow() optimizations to prevent inaccuracies.Mike Pall18-157/+45
2022-03-07Fix string buffer COW handling, part 2.Mike Pall1-1/+3
Reported by XmiliaH.
2022-03-07Fix install docs for Android.Mike Pall1-1/+1
Thanks to GuDzpoz.
2022-03-07*BSD: Fix getentropy() declaration.Mike Pall1-1/+1
Thanks to dundargoc.
2022-03-07Fix string buffer COW handling.Mike Pall1-1/+1
Reported by XmiliaH.
2022-01-27Fix command-line argv handling.Mike Pall1-11/+11
2022-01-25Don't export internal symbol.Mike Pall1-1/+1
2022-01-24Fix pow() optimization inconsistencies.Mike Pall15-195/+104