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
19d5651455
Replace math.deg/math.rad with builtin Lua function.
2013-02-22 01:44:17 +01:00
Mike Pall
4a44c4ff69
Bump copyright date to 2013.
2013-02-11 12:54:48 +01:00
Mike Pall
0613358991
ARM: Fix ordered comparisons for number <=> non-number.
2012-11-07 18:05:23 +01:00
Mike Pall
2621617a92
ARM: Drop hard-fp variants of floor/ceil/trunc.
...
Soft-fp variants are faster on a Cortex-A9. Duh.
2012-10-15 16:53:03 +02:00
Mike Pall
eabfdfe1aa
Don't use stack unwinding for lua_yield().
2012-10-09 13:19:57 +02:00
Mike Pall
2f5ed5d0df
From Lua 5.2: Add string.rep(s, n, sep).
2012-10-07 17:11:39 +02:00
Mike Pall
0561a56938
From Lua 5.2: Add math.log(x, base).
2012-10-07 15:47:11 +02:00
Mike Pall
aed2009378
Fix despecialization of ITERN when already running.
2012-09-12 16:58:47 +02:00
Mike Pall
23932a6c8b
Use 0/1 macro for Lua 5.2 compatibility.
2012-09-12 11:20:47 +02:00
Mike Pall
af2cb02542
ARM: Fix hard-float lj_vm_trunc() (used by compiled math.modf).
2012-08-19 22:37:43 +02:00
Mike Pall
4b0af611d0
ARM: Add hard-float ABI support to the FFI (interpreter).
2012-07-30 19:00:52 +02:00
Mike Pall
a373fddbd3
ARM: Add VFP and hard-float ABI variants to interpreter.
2012-07-30 18:59:13 +02:00
Mike Pall
c2159f8624
ARM/PPC: Remove assembler code for lj_vm_foldarith().
2012-06-12 17:25:52 +02:00
Mike Pall
02acb39b10
ARM: Cleanup interpreter.
...
Use DynASM defines instead of C defines.
2012-06-11 00:49:47 +02:00
Mike Pall
9a9509c66a
Reorganize build process.
...
Drop pre-translated buildvm_*.h.
Rename buildvm_*.dasc to vm_*.dasc.
Move buildvm* to host directory.
Build minilua, unless HOST_LUA is set.
Use HOST_LUA to run DynASM.
Translate only vm_*.dasc for target architecture.
2012-06-09 15:12:44 +02:00