Commit Graph

1484 Commits

Author SHA1 Message Date
Mike Pall
89f8c920c6 Expand array slots in template tables with mixed const/var initializers. 2012-06-30 20:58:19 +02:00
Mike Pall
eacecc90e1 Clean up snapshot restore. 2012-06-30 20:45:59 +02:00
Mike Pall
dd9e7a4608 Fix cdecl string parsing during recording. 2012-06-28 20:17:08 +02:00
Mike Pall
a6458ce4de Make os.date() thread-safe. 2012-06-28 15:47:16 +02:00
Mike Pall
a751c8a5b5 Fix buffer check in bytecode writer. 2012-06-28 15:13:26 +02:00
Mike Pall
a9bf455b96 Add HREFK forwarding. Eliminate HREFK guard for TDUP refs. 2012-06-28 15:10:52 +02:00
Mike Pall
0d1056eeed Create string hash slots in template tables even for non-const values. 2012-06-27 22:45:54 +02:00
Mike Pall
ceb76d26b5 Another attempt at proper target detection for msvcbuild.bat. 2012-06-27 20:53:08 +02:00
Mike Pall
9a98ba64b4 Fix TDUP to HLOAD forwarding for DUALNUM builds. 2012-06-27 19:54:52 +02:00
Mike Pall
3dc7baf6af PPC: Fix PPC32 build. 2012-06-27 19:41:56 +02:00
Mike Pall
2f844fc87b Fix build issues on Cygwin and MinGW with optional MSys. 2012-06-22 11:36:58 +02:00
Mike Pall
8b71ab1080 FFI: Check for __new metamethod when calling a constructor. 2012-06-20 18:28:25 +02:00
Mike Pall
e9e45313e7 FFI: Do not resolve strings passed to parameterized types. 2012-06-20 15:45:23 +02:00
Mike Pall
6cee1333ef FFI: Resolve metamethods for constructors, too. 2012-06-20 15:16:40 +02:00
Mike Pall
126f9906fe FFI: Improve error messages for ctype arguments. 2012-06-20 15:06:28 +02:00
Mike Pall
946c7418d5 FFI: Add support for parameterized C types. 2012-06-14 19:54:07 +02:00
Mike Pall
ca6bf2d9a4 CONSOLE: Handle P64, GPR64, TOC* and PPE (PS3) in PPC interpreter.
PS3 build command: make HOST_CC="gcc -m32" CROSS=ppu-lv2-
2012-06-13 02:32:24 +02:00
Mike Pall
4f9db0fbc3 Clean up buildvm error message. 2012-06-13 01:54:15 +02:00
Mike Pall
80ff9d69a3 Allow parsing bcsave.lua (-b option) without FFI. 2012-06-12 21:25:19 +02:00
Mike Pall
0b3d8375f7 PPC: Remove lj_vm_floor/ceil/trunc assembler wrappers. 2012-06-12 17:26:55 +02:00
Mike Pall
c2159f8624 ARM/PPC: Remove assembler code for lj_vm_foldarith(). 2012-06-12 17:25:52 +02:00
Mike Pall
46dc6d347c PPC: Fix disassembly of rldcl/rldcr. 2012-06-12 16:48:24 +02:00
Mike Pall
6b605bd455 DynASM/PPC: Add missing 64 bit rotates and mtocrf/mfocrf. 2012-06-12 16:47:25 +02:00
Mike Pall
0528bb7d02 x64: Fix DynASM defines. 2012-06-12 03:50:22 +02:00
Mike Pall
e08914988c Improved target detection for msvcbuild.bat. 2012-06-12 01:47:16 +02:00
Mike Pall
b1c2a45464 OSX: Change dylib names to be consistent with other platforms. 2012-06-11 18:49:40 +02:00
Mike Pall
b51d7fb310 MIPS: Cleanup interpreter.
Use DynASM defines instead of C defines.
2012-06-11 00:51:21 +02:00
Mike Pall
3f1035a170 PPC/e500: Cleanup interpreter.
Use DynASM defines instead of C defines.
2012-06-11 00:51:59 +02:00
Mike Pall
7da4d16faa PPC: Cleanup interpreter.
Use DynASM defines instead of C defines.
2012-06-11 00:50:22 +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
c99439b3be x86/x64: More interpreter cleanups. 2012-06-11 00:49:24 +02:00
Mike Pall
c0aaf271c8 PPC: Fix interpreter state setup in callbacks. 2012-06-11 00:44:54 +02:00
Mike Pall
58622937c0 Fix userdata __gc separations at state close. 2012-06-10 23:40:53 +02:00
Mike Pall
58ec704f78 x86/x64: Clean up interpreter.
Use DynASM defines instead of C defines.
Remove support for ancient CPUs without CMOV (before Pentium Pro).
2012-06-10 16:50:46 +02:00
Mike Pall
e496a502b0 Pass various build, arch and OS flags to DynASM. 2012-06-10 16:41:00 +02:00
Mike Pall
d5a915ccf5 CONSOLE: Minor PS3 build fixes. 2012-06-10 16:34:18 +02:00
Mike Pall
b8f5727ab4 CONSOLE: Fix PS3 build. 2012-06-10 02:01:25 +02:00
Mike Pall
37be8a5478 CONSOLE: Handle unimplemented features for console toolchains. 2012-06-09 20:54:34 +02:00
Mike Pall
9f443e8b89 ARM/PPC: Detect more target arch variants. Detect console OS. 2012-06-09 20:53:22 +02:00
Mike Pall
9d7bd04fae Avoid potential store-forwarding stalls in GC marking. 2012-06-09 20:30:27 +02:00
Mike Pall
1c8ed534b3 Fix check for minimum GCC version. 2012-06-09 17:29:54 +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
Mike Pall
0a6c8338d2 Add minified Lua interpreter (minilua). Used by the build process. 2012-06-09 15:03:40 +02:00
Mike Pall
6c8aaef2bb DynASM: Compatibility with minilua. 2012-06-09 14:42:03 +02:00
Mike Pall
e75561b70e FFI: Fix address calculation for refs.
Fixes bug introduced in commit 5032e6d8.
2012-06-09 00:23:27 +02:00
Mike Pall
cccf763898 Move lib/* to src/jit/*. 2012-06-08 21:14:33 +02:00
Mike Pall
7266e27404 Correctly preserve snapshot #0 PC for root traces (insert NOP). 2012-06-08 19:22:59 +02:00
Mike Pall
fad5382d21 Rearrange OSX vs. iOS defines. Disable callbacks on iOS. 2012-06-08 11:59:23 +02:00
Mike Pall
1543b2a7ca Link to LuaJIT Roadmap 2012/2013. 2012-06-07 23:45:32 +02:00
Mike Pall
0bd1a66f2f Print version and JIT status to stdout, not stderr. 2012-06-06 14:17:15 +02:00