]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
14 years agox64: Fix lightuserdata comparisons.
Mike Pall [Fri, 4 Nov 2011 13:48:44 +0000 (14:48 +0100)] 
x64: Fix lightuserdata comparisons.

14 years agoSpelling.
Mike Pall [Fri, 4 Nov 2011 13:07:19 +0000 (14:07 +0100)] 
Spelling.

14 years agoPPC: Install dis_ppc.lua.
Mike Pall [Thu, 27 Oct 2011 17:47:47 +0000 (19:47 +0200)] 
PPC: Install dis_ppc.lua.

14 years agoFFI: Compile calls to stdcall, fastcall and vararg functions.
Mike Pall [Wed, 26 Oct 2011 23:52:37 +0000 (01:52 +0200)] 
FFI: Compile calls to stdcall, fastcall and vararg functions.

14 years agoPPC: Fuse BAND with shift to rlwinm.
Mike Pall [Tue, 25 Oct 2011 19:29:58 +0000 (21:29 +0200)] 
PPC: Fuse BAND with shift to rlwinm.

14 years agoAdd more FOLD rules for shift + BAND simplifications.
Mike Pall [Tue, 25 Oct 2011 19:16:27 +0000 (21:16 +0200)] 
Add more FOLD rules for shift + BAND simplifications.

14 years agox64: Fix code generation for BSWAP.
Mike Pall [Tue, 25 Oct 2011 19:14:01 +0000 (21:14 +0200)] 
x64: Fix code generation for BSWAP.

14 years agoPPC: Fuse BSWAP with XLOAD/XSTORE to lwbrx/stwbrx.
Mike Pall [Tue, 25 Oct 2011 17:50:44 +0000 (19:50 +0200)] 
PPC: Fuse BSWAP with XLOAD/XSTORE to lwbrx/stwbrx.

14 years agoPPC/e500: Fix write barrier in USETS.
Mike Pall [Tue, 25 Oct 2011 10:41:38 +0000 (12:41 +0200)] 
PPC/e500: Fix write barrier in USETS.

14 years agoPPC: Fix externally provided relocation offsets in DynASM.
Mike Pall [Mon, 24 Oct 2011 23:18:59 +0000 (01:18 +0200)] 
PPC: Fix externally provided relocation offsets in DynASM.

14 years agoPPC: Fix write barrier in USETV/USETS.
Mike Pall [Mon, 24 Oct 2011 22:29:10 +0000 (00:29 +0200)] 
PPC: Fix write barrier in USETV/USETS.

14 years agoPPC: Integrate and enable JIT compiler.
Mike Pall [Mon, 24 Oct 2011 14:43:51 +0000 (16:43 +0200)] 
PPC: Integrate and enable JIT compiler.

14 years agoAllow selection of single-number vs. dual-number mode in Makefile.
Mike Pall [Mon, 24 Oct 2011 14:35:17 +0000 (16:35 +0200)] 
Allow selection of single-number vs. dual-number mode in Makefile.

14 years agoPPC: Fix/improve interpreter/JIT integration.
Mike Pall [Mon, 24 Oct 2011 14:23:01 +0000 (16:23 +0200)] 
PPC: Fix/improve interpreter/JIT integration.

Switch to per-trace exit stubs.
Drop register holding current trace number.

14 years agoPPC: Generalize rematerialization handling.
Mike Pall [Mon, 24 Oct 2011 14:21:11 +0000 (16:21 +0200)] 
PPC: Generalize rematerialization handling.

14 years agoPPC: Add support for GDB JIT API.
Mike Pall [Mon, 24 Oct 2011 14:20:04 +0000 (16:20 +0200)] 
PPC: Add support for GDB JIT API.

14 years agoPPC: Add Linux/PPC cache flush mechanism.
Mike Pall [Mon, 24 Oct 2011 14:18:02 +0000 (16:18 +0200)] 
PPC: Add Linux/PPC cache flush mechanism.

GCC's __clear_cache() does nothing on PPC. Duh.

14 years agoMake sure to flush/sync the D/I-cache for all generated code.
Mike Pall [Mon, 24 Oct 2011 14:16:14 +0000 (16:16 +0200)] 
Make sure to flush/sync the D/I-cache for all generated code.

14 years agoFix handling of alignment arguments (nil) to CALLX.
Mike Pall [Mon, 24 Oct 2011 14:14:01 +0000 (16:14 +0200)] 
Fix handling of alignment arguments (nil) to CALLX.

14 years agoPPC: Add support for per-trace exit stubs.
Mike Pall [Mon, 24 Oct 2011 14:13:12 +0000 (16:13 +0200)] 
PPC: Add support for per-trace exit stubs.

