Commit Graph

  • d778680098 FFI: Record cdata index operations (preliminary, lots of NYI cases). Mike Pall 2010-12-08 02:11:18 +01:00
  • 2a917a9d83 FFI: Treat cdata metatable+methods as immutable in trace recorder. Mike Pall 2010-12-08 02:02:21 +01:00
  • d4d95ee2da Fix x64 code generation for A16+REX prefixed instructions. Mike Pall 2010-12-08 01:57:50 +01:00
  • e6093b129a Fix register allocation for 8 bit stores in x86 backend. Mike Pall 2010-12-07 01:18:10 +01:00
  • b3c4c0810a Add IRT_NUM support to XLOAD/XSTORE. Mike Pall 2010-12-06 19:28:51 +01:00
  • 159f51d811 Add IR_TOI64. Mike Pall 2010-12-06 16:18:18 +01:00
  • f6c4e8d3d7 Add FOLD rule to turn i << 1 into i + i. Mike Pall 2010-12-06 13:26:58 +01:00
  • a5bdae8f23 Fix 64 bit shifts in backend. Fix shift by 0. Mike Pall 2010-12-06 13:16:35 +01:00
  • 5270586a80 Fix XLOAD/XSTORE references. Mike Pall 2010-12-06 13:15:53 +01:00
  • 86fd2289f0 Add support for integer IR_MUL. Mike Pall 2010-12-06 12:54:00 +01:00
  • b56b83487f Support all kinds of XLOAD/XSTORE references in backend. Mike Pall 2010-12-06 03:09:52 +01:00
  • a850b27da9 Avoid compiler warnings. Mike Pall 2010-12-06 03:07:10 +01:00
  • e137408752 Use native IRT_PTR instead of IRT_LIGHTUD workaround for FILE*. Mike Pall 2010-12-06 02:14:39 +01:00
  • 73bc83cda1 Simplify lj_ir_kvalue(). Fix IR_KNULL + IRT_P64 case. Mike Pall 2010-12-06 02:12:08 +01:00
  • 4755765e32 Avoid warning. Mike Pall 2010-12-06 01:59:07 +01:00
  • db3d16bfd7 Add IR_XSTORE. Mike Pall 2010-12-06 01:48:19 +01:00
  • 281f426d60 Add minimal set of fold rules for KINT64. Mike Pall 2010-12-06 00:38:21 +01:00
  • 588fa0481f Add support for 64 bit integer arithmetic to x64 backend. Mike Pall 2010-12-06 00:07:36 +01:00
  • c5f4f607c9 Fix xmm spill/restore broken by b1fb71fb. Mike Pall 2010-12-05 22:39:36 +01:00
  • 5a13fa69d9 Add IR_KINT64. Mike Pall 2010-12-05 21:50:52 +01:00
  • b1fb71fb98 Cleanup 64 bit IR type handling. Mike Pall 2010-12-05 19:49:29 +01:00
  • 6a7605ec85 Rename IRT_PTR to IRT_P32. Mike Pall 2010-12-05 18:59:34 +01:00
  • 26830d070d Make sure to use irt_toitype() macro everywhere. Mike Pall 2010-12-05 18:51:37 +01:00
  • e7f8cc964e Split off fast function recording to lj_ffrecord.c. Mike Pall 2010-12-05 17:12:34 +01:00
  • 559545eb6d Whitespace. Mike Pall 2010-12-05 01:14:18 +01:00
  • ffa5a2b045 Don't export internal symbol. Mike Pall 2010-12-05 01:04:15 +01:00
  • 7cb250c4b4 FFI: Add ffi.* library. Mike Pall 2010-12-05 00:43:47 +01:00
  • 513b0ba18f FFI: Add support for converting cdata to tonumber(). Mike Pall 2010-12-05 00:40:23 +01:00
  • 233076d3f9 FFI: Add C declaration parser. Mike Pall 2010-12-05 00:20:59 +01:00
  • 526e087e63 FFI: Add C data handling and C type conversions. Mike Pall 2010-12-05 00:18:07 +01:00
  • 05973ee440 FFI: Add C type management. Mike Pall 2010-12-05 00:11:35 +01:00
  • 8679ca5792 POSIX is an acronym. Mike Pall 2010-12-04 20:47:51 +01:00
  • 100a00dd40 Undo ef8c2648. Mike Pall 2010-12-03 16:58:19 +01:00
  • d98cd19bb0 Allow access to raw error messages from outside lj_err.c. Mike Pall 2010-12-01 12:54:32 +01:00
  • 0ffd06aba8 FFI: Add define to disable the FFI library. Mike Pall 2010-11-30 21:56:57 +01:00
  • 4ed8a1931b Add support for deferred library loads to lib_init.c. Mike Pall 2010-11-30 21:56:03 +01:00
  • 443c542e26 Fix check for enabled JIT compiler in lj_trace.h. Mike Pall 2010-11-30 18:32:22 +01:00
  • cd1901370d Rearrange src/Makefile. Split features and debugging support. Mike Pall 2010-11-30 16:19:20 +01:00
  • b3ef6040fa Update copyright for Lua 5.2-derived features. Mike Pall 2010-11-29 17:31:45 +01:00
  • 592cf3ffac Don't mark REF_BASE in DCE. Mike Pall 2010-11-29 16:00:44 +01:00
  • 2033d6310b Add shorter defines for endianess checks. Mike Pall 2010-11-28 17:22:45 +01:00
  • 24186e05e6 Remove metamethod frame for errors from internal metamethods. Mike Pall 2010-11-27 20:23:39 +01:00
  • 35890f66c1 FFI: Don't propagate cdata objects. Mike Pall 2010-11-26 17:27:02 +01:00
  • ef8c264873 FFI: Add macros for consistent number to integer truncation. Mike Pall 2010-11-26 13:40:40 +01:00
  • 2fd1292955 FFI: Add cdata object type. Mike Pall 2010-11-26 13:28:46 +01:00
  • 6290d6f5d0 Display caller location in errors from metamethods. Mike Pall 2010-11-26 13:20:56 +01:00
  • 7840d0b2b0 Shrink slots for 'break' statement to help data-flow analysis. Mike Pall 2010-11-25 12:09:21 +01:00
  • 18fbf86c9e Improve unrolling heuristics for non-looping inner loops. Mike Pall 2010-11-25 11:38:48 +01:00
  • 7338456796 Support os.exit(status|true|false [,close]) (from Lua 5.2). Mike Pall 2010-11-22 22:39:06 +01:00
  • 367ff0cdaa Parse '\*' escape in strings (from Lua 5.2). Mike Pall 2010-11-22 22:22:12 +01:00
  • b776bf91ff Tighter check on table.sort function compliance (from Lua 5.2). Mike Pall 2010-11-19 18:44:59 +01:00
  • 52fd87bf34 Add support for "%g" character class in patterns (from Lua 5.2). Mike Pall 2010-11-19 18:37:10 +01:00
  • 7cc981c140 string.format("%q", str) is now fully reversible (from Lua 5.2). Mike Pall 2010-11-19 18:22:08 +01:00
  • 29b8959df1 Parse hexadecimal escapes in strings (from Lua 5.2). Mike Pall 2010-11-19 17:39:33 +01:00
  • 57cd5026eb Disable Lua 5.2 features by default. See -DLUAJIT_ENABLE_LUA52COMPAT. Mike Pall 2010-11-19 17:00:11 +01:00
  • ba602c9578 Add support for __pairs and __ipairs metamethods (from Lua 5.2). Mike Pall 2010-11-18 00:23:24 +01:00
  • 3754a8fe7a Allow running C functions with coroutine.create(), too. Mike Pall 2010-11-17 20:07:55 +01:00
  • 751ff5b392 Add jit.os string. Mike Pall 2010-11-16 15:05:21 +01:00
  • 24baf77955 Cleanup architecture, ABI and OS definitions. Mike Pall 2010-11-16 14:06:59 +01:00
  • 1de05d1147 Avoid using negative hex numbers with DynASM. Mike Pall 2010-11-16 13:41:58 +01:00
  • b45e3246ce Split up extension/API docs into sub-pages. Mike Pall 2010-11-09 18:11:35 +01:00
  • ad29c1f39f Rename character type handling from lj_ctype* to lj_char*. Mike Pall 2010-11-09 12:09:54 +01:00
  • fe21a42a92 Fix conflict between loop branch inversion and HREF+NE/EQ merging. Mike Pall 2010-11-05 23:12:43 +01:00
  • 188f0b04e1 Number parser shouldn't accept '0x' without hex digits. Mike Pall 2010-11-02 16:01:26 +01:00
  • 44372a4453 Fix parsing of hex floats. Mike Pall 2010-11-01 17:53:04 +01:00
  • 7e5cb31e0b Fix anchors in API docs. Mike Pall 2010-11-01 17:49:31 +01:00
  • ab1b67f73a Fix collectgarbage("count") result if more than 2GB is in use. Mike Pall 2010-10-25 14:53:37 +02:00
  • 08b0ede194 Reduce 32GB RLIMIT_DATA on FreeBSD/x64 to allocate low-2GB memory. Mike Pall 2010-10-23 16:31:27 +02:00
  • 02dc9d1082 Avoid compiler warning. Mike Pall 2010-10-23 15:28:28 +02:00
  • 65dec38e44 PPC: Preserve RD during array resizing in BC_TSETM. Mike Pall 2010-10-18 16:12:27 +02:00
  • 5391a5f5b1 Fix recording of y = select(n, ...) for non-int indexes. Mike Pall 2010-10-11 21:52:22 +02:00
  • b3cf2c70f4 Decouple SLOAD type and optional conversion. Mike Pall 2010-10-11 21:13:37 +02:00
  • cc62edebfd x64: Fix type check for numbers in compiled code. Mike Pall 2010-10-11 18:03:25 +02:00
  • 5140b40b44 x64: Optimize internal/external tag conversion in lua_type(). Mike Pall 2010-10-11 17:26:07 +02:00
  • 5dcf630c54 Reorganize compatibility table in install docs. Mike Pall 2010-10-11 16:26:48 +02:00
  • 89fdee9cab Fix external link in docs. Mike Pall 2010-10-11 15:29:12 +02:00
  • a3eeee5b3e PPC: Update DynASM-generated file. Mike Pall 2010-10-07 02:24:57 +02:00
  • a7caa4894c PPC: Use ZERO register instead of extra load immediate. Mike Pall 2010-10-07 02:21:54 +02:00
  • 9d201c972a PPC: Add coroutine.resume/wrap_aux/yield() fast functions. Mike Pall 2010-10-07 02:16:44 +02:00
  • 9f14e03d6e PPC: Add string.sub() fast function. Mike Pall 2010-10-06 16:18:24 +02:00
  • b4f3d4525e PPC: Add string.rep/reverse/lower/upper() fast functions. Mike Pall 2010-10-06 16:17:07 +02:00
  • 82b2f6156a PPC: Add string.len/byte/char() fast functions. Mike Pall 2010-10-06 16:11:02 +02:00
  • 443d28bc9a PPC: Fix math.deg/rad() fast functions. Mike Pall 2010-10-05 19:39:07 +02:00
  • 8f5efb2c43 PPC: Use own implementation for math.floor/ceil() fast functions. Mike Pall 2010-10-05 19:37:56 +02:00
  • 793fb4a9ad PPC: Add math.ldexp/frexp/modf() fast functions. Mike Pall 2010-10-05 19:36:02 +02:00
  • 52b67fd3ea PPC: Add math.abs/deg/rad/min/max() fast functions. Mike Pall 2010-10-05 19:35:04 +02:00
  • 3418512862 PPC: Remove pointless optimization in BC_UNM. Mike Pall 2010-10-05 19:27:33 +02:00
  • 14cd10e322 PPC: Add table.getn() fast function. Mike Pall 2010-10-05 01:47:39 +02:00
  • 2f5f6290e7 PPC: Add tonumber() and tostring() fast functions. Mike Pall 2010-10-05 01:43:22 +02:00
  • 08ac8b0c96 PPC: Add getmetatable(), setmetatable() and rawget() fast functions. Mike Pall 2010-10-05 01:41:51 +02:00
  • 8b096c5d08 PPC: Add assert() and type() fast functions. Mike Pall 2010-10-05 01:39:48 +02:00
  • ddae887878 Update docs for PPC port. Clarify and extend install instructions. Mike Pall 2010-10-05 01:36:54 +02:00
  • e396bef7d8 PPC: Add pcall() and xpcall() fast functions. Mike Pall 2010-10-01 23:47:29 +02:00
  • 05099f0764 PPC: Add ipairs() fast function and its iterator. Mike Pall 2010-10-01 23:45:56 +02:00
  • 61d498be87 PPC: Add next() and pairs() fast functions. Mike Pall 2010-10-01 23:43:39 +02:00
  • dcf006bfa2 PPC: Add BC_ITERN and BC_ISNEXT. Mike Pall 2010-10-01 01:44:02 +02:00
  • ac76493df1 Specialize bytecode for pairs()/next() iterator. Speedup: 3.5x. Mike Pall 2010-09-30 21:55:32 +02:00
  • fce05fd6e1 x64: Use 64 bit slot copies in the interpreter. Mike Pall 2010-09-30 17:47:32 +02:00
  • c0a8f5fb32 PPC: Add dispatch to fast function fallback handlers. Mike Pall 2010-09-30 02:58:29 +02:00
  • 4afff973a4 PPC: Add bit.* fast functions. Mike Pall 2010-09-30 02:56:54 +02:00