Mike Pall
b025b01c5b
PPC/NetBSD: Fix endianess check.
...
Thanks to he32 and daurnimator.
2018-06-05 11:36:18 +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
f5d424afe8
FFI: Make FP to U64 conversions match JIT backend behavior.
2018-05-20 12:25:36 +02:00
Mike Pall
cf7a0540a3
Bump copyright date to 2018.
2018-04-25 12:07:08 +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
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
03cd5aa749
Clear stack after print_jit_status() in CLI.
...
Suggested by Hydroque.
2018-01-29 13:25:51 +01:00
Mike Pall
d4ee803427
Fix GCC 7 -Wimplicit-fallthrough warnings.
2018-01-29 13:06:13 +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
c88602f080
Fix LuaJIT API docs for LUAJIT_MODE_*.
...
Thanks to sunfishgao.
2018-01-18 12:29:39 +01:00
Mike Pall
430d9f8f7e
Fix string.format("%c", 0).
2018-01-14 14:11:59 +01:00
Mike Pall
7dbf0b05f1
Fix saved bytecode encapsulated in ELF objects.
...
Thanks to Dimitry Andric.
2017-11-16 12:58:12 +01:00
Mike Pall
9f0caad0e4
Fix FOLD rule for strength reduction of widening.
...
Reported by Matthew Burk.
2017-11-08 12:53:05 +01:00
Mike Pall
0c0e7b168e
DynASM/x86: Fix potential REL_A overflow.
...
Thanks to Joshua Haberman.
2017-09-20 19:39:50 +02:00
Mike Pall
f3d75075ed
Use https for freelists.org links.
2017-08-18 12:52:14 +02:00
Mike Pall
82151a4514
Modify fix for warning from 'ar'.
2017-06-12 09:24:00 +02:00
Mike Pall
c7c3c4da43
MIPS: Fix handling of spare long-range jump slots.
...
Contributed by Djordje Kovacevic and Stefan Pejic.
2017-06-07 19:36:46 +02:00
Mike Pall
7381b62035
MIPS: Use precise search for exit jump patching.
...
Contributed by Djordje Kovacevic and Stefan Pejic.
2017-06-07 19:16:22 +02:00
Mike Pall
630ff3196a
Add missing LJ_MAX_JSLOTS check.
...
Thanks to Yichun Zhang.
2017-05-17 17:37:35 +02:00
Mike Pall
1c89933f12
Fix LJ_MAX_JSLOTS assertion in rec_check_slots().
...
Thanks to Yichun Zhang.
2017-05-09 20:59:37 +02:00
Mike Pall
0bf80b07b0
RELEASE LuaJIT-2.0.5
2017-05-01 20:10:28 +02:00
Mike Pall
ae0d438f26
Update changelog.
2017-05-01 20:01:20 +02:00
Mike Pall
02b4b1e556
Add workaround for MSVC 2015 stdio changes.
...
Contributed by Peter Cawley.
2017-04-17 12:29:35 +02:00
Mike Pall
247b3624ff
OSX: Fix build with recent XCode.
...
Contributed by Joseph Zupko.
2017-04-07 11:59:08 +02:00
Mike Pall
e205ad0c55
FFI: Fix FOLD rules for int64_t comparisons.
...
Thanks to Peter Cawley.
2017-03-30 11:35:29 +02:00
Mike Pall
f50bf7585a
Remove unnecessary mcode alloc pointer check.
...
Also fixes Illumos address space issue reported by Theo Schlossnagle.
2017-03-08 23:02:24 +01:00
Mike Pall
d62459fc39
Limit mcode alloc probing, depending on the available pool size.
...
Contributed by Alexey Kopytov.
2017-03-08 23:01:47 +01:00
Mike Pall
4e308361bf
Fix overly restrictive range calculation in mcode allocation.
...
Contributed by Alexey Kopytov.
2017-03-08 22:59:44 +01:00
Mike Pall
ff648369aa
Fix out-of-scope goto handling in parser.
...
Many thanks to Demetrios Obenour for tracking down this long-standing bug.
2017-03-08 22:16:43 +01:00
Mike Pall
3ab9f5a18d
Remove internal __mode = "K" and replace with safe check.
2017-03-08 22:03:17 +01:00
Mike Pall
eef77a6d77
Fix annoying warning, due to deterministic binutils configuration.
2017-03-08 22:02:07 +01:00
Mike Pall
a9740d9edb
DynASM: Fix warning.
2017-03-08 21:59:14 +01:00
Mike Pall
892d370edd
MIPS: Don't use RID_GP as a scratch register.
2017-02-20 02:35:24 +01:00
Mike Pall
ee33a1f9b3
MIPS: Fix emitted code for U32 to float conversion.
2017-02-20 02:35:00 +01:00
Mike Pall
1abd779907
MIPS: Backport workaround for compact unwind tables.
2017-02-20 02:29:42 +01:00
Mike Pall
b93a1dd0c8
Bump copyright date to 2017.
2017-01-17 12:35:03 +01:00
Mike Pall
a1e13fa6e4
Fix HTML formatting.
2017-01-17 10:55:31 +01:00
Mike Pall
a2013dd39a
Fix cross-endian jit.bcsave for MIPS target.
2017-01-17 10:46:45 +01:00
Mike Pall
fb61f7cbe3
Add "proto" field to jit.util.funcinfo().
...
Backport.
2016-12-15 22:45:28 +01:00
Mike Pall
c3cae04153
Update contact info.
2016-11-21 16:02:10 +01:00
Mike Pall
a68c411857
Fix GC step size calculation.
...
Thanks to Igor Ehrlich.
2016-10-13 18:37:58 +02:00
Mike Pall
fcc8244899
ARM: Fix BLX encoding for Thumb interworking calls.
...
Thanks to Charles Baylis.
2016-10-02 14:24:04 +02:00
Mike Pall
8ada57eb49
Looks like COLORTERM has gone out of fashion.
2016-09-19 21:22:19 +02:00
Mike Pall
9910dedae4
Initialize uv->immutable for upvalues of loaded chunks.
...
Thanks to Peter Cawley.
2016-09-19 21:17:58 +02:00
Mike Pall
02b9b55976
Revert "OSX: Switch to Clang as the default compiler."
...
It breaks cross-compilation to Android.
And host "gcc" aliases to "clang", anyway.
2016-07-31 13:39:55 +02:00
Mike Pall
6be5ffdf2b
Adjust comment with defines.
2016-07-17 16:05:25 +02:00
Mike Pall
b74ddaf174
Fix for cdata vs. non-cdata arithmetics/comparisons.
...
Thanks to Vyacheslav Egorov.
2016-07-17 16:01:10 +02:00
Mike Pall
1914de71c7
Fix unused vars etc. in internal Lua files.
...
Thanks to François Perrad.
2016-07-17 14:29:03 +02:00
Mike Pall
aef4edddba
Drop leftover regs in 'for' iterator assignment, too.
2016-06-27 14:09:36 +02:00
Mike Pall
a7bec69a75
Fix PHI remarking in SINK pass.
...
Thanks to Vyacheslav Egorov.
2016-06-05 12:53:37 +02:00