14 years agoGeneralize handling of stack checks indicated by highest exit + 1.
Mike Pall [Mon, 24 Oct 2011 14:02:37 +0000 (16:02 +0200)] 
Generalize handling of stack checks indicated by highest exit + 1.

14 years agoDon't save/restore tmptv with copyTV.
Mike Pall [Mon, 24 Oct 2011 13:58:54 +0000 (15:58 +0200)] 
Don't save/restore tmptv with copyTV.

14 years agoFix compiler warning.
Mike Pall [Mon, 24 Oct 2011 13:58:24 +0000 (15:58 +0200)] 
Fix compiler warning.

14 years agoWhitespace.
Mike Pall [Sat, 22 Oct 2011 00:04:11 +0000 (02:04 +0200)] 
Whitespace.

14 years agoAdd missing FOLD rule for CONV.u64.int + sign-extension.
Mike Pall [Sat, 22 Oct 2011 00:03:07 +0000 (02:03 +0200)] 
Add missing FOLD rule for CONV.u64.int + sign-extension.

14 years agoFFI: Cleanup/fix 64 bit arithmetic in assembler backend.
Mike Pall [Sat, 22 Oct 2011 00:02:51 +0000 (02:02 +0200)] 
FFI: Cleanup/fix 64 bit arithmetic in assembler backend.

14 years agox64: Fix math.random() code generation.
Mike Pall [Sat, 22 Oct 2011 00:01:44 +0000 (02:01 +0200)] 
x64: Fix math.random() code generation.

14 years agoFix register hints for arithmetic helper functions.
Mike Pall [Sat, 22 Oct 2011 00:00:15 +0000 (02:00 +0200)] 
Fix register hints for arithmetic helper functions.

14 years agoSeparate/rename NUM/FLOAT <-> I64/U64 conversion functions.
Mike Pall [Fri, 21 Oct 2011 23:59:10 +0000 (01:59 +0200)] 
Separate/rename NUM/FLOAT <-> I64/U64 conversion functions.

14 years agoCleanup various endianess issues in assembler backend.
Mike Pall [Fri, 21 Oct 2011 23:35:57 +0000 (01:35 +0200)] 
Cleanup various endianess issues in assembler backend.

14 years agoRearrange defines for workarounds to embedded operating systems.
Mike Pall [Wed, 19 Oct 2011 16:14:46 +0000 (18:14 +0200)] 
Rearrange defines for workarounds to embedded operating systems.

14 years agoFix PE/COFF bytecode file format for big-endian targets.
Mike Pall [Tue, 18 Oct 2011 23:56:44 +0000 (01:56 +0200)] 
Fix PE/COFF bytecode file format for big-endian targets.

14 years agoFix FOLD rule for CONV.flt.num(CONV.num.flt(x)) => x.
Mike Pall [Tue, 18 Oct 2011 23:52:50 +0000 (01:52 +0200)] 
Fix FOLD rule for CONV.flt.num(CONV.num.flt(x)) => x.

14 years agoFFI/x86: Fix CONV.u32.num rounding.
Mike Pall [Tue, 18 Oct 2011 22:18:36 +0000 (00:18 +0200)] 
FFI/x86: Fix CONV.u32.num rounding.

14 years agoDon't fuse colocated array offsets without -Ofuse.
Mike Pall [Tue, 18 Oct 2011 22:17:19 +0000 (00:17 +0200)] 
Don't fuse colocated array offsets without -Ofuse.

14 years agoFixup PC in tracebacks after exits from down-recursive traces.
Mike Pall [Mon, 17 Oct 2011 18:06:04 +0000 (20:06 +0200)] 
Fixup PC in tracebacks after exits from down-recursive traces.

14 years agoPPC: Distinguish slwi, srwi and rlwinm in disassembly.
Mike Pall [Mon, 17 Oct 2011 15:22:21 +0000 (17:22 +0200)] 
PPC: Distinguish slwi, srwi and rlwinm in disassembly.

14 years agoAdd missing FOLD rule for integer NEG of constants.
Mike Pall [Mon, 17 Oct 2011 15:21:09 +0000 (17:21 +0200)] 
Add missing FOLD rule for integer NEG of constants.

14 years agoFFI/ARM: Ensure invocation of SPLIT pass for float conversions.
Mike Pall [Thu, 13 Oct 2011 23:09:30 +0000 (01:09 +0200)] 
FFI/ARM: Ensure invocation of SPLIT pass for float conversions.

