Mike Pall
f4d4af1b6d
PPC: Add support to call C functions and to return back to C.
...
Command line starts now, but it can't run any Lua code yet.
2010-08-31 00:29:38 +02:00
Mike Pall
690b1f3e4b
PPC: Add entry and exit points into VM. Add type check macros.
2010-08-31 00:17:22 +02:00
Mike Pall
4ef6564f2e
PPC: Add instruction/call decode + dispatch macros.
2010-08-31 00:05:10 +02:00
Mike Pall
c7f91f8cd1
PPC: Add register assignments and type definitions.
2010-08-31 00:04:32 +02:00
Mike Pall
e1efd0d871
Minor tweaks to integration of assembler part.
...
Remove unneeded PC restore in vm_growstack_*.
Don't declare symbols that are unused in interpreter-only builds.
Don't embed lj_vm_foldfpm in interpreter-only builds.
Add 2nd temporary TValue in lua_State.
2010-08-29 20:04:40 +02:00
Mike Pall
7313a0821d
PPC: Add missing PowerPC subtract mnemonics.
2010-08-29 12:58:22 +02:00
Mike Pall
844e40d700
PPC: Clean up masked shift/rotate target settings.
2010-08-29 12:52:20 +02:00
Mike Pall
9c16a9f705
PPC: Amend DynASM PowerPC conditional branch instructions.
2010-08-28 20:05:57 +02:00
Mike Pall
9cb5046c3f
PPC: Add stack frame layout for PPCSPE target.
...
PPCSPE target compiles now, but will trap for any NYI parts.
Cross-compilation instructions:
make HOST_CC="gcc -m32" CROSS=powerpc-e500v2-linux-gnuspe- TARGET=ppcspe
2010-08-27 18:32:24 +02:00
Mike Pall
b3bd9b55e0
Improve target architecture detection in src/Makefile.
2010-08-27 18:17:29 +02:00
Mike Pall
a8d23e84e6
PPC: Add build rules and preprocessed skeleton for PPCSPE target.
2010-08-27 17:28:07 +02:00
Mike Pall
96b60d5ef3
PPC: Add skeleton for PowerPC interpreter.
2010-08-27 16:52:45 +02:00
Mike Pall
877ff1e28e
Always enable check mode for DynASM (only used at build-time).
2010-08-27 13:19:35 +02:00
Mike Pall
a0e3c9bb5a
PPC: Add support for word-wise relocations to buildvm asm targets.
2010-08-27 13:08:58 +02:00
Mike Pall
1b57266668
PPC: Add SPE instructions to DynASM PowerPC module.
2010-08-27 01:43:32 +02:00
Mike Pall
4aa8757aac
PPC: Add DynASM PowerPC encoding engine.
2010-08-26 17:27:17 +02:00
Mike Pall
4f47d31fef
PPC: Add DynASM PowerPC module. Standard instructions only.
2010-08-26 02:09:15 +02:00
Mike Pall
5526fa2312
PPC: Add PowerPC target architecture selection.
2010-08-25 13:00:42 +02:00
Mike Pall
06ae534328
Fix string.format() for non-finite numbers.
2010-08-24 23:06:10 +02:00
Mike Pall
d668373654
RELEASE LuaJIT-2.0.0-beta5
2010-08-24 15:10:40 +02:00
Mike Pall
d9cdefee0a
Update changelog.
2010-08-23 20:53:55 +02:00
Mike Pall
55017d4626
Fix formatting of canonicalized number to string conversions.
2010-08-23 20:06:36 +02:00
Mike Pall
65b8c36def
Fix encoding of doubles for mixed-endian cross builds.
2010-08-09 18:55:37 +02:00
Mike Pall
0d6f6f3fa0
Clean up some more DynASM target dependencies.
2010-08-08 18:03:20 +02:00
Mike Pall
be19218a6c
Fix return from pcall within active hook.
2010-08-07 20:26:00 +02:00
Mike Pall
44de7eb48c
Keep framesize in RA of FUNCC/FUNCCW instructions, too
2010-08-06 19:43:55 +02:00
Mike Pall
3d81368331
Fix lua_cpcall(). Duplicate save corrupted C frame chain.
2010-08-06 14:34:54 +02:00
Mike Pall
0a3329c581
Fix some compiler warnings.
2010-08-03 23:11:12 +02:00
Mike Pall
309d8f5aab
Cleanup library function caching in dasm_x86.lua.
2010-08-03 22:32:43 +02:00
Mike Pall
653327b33a
Remove bogus global in -jdump.
2010-08-03 22:14:14 +02:00
Mike Pall
33ef1fa524
Untangle some target dependencies.
2010-08-03 22:09:12 +02:00
Mike Pall
a6b7952f7e
Use FuncState typedef in favor of struct.
2010-08-03 22:08:08 +02:00
Mike Pall
c5feda2d53
Speed up string compares in string interning.
2010-07-21 23:55:05 +02:00
Mike Pall
420124372b
Switch to fast string hash.
2010-07-21 22:53:27 +02:00
Mike Pall
d05873ee0a
Abstract out pointer hash to hashrot(). Tune hash constants.
2010-07-21 22:06:38 +02:00
Mike Pall
6667ab0f26
Use independent hash for VM event dispatch.
2010-07-21 21:23:45 +02:00
Mike Pall
2ca58aa67d
Fix arg check for two-arg SSE math functions in interpreter.
2010-07-14 14:11:48 +02:00
Mike Pall
0d3f190d94
Fix passing of constant args in FPRs on x64.
2010-07-14 13:04:29 +02:00
Mike Pall
7d5a3cb5d4
Rechain pseudo-resurrected string keys with colliding hashes.
2010-07-04 23:07:21 +02:00
Mike Pall
bbd1584d5f
Do not eliminate PHIs for values only referenced from side exits.
2010-06-30 23:30:08 +02:00
Mike Pall
9f6707ddbb
Fix frame setup for error handling in next().
2010-06-28 18:07:34 +02:00
Mike Pall
cdc37a33b3
Fallback to metamethod resolving for tostring in print().
2010-06-16 19:43:07 +02:00
Mike Pall
fa673eb179
Fix string.char() range check on x64.
2010-05-30 12:29:55 +02:00
Mike Pall
926f688cd0
Canonicalize string conversion of nan, inf, -inf.
2010-05-20 00:40:51 +02:00
Mike Pall
c7a3103f41
Fix handling of failed fp:read(..., "*n").
2010-05-15 18:10:41 +02:00
Mike Pall
655401f3e9
Avoid name clash with standard POSIX function.
2010-05-09 22:47:09 +02:00
Mike Pall
41ec9a94b3
Avoid string allocation in GDB JIT API.
2010-05-09 03:27:24 +02:00
Mike Pall
5ff994fa37
Add weak guards. Emit TNEW/TDUP with a guard bit.
2010-05-08 18:59:59 +02:00
Mike Pall
8fa1db826c
Create symbol table of JIT-compiled code for use with Linux perf tools.
...
Enable with: -DLUAJIT_USE_PERFTOOLS
2010-05-01 04:27:14 +02:00
Mike Pall
f28a42c923
Fix PHI elimination: mark right PHI as used, too.
2010-04-28 22:00:40 +02:00