Mike Pall
9512d5c1ac
Fix pow() optimization inconsistencies.
2022-01-24 14:37:50 +01:00
Mike Pall
7306ba78d6
Merge branch 'master' into v2.1
2022-01-15 19:42:30 +01:00
Mike Pall
c4dfb625ba
Bump copyright date.
2022-01-15 19:30:54 +01:00
Mike Pall
98b7d9a3b2
Merge branch 'master' into v2.1
2021-09-20 14:39:50 +02:00
Mike Pall
68ffbd318b
FFI: Don't load PC from non-function object in FFI continuation.
...
Reported by Yichun Zhang. #743
2021-09-20 14:36:52 +02:00
Mike Pall
bb0f241015
Compile table traversals: next(), pairs(), BC_ISNEXT/BC_ITERN.
...
Sponsored by OpenResty Inc.
2021-09-19 17:49:25 +02:00
Mike Pall
c6f5ef649b
Refactor table traversal.
...
Sponsored by OpenResty Inc.
2021-09-19 17:38:49 +02:00
Mike Pall
394fb6267a
String buffers, part 2a: internal SBuf reorg. Use full pointers.
...
Sponsored by fmad.io.
2021-06-01 00:45:06 +02:00
Mike Pall
a32aeadc68
Handle on-trace OOM errors from helper functions.
2021-03-23 00:39:50 +01:00
Mike Pall
1e66d0f9e6
Merge branch 'master' into v2.1
2021-01-02 21:56:07 +01:00
Mike Pall
f47c864b01
Bump copyright date.
2021-01-02 21:49:41 +01:00
Mike Pall
94d4abcca9
Merge branch 'master' into v2.1
2020-08-09 23:12:48 +02:00
Mike Pall
e296f56b82
Call error function on rethrow after trace exit.
2020-08-09 22:50:31 +02:00
Mike Pall
ff34b48ddd
Redesign and harden string interning.
...
Up to 40% faster on hash-intensive benchmarks.
With some ideas from Sokolov Yura.
2020-06-23 03:06:45 +02:00
Mike Pall
03208c8162
Fix math.min()/math.max() inconsistencies.
2020-05-22 03:10:30 +02:00
Mike Pall
87b111f0fe
Merge branch 'master' into v2.1
2020-01-20 23:34:21 +01:00
Mike Pall
38a5ed4b43
Bump copyright date.
2020-01-20 23:26:51 +01:00
Mike Pall
b1915c3b6f
Merge branch 'master' into v2.1
2019-07-05 13:22:12 +02:00
Mike Pall
51e013934b
MIPS: Fix delay slot hint.
...
This is documentation only. Thanks to snyh.
2019-07-05 13:19:41 +02:00
Mike Pall
9c1b637898
MIPS/MIPS64: Fix TSETR barrier (again).
2018-10-14 15:12:59 +02:00
Mike Pall
1abd779907
MIPS: Backport workaround for compact unwind tables.
2017-02-20 02:29:42 +01:00
Mike Pall
71ff7ef8a7
Merge branch 'master' into v2.1
2017-01-17 12:41:05 +01:00
Mike Pall
b93a1dd0c8
Bump copyright date to 2017.
2017-01-17 12:35:03 +01:00
Mike Pall
5400c1e424
MIPS: Fix TSETR barrier.
...
Thanks to tongwell.
2016-11-16 11:18:10 +01:00
Mike Pall
d9986fbadb
MIPS64, part 1: Add MIPS64 support to interpreter.
...
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.
2016-05-28 05:10:55 +02:00
Mike Pall
101115ddd8
Merge branch 'master' into v2.1
2016-04-14 00:16:17 +02:00
Mike Pall
e5b5e079c3
MIPS: Fix BC_ISNEXT fallback path.
...
Thanks to RT-RK.com.
2016-04-14 00:14:42 +02:00
Mike Pall
6e623b9914
Merge branch 'master' into v2.1
2016-03-30 16:30:44 +02:00
Mike Pall
62af101524
MIPS: Fix use of ffgccheck delay slots in interpreter.
2016-03-30 16:26:27 +02:00
Mike Pall
f4231949b5
Merge branch 'master' into v2.1
2016-03-03 12:11:37 +01:00
Mike Pall
db1b399af1
Bump copyright date to 2016.
2016-03-03 12:02:22 +01:00
Mike Pall
f547a1425e
MIPS: Add soft-float support to JIT compiler backend.
2016-02-10 18:49:22 +01:00
Mike Pall
60de2f3d51
MIPS: Switch to dual-number mode. Fix soft-float interpreter.
2016-01-29 07:03:36 +01:00
Mike Pall
3f5c72421e
MIPS soft-float, part 1: Add soft-float support to interpreter.
...
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.
2015-12-17 22:42:20 +01:00
Mike Pall
a3a6866d4c
Re-enable trace stitching.
...
Thanks to Vyacheslav Egorov.
2015-08-29 23:24:26 +02:00
Mike Pall
0a5045c34e
Merge branch 'master' into v2.1
2015-01-06 00:12:45 +01:00
Mike Pall
86913b9bbf
Bump copyright date to 2015.
2015-01-05 23:59:31 +01:00
Mike Pall
7a76d435da
Merge branch 'master' into v2.1
2014-12-27 06:11:14 +01:00
Mike Pall
f45d11e2fe
MIPS: Fix excess stack growth in interpreter.
2014-12-27 06:06:07 +01:00
Mike Pall
a9d4543601
Merge branch 'master' into v2.1
2014-01-16 23:18:34 +01:00
Mike Pall
ef59e54820
Bump copyright date to 2014.
2014-01-16 23:10:16 +01:00
Mike Pall
ce9e8ed675
Fix KBASE for Lua functions below stitched fast functions.
2014-01-16 22:53:27 +01:00
Mike Pall
b5d741fa7e
Add trace stitching.
2013-12-25 02:55:25 +01:00
Mike Pall
6e02c210c4
Merge branch 'master' into v2.1
2013-12-25 00:27:55 +01:00
Mike Pall
ca67c89f20
MIPS: Cosmetic fix for interpreter.
2013-12-25 00:26:18 +01:00
Mike Pall
5c7db3c4fc
Merge branch 'master' into v2.1
2013-12-02 09:19:06 +01:00
Mike Pall
916f09d0a9
x64: Fix store to upvalue for lightuserdata values.
2013-12-02 09:18:01 +01:00
Mike Pall
4dce22c40d
Add low-overhead profiler. Part 1: interpreter, low-level C API.
2013-09-02 01:49:19 +02:00
Mike Pall
517500ba48
Save currently executing lua_State in g->cur_L.
...
This is only a good approximation due to deficiencies in the design of
the Lua/C API. It indicates _some_ valid state that is/was executing.
Also reorder L->cframe stores to achieve a synchronously consistent state.
2013-08-30 23:38:17 +02:00
Mike Pall
5120240b77
Use g->jit_base for on/off-trace detection.
2013-08-26 18:28:58 +02:00