aboutsummaryrefslogtreecommitdiff
path: root/src/lj_vm.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Minor tweaks to integration of assembler part.Mike Pall2010-08-291-0/+11
| | | | | | | 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.
* Implement return hooks for Lua functions (zero-cost if disabled).Mike Pall2010-02-141-1/+2
|
* Implement call hooks (zero-cost if disabled).Mike Pall2010-02-141-0/+1
|
* Major redesign of function call handling.Mike Pall2010-02-131-6/+0
| | | | | | | | | | | 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.
* Move bytecode offsets from lj_vm.* to generated header.Mike Pall2010-02-051-3/+1
|
* Bump all copyright dates to 2010.Mike Pall2010-01-091-1/+1
|
* Major rewrite of error handling to allow external/internal unwinding.Mike Pall2010-01-021-2/+4
| | | | | | | | | | | Make external unwinding the default on x64. It's mandatory on WIN64 due to the abundance of callee-saved regs. Allow piecewise internal frame unwinding and optional cleanup. Store ERRMEM, ERRERR and ERRCPP early and copy down later. Use FRAME_CP for lj_vm_resume. Add lj_vm_unwind_*_eh variants as landing pads for external unwinder. Use fastcall for lj_vm_unwind_*. Can drop r12/r13 saves in POSIX/x64 interpreter now.
* Implement yield from C hooks.Mike Pall2009-12-301-0/+1
| | | | | | 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.
* Add SSE variant of pow/powi to interpreter.Mike Pall2009-12-251-5/+2
| | | | | | Use SSE pow/powi helper functions from compiled code. Cleanup use of helper functions. Related cleanups of folding functions in x64 interpreter.
* Use SSE variants for IRFPM_FLOOR/CEIL/TRUNC unless SSE4.1 available.Mike Pall2009-12-221-0/+3
|
* Adapt primary inbound calls in x64 interpreter.Mike Pall2009-12-171-2/+2
| | | | Change argument order for lj_vm_cpcall() to simplify x64 interpreter.
* RELEASE LuaJIT-2.0.0-beta2v2.0.0-beta2Mike Pall2009-12-081-3/+3
|
* RELEASE LuaJIT-2.0.0-beta1v2.0.0-beta1Mike Pall2009-12-081-0/+66