Commit Graph

  • 826fb377ec PPC: Add support for GDB JIT API. Mike Pall 2011-10-24 16:20:04 +02:00
  • 3591609dad PPC: Add Linux/PPC cache flush mechanism. Mike Pall 2011-10-24 16:18:02 +02:00
  • 8fc9bc1724 Make sure to flush/sync the D/I-cache for all generated code. Mike Pall 2011-10-24 16:16:14 +02:00
  • 32098921fd Fix handling of alignment arguments (nil) to CALLX. Mike Pall 2011-10-24 16:14:01 +02:00
  • cb1dd159e3 PPC: Add support for per-trace exit stubs. Mike Pall 2011-10-24 16:13:12 +02:00
  • a0d7827554 Generalize handling of stack checks indicated by highest exit + 1. Mike Pall 2011-10-24 16:02:37 +02:00
  • 84683405fb Don't save/restore tmptv with copyTV. Mike Pall 2011-10-24 15:58:54 +02:00
  • 86a5cc427d Fix compiler warning. Mike Pall 2011-10-24 15:58:24 +02:00
  • 7aa2c994b5 Whitespace. Mike Pall 2011-10-22 02:04:11 +02:00
  • aa502203a6 Add missing FOLD rule for CONV.u64.int + sign-extension. Mike Pall 2011-10-22 02:03:07 +02:00
  • fee957b22d FFI: Cleanup/fix 64 bit arithmetic in assembler backend. Mike Pall 2011-10-22 02:02:51 +02:00
  • 2e5c0870bc x64: Fix math.random() code generation. Mike Pall 2011-10-22 02:01:44 +02:00
  • c01aaad890 Fix register hints for arithmetic helper functions. Mike Pall 2011-10-22 02:00:15 +02:00
  • c805a49d30 Separate/rename NUM/FLOAT <-> I64/U64 conversion functions. Mike Pall 2011-10-22 01:59:10 +02:00
  • ff7f7a7180 Cleanup various endianess issues in assembler backend. Mike Pall 2011-10-22 01:35:57 +02:00
  • e80478c44b Rearrange defines for workarounds to embedded operating systems. Mike Pall 2011-10-19 18:14:46 +02:00
  • 00591a2539 Fix PE/COFF bytecode file format for big-endian targets. Mike Pall 2011-10-19 01:56:44 +02:00
  • a39aac0445 Fix FOLD rule for CONV.flt.num(CONV.num.flt(x)) => x. Mike Pall 2011-10-19 01:52:50 +02:00
  • 45df079c01 FFI/x86: Fix CONV.u32.num rounding. Mike Pall 2011-10-19 00:18:36 +02:00
  • 2fcd562582 Don't fuse colocated array offsets without -Ofuse. Mike Pall 2011-10-19 00:17:19 +02:00
  • f50075a9d7 Fixup PC in tracebacks after exits from down-recursive traces. Mike Pall 2011-10-17 20:06:04 +02:00
  • e5f310eefa PPC: Distinguish slwi, srwi and rlwinm in disassembly. Mike Pall 2011-10-17 17:22:21 +02:00
  • 270de2d6cc Add missing FOLD rule for integer NEG of constants. Mike Pall 2011-10-17 17:21:09 +02:00
  • c5164b1a7d FFI/ARM: Ensure invocation of SPLIT pass for float conversions. Mike Pall 2011-10-14 01:09:30 +02:00
  • 4c9318792f Save tmptv state for trace recorder across RECORD vmevent. Mike Pall 2011-10-14 00:43:17 +02:00
  • 882537a874 FFI: Fix unfused loads of float fields. Mike Pall 2011-10-13 20:53:01 +02:00
  • bc95d54ec9 FFI: Fix call argument and return handling for I8/U8/I16/U16 types. Mike Pall 2011-10-13 20:44:31 +02:00
  • 120c3adbff FFI: Record loads/stores to external variables in namespaces. Mike Pall 2011-10-11 20:56:57 +02:00
  • 4a144625c9 FFI: Fix recording of const/enum lookups in namespaces. Mike Pall 2011-10-11 11:51:48 +02:00
  • f34ac81e3a Remove unneeded PHI barrier for reassociation of duplicate ops. Mike Pall 2011-10-10 20:35:42 +02:00
  • 76a2a7c857 Avoid overwriting argument with error from metacall recording. Mike Pall 2011-09-28 17:29:15 +02:00
  • 3c998f6c3c Fix (harmless) typo. Mike Pall 2011-09-21 08:22:07 +02:00
  • da9c74f163 ARM: Fix HREFK code generation. Mike Pall 2011-09-21 08:21:25 +02:00
  • c5e75e7893 Generate a portable vmdef.lua. Mike Pall 2011-09-20 21:15:05 +02:00
  • 5fedf72ca6 PPC/e500: Fix GC barrier for TSETM. Mike Pall 2011-09-17 21:59:35 +02:00
  • 1a899ff671 PPC: Fix GC barrier for TSETM. Mike Pall 2011-09-14 16:02:43 +02:00
  • 6d854c04fe ARM: Fix GC barrier for TSETM. Mike Pall 2011-09-14 15:52:21 +02:00
  • c3116b4f1d Fix typo. Mike Pall 2011-09-14 15:29:30 +02:00
  • 1c5fbd4c1d ARM: Disable CPU detection for interpreter-only builds. Mike Pall 2011-09-08 15:34:53 +02:00
  • c56ae9f6ef Increase max. number of exit stub groups to correspond with -Omaxsnap. Mike Pall 2011-09-05 23:12:58 +02:00
  • 1b949dc60a Use some register allocator helpers for multiple architectures. Mike Pall 2011-09-05 20:23:20 +02:00
  • ae3317b186 PPC: Interpreter/JIT integration. Mike Pall 2011-09-05 18:34:38 +02:00
  • bab2f0efae PPC: Fix or remove assembler helper functions. Mike Pall 2011-09-05 18:32:53 +02:00
  • 690ff909f5 PPC: More interpreter tuning. Use y-bit for branch predictions. Mike Pall 2011-09-05 18:30:36 +02:00
  • d9fe562ccc PPC: Export register names from disassembler. Mike Pall 2011-09-05 18:28:03 +02:00
  • a5b5f4112a PPC: Disassemble y-bit instead of at-bits for conditional branches. Mike Pall 2011-09-05 18:27:05 +02:00
  • e2b89de92d PPC: Add y-bit variants of conditional branches to DynASM. Mike Pall 2011-09-05 18:26:08 +02:00
  • 25a0e663db Always use ANSI variants of Windows system functions. Mike Pall 2011-09-02 11:42:01 +02:00
  • 3e904ae274 Mark installed shared library as executable. Mike Pall 2011-08-31 11:56:40 +02:00
  • 32c1d4751a Avoid conversion narrowing of arithmetic with large constants. Mike Pall 2011-08-26 20:29:05 +02:00
  • 6627744752 FFI/x64: Fix struct-by-value calling conventions. Mike Pall 2011-08-25 11:10:39 +02:00
  • 78cc9c889d Record missing FORI slot loads (e.g. after return to lower frame). Mike Pall 2011-08-21 15:08:27 +02:00
  • ec1b70ae35 PPC: Add PPC disassembler. Mike Pall 2011-08-18 19:41:27 +02:00
  • 607bd88f57 Add potential PHI for number conversions due to type instability, too. Mike Pall 2011-08-17 20:42:41 +02:00
  • a9dd47b7fc Extend -b to generate c/h/obj/o files with embedded bytecode. Mike Pall 2011-08-17 00:13:39 +02:00
  • aad7ea3c02 Load embedded bytecode with require(). Mike Pall 2011-08-17 00:10:12 +02:00
  • b500b50edc Clarify name of MIT license. Mike Pall 2011-08-14 21:11:58 +02:00
  • 4a42933b17 Replace some _Unwind_* types. Fixes build issues on OSX 10.7. Mike Pall 2011-08-14 11:35:53 +02:00
  • 10ffd05ba9 x64: Fix result type of cdata index conversions. Mike Pall 2011-08-11 22:05:35 +02:00
  • 05ef03e2d0 Don't bother to chain NOPs. Mike Pall 2011-08-11 22:04:38 +02:00
  • e8fa76feac PPCSPE: Save/restore cr2, cr3 and cr4 when entering/leaving VM. Mike Pall 2011-08-10 22:09:14 +02:00
  • d84207b8b6 PPC: Save/restore cr2, cr3 and cr4 when entering/leaving VM. Mike Pall 2011-08-10 21:54:03 +02:00
  • 5385809d30 PPC: Add mtcrf instruction to DynASM. Mike Pall 2011-08-10 21:50:11 +02:00
  • 28b98acd75 PPC: Tune and reschedule interpreter for PPC/e300. Mike Pall 2011-08-10 20:28:14 +02:00
  • f333dfd17d Fix compiler warning. Mike Pall 2011-08-10 15:24:43 +02:00
  • 4c50e36cee Fix stack check when L->top is above L->maxstack. Mike Pall 2011-08-09 15:56:07 +02:00
  • bed0f18466 Remove temporary mcode limit error from application stack. Mike Pall 2011-08-09 00:45:26 +02:00
  • d9b518874d FFI: Limit snapshot optimization for cdata comparisons. Mike Pall 2011-08-07 21:53:43 +02:00
  • 4008b351f4 PPC: Add machine-specific part of FFI. Mike Pall 2011-08-01 18:59:16 +02:00
  • 26106759d4 PPC: Fix floor/ceil for dual-number mode. Mike Pall 2011-07-25 10:06:06 +02:00
  • 551f09cebd PPC: Add dual-number mode interpreter. Enable by default. Mike Pall 2011-07-25 00:18:20 +02:00
  • ee2bb5efed Use different workaround for alignment of jit_State. Mike Pall 2011-07-23 17:53:09 +02:00
  • d001d7b7ce FFI: Treat function ctypes like pointers in comparisons. Mike Pall 2011-07-23 16:29:47 +02:00
  • b261d0ec04 From Lua 5.2: Change \* to \z. Reject undefined escape sequences. Mike Pall 2011-07-19 20:58:10 +02:00
  • 9c58bd6689 PPC: Update install docs. Mike Pall 2011-07-13 22:06:44 +02:00
  • ca8dadb328 PPC: Add dual-number mode interpreter. Mike Pall 2011-07-13 21:36:17 +02:00
  • 6599bc7db2 PPCSPE: Fix dispatch for binop metamethods. Mike Pall 2011-07-13 21:32:28 +02:00
  • 9687472454 Cleanup single-number vs. dual-number mode selection. Mike Pall 2011-07-13 21:24:00 +02:00
  • eb92daad0a ARM: Don't evict ASMREF_L in ra_evictk(). Mike Pall 2011-07-12 15:59:07 +02:00
  • fe6ded9018 Fix doc link. Mike Pall 2011-07-07 08:55:44 +02:00
  • 29ac908f74 FFI: Fix comment parsing. Mike Pall 2011-07-06 23:04:33 +02:00
  • ee4cffb7e6 ARM: Install dis_arm.lua. Mike Pall 2011-07-04 17:36:04 +02:00
  • 89201f2e66 Fix install_name and versioning on OSX. Mike Pall 2011-07-03 17:58:26 +02:00
  • 0239a56d37 PPC: Add build rules for PPC interpreter (non-functional, yet). Mike Pall 2011-07-03 15:15:11 +02:00
  • 161f1a5eb0 PPC: Separate PPC vs. PPCSPE interpreter source files. Mike Pall 2011-07-03 15:01:50 +02:00
  • 8addfefb33 PPC: Untangle PPC vs. PPCSPE target defines. Mike Pall 2011-07-02 00:45:38 +02:00
  • fe1f9137a9 PPC: Fix range check for scaled immediates in DynASM. Mike Pall 2011-07-02 00:43:19 +02:00
  • 8ccf89718c Add debug option to msvcbuild.bat and improve error handling. Mike Pall 2011-06-29 19:26:31 +02:00
  • 0af502f438 Don't use thread-safe exceptions on OSX. Complain to Apple, not me. Mike Pall 2011-06-29 11:25:29 +02:00
  • 64dbe7d929 Return to lower frame via interpreter for unhandled cases. Mike Pall 2011-06-29 01:53:39 +02:00
  • 82eca898db Prefer recording loops over calls. Mike Pall 2011-06-29 01:51:39 +02:00
  • deeb8196c4 Reorganize trace linking and track link types. Mike Pall 2011-06-28 23:23:34 +02:00
  • 3dbae4ffc2 Clean up temporary bytecode patching. Mike Pall 2011-06-28 23:19:36 +02:00
  • 999d95253a Fix forced unwinding triggered by external unwinder. Mike Pall 2011-06-27 21:09:01 +02:00
  • 2dd52500ab Use thread-safe exceptions for external unwinding on x64/GCC. Mike Pall 2011-06-27 20:14:28 +02:00
  • db22ce2ba8 Fix iOS build. Mike Pall 2011-06-27 01:33:50 +02:00
  • 113f8e9ac2 Fix data-flow analysis for BC_ITERL. Mike Pall 2011-06-27 01:11:11 +02:00
  • e613cb7695 FFI: Clarify docs wrt. string initializers for byte arrays. Mike Pall 2011-06-24 20:47:56 +02:00
  • 29e89adfa7 RELEASE LuaJIT-2.0.0-beta8 (fixed) Mike Pall 2011-06-23 19:40:21 +02:00
  • f50c962e94 Fix documentation for -b command line option. Mike Pall 2011-06-23 19:09:56 +02:00