Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Force error if lua_newstate() is used in 64 bit mode. | Mike Pall | 2010-01-24 | 3 | -0/+21 |
| | |||||
* | Integrate MinGW build with DWARF2 exception handling. | Mike Pall | 2010-01-22 | 7 | -31/+216 |
| | | | | | | | | 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. | ||||
* | Fix undefined behavior in table resizing calculation. | Mike Pall | 2010-01-21 | 1 | -1/+2 |
| | |||||
* | Fix ordered string comparisons. Unsigned arithmetic is evil. | Mike Pall | 2010-01-21 | 1 | -1/+1 |
| | |||||
* | Update docs about exception handling. | Mike Pall | 2010-01-20 | 1 | -5/+5 |
| | |||||
* | Decouple guard vs. INT check vs. TYPECHECK semantics for SLOAD. | Mike Pall | 2010-01-19 | 4 | -8/+16 |
| | |||||
* | Fix broken intarith + testop optimization. | Mike Pall | 2010-01-19 | 1 | -1/+1 |
| | |||||
* | Add some sanity checks for allocator in 64 bit mode. | Mike Pall | 2010-01-18 | 4 | -1/+8 |
| | |||||
* | Reduce non-numeric tag range by bumping up 64 bit lightud tag. | Mike Pall | 2010-01-18 | 1 | -6/+6 |
| | |||||
* | Update docs with x64 build instructions. | Mike Pall | 2010-01-17 | 3 | -10/+62 |
| | |||||
* | Fix more 64 bit conversion warnings. | Mike Pall | 2010-01-17 | 1 | -2/+2 |
| | |||||
* | Silence 64 bit conversion warning. | Mike Pall | 2010-01-17 | 1 | -1/+1 |
| | |||||
* | Enable build for x64 interpreter on WIN64. | Mike Pall | 2010-01-17 | 1 | -2/+11 |
| | | | | | | To build the x64 interpreter open a "Windows SDK Command Shell". Then set the compiler environment: setenv /release /x64 Then cd to the src directory and run msvcbuild.bat. | ||||
* | Allocate 32 bit memory on WIN64 using NtAllocateVirtualMemory. | Mike Pall | 2010-01-17 | 1 | -7/+48 |
| | |||||
* | Fix off-by-one error in x64 PE object symbol mangling. | Mike Pall | 2010-01-17 | 1 | -1/+1 |
| | |||||
* | Error for blacklisted loop bytecodes has no info argument. | Mike Pall | 2010-01-16 | 1 | -1/+1 |
| | |||||
* | Add build infrastructure for x64 interpreter. | Mike Pall | 2010-01-14 | 5 | -6/+4658 |
| | | | | | 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). | ||||
* | Shorten %p format for pure 32 bit pointers on x64. | Mike Pall | 2010-01-14 | 1 | -3/+7 |
| | |||||
* | Strip '@' suffix from external symbols for MACH-O, too. | Mike Pall | 2010-01-10 | 1 | -17/+16 |
| | | | | Fixes OSX build. | ||||
* | Improve alias analysis of upvalues using a disambiguation hash value. | Mike Pall | 2010-01-09 | 7 | -13/+32 |
| | | | | | | | | All upvalue objects hold a disambiguation hash value now. It's built from the parent prototype and the slot number. Different hash values imply the upvalues cannot alias. Same hash values don't imply anything (collision or different closures). Upvalue disambiguation makes use of a reduced hash due to IR contraints. | ||||
* | Avoid int16_t widening for pt->uv elements. | Mike Pall | 2010-01-09 | 4 | -8/+13 |
| | |||||
* | Fix 32/64 bit portability issue with upval->v. | Mike Pall | 2010-01-09 | 7 | -22/+21 |
| | |||||
* | Fix x64 PE object emitter. | Mike Pall | 2010-01-09 | 1 | -1/+1 |
| | |||||
* | Bump all copyright dates to 2010. | Mike Pall | 2010-01-09 | 109 | -122/+122 |
| | |||||
* | Add support for WIN64 exception handling to external unwinder. | Mike Pall | 2010-01-05 | 5 | -44/+177 |
| | | | | | | 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 | 4 | -6/+20 |
| | |||||
* | Allow @ in DynASM globals. | Mike Pall | 2010-01-05 | 1 | -2/+2 |
| | |||||
* | Major rewrite of error handling to allow external/internal unwinding. | Mike Pall | 2010-01-02 | 6 | -967/+1107 |
| | | | | | | | | | | | 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. | ||||
* | Rename NRESULTS to MULTRES on the assembler side, too. | Mike Pall | 2009-12-30 | 1 | -33/+33 |
| | |||||
* | Implement yield from C hooks. | Mike Pall | 2009-12-30 | 9 | -932/+950 |
| | | | | | | 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. | ||||
* | Fix narrowing casts of pointer differences for x64. | Mike Pall | 2009-12-29 | 3 | -4/+4 |
| | |||||
* | Minor fixes for x64 interpreter. | Mike Pall | 2009-12-29 | 1 | -4/+12 |
| | |||||
* | Fix PE object build on x64 and with disabled interpreter. | Mike Pall | 2009-12-29 | 1 | -2/+5 |
| | |||||
* | Add DWARF2 unwind info for x64 interpreter. | Mike Pall | 2009-12-29 | 2 | -46/+130 |
| | |||||
* | Fix alloc/free sizes of internal GCRef arrays. | Mike Pall | 2009-12-29 | 5 | -5/+5 |
| | |||||
* | Fix various 32/64 bit issues in interpreter. | Mike Pall | 2009-12-29 | 1 | -10/+21 |
| | |||||
* | Fix bad stack setup in collectgarbage(). | Mike Pall | 2009-12-29 | 1 | -3/+4 |
| | |||||
* | Fix x64 lj_vm_pow_sse(). | Mike Pall | 2009-12-29 | 1 | -2/+2 |
| | |||||
* | Save all callee-saved x64 integer regs for unwinding. | Mike Pall | 2009-12-29 | 3 | -22/+30 |
| | | | | | Temporary measure. Does not cover xmm saves on WIN64. May have to use unwind info or waste another 160 bytes per CFRAME. | ||||
* | Logical 'not' must be sign-extended for address operands. | Mike Pall | 2009-12-29 | 6 | -27/+35 |
| | |||||
* | Define CFRAME structure for x64 interpreter. | Mike Pall | 2009-12-28 | 3 | -14/+35 |
| | |||||
* | Linux/x64 mremap() does not obey MAP_32BIT, so make it non-moving. | Mike Pall | 2009-12-28 | 1 | -2/+9 |
| | |||||
* | Fix size calculation for closure structs. | Mike Pall | 2009-12-28 | 1 | -2/+2 |
| | |||||
* | Fix POSIX/x64 call argument order. | Mike Pall | 2009-12-28 | 1 | -4/+4 |
| | |||||
* | Change callee-save regs for x64 interpreter to shorten code. | Mike Pall | 2009-12-28 | 2 | -2/+9 |
| | |||||
* | Fix DynASM x64 encoding for qword-only instructions. | Mike Pall | 2009-12-28 | 1 | -9/+10 |
| | |||||
* | Final calling convention cleanup for x64 interpreter. | Mike Pall | 2009-12-28 | 2 | -443/+468 |
| | |||||
* | More calling convention cleanups for x64 interpreter. | Mike Pall | 2009-12-27 | 2 | -203/+284 |
| | |||||
* | Ignore lea operand size in DynASM x86/x64. | Mike Pall | 2009-12-27 | 1 | -1/+1 |
| | |||||
* | Use fastcall for remaining 1-arg/2-arg calls from interpreter. | Mike Pall | 2009-12-27 | 15 | -1304/+1248 |
| | | | | Simplifies conversion to x64 calling conventions. |