Commit Graph

2842 Commits

Author SHA1 Message Date
Mike Pall
5802ab56b6 ARM: Fix condition code check fusion.
Reported by Qingjun Wei.
2019-04-29 17:38:05 +02:00
Mike Pall
b33e3f2d44 ARM64: Avoid side-effects of constant rematerialization.
Thanks to Patrick Galizia.
2019-02-04 23:04:48 +01:00
Mike Pall
f0e865dd48 Improve luaL_addlstring().
Thanks to Domingo Alvarez Duarte.
2019-01-10 13:09:17 +01:00
Mike Pall
fc63c938b5 Fix os.date() for wider libc strftime() compatibility.
Thanks to Jesper Lundgren.
2019-01-10 12:47:28 +01:00
Mike Pall
c4f36ce565 Merge branch 'master' into v2.1 2019-01-10 12:37:40 +01:00
Mike Pall
61464b0a5b Fix MinGW build.
Thanks to Victor Bombi.
2019-01-10 12:37:09 +01:00
Mike Pall
617f532542 Merge branch 'master' into v2.1 2019-01-10 12:34:20 +01:00
Mike Pall
5c911998a3 DynASM/MIPS: Fix shadowed variable.
Cleanup only, bug cannot trigger.
Thanks to Domingo Alvarez Duarte.
2019-01-10 12:32:08 +01:00
Mike Pall
20e4c52945 DynASM/PPC: Fix shadowed variable.
Cleanup only, bug cannot trigger.
Thanks to Domingo Alvarez Duarte.
2019-01-10 12:28:24 +01:00
Mike Pall
749e99ce2a Merge branch 'master' into v2.1 2019-01-10 12:24:17 +01:00
Mike Pall
380e4409a7 Fix overflow of snapshot map offset.
Thanks to Yichun Zhang.
2019-01-10 12:19:30 +01:00
Mike Pall
e2cc89b190 Merge branch 'master' into v2.1 2019-01-10 12:02:31 +01:00
Mike Pall
3404183e23 Better detection of MinGW build. 2019-01-10 12:02:15 +01:00
Mike Pall
0a9ff94c4a Actually implement maxirconst trace limit.
Suggested by spacewander.
2018-10-14 15:21:37 +02:00
Mike Pall
9c1b637898 MIPS/MIPS64: Fix TSETR barrier (again). 2018-10-14 15:12:59 +02:00
Mike Pall
646148e747 Fix memory probing allocator to check for valid end address, too. 2018-09-13 17:58:50 +02:00
Mike Pall
26f1023819 DynASM/x86: Fix vroundps/vroundpd encoding.
Thanks to Alexander Nasonov.
2018-08-22 13:35:41 +02:00
Mike Pall
9b41062156 DynASM: Fix warning. 2018-06-24 14:10:21 +02:00
Mike Pall
9da0653509 ARM64: Fix exit stub patching.
Contributed by Javier Guerra Giraldez.
2018-06-24 14:08:59 +02:00
Mike Pall
c785131ca5 ARM64: Fix write barrier in BC_USETS.
Contributed by Javier Guerra Giraldez.
2018-06-24 13:18:03 +02:00
Mike Pall
c3c54ce1ae Windows: Add UWP support, part 1.
Contributed by Ben Pye.
2018-06-05 17:03:08 +02:00
Mike Pall
a5a89ab586 From Lua 5.3: assert() accepts any type of error object. 2018-06-05 12:23:56 +02:00
Mike Pall
55f7082324 x86: Disassemble FMA3 instructions.
Thanks to Alexander Nasonov.
2018-06-05 12:23:29 +02:00
Mike Pall
cc299958bb DynASM/x86: Add FMA3 instructions.
Thanks to Alexander Nasonov.
2018-06-05 12:23:13 +02:00
Mike Pall
d36afcfea5 Merge branch 'master' into v2.1 2018-06-05 11:39:10 +02:00
Mike Pall
b025b01c5b PPC/NetBSD: Fix endianess check.
Thanks to he32 and daurnimator.
2018-06-05 11:36:18 +02:00
Mike Pall
b708297aba Merge branch 'master' into v2.1 2018-05-20 12:45:01 +02:00
Mike Pall
fb5e522fbc x86/x64: Check for jcc when using xor r,r in emit_loadi().
Thanks to Peter Cawley.
2018-05-20 12:40:33 +02:00
Mike Pall
362f034c1b Merge branch 'master' into v2.1 2018-05-20 12:28:10 +02:00
Mike Pall
f5d424afe8 FFI: Make FP to U64 conversions match JIT backend behavior. 2018-05-20 12:25:36 +02:00
Mike Pall
260b9b4834 Merge branch 'master' into v2.1 2018-04-25 12:08:44 +02:00
Mike Pall
cf7a0540a3 Bump copyright date to 2018. 2018-04-25 12:07:08 +02:00
Mike Pall
a90e7795ca Merge branch 'master' into v2.1 2018-04-22 13:30:02 +02:00
Mike Pall
02b521981a FFI: Add tonumber() specialization for failed conversions.
Contributed by Javier Guerra Giraldez.
2018-04-22 13:27:25 +02:00
Mike Pall
f3cf0d6e15 Give expected results for negative non-base-10 numbers in tonumber().
This was undefined in Lua 5.1, but it's defined in 5.2.
2018-04-22 13:14:28 +02:00
Mike Pall
fe651bf6e2 DynASM/x86: Add BMI1 and BMI2 instructions.
Thanks to Peter Cawley.
2018-02-27 23:22:40 +01:00
Mike Pall
66c1614828 Merge branch 'master' into v2.1 2018-02-27 23:18:32 +01:00
Mike Pall
046129dbdd Fix rechaining of pseudo-resurrected string keys.
This is a serious bug. But extremely hard to reproduce, so it went
undetected for 8 years. One needs two resurrections with different
main nodes, which are both in a hash chain which gets relinked on
key insertion where the colliding node is in a non-main position. Phew.

