aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve static assertion macro.Mike Pall2011-02-072-1/+7
|
* FFI: Allow cdata types for integer arguments of ffi.* functions.Mike Pall2011-02-072-6/+23
|
* FFI: Fix handling of enum arguments to C calls.Mike Pall2011-02-071-2/+2
|
* FFI: Perform stricter checks in ffi.cast(). Record ffi.cast().Mike Pall2011-02-061-7/+6
|
* FFI: Simplify and fix tonumber() for cdata objects.Mike Pall2011-02-062-38/+13
|
* Strength-reduce 32 to 64 bit widening for XLOAD U8/U16 inputs.Mike Pall2011-02-061-0/+3
|
* FFI: Limit number of arguments for recorded calls.Mike Pall2011-02-051-1/+1
|
* FFI: Record simple C function calls.Mike Pall2011-02-057-35/+177
| | | | | | Only handles cdecl and fixarg C functions. Doesn't handle pass-by-value aggregates. Doesn't handle 64 bit args/returns on 32 bit CPUs.
* FFI: Optimize snapshots for cdata comparisons.Mike Pall2011-02-054-8/+23
|
* Fix metamethod comparisons triggered by BC_ISEQP/BC_ISNEP.Mike Pall2011-02-051-1/+1
|
* FFI: Record C library namespace lookups.Mike Pall2011-02-058-11/+53
|
* Treat metatables of special userdata objects as immutable.Mike Pall2011-02-051-12/+26
|
* FFI: Record ffi.string().Mike Pall2011-02-054-7/+31
|
* FFI: Avoid intermediate boxes for tonumber(), too.Mike Pall2011-02-051-0/+6
|
* FFI: Disable MUL => BSHL FOLD rule on 32 bit.Mike Pall2011-02-031-0/+3
|
* FFI: Rename IR_CNEWP to IR_CNEWI and use it to box 64 bit integers.Mike Pall2011-02-035-82/+140
| | | | | Generates smaller IR and DCE eliminates many intermediate boxes. Needs allocation sinking to eliminate the boxes kept alive by PHIs.
* Rename IR_POWI to IR_POW.Mike Pall2011-02-025-15/+15
|
* FFI: Add basic FOLD rules for 64 bit integer DIV, MOD and POWI.Mike Pall2011-02-022-1/+54
|
* FFI: Record 64 bit integer divide and modulo.Mike Pall2011-02-026-34/+86
|
* Use names defined in lualib.h for library registration.Mike Pall2011-02-0211-19/+17
|
* Fix OSX build to work with newer ld64 versions.Mike Pall2011-02-024-0/+4
|
* 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
|