Commit Graph

  • 1c9981ae4c x86/x64: Fix code generation for fused IR_MUL/IR_MULOV. Mike Pall 2011-03-10 01:09:18 +01:00
  • a127eaf8d2 FFI: Fix x86 code generation for ffi.string(). Mike Pall 2011-03-10 00:57:02 +01:00
  • 30cc4d3bba Fix handling of err_loc() within cpcall frames. Mike Pall 2011-03-09 22:39:17 +01:00
  • 0125ee8211 DUALNUM: Add extra assertions to interpreter. Mike Pall 2011-03-09 22:38:53 +01:00
  • 449cee405c Fix code generation for bit.bnot(). Mike Pall 2011-03-07 22:11:01 +01:00
  • 54978e481b DUALNUM: Make overflow guards weak. Add IR_USE and IR_MULOV. Mike Pall 2011-03-07 20:21:38 +01:00
  • a30f58b54b DUALNUM: Fix x87 code for BC_ISEQN/BC_ISNEN. Mike Pall 2011-03-07 20:12:39 +01:00
  • 8eb09fe820 Suppress recording of retried fast functions. Mike Pall 2011-03-07 20:03:38 +01:00
  • f29a9d4341 Fix narrowing of POW. Mike Pall 2011-03-03 17:29:09 +01:00
  • 1cb58fb7bb Fix code generation for Intel Atom in x64 mode. Mike Pall 2011-03-03 00:49:45 +01:00
  • 6c43767c23 FFI: Resolve ld script redirection in ffi.load(). Mike Pall 2011-03-01 12:31:16 +01:00
  • e1aa8d0d97 FFI: Fix compiled ffi.string() semantics. Mike Pall 2011-02-28 19:46:55 +01:00
  • 83a37aeca7 FFI: Add ffi.gc() function for finalization of cdata objects. Mike Pall 2011-02-28 16:48:13 +01:00
  • cead25f928 DUALNUM: Handle integer type in x86/x64 interpreter and libraries. Mike Pall 2011-02-27 01:36:59 +01:00
  • c031d4b6a0 DUALNUM: Handle integer type in FFI. Mike Pall 2011-02-27 01:31:22 +01:00
  • d437086c5a x64: Improve accuracy of x^-k. Mike Pall 2011-02-25 11:46:29 +01:00
  • b90d80d80a Fix table.maxn(). Mike Pall 2011-02-23 14:52:50 +01:00
  • a720db409d FFI: Record calls to functions with void results. Mike Pall 2011-02-23 00:28:49 +01:00
  • 4c97cc7730 Eliminate dead slots in snapshots using bytecode data-flow analysis. Mike Pall 2011-02-22 22:39:12 +01:00
  • 8d0b073ff0 From Lua 5.2: Support load(string). Mike Pall 2011-02-20 21:17:49 +01:00
  • 2bae11a49a From Lua 5.2: fp:read("*L"). Mike Pall 2011-02-20 21:07:19 +01:00
  • c823e26b8b From Lua 5.2: table.unpack(). Needs -DLUAJIT_ENABLE_LUA52COMPAT. Mike Pall 2011-02-20 20:53:09 +01:00
  • baef199ece From Lua 5.2: Add package.searchpath(). Mike Pall 2011-02-20 20:48:13 +01:00
  • f83d58d6fb From Lua 5.2: Empty statement. Needs -DLUAJIT_ENABLE_LUA52COMPAT. Mike Pall 2011-02-20 20:38:36 +01:00
  • d82022a656 From Lua 5.2: coroutine.running(). Needs -DLUAJIT_ENABLE_LUA52COMPAT. Mike Pall 2011-02-20 20:33:00 +01:00
  • 34bcf6378b FFI: Fix recording of userdata conversions. Mike Pall 2011-02-20 02:13:32 +01:00
  • cf88c43dd6 FFI: Fix 64 bit to 32 bit truncations on x64. Mike Pall 2011-02-20 00:18:46 +01:00
  • 32eaa48c79 FFI: Fix recording of ffi.copy() and ffi.fill(). Mike Pall 2011-02-19 23:04:16 +01:00
  • bd29d16141 FFI: Improve conversion error messages. Mike Pall 2011-02-19 12:56:12 +01:00
  • 3e2a7a2d7f FFI: Fix docs about C bool -> Lua boolean conversion. Mike Pall 2011-02-18 20:35:44 +01:00
  • 03946ac978 DUALNUM: Add integer type to core VM. Mike Pall 2011-02-17 00:44:14 +01:00
  • 963f05c7e1 DUALNUM: Add build infrastructure. Mike Pall 2011-02-17 00:42:57 +01:00
  • 54b6054087 FFI: Fix management of C library handles for default namespace. Mike Pall 2011-02-16 23:52:18 +01:00
  • 5fe7282d4c Fix error handling within metamethods. Special-case FFI mm. Mike Pall 2011-02-16 00:38:23 +01:00
  • 4dca589af0 Add workaround for lj_meta_tset() newkey inconsistency. Mike Pall 2011-02-15 01:02:08 +01:00
  • 4117a61620 PPC: Disable FFI due to NYI: comparisons and calls. Mike Pall 2011-02-14 23:25:18 +01:00
  • 19b84009b2 Fix type mismatch in XSTORE forwarding. Mike Pall 2011-02-14 23:02:16 +01:00
  • 97d84111fd RELEASE LuaJIT-2.0.0-beta6 Mike Pall 2011-02-11 16:28:37 +01:00
  • 7c61073a30 FFI: Disable unused code for some build modes. Mike Pall 2011-02-11 16:22:58 +01:00
  • a8114d5017 Update changelog. Mike Pall 2011-02-11 15:52:31 +01:00
  • 1f0006ac71 Cleanup of docs. Mike Pall 2011-02-11 13:50:01 +01:00
  • a5aade2fa9 FFI: Finish FFI docs. Mike Pall 2011-02-11 01:21:46 +01:00
  • a2f9f1f831 FFI: Finish docs on FFI semantics. Phew. Mike Pall 2011-02-10 03:12:09 +01:00
  • a7ab6b2dc9 Fix various HTML errors in the docs. Mike Pall 2011-02-10 03:10:38 +01:00
  • 24c314e8fc FFI: Add more docs on FFI semantics. Mike Pall 2011-02-09 01:26:02 +01:00
  • 2388a7fcc0 FFI: Document current FFI implementation status. Mike Pall 2011-02-08 01:20:53 +01:00
  • 9c81c81ed5 Fix bytecode optimization of and/or operators. Mike Pall 2011-02-08 01:00:47 +01:00
  • c39ca7c35b FFI: Record ffi.abi(). Mike Pall 2011-02-08 00:09:33 +01:00
  • 7a37b93f1b FFI: Record ffi.copy() and ffi.fill(). Mike Pall 2011-02-07 23:49:27 +01:00
  • fb53d4aeb7 FFI: Fix recording of pointer arithmetic. Mike Pall 2011-02-07 23:42:51 +01:00
  • 97d0874ff5 Add IR_XBAR, a barrier against XLOAD/XSTORE optimizations. Mike Pall 2011-02-07 21:59:25 +01:00
  • 0a50356b6f Improve static assertion macro. Mike Pall 2011-02-07 21:44:01 +01:00
  • 51e8fe9cf0 FFI: Allow cdata types for integer arguments of ffi.* functions. Mike Pall 2011-02-07 17:13:14 +01:00
  • 8da287cab8 FFI: Fix handling of enum arguments to C calls. Mike Pall 2011-02-07 16:41:51 +01:00
  • ceece4d13e FFI: Perform stricter checks in ffi.cast(). Record ffi.cast(). Mike Pall 2011-02-06 12:46:18 +01:00
  • bf58160b7a FFI: Simplify and fix tonumber() for cdata objects. Mike Pall 2011-02-06 12:23:58 +01:00
  • 4c74f70464 Strength-reduce 32 to 64 bit widening for XLOAD U8/U16 inputs. Mike Pall 2011-02-06 00:45:39 +01:00
  • 26bb0fe24b FFI: Limit number of arguments for recorded calls. Mike Pall 2011-02-05 23:01:10 +01:00
  • 26fadcd25b FFI: Record simple C function calls. Mike Pall 2011-02-05 21:50:15 +01:00
  • bf05209e14 FFI: Optimize snapshots for cdata comparisons. Mike Pall 2011-02-05 18:54:08 +01:00
  • da3f256a52 Fix metamethod comparisons triggered by BC_ISEQP/BC_ISNEP. Mike Pall 2011-02-05 16:32:08 +01:00
  • 14f5103764 FFI: Record C library namespace lookups. Mike Pall 2011-02-05 14:16:16 +01:00
  • 223d85aa06 Treat metatables of special userdata objects as immutable. Mike Pall 2011-02-05 14:09:50 +01:00
  • c29ed4dbbf FFI: Record ffi.string(). Mike Pall 2011-02-05 01:05:56 +01:00
  • 618b451648 FFI: Avoid intermediate boxes for tonumber(), too. Mike Pall 2011-02-05 01:04:41 +01:00
  • 1abf5d4d26 FFI: Disable MUL => BSHL FOLD rule on 32 bit. Mike Pall 2011-02-03 20:10:13 +01:00
  • df65b8b419 FFI: Rename IR_CNEWP to IR_CNEWI and use it to box 64 bit integers. Mike Pall 2011-02-03 04:13:51 +01:00
  • 1027018b21 Rename IR_POWI to IR_POW. Mike Pall 2011-02-02 21:33:11 +01:00
  • 433fd18f6d FFI: Add basic FOLD rules for 64 bit integer DIV, MOD and POWI. Mike Pall 2011-02-02 21:25:43 +01:00
  • a1e0f991d8 FFI: Record 64 bit integer divide and modulo. Mike Pall 2011-02-02 20:53:10 +01:00
  • 2c8945d3e7 Use names defined in lualib.h for library registration. Mike Pall 2011-02-02 02:38:59 +01:00
  • 1505d6ffde Fix OSX build to work with newer ld64 versions. Mike Pall 2011-02-02 02:31:59 +01:00
  • b613216efc Add SPLIT pass to split 64 bit IR instructions for 32 bit CPUs. Mike Pall 2011-02-02 02:29:37 +01:00
  • c539c0cac8 Add SSE3 CPU feature detection. Mike Pall 2011-02-01 19:28:03 +01:00
  • 992bc2caa3 FFI: Limit index range for complex numbers. Mike Pall 2011-01-29 19:47:37 +01:00
  • 6fd721ce72 FFI: Implement POSIX/x64 struct-by-value calling conventions. Mike Pall 2011-01-29 13:04:16 +01:00
  • 6fee0002b9 Fix 64 bit case of (SUB x x) and (BXOR x x) FOLD rules. Mike Pall 2011-01-28 02:17:35 +01:00
  • 07d8a53b39 FFI: Split up 64 bit x^k helper into signed/unsigned. Mike Pall 2011-01-28 02:15:30 +01:00
  • cd9b8f90e2 FFI: Fix various issues with C type table reallocations. Mike Pall 2011-01-27 16:28:24 +01:00
  • 279b6ec22e FFI: Fix symbol name redirection. Mike Pall 2011-01-27 16:07:02 +01:00
  • 3184f17169 FFI: Move code for cdata arithmetic to lj_carith.c. Mike Pall 2011-01-26 21:46:02 +01:00
  • 2526498c71 FFI: Record cdata indexing with integer cdata. Mike Pall 2011-01-26 21:14:58 +01:00
  • de0781d610 FFI: Allow cdata indexing with integer cdata. Mike Pall 2011-01-26 21:12:54 +01:00
  • 0622ad9adc Fix comments for BC_ITERN. Mike Pall 2011-01-26 19:55:55 +01:00
  • 30db71e2e2 FFI: Convert enum return value of C function to underlying type. Mike Pall 2011-01-26 14:18:12 +01:00
  • a285415b01 One more fix for the trace flush logic. Sigh. Mike Pall 2011-01-26 02:34:30 +01:00
  • 1b75ec22c8 FFI: Add symbol name redirection. Mike Pall 2011-01-26 02:31:19 +01:00
  • ed6c895ae5 ARM: Add ARM target architecture selection (disabled). Mike Pall 2011-01-25 18:50:24 +01:00
  • 705f593ffc FFI: Don't force zero terminator on string to array conversion. Mike Pall 2011-01-24 15:51:33 +01:00
  • 96ef87bdfd Clear bytecode penalty cache in jit.flush(). Mike Pall 2011-01-23 19:06:19 +01:00
  • ef3b209127 FFI: Fix ffi.load() error message on Windows. Mike Pall 2011-01-23 14:28:01 +01:00
  • 72b3fff72f FFI: Simplify initializer rules. Clarify docs. Mike Pall 2011-01-23 14:23:21 +01:00
  • f529d22869 Another fix for the trace flush logic. I'll get this right someday. Mike Pall 2011-01-22 20:32:23 +01:00
  • e985aeda84 FFI: Add preliminary FFI documentation (still incomplete). Mike Pall 2011-01-20 22:14:17 +01:00
  • 8396c3cdbc PPC: Fix ipairs() for keys in the hash part. Mike Pall 2011-01-20 12:25:56 +01:00
  • 6bce6b118e Add compile-time option LUAJIT_ENABLE_CHECKHOOK. Disabled by default. Mike Pall 2011-01-19 02:05:37 +01:00
  • d20e53c322 Combine i8/u8 XLOAD with BAND+comparison into test byte mrm, imm8. Mike Pall 2011-01-19 02:05:26 +01:00
  • 8407ac0eca Add volatile XLOADs. Mike Pall 2011-01-19 02:05:12 +01:00
  • 925050fe3f Differentiate between IR_KPTR and IR_KKPTR. Mike Pall 2011-01-19 00:40:03 +01:00
  • 685dfc3172 Fix for the fix for the trace flush logic. Mike Pall 2011-01-18 22:17:27 +01:00