14 years agoSave tmptv state for trace recorder across RECORD vmevent.
Mike Pall [Thu, 13 Oct 2011 22:43:17 +0000 (00:43 +0200)] 
Save tmptv state for trace recorder across RECORD vmevent.

14 years agoFFI: Fix unfused loads of float fields.
Mike Pall [Thu, 13 Oct 2011 18:53:01 +0000 (20:53 +0200)] 
FFI: Fix unfused loads of float fields.

14 years agoFFI: Fix call argument and return handling for I8/U8/I16/U16 types.
Mike Pall [Thu, 13 Oct 2011 18:44:31 +0000 (20:44 +0200)] 
FFI: Fix call argument and return handling for I8/U8/I16/U16 types.

14 years agoFFI: Record loads/stores to external variables in namespaces.
Mike Pall [Tue, 11 Oct 2011 18:56:57 +0000 (20:56 +0200)] 
FFI: Record loads/stores to external variables in namespaces.

14 years agoFFI: Fix recording of const/enum lookups in namespaces.
Mike Pall [Tue, 11 Oct 2011 09:51:48 +0000 (11:51 +0200)] 
FFI: Fix recording of const/enum lookups in namespaces.

14 years agoRemove unneeded PHI barrier for reassociation of duplicate ops.
Mike Pall [Mon, 10 Oct 2011 18:35:42 +0000 (20:35 +0200)] 
Remove unneeded PHI barrier for reassociation of duplicate ops.

14 years agoAvoid overwriting argument with error from metacall recording.
Mike Pall [Wed, 28 Sep 2011 15:29:15 +0000 (17:29 +0200)] 
Avoid overwriting argument with error from metacall recording.

14 years agoFix (harmless) typo.
Mike Pall [Wed, 21 Sep 2011 06:22:07 +0000 (08:22 +0200)] 
Fix (harmless) typo.

14 years agoARM: Fix HREFK code generation.
Mike Pall [Wed, 21 Sep 2011 06:21:25 +0000 (08:21 +0200)] 
ARM: Fix HREFK code generation.

14 years agoGenerate a portable vmdef.lua.
Mike Pall [Tue, 20 Sep 2011 19:15:05 +0000 (21:15 +0200)] 
Generate a portable vmdef.lua.

14 years agoPPC/e500: Fix GC barrier for TSETM.
Mike Pall [Sat, 17 Sep 2011 19:59:35 +0000 (21:59 +0200)] 
PPC/e500: Fix GC barrier for TSETM.

14 years agoPPC: Fix GC barrier for TSETM.
Mike Pall [Wed, 14 Sep 2011 14:02:43 +0000 (16:02 +0200)] 
PPC: Fix GC barrier for TSETM.

14 years agoARM: Fix GC barrier for TSETM.
Mike Pall [Wed, 14 Sep 2011 13:52:21 +0000 (15:52 +0200)] 
ARM: Fix GC barrier for TSETM.

14 years agoFix typo.
Mike Pall [Wed, 14 Sep 2011 13:29:30 +0000 (15:29 +0200)] 
Fix typo.

14 years agoARM: Disable CPU detection for interpreter-only builds.
Mike Pall [Thu, 8 Sep 2011 13:34:53 +0000 (15:34 +0200)] 
ARM: Disable CPU detection for interpreter-only builds.

14 years agoIncrease max. number of exit stub groups to correspond with -Omaxsnap.
Mike Pall [Mon, 5 Sep 2011 21:12:58 +0000 (23:12 +0200)] 
Increase max. number of exit stub groups to correspond with -Omaxsnap.

14 years agoUse some register allocator helpers for multiple architectures.
Mike Pall [Mon, 5 Sep 2011 18:23:20 +0000 (20:23 +0200)] 
Use some register allocator helpers for multiple architectures.

14 years agoPPC: Interpreter/JIT integration.
Mike Pall [Mon, 5 Sep 2011 16:34:38 +0000 (18:34 +0200)] 
PPC: Interpreter/JIT integration.

14 years agoPPC: Fix or remove assembler helper functions.
Mike Pall [Mon, 5 Sep 2011 16:32:53 +0000 (18:32 +0200)] 
PPC: Fix or remove assembler helper functions.

14 years agoPPC: More interpreter tuning. Use y-bit for branch predictions.
Mike Pall [Mon, 5 Sep 2011 16:30:36 +0000 (18:30 +0200)] 
PPC: More interpreter tuning. Use y-bit for branch predictions.

14 years agoPPC: Export register names from disassembler.
Mike Pall [Mon, 5 Sep 2011 16:28:03 +0000 (18:28 +0200)] 
PPC: Export register names from disassembler.

