Mike Pall
34e53736c6
Cleanup some arch defines and fix builds.
2020-06-15 11:23:04 +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
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
35b09e692e
Windows/x86: Add full exception interoperability.
...
Contributed by Peter Cawley.
2016-05-07 12:32:15 +02:00
Mike Pall
6801e7165c
x86: Detect BMI2 instruction support.
2016-03-28 23:04:33 +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
a3a6866d4c
Re-enable trace stitching.
...
Thanks to Vyacheslav Egorov.
2015-08-29 23:24:26 +02:00
Mike Pall
fb19df9fd7
Merge branch 'master' into v2.1
2015-06-09 22:09:11 +02:00
Mike Pall
72347895ed
x64: Allow building without external unwinder.
...
Required for PS4 SDK 2.5. Thanks to James Park.
2015-06-09 22:08:40 +02:00
Mike Pall
a836b7e177
Cleanup.
2015-05-04 06:38:01 +02:00
Mike Pall
4cec6a5706
Merge branch 'master' into v2.1
2015-05-04 06:37:24 +02:00
Mike Pall
9622d6b8b2
x86/x64: Fix argument check for bit shifts.
2015-05-04 06:36:16 +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
fcae87e315
Merge branch 'master' into v2.1
2015-01-05 00:07:27 +01:00
Mike Pall
31e66838d8
x86: Minor interpreter optimization.
2015-01-05 00:04:40 +01:00
Mike Pall
ecaa4eae88
Merge branch 'master' into v2.1
2014-12-20 01:48:17 +01:00
Mike Pall
10caad0261
x86: Fix argument checks for ipairs() iterator.
2014-12-20 01:05:06 +01:00
Mike Pall
ad03eba715
x86/x64: Drop internal x87 math functions. Use libm functions.
2014-12-08 02:02:34 +01:00
Mike Pall
e03df1e339
x86/x64: Call external symbols directly from interpreter code.
...
Except for ELF/x86 PIC, where it's easier to use wrappers.
2014-12-08 01:58:05 +01:00
Mike Pall
3500c35e23
Merge branch 'master' into v2.1
2014-03-27 11:39:15 +01:00
Mike Pall
c03be1210c
x86/x64: Avoid use of SAHF instruction.
2014-03-27 11:38:07 +01:00
Mike Pall
4e78b9bb12
Merge branch 'master' into v2.1
2014-01-19 13:12:23 +01:00
Mike Pall
926686ad3d
Fix OSX build issue.
2014-01-19 13:11:48 +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
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
Mike Pall
26e4287e60
Merge branch 'master' into v2.1
2013-05-25 10:20:46 +02:00
Mike Pall
5a261dd92c
Fix compatibility issues with Illumos.
...
Thanks to Theo Schlossnagle.
2013-05-25 10:18:12 +02:00
Mike Pall
8f90a1279e
Big renaming of string buffer/formatting/conversion functions.
2013-05-13 10:15:07 +02:00
Mike Pall
8b3a320089
Fix BC_ISTYPE for WIN64 calling conventions.
2013-04-28 01:49:28 +02:00
Mike Pall
9b8db403f2
Refactor string.rep().
2013-04-26 19:57:25 +02:00
Mike Pall
f9421f2b9f
Replace string.len with bytecode builtin.
2013-04-26 18:40:39 +02:00
Mike Pall
5fd659f859
Fix MSVC build.
2013-04-26 10:38:24 +02:00
Mike Pall
61cb25b0ca
Refactor string.reverse(), string.lower(), string.upper().
2013-04-26 00:31:10 +02:00
Mike Pall
5f1781a127
Compile string concatenations (BC_CAT).
2013-04-21 01:01:33 +02:00
Mike Pall
116cdd7e9a
String buffer refactoring, part 2.
...
Switch to pointers for start/pos/end of buffer.
Abstract out some buffer writers.
2013-02-27 21:28:28 +01:00
Mike Pall
60e380fd93
Replace table.getn/foreach/foreachi with bytecode builtins.
2013-02-23 02:17:50 +01:00
Mike Pall
73ef845fca
Add special bytecodes for builtins.
...
BC_ISTYPE, BC_ISNUM: fast type checks/coercions.
BC_TGETR, BC_TSETR: fast rawgeti/rawseti, no type checks for table/key.
2013-02-23 02:09:19 +01:00
Mike Pall
b359ce804b
Remove obsolete non-truncating number to integer conversions.
2013-02-23 01:19:00 +01:00