Commit Graph

  • 408cd055a4 PPC: Add basic infrastructure for fast functions. Mike Pall 2010-09-30 02:54:33 +02:00
  • a47136031e PPC: Add frame unwind info for assembler part. Mike Pall 2010-09-28 17:50:33 +02:00
  • dc4fdecfb5 PPC: Don't use callee-save registers when folding '%' operator. Mike Pall 2010-09-28 14:59:33 +02:00
  • a500752787 Fix checks for minimum required compiler versions. Mike Pall 2010-09-28 14:20:49 +02:00
  • f635e3e5bb PPC: Add dispatch target for call hook. Mike Pall 2010-09-23 02:42:29 +02:00
  • 493d0aa259 PPC: Add dispatch targets for instruction and return hooks. Mike Pall 2010-09-23 02:38:39 +02:00
  • 6aedfa7919 PPC: Add lj_vm_resume(). Mike Pall 2010-09-23 02:35:51 +02:00
  • 5beedd6ef8 Workaround for missing fseeko/ftello prototypes on ancient glibc. Mike Pall 2010-09-23 01:30:53 +02:00
  • d351c2ae36 x86/x64: Fix stack overflow handling for coroutine results. Mike Pall 2010-09-22 22:59:41 +02:00
  • 5baf0f9dc2 Fix stack growth for coroutine.wrap(). Mike Pall 2010-09-22 21:16:16 +02:00
  • d270e890f1 PPC: Reschedule continuation dispatch. Mike Pall 2010-09-21 21:43:29 +02:00
  • aff6b3080f Whitespace. Mike Pall 2010-09-21 21:41:49 +02:00
  • 201eec484c PPC: Add fixed register for TOBIT bias. Mike Pall 2010-09-21 21:40:39 +02:00
  • 0c0047e50c PPC: Add missing register setup after unwind to ff pcall. Mike Pall 2010-09-21 21:36:37 +02:00
  • 7336305e7c PPC: Fix result copy for return to Lua. Mike Pall 2010-09-21 21:21:21 +02:00
  • 1c3b8c51c9 PPC: Fix constant folding of modulo operator. Mike Pall 2010-09-21 20:54:12 +02:00
  • bc146ddbe7 Consistently round int args of string functions on x64. Mike Pall 2010-09-21 18:04:59 +02:00
  • 4cd2299acd Improve AA for field accesses: disambiguate new allocations. Mike Pall 2010-09-21 15:21:26 +02:00
  • 3ae27ffebe Drop redundant (UGE any +0). Mike Pall 2010-09-21 02:44:18 +02:00
  • 38628d93b8 Improve FOLD/CSE of field loads and array/hash refs across NEWREF. Mike Pall 2010-09-21 02:28:14 +02:00
  • 23b5c56d41 Improve alias analysis: disambiguate new allocations. Mike Pall 2010-09-21 01:31:04 +02:00
  • 52b922c1e9 Avoid fusing potentially negative indexes into AREF on x64. Mike Pall 2010-09-18 18:34:38 +02:00
  • 9203d278d0 PPC: Add metamethod handlers and continuations for comparisons. Mike Pall 2010-09-17 16:07:01 +02:00
  • 9dc98280d2 PPC: Reschedule bytecode instruction fetch. Mike Pall 2010-09-17 16:01:02 +02:00
  • 66f0c43780 PPC: Add BC_CAT and lj_cont_cat. Mike Pall 2010-09-17 15:54:50 +02:00
  • 4f1d43d03e PPC: Fix ordered comparisons for NaN operands. Mike Pall 2010-09-16 02:09:19 +02:00
  • 028f80c599 PPC: Avoid comparison with NaN in BC_ISEQN/BC_ISNEN. Mike Pall 2010-09-16 02:06:20 +02:00
  • 3f32f4ac99 PPC: Add BC_TSETM. Mike Pall 2010-09-15 17:28:24 +02:00
  • 028a65a597 PPC: Add BC_VARG. Mike Pall 2010-09-15 17:27:17 +02:00
  • 44702720c5 Don't traverse inactive GCtrace objects. Mike Pall 2010-09-15 01:13:07 +02:00
  • 77267bc538 Show names of IR calls in disassembler output. Mike Pall 2010-09-15 00:51:43 +02:00
  • 8dc76ee327 Add IR_VLOAD for vararg loads. Mike Pall 2010-09-14 19:58:27 +02:00
  • 23655bd52e Improve alias analysis for vararg loads. Mike Pall 2010-09-14 16:48:52 +02:00
  • b69c02eb68 Avoid unnecessary vararg loads. Mike Pall 2010-09-14 16:48:25 +02:00
  • 5b740046f8 PPC: Fix line number in stack overflow error. Mike Pall 2010-09-14 03:13:44 +02:00
  • f8b7fb7d2b PPC: Fix write barrier in BC_TSETV. Mike Pall 2010-09-14 01:23:34 +02:00
  • 2bdf3fcd50 PPC: Fix KBASE restore in BC_CALLT. Mike Pall 2010-09-14 01:20:01 +02:00
  • fe159ea2fb PPC: Keep MULTRES in a register. Mike Pall 2010-09-14 00:46:06 +02:00
  • a36287b218 PPC: Add better diagnostics to DynASM for reg/imm mismatches. Mike Pall 2010-09-14 00:00:31 +02:00
  • 3d17f71968 x86/x64: Avoid unnecessary resize in BC_TSETM. Mike Pall 2010-09-13 22:30:23 +02:00
  • 8a87395d8d PPC: Add support for shifted MULTRES. Mike Pall 2010-09-13 21:50:08 +02:00
  • 0001916f8d PPC: Add metamethod handlers for indexing instructions. Mike Pall 2010-09-13 21:26:27 +02:00
  • 7a766c771d PPC: Add missing write barrier to BC_TSETV. Mike Pall 2010-09-13 21:21:39 +02:00
  • dcfc385bf3 PPC: Fix write barrier and linkage for BC_USETV/BC_USETS. Mike Pall 2010-09-13 21:19:33 +02:00
  • cd6a45760a PPC: Teach DynASM to reject r0 for some operands. Mike Pall 2010-09-13 21:11:51 +02:00
  • 32bfececc5 Release all memory when using the builtin allocator. Mike Pall 2010-09-13 19:48:31 +02:00
  • c88169dc46 Record y = select(x, ...) idiom. Mike Pall 2010-09-13 01:23:19 +02:00
  • 4ba0eb5f80 Record select(). Mike Pall 2010-09-13 01:21:44 +02:00
  • 847b9cf253 Record vararg expressions with varargs defined off-trace. Mike Pall 2010-09-13 01:17:38 +02:00
  • e32f7d96c1 Fix tailcalls from vararg functions. Mike Pall 2010-09-13 00:55:05 +02:00
  • 52f75e9a5c Fix off-by-one errors in maxslot calculation of trace recorder. Mike Pall 2010-09-12 03:14:17 +02:00
  • 4da03965c0 Record vararg expressions with known fixed number of results. Mike Pall 2010-09-12 02:39:06 +02:00
  • c2c08ba9b3 Record calls to vararg functions. Mike Pall 2010-09-12 01:37:02 +02:00
  • b72ae54dc0 Fix broken MSVC build. Mike Pall 2010-09-12 01:33:32 +02:00
  • 90f22760af PPC: Add argument coercion for BC_FORI. Mike Pall 2010-09-11 01:53:59 +02:00
  • c330af2452 PPC: Add continuation dispatch and RA/nop continuations. Mike Pall 2010-09-11 01:52:26 +02:00
  • cabcce1e1d PPC: Add metamethod handlers for arithmetic instructions. Mike Pall 2010-09-11 01:47:49 +02:00
  • e15e4c4d95 PPC: Add metamethod handlers for call instructions. Mike Pall 2010-09-11 01:46:11 +02:00
  • daafc0b2a2 Reduce minimum Lua frame size to 1. Mike Pall 2010-09-10 11:43:31 +02:00
  • 6fd315581c Optimize BC_VARG: use RC for numparams. Mike Pall 2010-09-10 11:34:29 +02:00
  • 96957a4551 Turn some lua_State fields into 32 bit pointers. Mike Pall 2010-09-09 12:28:17 +02:00
  • fd63b05253 Use biased integer constant for TSETM array index. Mike Pall 2010-09-09 12:01:29 +02:00
  • 8a1af8cf89 PPC: Use unsigned compares for pointer comparisons. Mike Pall 2010-09-09 01:14:17 +02:00
  • 9fd10963b9 PPC: Add upvalue get/set instructions. Mike Pall 2010-09-09 01:08:07 +02:00
  • ec8f2918ba PPC: Add closure-related instructions. Mike Pall 2010-09-09 01:06:55 +02:00
  • b2aa08c75c PPC: Add helper function for folding arithmetic ops. Mike Pall 2010-09-08 00:14:36 +02:00
  • 932193baa6 PPC: Add modulo instructions. Mike Pall 2010-09-08 00:12:23 +02:00
  • e9e7df5bfe PPC: Add heavily optimized floor/ceil/trunc functions. Mike Pall 2010-09-08 00:09:36 +02:00
  • db735e0519 PPC: Add binary arithmetic instructions (except MOD). Mike Pall 2010-09-07 01:24:25 +02:00
  • 15834c3990 PPC: Add unary instructions. Mike Pall 2010-09-07 01:15:21 +02:00
  • 341820987b PPC: Add table constructors. Mike Pall 2010-09-06 15:20:58 +02:00
  • 711e55bdf8 PPC: Add tailcall instructions. Mike Pall 2010-09-04 12:58:36 +02:00
  • 684acbe930 PPC: Add call and iterator call instructions. Mike Pall 2010-09-03 21:02:55 +02:00
  • b4c8b05ad5 PPC: Add table indexing with variable keys or uint8_t. Mike Pall 2010-09-03 19:35:44 +02:00
  • 5043efae7d PPC: Add table indexing with string keys. Add get/set global. Mike Pall 2010-09-03 19:31:07 +02:00
  • f708d31bcc Explicitly indicate tailcall from fast function fallback. Mike Pall 2010-09-02 17:16:56 +02:00
  • 44fb3ebc64 PPC: Add unary test and copy instructions. Mike Pall 2010-09-01 20:29:29 +02:00
  • 7457ee869a PPC: Add comparison instructions. Mike Pall 2010-09-01 20:27:39 +02:00
  • 222e01fa83 PPC: Add loop instructions. Mike Pall 2010-09-01 20:24:08 +02:00
  • 7ccdc8045b PPC: Unwind the stack after an error is thrown. Mike Pall 2010-09-01 00:27:48 +02:00
  • d67eb4de49 PPC: Handle stack growth on return to C. Mike Pall 2010-09-01 00:25:35 +02:00
  • d71bd78b8f PPC: Add move and constant instructions. Mike Pall 2010-09-01 00:19:27 +02:00
  • 8876704e05 Improve coalescing of multiple KPRI instructions to KNIL. Mike Pall 2010-09-01 00:18:00 +02:00
  • 00d10711ae PPC: Add return instructions. Mike Pall 2010-08-31 23:55:18 +02:00
  • fc1866fb6f PPC: Handle stack growth during function calls. Mike Pall 2010-08-31 23:52:45 +02:00
  • 233dc76078 PPC: Add support to call Lua functions. Mike Pall 2010-08-31 23:47:55 +02:00
  • 96c1d8a8ad PPC: Clean up JIT/non-JIT symbol declarations in assembler part. Mike Pall 2010-08-31 00:49:29 +02:00
  • f4d4af1b6d PPC: Add support to call C functions and to return back to C. Mike Pall 2010-08-31 00:29:38 +02:00
  • 690b1f3e4b PPC: Add entry and exit points into VM. Add type check macros. Mike Pall 2010-08-31 00:17:22 +02:00
  • 4ef6564f2e PPC: Add instruction/call decode + dispatch macros. Mike Pall 2010-08-31 00:05:10 +02:00
  • c7f91f8cd1 PPC: Add register assignments and type definitions. Mike Pall 2010-08-31 00:04:32 +02:00
  • e1efd0d871 Minor tweaks to integration of assembler part. Mike Pall 2010-08-29 20:04:40 +02:00
  • 7313a0821d PPC: Add missing PowerPC subtract mnemonics. Mike Pall 2010-08-29 12:58:22 +02:00
  • 844e40d700 PPC: Clean up masked shift/rotate target settings. Mike Pall 2010-08-29 12:52:20 +02:00
  • 9c16a9f705 PPC: Amend DynASM PowerPC conditional branch instructions. Mike Pall 2010-08-28 20:05:57 +02:00
  • 9cb5046c3f PPC: Add stack frame layout for PPCSPE target. Mike Pall 2010-08-27 18:32:24 +02:00
  • b3bd9b55e0 Improve target architecture detection in src/Makefile. Mike Pall 2010-08-27 18:17:29 +02:00
  • a8d23e84e6 PPC: Add build rules and preprocessed skeleton for PPCSPE target. Mike Pall 2010-08-27 17:20:16 +02:00
  • 96b60d5ef3 PPC: Add skeleton for PowerPC interpreter. Mike Pall 2010-08-27 16:52:45 +02:00
  • 877ff1e28e Always enable check mode for DynASM (only used at build-time). Mike Pall 2010-08-27 13:19:35 +02:00