14 years agoPPC: Disassemble y-bit instead of at-bits for conditional branches.
Mike Pall [Mon, 5 Sep 2011 16:27:05 +0000 (18:27 +0200)] 
PPC: Disassemble y-bit instead of at-bits for conditional branches.

14 years agoPPC: Add y-bit variants of conditional branches to DynASM.
Mike Pall [Mon, 5 Sep 2011 16:26:08 +0000 (18:26 +0200)] 
PPC: Add y-bit variants of conditional branches to DynASM.

14 years agoAlways use ANSI variants of Windows system functions.
Mike Pall [Fri, 2 Sep 2011 09:42:01 +0000 (11:42 +0200)] 
Always use ANSI variants of Windows system functions.

14 years agoMark installed shared library as executable.
Mike Pall [Wed, 31 Aug 2011 09:56:40 +0000 (11:56 +0200)] 
Mark installed shared library as executable.

14 years agoAvoid conversion narrowing of arithmetic with large constants.
Mike Pall [Fri, 26 Aug 2011 18:29:05 +0000 (20:29 +0200)] 
Avoid conversion narrowing of arithmetic with large constants.

14 years agoFFI/x64: Fix struct-by-value calling conventions.
Mike Pall [Thu, 25 Aug 2011 09:10:39 +0000 (11:10 +0200)] 
FFI/x64: Fix struct-by-value calling conventions.

14 years agoRecord missing FORI slot loads (e.g. after return to lower frame).
Mike Pall [Sun, 21 Aug 2011 13:08:27 +0000 (15:08 +0200)] 
Record missing FORI slot loads (e.g. after return to lower frame).

14 years agoPPC: Add PPC disassembler.
Mike Pall [Thu, 18 Aug 2011 17:41:27 +0000 (19:41 +0200)] 
PPC: Add PPC disassembler.

14 years agoAdd potential PHI for number conversions due to type instability, too.
Mike Pall [Wed, 17 Aug 2011 18:42:41 +0000 (20:42 +0200)] 
Add potential PHI for number conversions due to type instability, too.

14 years agoExtend -b to generate c/h/obj/o files with embedded bytecode.
Mike Pall [Tue, 16 Aug 2011 22:13:39 +0000 (00:13 +0200)] 
Extend -b to generate c/h/obj/o files with embedded bytecode.

Supported object file formats: ELF or PE/COFF object files.

14 years agoLoad embedded bytecode with require().
Mike Pall [Tue, 16 Aug 2011 22:10:12 +0000 (00:10 +0200)] 
Load embedded bytecode with require().

14 years agoClarify name of MIT license.
Mike Pall [Sun, 14 Aug 2011 19:11:58 +0000 (21:11 +0200)] 
Clarify name of MIT license.

14 years agoReplace some _Unwind_* types. Fixes build issues on OSX 10.7.
Mike Pall [Sun, 14 Aug 2011 09:35:53 +0000 (11:35 +0200)] 
Replace some _Unwind_* types. Fixes build issues on OSX 10.7.

14 years agox64: Fix result type of cdata index conversions.
Mike Pall [Thu, 11 Aug 2011 20:05:35 +0000 (22:05 +0200)] 
x64: Fix result type of cdata index conversions.

14 years agoDon't bother to chain NOPs.
Mike Pall [Thu, 11 Aug 2011 20:04:38 +0000 (22:04 +0200)] 
Don't bother to chain NOPs.

14 years agoPPCSPE: Save/restore cr2, cr3 and cr4 when entering/leaving VM.
Mike Pall [Wed, 10 Aug 2011 20:09:14 +0000 (22:09 +0200)] 
PPCSPE: Save/restore cr2, cr3 and cr4 when entering/leaving VM.

14 years agoPPC: Save/restore cr2, cr3 and cr4 when entering/leaving VM.
Mike Pall [Wed, 10 Aug 2011 19:54:03 +0000 (21:54 +0200)] 
PPC: Save/restore cr2, cr3 and cr4 when entering/leaving VM.

14 years agoPPC: Add mtcrf instruction to DynASM.
Mike Pall [Wed, 10 Aug 2011 19:50:11 +0000 (21:50 +0200)] 
PPC: Add mtcrf instruction to DynASM.

14 years agoPPC: Tune and reschedule interpreter for PPC/e300.
Mike Pall [Wed, 10 Aug 2011 18:28:14 +0000 (20:28 +0200)] 
PPC: Tune and reschedule interpreter for PPC/e300.

