aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add SPLIT pass to split 64 bit IR instructions for 32 bit CPUs.Mike Pall2011-02-0214-116/+795
| | | | | | | Add generic HIOP instruction for extra backend functionality. Add support for HIOP to x86 backend. Use POWI for 64 bit integer x^k, too. POWI is lowered to a call by SPLIT or the x64 backend.
* Add SSE3 CPU feature detection.Mike Pall2011-02-012-8/+10
|
* FFI: Limit index range for complex numbers.Mike Pall2011-01-292-3/+8
|
* FFI: Implement POSIX/x64 struct-by-value calling conventions.Mike Pall2011-01-292-9/+127
|
* Fix 64 bit case of (SUB x x) and (BXOR x x) FOLD rules.Mike Pall2011-01-281-2/+2
|
* FFI: Split up 64 bit x^k helper into signed/unsigned.Mike Pall2011-01-284-20/+34
|
* FFI: Fix various issues with C type table reallocations.Mike Pall2011-01-271-9/+13
|
* FFI: Fix symbol name redirection.Mike Pall2011-01-271-0/+1
|
* FFI: Move code for cdata arithmetic to lj_carith.c.Mike Pall2011-01-2611-260/+308
|
* FFI: Record cdata indexing with integer cdata.Mike Pall2011-01-261-0/+13
|
* FFI: Allow cdata indexing with integer cdata.Mike Pall2011-01-261-2/+12
|
* Fix comments for BC_ITERN.Mike Pall2011-01-262-2/+2
|
* FFI: Convert enum return value of C function to underlying type.Mike Pall2011-01-261-0/+1
|
* One more fix for the trace flush logic. Sigh.Mike Pall2011-01-261-1/+1
|
* FFI: Add symbol name redirection.Mike Pall2011-01-264-21/+58
| | | | | This works like the GCC extension, e.g.: FILE *fopen(const char *fn, const char *mode) __asm__("" "fopen64");
* ARM: Add ARM target architecture selection (disabled).Mike Pall2011-01-257-10/+70
|
* FFI: Don't force zero terminator on string to array conversion.Mike Pall2011-01-241-4/+2
|
* Clear bytecode penalty cache in jit.flush().Mike Pall2011-01-231-0/+2
|
* FFI: Fix ffi.load() error message on Windows.Mike Pall2011-01-231-1/+1
|
* FFI: Simplify initializer rules. Clarify docs.Mike Pall2011-01-236-33/+58
|
* Another fix for the trace flush logic. I'll get this right someday.Mike Pall2011-01-222-9/+12
| | | | Thanks to David Manura.
* FFI: Add preliminary FFI documentation (still incomplete).Mike Pall2011-01-2016-15/+1137
|
* PPC: Fix ipairs() for keys in the hash part.Mike Pall2011-01-202-2/+2
|
* Add compile-time option LUAJIT_ENABLE_CHECKHOOK. Disabled by default.Mike Pall2011-01-191-0/+21
| | | | This checks for asynchronously set hooks from compiled code.
* Combine i8/u8 XLOAD with BAND+comparison into test byte mrm, imm8.Mike Pall2011-01-191-0/+20
|
* Add volatile XLOADs.Mike Pall2011-01-193-3/+7
|
* Differentiate between IR_KPTR and IR_KKPTR.Mike Pall2011-01-196-23/+32
| | | | | | | IR_KPTR holds a const pointer to possibly non-const content. IR_KKPTR holds a const pointer to definitely const content. Note that only content known by the VM to be const qualifies. Content tagged as const by users (e.g. const char *) doesn't.
* Fix for the fix for the trace flush logic.Mike Pall2011-01-181-5/+5
|
* Cleanup and fix trace flush logic.Mike Pall2011-01-184-28/+29
|
* FFI: Record 64 bit integer comparisons and pointer comparisons.Mike Pall2011-01-174-28/+49
|
* FFI: Record conversions from bool ctype.Mike Pall2011-01-172-3/+8
|
* Add trace recorder infrastructure for instruction post-processing.Mike Pall2011-01-173-1/+32
|
* FFI: Don't swap operands for cdata __eq metamethod call.Mike Pall2011-01-171-7/+4
|
* FFI: Record conversions to bool ctype.Mike Pall2011-01-161-9/+53
|
* Fix assertion.Mike Pall2011-01-161-1/+4
|
* FFI: Allow indexing a struct constructor to get constants.Mike Pall2011-01-162-1/+26
| | | | Specialize to the CTypeID held by a constructor in all cases.
* FFI: Record conversions from strings to enums or pointers.Mike Pall2011-01-131-3/+22
|
* Add FOLD rule for CONV.num.u32 KINT.Mike Pall2011-01-131-0/+6
|
* Fix recording of select() with multi-char string as 1st argument.Mike Pall2011-01-131-1/+1
|
* FFI: Cleanup some type conversions.Mike Pall2011-01-132-33/+17
| | | | | Remove pointless conversions to booleans. Allow assigning functions to function pointers.
* FFI: Add 64 bit integer comparisons and pointer comparisons.Mike Pall2011-01-1311-3021/+3309
|
* FFI: Simplify logic for pointer arithmetic.Mike Pall2011-01-121-13/+5
|
* FFI: Rearrange code in lib_ffi.c.Mike Pall2011-01-121-48/+50
|
* FFI: Untangle and fix calling convention definitions.Mike Pall2011-01-122-92/+129
|
* Avoid compiler warnings.Mike Pall2011-01-121-1/+1
|
* FFI: Fix C calls with complex values on x64.Mike Pall2011-01-111-13/+20
|
* FFI: Lookup decorated name for fastcall/stdcall functions.Mike Pall2011-01-111-30/+63
|
* FFI: Auto-detect __stdcall and fix up C function declarations.Mike Pall2011-01-107-1244/+1281
|
* FFI: Add ffi.load() and ffi.C default namespace.Mike Pall2011-01-1011-15/+435
|
* FFI: Fix function pointer lookup for calls.Mike Pall2011-01-101-4/+5
|