Commit Graph

300 Commits

Author SHA1 Message Date
Mike Pall
a5aade2fa9 FFI: Finish FFI docs. 2011-02-11 01:21:46 +01:00
Mike Pall
a2f9f1f831 FFI: Finish docs on FFI semantics. Phew. 2011-02-10 03:12:09 +01:00
Mike Pall
a7ab6b2dc9 Fix various HTML errors in the docs. 2011-02-10 03:10:38 +01:00
Mike Pall
24c314e8fc FFI: Add more docs on FFI semantics. 2011-02-09 01:26:02 +01:00
Mike Pall
2388a7fcc0 FFI: Document current FFI implementation status. 2011-02-08 01:20:53 +01:00
Mike Pall
7a37b93f1b FFI: Record ffi.copy() and ffi.fill(). 2011-02-07 23:49:27 +01:00
Mike Pall
72b3fff72f FFI: Simplify initializer rules. Clarify docs. 2011-01-23 14:23:21 +01:00
Mike Pall
f529d22869 Another fix for the trace flush logic. I'll get this right someday.
Thanks to David Manura.
2011-01-22 20:32:23 +01:00
Mike Pall
e985aeda84 FFI: Add preliminary FFI documentation (still incomplete). 2011-01-20 22:14:17 +01:00
Mike Pall
06f99fc3df Bump copyright date to 2011. 2011-01-09 17:12:53 +01:00
Mike Pall
8679ca5792 POSIX is an acronym. 2010-12-04 20:47:51 +01:00
Mike Pall
751ff5b392 Add jit.os string. 2010-11-16 15:05:21 +01:00
Mike Pall
b45e3246ce Split up extension/API docs into sub-pages. 2010-11-09 18:11:35 +01:00
Mike Pall
7e5cb31e0b Fix anchors in API docs. 2010-11-01 17:49:31 +01:00
Mike Pall
5dcf630c54 Reorganize compatibility table in install docs. 2010-10-11 16:26:48 +02:00
Mike Pall
89fdee9cab Fix external link in docs. 2010-10-11 15:29:12 +02:00
Mike Pall
ddae887878 Update docs for PPC port. Clarify and extend install instructions. 2010-10-05 01:36:54 +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
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
721b73fecb Turn traces into true GC objects (GCtrace). 2010-04-25 03:32:29 +02:00
Mike Pall
23189fa40d RELEASE LuaJIT-2.0.0-beta4 2010-03-28 19:26:33 +02:00
Mike Pall
3a8b9bad2e Update changelog. 2010-03-28 18:31:36 +02:00
Mike Pall
8e20b030ac Add links to interactive performance comparison to offline docs. 2010-03-19 21:01:14 +01:00
Mike Pall
1fea5cb822 Fix TSETM on x64/SSE builds when table is resized. 2010-03-15 19:00:16 +01:00
Mike Pall
e57390f734 Update changelog. 2010-03-15 17:20:08 +01:00
Mike Pall
c4727220e8 Add array bounds check elimination (-Oabc, on by default). 2010-03-15 17:02:53 +01:00
Mike Pall
d87cb5b526 Add WinSDK v7.0 requirement for building on Windows/x64. 2010-03-09 02:45:47 +01:00
Mike Pall
09e875519b RELEASE LuaJIT-2.0.0-beta3 2010-03-07 19:30:21 +01:00
Mike Pall
9fd1c6c586 Add OS/CPU/CC compatibility matrix to docs. Fix spelling. 2010-03-07 17:12:21 +01:00
Mike Pall
f8f6d0299b Document jit.status(). 2010-03-04 20:46:07 +01:00
Mike Pall
af92a14313 Update docs: native build default, cross-compilation, embedding. 2010-03-04 19:07:38 +01:00
Mike Pall
eed5585c51 Add support for recursion to changelog. 2010-03-02 05:55:23 +01:00
Mike Pall
5d0b65519c Enable tracing of recursion.
Now compiles tail-recursion, up-recursion and down-recursion.
Benchmarks vs. Lua: fib 20x, ack 23x, binary-trees 4.7x.
2010-03-01 06:54:35 +01:00
Mike Pall
2e22d33d9d Enable JIT compiler for x64.
Only works on Linux/x64 and Windows/x64 right now.
Force an x64 build on Linux/x64 with: make CC="gcc -m64"
NYI: handle on-trace OOM errors.
NYI: improve register allocation for x64.
2010-02-28 21:51:01 +01:00
Mike Pall
8ae2f9feaa Randomize penalties for aborts and add blacklisting. 2010-02-23 19:41:32 +01:00
Mike Pall
4a7ee2cb66 Update docs and changelog. 2010-02-17 00:47:55 +01:00
Mike Pall
8060f5b531 Just disable JIT compiler for non-SSE2 CPUs instead of aborting. 2010-02-16 23:39:24 +01:00
Mike Pall
2a2f8ed6a1 Implement return hooks for Lua functions (zero-cost if disabled). 2010-02-14 20:48:33 +01:00
Mike Pall
8e38231f9e Implement call hooks (zero-cost if disabled). 2010-02-14 17:47:03 +01:00
Mike Pall
c93138b59e Major redesign of function call handling.
Drop call gates. Use function headers, dispatched like bytecodes.
Emit BC_FUNCF/BC_FUNCV bytecode at PC 0 for all Lua functions.
C functions and ASM fast functions get extra bytecodes.
Modify internal calling convention: new base in BASE (formerly in RA).
Can now use better C function wrapper semantics (dynamic on/off).
Prerequisite for call hooks with zero-overhead if disabled.
Prerequisite for compiling recursive calls.
Prerequisite for efficient 32/64 bit prototype guards.
2010-02-13 04:51:56 +01:00
Mike Pall
d62dcd4a72 Update docs about exception handling. 2010-01-20 12:24:56 +01:00
Mike Pall
379b8c5fe4 Update docs with x64 build instructions. 2010-01-17 22:02:13 +01:00
Mike Pall
82417ee889 Add build infrastructure for x64 interpreter.
Must be explicitly enabled with: make clean && make "CC=gcc -m64"
Only works on Linux/x64. Does not work on WIN64 or OSX/x64 (yet).
2010-01-14 12:28:16 +01:00
Mike Pall
4d9be5b8f8 Bump all copyright dates to 2010. 2010-01-09 14:28:11 +01:00
Mike Pall
9de0f53a8d Implement yield from C hooks.
Get number of multiple results from C frame.
Add lj_cont_hook: restores multres and dispatch to static ins.
Can use fastcall for lj_dispatch_ins() now.
2009-12-30 02:37:57 +01:00
Mike Pall
4523c46d10 Fix text about x64 port in status page. 2009-12-09 12:27:37 +01:00
Mike Pall
3f1f9e11f4 Fast forward to sync public repo.
Compile math.sinh(), math.cosh(), math.tanh() and math.random().
Compile various io.*() functions.
Drive the GC forward on string allocations in the parser.
Improve KNUM fuse vs. load heuristics.
Add abstract C call handling to IR.
2009-12-08 20:35:29 +01:00
Mike Pall
1d1fed48a0 RELEASE LuaJIT-2.0.0-beta2 2009-12-08 19:49:20 +01:00
Mike Pall
55b1695971 RELEASE LuaJIT-2.0.0-beta1 2009-12-08 19:46:35 +01:00