14 years agoFix compiler warning.
Mike Pall [Wed, 10 Aug 2011 13:24:43 +0000 (15:24 +0200)] 
Fix compiler warning.

14 years agoFix stack check when L->top is above L->maxstack.
Mike Pall [Tue, 9 Aug 2011 13:56:07 +0000 (15:56 +0200)] 
Fix stack check when L->top is above L->maxstack.

14 years agoRemove temporary mcode limit error from application stack.
Mike Pall [Mon, 8 Aug 2011 22:45:26 +0000 (00:45 +0200)] 
Remove temporary mcode limit error from application stack.

14 years agoFFI: Limit snapshot optimization for cdata comparisons.
Mike Pall [Sun, 7 Aug 2011 19:53:43 +0000 (21:53 +0200)] 
FFI: Limit snapshot optimization for cdata comparisons.

14 years agoPPC: Add machine-specific part of FFI.
Mike Pall [Mon, 1 Aug 2011 16:59:16 +0000 (18:59 +0200)] 
PPC: Add machine-specific part of FFI.

14 years agoPPC: Fix floor/ceil for dual-number mode.
Mike Pall [Mon, 25 Jul 2011 08:06:06 +0000 (10:06 +0200)] 
PPC: Fix floor/ceil for dual-number mode.

14 years agoPPC: Add dual-number mode interpreter. Enable by default.
Mike Pall [Sun, 24 Jul 2011 22:18:20 +0000 (00:18 +0200)] 
PPC: Add dual-number mode interpreter. Enable by default.

14 years agoUse different workaround for alignment of jit_State.
Mike Pall [Sat, 23 Jul 2011 15:53:09 +0000 (17:53 +0200)] 
Use different workaround for alignment of jit_State.

14 years agoFFI: Treat function ctypes like pointers in comparisons.
Mike Pall [Sat, 23 Jul 2011 14:29:47 +0000 (16:29 +0200)] 
FFI: Treat function ctypes like pointers in comparisons.

14 years agoFrom Lua 5.2: Change \* to \z. Reject undefined escape sequences.
Mike Pall [Tue, 19 Jul 2011 18:58:10 +0000 (20:58 +0200)] 
From Lua 5.2: Change \* to \z. Reject undefined escape sequences.

14 years agoPPC: Update install docs.
Mike Pall [Wed, 13 Jul 2011 20:06:44 +0000 (22:06 +0200)] 
PPC: Update install docs.

14 years agoPPC: Add dual-number mode interpreter.
Mike Pall [Wed, 13 Jul 2011 19:36:17 +0000 (21:36 +0200)] 
PPC: Add dual-number mode interpreter.

14 years agoPPCSPE: Fix dispatch for binop metamethods.
Mike Pall [Wed, 13 Jul 2011 19:32:28 +0000 (21:32 +0200)] 
PPCSPE: Fix dispatch for binop metamethods.

14 years agoCleanup single-number vs. dual-number mode selection.
Mike Pall [Wed, 13 Jul 2011 19:24:00 +0000 (21:24 +0200)] 
Cleanup single-number vs. dual-number mode selection.

14 years agoARM: Don't evict ASMREF_L in ra_evictk().
Mike Pall [Tue, 12 Jul 2011 13:59:07 +0000 (15:59 +0200)] 
ARM: Don't evict ASMREF_L in ra_evictk().

14 years agoFix doc link.
Mike Pall [Thu, 7 Jul 2011 06:55:44 +0000 (08:55 +0200)] 
Fix doc link.

14 years agoFFI: Fix comment parsing.
Mike Pall [Wed, 6 Jul 2011 21:04:33 +0000 (23:04 +0200)] 
FFI: Fix comment parsing.

14 years agoARM: Install dis_arm.lua.
Mike Pall [Mon, 4 Jul 2011 15:36:04 +0000 (17:36 +0200)] 
ARM: Install dis_arm.lua.

14 years agoFix install_name and versioning on OSX.
Mike Pall [Sun, 3 Jul 2011 15:58:26 +0000 (17:58 +0200)] 
Fix install_name and versioning on OSX.

14 years agoPPC: Add build rules for PPC interpreter (non-functional, yet).
Mike Pall [Sun, 3 Jul 2011 13:15:11 +0000 (15:15 +0200)] 
PPC: Add build rules for PPC interpreter (non-functional, yet).

14 years agoPPC: Separate PPC vs. PPCSPE interpreter source files.
Mike Pall [Sun, 3 Jul 2011 13:01:50 +0000 (15:01 +0200)] 
PPC: Separate PPC vs. PPCSPE interpreter source files.