aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into v2.1HEADv2.1Mike Pall2026-03-301-0/+2
|\
| * FFI: Shrink container of packed bitfield.v2.0masterMike Pall2026-03-301-0/+2
| | | | | | | | Reported by Huang Haiyang. #1451
* | Fix VM event error handling for finalizers.Mike Pall2026-03-271-2/+4
| | | | | | | | Reported by Sergey Kaplun. #1445
* | Avoid use of subnormals for internal registry keys.Mike Pall2026-03-273-4/+4
| | | | | | | | | | Non-ABI-compliant FPU modes (-ffast-math, -Ofast, FTZ/DAZ set) may still cause erratic behavior and are not supported. #1448
* | Merge branch 'master' into v2.1Mike Pall2026-03-272-2/+4
|\|
| * Prevent false positive sanitizer warning in unpack().Mike Pall2026-03-271-1/+3
| | | | | | | | Reported by Sergey Bronnikov. #1450
| * FFI: Fix pointer difference operation on 64 bit platforms.Mike Pall2026-03-271-1/+1
| | | | | | | | Thanks to cuiweixie. #1449
* | Merge branch 'master' into v2.1Mike Pall2026-03-041-3/+3
|\|
| * Fix edge cases when recording string.byte/sub.Mike Pall2026-03-041-3/+3
| | | | | | | | Thanks to Sergey Kaplun. #1443
* | Add ffi.abi("dualnum").Mike Pall2026-02-272-0/+5
| | | | | | | | Thanks to Sergey Kaplun. #1442
* | Merge branch 'master' into v2.1Mike Pall2026-02-241-0/+2
|\|
| * FFI: Fix constructor index resolution in JIT compiler.Mike Pall2026-02-241-0/+2
| | | | | | | | Reported by Vladimir Davydov and Sergey Kaplun. #1441
* | DUALNUM: Fix recording of loops broken by previous change.Mike Pall2026-02-161-3/+3
| | | | | | | | Thanks to Nicholas Davies. #1432 #1433 #1438
* | Merge branch 'master' into v2.1Mike Pall2026-02-131-1/+1
|\|
| * Fix compiler warning.Mike Pall2026-02-131-1/+1
| | | | | | | | Thanks to Holger Hoffstätte. #1436
* | Fix G->jit_base relocation on stack resize.Mike Pall2026-02-111-1/+1
| | | | | | | | Reported by f32y. #1435
* | Prevent recording of loops with -0 step or NaN values.Mike Pall2026-02-111-0/+6
| | | | | | | | Thanks to Sergey Kaplun. #1432 #1433
* | Avoid recording interference due to invocation of VM hooks.Mike Pall2026-02-112-11/+22
| | | | | | | | Thanks to Sergey Kaplun. #1429 #1434
* | x64/!LJ_GC64: The allocation limit is required for a no-JIT build, too.Mike Pall2026-02-111-2/+2
| | | | | | | | Thanks to Sergey Kaplun. #1430
* | MIPS64: Avoid unaligned load in lj_vm_exit_interp.Mike Pall2026-02-111-4/+5
| | | | | | | | Thanks to Sergey Kaplun. #1428
* | Prevent snapshot purge while recording a function header.Mike Pall2026-02-111-1/+1
| | | | | | | | Thanks to Sergey Kaplun. #1425
* | DUALNUM: Improve/fix edge cases of unary minus.Mike Pall2026-01-098-7/+33
| | | | | | | | Thanks to Sergey Kaplun. #1422 #1418
* | Merge branch 'master' into v2.1Mike Pall2026-01-092-4/+4
|\|
| * Fix minilua undefined behavior in bit.tohex.Mike Pall2026-01-092-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Note: this is not a vulnerability! minilua is only used during the LuaJIT build process. It only runs controlled and static Lua code (DynASM), which is entirely contained within this repo and does not trigger the undefined behavior. This change is solely for the benefit of others, who might possibly use minilua for purposes other than running DynASM. Reported by quart27219. #1424
* | Merge branch 'master' into v2.1Mike Pall2026-01-091-0/+1
|\|
| * Ignore PDB files for git.Mike Pall2026-01-091-0/+1
| | | | | | | | Thanks to Michael Fisher. #1423
* | Merge branch 'master' into v2.1Mike Pall2026-01-09207-224/+224
|\|
| * Bump copyright date.Mike Pall2026-01-09175-190/+190
| |
* | Fix string.format for limited precision FP conversions.Mike Pall2025-12-081-3/+40
| | | | | | | | Enforce round-to-even semantics. #1363
* | PPC: Fix soft-float lj_num2u64().Mike Pall2025-12-061-0/+2
| | | | | | | | Reported by Doug Crawford. #1411
* | ARM64: More fixes for ARM BTI.Mike Pall2025-12-061-0/+4
| | | | | | | | Reported by Yuichiro Naito. #1415
* | DUALNUM: Fix narrowing of unary minus.Mike Pall2025-12-061-2/+2
| | | | | | | | Reported by Sergey Kaplun. #1418
* | Merge branch 'master' into v2.1Mike Pall2025-12-061-8/+17
|\|
| * DUALNUM: Add missing type conversion for FORI slots.Mike Pall2025-12-061-8/+17
| | | | | | | | Reported by Sergey Kaplun. #1413
* | Remove pointless GCC/MSVC const function attributes.Mike Pall2025-12-011-7/+7
| | | | | | | | | | They are only called from JIT-compiled code and not from C. Reported by Richard Beckmann. #1414
* | Fix MSVC LJ_CONSTF declaration.Mike Pall2025-11-271-6/+1
| | | | | | | | Reading MS docs is hard. #1412
* | Back out MSVC LJ_CONSTF declaration.Mike Pall2025-11-271-0/+5
| | | | | | | | The reason for the error message is still unclear. #1412.
* | Remove compiler flag for FP conversions. Now unnecessary.Mike Pall2025-11-271-3/+0
| | | | | | | | Undo #1355. #1397 #1411
* | Unify Lua number to FFI integer conversions.Mike Pall2025-11-2741-431/+1067
| | | | | | | | Phew. #1411
* | ARM64: Fix disassembly of certain sub-word-size loads/stores.Mike Pall2025-11-271-3/+3
| |
* | ELF/Mach-O: Force default visibility for public API functions.Mike Pall2025-11-162-0/+4
| | | | | | | | Thanks to Dymphna. #1409
* | Merge branch 'master' into v2.1Mike Pall2025-11-160-0/+0
|\|
| * x86/x64: Backport fix for math.min()/math.max() argument check.Mike Pall2025-11-161-1/+1
| | | | | | | | Reported by puffy.
* | Merge branch 'master' into v2.1Mike Pall2025-11-141-4/+4
|\|
| * Fix edge cases when generating IR for string.byte/sub/find.Mike Pall2025-11-141-3/+3
| | | | | | | | Contributed by XmiliaH. #1407
* | Merge branch 'master' into v2.1Mike Pall2025-11-101-0/+4
|\|
| * FFI: Avoid dangling cts->L.Mike Pall2025-11-101-0/+4
| | | | | | | | Reported by ZumiKua. #1405
* | Run VM events and finalizers in separate state.Mike Pall2025-11-107-67/+76
| | | | | | | | Reported by Sergey Kaplun. #1403
* | macOS: Change Mach-O object file layout required by XCode 15.0.Mike Pall2025-11-081-12/+18
| | | | | | | | Reported by George Zhao. #1404
* | ARM64: Enable unaligned accesses if indicated by the toolchain.Mike Pall2025-11-083-1/+15
| | | | | | | | If you get a crash in jit_init() then you need to fix your toolchain.