Commit Graph

1703 Commits

Author SHA1 Message Date
Mike Pall
5f1781a127 Compile string concatenations (BC_CAT). 2013-04-21 01:01:33 +02:00
Mike Pall
7b629b7bcf Move buffer shrinking to atomic GC phase. 2013-04-21 01:00:01 +02:00
Mike Pall
9ead735159 Add generic load/store with offset to assembler backends. 2013-04-21 00:58:32 +02:00
Mike Pall
e92e29dd4e Merge branch 'master' into v2.1 2013-04-09 16:35:02 +02:00
Mike Pall
b1327bcf89 Document support for Lua 5.2 extension of loadfile(). 2013-04-09 16:33:47 +02:00
Mike Pall
f17b038828 Inhibit DSE for implicit loads via calls. 2013-04-09 11:50:33 +02:00
Mike Pall
48912a2dea Merge branch 'master' into v2.1 2013-04-05 20:24:24 +02:00
Mike Pall
b5bbacdc17 Fix jump-range constrained mcode allocation. 2013-04-05 20:22:41 +02:00
Mike Pall
ac14d88030 Merge branch 'master' into v2.1 2013-04-04 18:20:58 +02:00
Mike Pall
389822d606 Fix spurious red zone overflows in machine code generation. 2013-04-04 17:19:31 +02:00
Mike Pall
6ba65cefb0 FFI/x86: Fix register allocation for 64 bit comparisons. 2013-04-04 17:05:00 +02:00
Mike Pall
df94b81b2d Tune string concatenation. 2013-03-25 17:13:08 +01:00
Mike Pall
59329cfbbf Optimize and refactor printing of numbers to buffers. 2013-03-25 16:41:13 +01:00
Mike Pall
3b0b3afbb1 Merge branch 'master' into v2.1 2013-03-23 14:55:35 +01:00
Mike Pall
172bd95365 FFI: Fix snapshot substitution in SPLIT pass. 2013-03-23 14:51:23 +01:00
Mike Pall
f1dbd65c0e Use string buffer for string.format(). 2013-03-21 22:17:59 +01:00
Mike Pall
fecde1b222 Use string buffer for string.dump(). 2013-03-20 16:56:09 +01:00
Mike Pall
d38d10a3dd Use string buffer for os.date(). 2013-03-20 16:54:30 +01:00
Mike Pall
deb61e0be0 Use string buffer for table.concat(). 2013-03-20 16:51:36 +01:00
Mike Pall
d1645c88a1 Clean up TValue to buffer conversions. 2013-03-18 17:08:37 +01:00
Mike Pall
18d7c975d6 Merge branch 'master' into v2.1 2013-03-17 14:22:20 +01:00
Mike Pall
d147eedac9 DynASM: Improve validation of local backwards relocations. 2013-03-17 14:20:40 +01:00
Mike Pall
a98aede377 FFI: Add 64 bit bitwise operations. 2013-03-14 06:03:18 +01:00
Mike Pall
3e8f5ac718 Merge branch 'master' into v2.1 2013-03-13 21:59:40 +01:00
Mike Pall
eea48c8b26 Fix rotate definitions for variable shifts. 2013-03-13 21:58:53 +01:00
Mike Pall
7950894d70 ARM: Rearrange global_State to satisfy imm12 encoding constraints. 2013-03-13 17:12:23 +01:00
Mike Pall
b2edd5cf28 Merge branch 'master' into v2.1 2013-03-04 13:34:01 +01:00
Mike Pall
dac2825e9d Add missing GC steps for io.* functions. 2013-03-03 21:18:22 +01:00
Mike Pall
b65196b7fd Merge branch 'master' into v2.1 2013-02-28 17:53:45 +01:00
Mike Pall
78c97bc5a1 MIPS: Fix cache flush/sync for JIT-compiled code jump area. 2013-02-28 17:52:31 +01:00
Mike Pall
3e286c1e72 ARM: Fix cache flush/sync for exit stubs of JIT-compiled code. 2013-02-28 17:51:16 +01:00
Mike Pall
9ec869b362 String buffer refactoring, part 4.
Add lua_State pointer to SBuf for buffer resizing.
2013-02-28 13:43:37 +01:00
Mike Pall
3c0157f426 String buffer refactoring, part 3.
Switch to pointers for start/end of buffer in lexer.
2013-02-28 02:31:30 +01:00
Mike Pall
87c51e7f57 Cleanup lexer source code. 2013-02-28 01:11:49 +01: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
28cfcf7744 String buffer refactoring, part 1.
Move string buffer handling to lj_buf.*.
Use common buffer resizing function.
2013-02-27 17:29:35 +01:00
Mike Pall
d44337a566 Merge branch 'master' into v2.1 2013-02-26 18:31:12 +01:00
Mike Pall
cea899b61a Allow changing *.dll/*.lib name in msvcbuild.bat. 2013-02-26 18:31:01 +01:00
Mike Pall
5e601891fc Replace table.remove with bytecode builtin. 2013-02-24 17:59:04 +01:00
Mike Pall
b8abb4b91d Fix genlibbc. 2013-02-24 17:58:19 +01:00
Mike Pall
41f3ae26d9 Merge branch 'master' into v2.1 2013-02-24 12:43:15 +01:00
Mike Pall
9b7d2e9276 Properly fix MSVC intrinsics for older versions. 2013-02-24 12:41:53 +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
Mike Pall
fdc0ce8deb Don't modify generated libbc header if unchanged. 2013-02-22 12:29:54 +01:00
Mike Pall
19d5651455 Replace math.deg/math.rad with builtin Lua function. 2013-02-22 01:44:17 +01:00
Mike Pall
e20157c6e6 Add support for embedding LuaJIT bytecode for builtins. 2013-02-22 01:40:41 +01:00
Mike Pall
c3219b7d17 x86/x64: Drop xmm register/memory move tuning for K8. 2013-02-21 17:04:00 +01:00
Mike Pall
57768cd588 x86: Remove x87 support from interpreter.
SSE2 required from now on.
2013-02-21 16:56:59 +01:00