aboutsummaryrefslogtreecommitdiff
path: root/dynasm (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-03-27Fix VM event error handling for finalizers.Mike Pall1-2/+4
Reported by Sergey Kaplun. #1445
2026-03-27Avoid use of subnormals for internal registry keys.Mike Pall3-4/+4
Non-ABI-compliant FPU modes (-ffast-math, -Ofast, FTZ/DAZ set) may still cause erratic behavior and are not supported. #1448
2026-03-27Prevent false positive sanitizer warning in unpack().Mike Pall1-1/+3
Reported by Sergey Bronnikov. #1450
2026-03-27FFI: Fix pointer difference operation on 64 bit platforms.Mike Pall1-1/+1
Thanks to cuiweixie. #1449
2026-03-04Fix edge cases when recording string.byte/sub.Mike Pall1-3/+3
Thanks to Sergey Kaplun. #1443
2026-02-27Add ffi.abi("dualnum").Mike Pall2-0/+5
Thanks to Sergey Kaplun. #1442
2026-02-24FFI: Fix constructor index resolution in JIT compiler.Mike Pall1-0/+2
Reported by Vladimir Davydov and Sergey Kaplun. #1441
2026-02-16DUALNUM: Fix recording of loops broken by previous change.Mike Pall1-3/+3
Thanks to Nicholas Davies. #1432 #1433 #1438
2026-02-13Fix compiler warning.Mike Pall1-1/+1
Thanks to Holger Hoffstätte. #1436
2026-02-11Fix G->jit_base relocation on stack resize.Mike Pall1-1/+1
Reported by f32y. #1435
2026-02-11Prevent recording of loops with -0 step or NaN values.Mike Pall1-0/+6
Thanks to Sergey Kaplun. #1432 #1433
2026-02-11Avoid recording interference due to invocation of VM hooks.Mike Pall2-11/+22
Thanks to Sergey Kaplun. #1429 #1434
2026-02-11x64/!LJ_GC64: The allocation limit is required for a no-JIT build, too.Mike Pall1-2/+2
Thanks to Sergey Kaplun. #1430
2026-02-11MIPS64: Avoid unaligned load in lj_vm_exit_interp.Mike Pall1-4/+5
Thanks to Sergey Kaplun. #1428
2026-02-11Prevent snapshot purge while recording a function header.Mike Pall1-1/+1
Thanks to Sergey Kaplun. #1425
2026-01-09DUALNUM: Improve/fix edge cases of unary minus.Mike Pall8-7/+33
Thanks to Sergey Kaplun. #1422 #1418
2026-01-09Fix minilua undefined behavior in bit.tohex.Mike Pall2-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
2026-01-09Ignore PDB files for git.Mike Pall1-0/+1
Thanks to Michael Fisher. #1423
2026-01-09Bump copyright date.Mike Pall175-190/+190
2025-12-08Fix string.format for limited precision FP conversions.Mike Pall1-3/+40
Enforce round-to-even semantics. #1363
2025-12-06PPC: Fix soft-float lj_num2u64().Mike Pall1-0/+2
Reported by Doug Crawford. #1411
2025-12-06ARM64: More fixes for ARM BTI.Mike Pall1-0/+4
Reported by Yuichiro Naito. #1415
2025-12-06DUALNUM: Fix narrowing of unary minus.Mike Pall1-2/+2
Reported by Sergey Kaplun. #1418
2025-12-06DUALNUM: Add missing type conversion for FORI slots.Mike Pall1-8/+17
Reported by Sergey Kaplun. #1413
2025-12-01Remove pointless GCC/MSVC const function attributes.Mike Pall1-7/+7
They are only called from JIT-compiled code and not from C. Reported by Richard Beckmann. #1414
2025-11-27Fix MSVC LJ_CONSTF declaration.Mike Pall1-6/+1
Reading MS docs is hard. #1412
2025-11-27Back out MSVC LJ_CONSTF declaration.Mike Pall1-0/+5
The reason for the error message is still unclear. #1412.
2025-11-27Remove compiler flag for FP conversions. Now unnecessary.Mike Pall1-3/+0
Undo #1355. #1397 #1411
2025-11-27Unify Lua number to FFI integer conversions.Mike Pall41-431/+1067
Phew. #1411
2025-11-27ARM64: Fix disassembly of certain sub-word-size loads/stores.Mike Pall1-3/+3
2025-11-16ELF/Mach-O: Force default visibility for public API functions.Mike Pall2-0/+4
Thanks to Dymphna. #1409
2025-11-16x86/x64: Backport fix for math.min()/math.max() argument check.Mike Pall1-1/+1
Reported by puffy.
2025-11-14Fix edge cases when generating IR for string.byte/sub/find.Mike Pall1-3/+3
Contributed by XmiliaH. #1407
2025-11-10FFI: Avoid dangling cts->L.Mike Pall1-0/+4
Reported by ZumiKua. #1405
2025-11-10Run VM events and finalizers in separate state.Mike Pall7-67/+76
Reported by Sergey Kaplun. #1403
2025-11-08macOS: Change Mach-O object file layout required by XCode 15.0.Mike Pall1-12/+18
Reported by George Zhao. #1404
2025-11-08ARM64: Enable unaligned accesses if indicated by the toolchain.Mike Pall3-1/+15
If you get a crash in jit_init() then you need to fix your toolchain.
2025-11-06Allow mcode allocations outside of the jump range to the support code.Mike Pall19-228/+477
Thank you for your patience. #285
2025-11-06ARM64: Fix disassembly of >2GB branch targets.Mike Pall1-1/+1
2025-10-29x64: Fix CET IBT.Mike Pall1-0/+3
Reported by Yuichiro Naito. #1400
2025-10-29ARM64: Fix ARM BTI.Mike Pall1-0/+3
Reported by Yuichiro Naito. #1400
2025-10-28Windows: Fix lua52compat option for msvcbuild.bat.Mike Pall1-6/+6
Thanks to Alex Orlenko. #1395 #1366
2025-10-28ARM64: Add support for ARM BTI.Mike Pall7-3/+124
Note: this is not enabled by default, look for CET in lj_arch.h. Thanks to Yuichiro Naito. #1398
2025-10-28x64: Various fixes for CET IBT.Mike Pall6-38/+101
Also add ELF notes. #1391
2025-10-16x64: Add support for CET IBT.Mike Pall7-10/+95
Note: this is not enabled by default, look for CET in lj_arch.h Contributed by Yuichiro Naito. #1391
2025-10-16Gracefully handle broken custom allocator.Mike Pall1-1/+5
Reported by Alex Orlenko. #1393
2025-10-16Add GNU/Hurd build support.Mike Pall3-1/+7
Note: this is not an officially supported target. Contributed by Pino Toscano and Samuel Thibault. #1383 #1384
2025-10-16Fix io.write() of newly created buffer.Mike Pall1-1/+1
Reported by vfprintf. #1386
2025-10-16Fix reporting of an error during error handling.Mike Pall2-0/+11
Reported by Sergey Kaplun. #1381
2025-07-24Windows: Add lua52compat option to msvcbuild.bat.Mike Pall1-5/+10
Thanks to Gil Reis. #1366