Thanks to lbeiming.
2018-02-27 23:02:23 +01:00
Mike Pall
fddef92409 Merge branch 'master' into v2.1 2018-01-29 13:28:53 +01:00
Mike Pall
03cd5aa749 Clear stack after print_jit_status() in CLI.
Suggested by Hydroque.
2018-01-29 13:25:51 +01:00
Mike Pall
0bf46e1edf Merge branch 'master' into v2.1 2018-01-29 13:19:30 +01:00
Mike Pall
d4ee803427 Fix GCC 7 -Wimplicit-fallthrough warnings. 2018-01-29 13:06:13 +01:00
Mike Pall
74c544d68c Merge branch 'master' into v2.1 2018-01-29 12:53:42 +01:00
Mike Pall
b03a56f28e FFI: Don't assert on #1LL (5.2 compatibility mode only).
Reported by Denis Golovan.
2018-01-29 12:47:08 +01:00
Mike Pall
8071aa4ad6 MIPS64: Fix soft-float +-0.0 vs. +-0.0 comparison.
Thanks to Stefan Pejic.
2018-01-29 12:12:29 +01:00
Mike Pall
80aaaeee99 Merge branch 'master' into v2.1 2018-01-18 12:29:55 +01:00
Mike Pall
c88602f080 Fix LuaJIT API docs for LUAJIT_MODE_*.
Thanks to sunfishgao.
2018-01-18 12:29:39 +01:00
Mike Pall
9eaad8574f Fix ARMv8 (32 bit subset) detection.
Thanks to Markus Oberhumber.
2018-01-18 12:24:36 +01:00
Mike Pall
4660dbfa8a Merge branch 'master' into v2.1 2018-01-14 14:26:10 +01:00
Mike Pall
430d9f8f7e Fix string.format("%c", 0). 2018-01-14 14:11:59 +01:00