Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve static assertion macro. | Mike Pall | 2011-02-07 | 2 | -1/+7 |
| | |||||
* | FFI: Allow cdata types for integer arguments of ffi.* functions. | Mike Pall | 2011-02-07 | 2 | -6/+23 |
| | |||||
* | FFI: Fix handling of enum arguments to C calls. | Mike Pall | 2011-02-07 | 1 | -2/+2 |
| | |||||
* | FFI: Perform stricter checks in ffi.cast(). Record ffi.cast(). | Mike Pall | 2011-02-06 | 1 | -7/+6 |
| | |||||
* | FFI: Simplify and fix tonumber() for cdata objects. | Mike Pall | 2011-02-06 | 2 | -38/+13 |
| | |||||
* | Strength-reduce 32 to 64 bit widening for XLOAD U8/U16 inputs. | Mike Pall | 2011-02-06 | 1 | -0/+3 |
| | |||||
* | FFI: Limit number of arguments for recorded calls. | Mike Pall | 2011-02-05 | 1 | -1/+1 |
| | |||||
* | FFI: Record simple C function calls. | Mike Pall | 2011-02-05 | 7 | -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 Pall | 2011-02-05 | 4 | -8/+23 |
| | |||||
* | Fix metamethod comparisons triggered by BC_ISEQP/BC_ISNEP. | Mike Pall | 2011-02-05 | 1 | -1/+1 |
| | |||||
* | FFI: Record C library namespace lookups. | Mike Pall | 2011-02-05 | 8 | -11/+53 |
| | |||||
* | Treat metatables of special userdata objects as immutable. | Mike Pall | 2011-02-05 | 1 | -12/+26 |
| | |||||
* | FFI: Record ffi.string(). | Mike Pall | 2011-02-05 | 4 | -7/+31 |
| | |||||
* | FFI: Avoid intermediate boxes for tonumber(), too. | Mike Pall | 2011-02-05 | 1 | -0/+6 |
| | |||||
* | FFI: Disable MUL => BSHL FOLD rule on 32 bit. | Mike Pall | 2011-02-03 | 1 | -0/+3 |
| | |||||
* | FFI: Rename IR_CNEWP to IR_CNEWI and use it to box 64 bit integers. | Mike Pall | 2011-02-03 | 5 | -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 Pall | 2011-02-02 | 5 | -15/+15 |
| | |||||
* | FFI: Add basic FOLD rules for 64 bit integer DIV, MOD and POWI. | Mike Pall | 2011-02-02 | 2 | -1/+54 |
| | |||||
* | FFI: Record 64 bit integer divide and modulo. | Mike Pall | 2011-02-02 | 6 | -34/+86 |
| | |||||
* | Use names defined in lualib.h for library registration. | Mike Pall | 2011-02-02 | 11 | -19/+17 |
| | |||||
* | Fix OSX build to work with newer ld64 versions. | Mike Pall | 2011-02-02 | 4 | -0/+4 |
| | |||||
* | Add SPLIT pass to split 64 bit IR instructions for 32 bit CPUs. | Mike Pall | 2011-02-02 | 14 | -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 Pall | 2011-02-01 | 2 | -8/+10 |
| | |||||
* | FFI: Limit index range for complex numbers. | Mike Pall | 2011-01-29 | 2 | -3/+8 |
| | |||||
* | FFI: Implement POSIX/x64 struct-by-value calling conventions. | Mike Pall | 2011-01-29 | 2 | -9/+127 |
| | |||||
* | Fix 64 bit case of (SUB x x) and (BXOR x x) FOLD rules. | Mike Pall | 2011-01-28 | 1 | -2/+2 |
| | |||||
* | FFI: Split up 64 bit x^k helper into signed/unsigned. | Mike Pall | 2011-01-28 | 4 | -20/+34 |
| | |||||
* | FFI: Fix various issues with C type table reallocations. | Mike Pall | 2011-01-27 | 1 | -9/+13 |
| | |||||
* | FFI: Fix symbol name redirection. | Mike Pall | 2011-01-27 | 1 | -0/+1 |
| | |||||
* | FFI: Move code for cdata arithmetic to lj_carith.c. | Mike Pall | 2011-01-26 | 11 | -260/+308 |
| | |||||
* | FFI: Record cdata indexing with integer cdata. | Mike Pall | 2011-01-26 | 1 | -0/+13 |
| | |||||
* | FFI: Allow cdata indexing with integer cdata. | Mike Pall | 2011-01-26 | 1 | -2/+12 |
| | |||||
* | Fix comments for BC_ITERN. | Mike Pall | 2011-01-26 | 2 | -2/+2 |
| | |||||
* | FFI: Convert enum return value of C function to underlying type. | Mike Pall | 2011-01-26 | 1 | -0/+1 |
| | |||||
* | One more fix for the trace flush logic. Sigh. | Mike Pall | 2011-01-26 | 1 | -1/+1 |
| | |||||
* | FFI: Add symbol name redirection. | Mike Pall | 2011-01-26 | 4 | -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 Pall | 2011-01-25 | 7 | -10/+70 |
| | |||||
* | FFI: Don't force zero terminator on string to array conversion. | Mike Pall | 2011-01-24 | 1 | -4/+2 |
| | |||||
* | Clear bytecode penalty cache in jit.flush(). | Mike Pall | 2011-01-23 | 1 | -0/+2 |
| | |||||
* | FFI: Fix ffi.load() error message on Windows. | Mike Pall | 2011-01-23 | 1 | -1/+1 |
| | |||||
* | FFI: Simplify initializer rules. Clarify docs. | Mike Pall | 2011-01-23 | 6 | -33/+58 |
| | |||||
* | Another fix for the trace flush logic. I'll get this right someday. | Mike Pall | 2011-01-22 | 2 | -9/+12 |
| | | | | Thanks to David Manura. | ||||
* | FFI: Add preliminary FFI documentation (still incomplete). | Mike Pall | 2011-01-20 | 16 | -15/+1137 |
| | |||||
* | PPC: Fix ipairs() for keys in the hash part. | Mike Pall | 2011-01-20 | 2 | -2/+2 |
| | |||||
* | Add compile-time option LUAJIT_ENABLE_CHECKHOOK. Disabled by default. | Mike Pall | 2011-01-19 | 1 | -0/+21 |
| | | | | This checks for asynchronously set hooks from compiled code. | ||||
* | Combine i8/u8 XLOAD with BAND+comparison into test byte mrm, imm8. | Mike Pall | 2011-01-19 | 1 | -0/+20 |
| | |||||
* | Add volatile XLOADs. | Mike Pall | 2011-01-19 | 3 | -3/+7 |
| | |||||
* | Differentiate between IR_KPTR and IR_KKPTR. | Mike Pall | 2011-01-19 | 6 | -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 Pall | 2011-01-18 | 1 | -5/+5 |
| | |||||
* | Cleanup and fix trace flush logic. | Mike Pall | 2011-01-18 | 4 | -28/+29 |
| |