Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix generated 64 bit Mach-O assembler output. | Mike Pall | 2010-03-05 | 1 | -0/+8 | |
| | ||||||
* | Enable tracing of recursion. | Mike Pall | 2010-03-01 | 1 | -31/+33 | |
| | | | | | Now compiles tail-recursion, up-recursion and down-recursion. Benchmarks vs. Lua: fib 20x, ack 23x, binary-trees 4.7x. | |||||
* | Save/restore remaining callee-save regs on trace<->interp transitions. | Mike Pall | 2010-02-27 | 1 | -328/+328 | |
| | ||||||
* | Add trace exit helper for x64. Fix trace entry for x64. | Mike Pall | 2010-02-24 | 1 | -960/+958 | |
| | ||||||
* | Rethrow errors from trace exit handling from the right C frame. | Mike Pall | 2010-02-19 | 1 | -485/+488 | |
| | ||||||
* | Use a different marker for hot calls. | Mike Pall | 2010-02-15 | 1 | -342/+346 | |
| | ||||||
* | Implement return hooks for Lua functions (zero-cost if disabled). | Mike Pall | 2010-02-14 | 1 | -511/+514 | |
| | ||||||
* | Implement call hooks (zero-cost if disabled). | Mike Pall | 2010-02-14 | 1 | -651/+659 | |
| | ||||||
* | Major redesign of function call handling. | Mike Pall | 2010-02-13 | 1 | -1164/+1197 | |
| | | | | | | | | | | | 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 dispatch tables out of GG_State struct. | Mike Pall | 2010-02-11 | 1 | -2/+2 | |
| | ||||||
* | Switch to pre-initialized stacks. Drop frame clearing in interpreter. | Mike Pall | 2010-02-11 | 1 | -1226/+1230 | |
| | ||||||
* | Drop bc field in GCproto since the bytecode is colocated. | Mike Pall | 2010-02-08 | 1 | -6/+6 | |
| | ||||||
* | Integrate MinGW build with DWARF2 exception handling. | Mike Pall | 2010-01-22 | 1 | -0/+45 | |
| | | | | | | | | Only works with DWARF2-enabled GCC 4.x (not the default MinGW GCC). Fix fastcall symbol names for COFF assembler output. Add DWARF2 unwind info to COFF assembler output. Use COFF assembler mode for MinGW builds. Always enable the DWARF2 handler if compiled with GCC. | |||||
* | Add support for WIN64 exception handling to external unwinder. | Mike Pall | 2010-01-05 | 1 | -1/+1 | |
| | | | | | | Modify unwinding to always return _ff or _c unwind type. Generate PE object .pdata/.xdata sections for x64 interpreter. Can drop r12-r15 saves in Windows/x64 interpreter now. | |||||
* | Fix PE object build for fastcall entry points into interpreter. | Mike Pall | 2010-01-05 | 1 | -2/+2 | |
| | ||||||
* | Major rewrite of error handling to allow external/internal unwinding. | Mike Pall | 2010-01-02 | 1 | -819/+817 | |
| | | | | | | | | | | | 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 Pall | 2009-12-30 | 1 | -898/+901 | |
| | | | | | | 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 DWARF2 unwind info for x64 interpreter. | Mike Pall | 2009-12-29 | 1 | -23/+65 | |
| | ||||||
* | Final calling convention cleanup for x64 interpreter. | Mike Pall | 2009-12-28 | 1 | -430/+430 | |
| | ||||||
* | More calling convention cleanups for x64 interpreter. | Mike Pall | 2009-12-27 | 1 | -190/+190 | |
| | ||||||
* | Use fastcall for remaining 1-arg/2-arg calls from interpreter. | Mike Pall | 2009-12-27 | 1 | -1168/+1168 | |
| | | | | Simplifies conversion to x64 calling conventions. | |||||
* | Add SSE variant of pow/powi to interpreter. | Mike Pall | 2009-12-25 | 1 | -571/+568 | |
| | | | | | | Use SSE pow/powi helper functions from compiled code. Cleanup use of helper functions. Related cleanups of folding functions in x64 interpreter. | |||||
* | Add build infrastructure for the SSE2-enabled interpreter. | Mike Pall | 2009-12-22 | 1 | -1/+1 | |
| | | | | Works on x86 now. Will be enabled by default on x64 (not ready, yet). | |||||
* | Fix last commit. | Mike Pall | 2009-12-22 | 1 | -1/+1 | |
| | ||||||
* | Miscellaneous cleanups for x64 interpreter. | Mike Pall | 2009-12-22 | 1 | -11/+11 | |
| | ||||||
* | Add SSE2 variants for all FP ops (except vm_pow*) in interpreter. | Mike Pall | 2009-12-22 | 1 | -900/+1333 | |
| | ||||||
* | Add SSE2 variants of basic arithmetic ops in interpreter. | Mike Pall | 2009-12-21 | 1 | -412/+661 | |
| | ||||||
* | Adapt most outbound calls in interpreter to x64 calling conventions. | Mike Pall | 2009-12-19 | 1 | -756/+757 | |
| | ||||||
* | Adapt primary inbound calls in x64 interpreter. | Mike Pall | 2009-12-17 | 1 | -278/+278 | |
| | | | | Change argument order for lj_vm_cpcall() to simplify x64 interpreter. | |||||
* | Cleanup DynASM action list flushes. | Mike Pall | 2009-12-16 | 1 | -772/+784 | |
| | ||||||
* | Change some misuses of esp in x64 interpreter. | Mike Pall | 2009-12-16 | 1 | -2/+2 | |
| | ||||||
* | Define x64 interpreter frame and cleanup use of stack temps. | Mike Pall | 2009-12-16 | 1 | -18/+18 | |
| | ||||||
* | Unify interpreter reg saves/restores for WIN64 prolog/epilog req. | Mike Pall | 2009-12-15 | 1 | -795/+795 | |
| | ||||||
* | Add DynASM-built files to public repo. | Mike Pall | 2009-12-08 | 1 | -0/+1730 | |