Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix assertion. | Mike Pall | 2012-10-11 | 1 | -1/+1 |
| | |||||
* | Add LJ_TARGET_UNALIGNED. | Mike Pall | 2012-10-09 | 1 | -1/+1 |
| | |||||
* | Add FOLD rules for CONV.int.i8/u8/i16/u16 of KINT. | Mike Pall | 2012-10-09 | 1 | -0/+14 |
| | |||||
* | FFI: ctypeid of ctype object is immutable. | Mike Pall | 2012-09-27 | 1 | -0/+1 |
| | |||||
* | Replace strtod() with builtin string to number conversion. | Mike Pall | 2012-08-25 | 1 | -1/+2 |
| | |||||
* | Minor fixes to FOLD rules. | Mike Pall | 2012-08-20 | 1 | -8/+20 |
| | |||||
* | Fix last commit. | Mike Pall | 2012-08-15 | 1 | -3/+3 |
| | |||||
* | FOLD x / 2^k ==> x * 2^-k. | Mike Pall | 2012-08-15 | 1 | -0/+9 |
| | |||||
* | Don't treat all constified cdata content as constant. | Mike Pall | 2012-07-24 | 1 | -1/+13 |
| | |||||
* | FFI: Box all accessed or returned enums. | Mike Pall | 2012-07-17 | 1 | -0/+2 |
| | |||||
* | Fix FOLD rule (i-j)-i => 0-j. | Mike Pall | 2012-07-17 | 1 | -1/+1 |
| | | | | Thanks to Thomas Schilling. | ||||
* | Workaround for MSVC conversion bug (double -> uint32_t -> int32_t). | Mike Pall | 2012-07-17 | 1 | -0/+7 |
| | |||||
* | Avoid pesky compiler warnings about C++ keywords (eh?). | Mike Pall | 2012-07-03 | 1 | -5/+5 |
| | |||||
* | Add HREFK forwarding. Eliminate HREFK guard for TDUP refs. | Mike Pall | 2012-06-28 | 1 | -0/+3 |
| | |||||
* | FFI: Use CNEWI/FLOAD to box/access ffi.new("int", x) (for varargs). | Mike Pall | 2012-06-04 | 1 | -1/+3 |
| | |||||
* | Bump copyright date to 2012. | Mike Pall | 2012-01-23 | 1 | -1/+1 |
| | |||||
* | Add more FOLD rules for shift + BAND simplifications. | Mike Pall | 2011-10-25 | 1 | -0/+30 |
| | |||||
* | Add missing FOLD rule for CONV.u64.int + sign-extension. | Mike Pall | 2011-10-22 | 1 | -0/+1 |
| | |||||
* | Fix FOLD rule for CONV.flt.num(CONV.num.flt(x)) => x. | Mike Pall | 2011-10-19 | 1 | -2/+2 |
| | |||||
* | Add missing FOLD rule for integer NEG of constants. | Mike Pall | 2011-10-17 | 1 | -0/+2 |
| | |||||
* | Remove unneeded PHI barrier for reassociation of duplicate ops. | Mike Pall | 2011-10-10 | 1 | -1/+0 |
| | |||||
* | Add narrowing of modulo operator. | Mike Pall | 2011-06-03 | 1 | -1/+23 |
| | |||||
* | ARM: Don't generate unaligned XLOADs. | Mike Pall | 2011-06-02 | 1 | -3/+12 |
| | |||||
* | ARM: Fix math.ldexp() recording and folding. | Mike Pall | 2011-05-27 | 1 | -0/+15 |
| | |||||
* | ARM: Unify rotates to simplify assembler backend. | Mike Pall | 2011-05-23 | 1 | -0/+2 |
| | |||||
* | Use common helper functions for unaligned loads. | Mike Pall | 2011-05-09 | 1 | -6/+3 |
| | |||||
* | Use lj_vm_tobit() on targets without FPU. | Mike Pall | 2011-04-10 | 1 | -3/+1 |
| | |||||
* | Add FOLD rule for FLOAT->NUM->FLOAT conversions. | Mike Pall | 2011-04-05 | 1 | -0/+9 |
| | |||||
* | DUALNUM: Narrow unary minus. | Mike Pall | 2011-03-15 | 1 | -1/+13 |
| | |||||
* | DUALNUM: Add integer variant of MIN/MAX. | Mike Pall | 2011-03-11 | 1 | -2/+16 |
| | |||||
* | Get rid of the remaining silly cast macros from Lua. | Mike Pall | 2011-03-10 | 1 | -6/+6 |
| | |||||
* | DUALNUM: Handle integer type in JIT compiler. | Mike Pall | 2011-03-10 | 1 | -1/+4 |
| | |||||
* | FFI: Fix and optimize recording of cdata[cdata]. | Mike Pall | 2011-03-10 | 1 | -0/+30 |
| | |||||
* | DUALNUM: Make overflow guards weak. Add IR_USE and IR_MULOV. | Mike Pall | 2011-03-07 | 1 | -0/+29 |
| | |||||
* | FFI: Fix compiled ffi.string() semantics. | Mike Pall | 2011-02-28 | 1 | -2/+4 |
| | |||||
* | Add IR_XBAR, a barrier against XLOAD/XSTORE optimizations. | Mike Pall | 2011-02-07 | 1 | -0/+1 |
| | |||||
* | Strength-reduce 32 to 64 bit widening for XLOAD U8/U16 inputs. | Mike Pall | 2011-02-06 | 1 | -0/+3 |
| | |||||
* | FFI: Record simple C function calls. | Mike Pall | 2011-02-05 | 1 | -0/+1 |
| | | | | | | 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: Record C library namespace lookups. | Mike Pall | 2011-02-05 | 1 | -3/+9 |
| | |||||
* | 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 | 1 | -7/+18 |
| | | | | | 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 | 1 | -8/+8 |
| | |||||
* | FFI: Add basic FOLD rules for 64 bit integer DIV, MOD and POWI. | Mike Pall | 2011-02-02 | 1 | -0/+53 |
| | |||||
* | Add SPLIT pass to split 64 bit IR instructions for 32 bit CPUs. | Mike Pall | 2011-02-02 | 1 | -17/+8 |
| | | | | | | | 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. | ||||
* | Fix 64 bit case of (SUB x x) and (BXOR x x) FOLD rules. | Mike Pall | 2011-01-28 | 1 | -2/+2 |
| | |||||
* | Differentiate between IR_KPTR and IR_KKPTR. | Mike Pall | 2011-01-19 | 1 | -9/+12 |
| | | | | | | | 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. | ||||
* | Add FOLD rule for CONV.num.u32 KINT. | Mike Pall | 2011-01-13 | 1 | -0/+6 |
| | |||||
* | Bump copyright date to 2011. | Mike Pall | 2011-01-09 | 1 | -1/+1 |
| | |||||
* | FFI: Add support for cdata constants to IR. | Mike Pall | 2011-01-02 | 1 | -13/+52 |
| | |||||
* | Refactoring of conversion ops, part 5: drop TOINT/TOI64/TONUM. | Mike Pall | 2010-12-31 | 1 | -126/+0 |
| |