aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Windows: Call C++ destructors without compiling with /EHa.Mike Pall2023-09-152-9/+30
| | | | Thanks to Peter Cawley. #593
* Windows: Pass scratch CONTEXT record to RtlUnwindEx.Mike Pall2023-09-151-2/+3
| | | | Thanks to Peter Cawley. #593
* ARM64: External unwinder already restores non-volatile registers.Mike Pall2023-09-151-4/+4
| | | | Thanks to Peter Cawley. #593
* Windows/ARM64: Fix exception unwinding (again).Mike Pall2023-09-152-16/+38
| | | | Thanks to Peter Cawley. #593
* Windows/ARM64: Fix typo in exception unwinding.Mike Pall2023-09-111-1/+1
| | | | Thanks to Peter Cawley. #593
* FFI: Fix 64 bit shift fold rules.Mike Pall2023-09-111-4/+4
| | | | Thanks to Peter Cawley. #1079
* Windows/ARM64: Support Windows calling conventions.Mike Pall2023-09-114-9/+36
| | | | | Dear Microsoft: your butchering of the (perfectly fine) ARM64 ABI is a disgrace. Thanks to Peter Cawley. #593
* Windows/ARM64: Fix exception unwinding.Mike Pall2023-09-112-11/+13
| | | | Thanks to Peter Cawley. #593
* ARM64: Remove unneeded IRCALL_* defs for math intrinsics.Mike Pall2023-09-111-1/+1
| | | | | Workaround for MSVC issue. Thanks to Peter Cawley. #593
* Fix Cygwin build.Mike Pall2023-09-111-1/+1
| | | | Thanks to Christopher Ng. #1077 #1078
* Merge branch 'master' into v2.1Mike Pall2023-09-101-0/+1
|\
| * Allow path overrides in genversion.lua with minilua, too.Mike Pall2023-09-101-0/+1
| | | | | | | | Thanks to arch1t3cht. #1067
* | Windows/ARM64: Add initial support.Mike Pall2023-09-107-37/+147
| | | | | | | | | | Only builds with native ARM64 Visual Studio for now. Thanks to vanc and Stephen Just. #593 #964
* | Merge branch 'master' into v2.1Mike Pall2023-09-092-4/+14
|\|
| * Improve architecture detection error messages.Mike Pall2023-09-092-8/+16
| |
* | ARM64: Fuse rotates into logical operands.Mike Pall2023-09-091-2/+6
| | | | | | | | Thanks to Peter Cawley. #1076
* | ARM64: Don't fuse sign extensions into logical operands.Mike Pall2023-09-091-7/+4
| | | | | | | | Thanks to Peter Cawley. #1076
* | ARM64: Disassemble rotates on logical operands.Mike Pall2023-09-091-25/+17
| | | | | | | | Thanks to Peter Cawley. #1076
* | Merge branch 'master' into v2.1Mike Pall2023-09-091-2/+5
|\|
| * ARM: Fix stack check code generation.Mike Pall2023-09-091-2/+5
| | | | | | | | Thanks to Peter Cawley. #1068
* | ARM64: Fix LDP/STP fusion (again).Mike Pall2023-09-091-4/+13
| | | | | | | | Reported and analyzed by Zhongwei Yao. Fix by Peter Cawley. #1075
* | ARM64: Ensure branch is in range before emitting TBZ/TBNZ.Mike Pall2023-09-091-10/+14
| | | | | | | | Thanks to Peter Cawley. #1074
* | Merge branch 'master' into v2.1Mike Pall2023-09-091-1/+1
|\|
| * Fix mcode limit check for non-x86 archs.Mike Pall2023-09-091-1/+1
| | | | | | | | Thanks to Peter Cawley.
* | ARM64: Improve BC_JLOOP.Mike Pall2023-09-091-2/+1
| | | | | | | | Thanks to Peter Cawley. #1070
* | ARM64: Improve integer IR_MUL code generation.Mike Pall2023-09-091-2/+1
| | | | | | | | Thanks to Peter Cawley. #1070
* | ARM64: Simplify code generation for IR_STRTO.Mike Pall2023-09-091-7/+4
| | | | | | | | Thanks to Peter Cawley. #1070
* | ARM64: Use RID_TMP instead of scratch register in more places.Mike Pall2023-09-091-13/+10
| | | | | | | | Thanks to Peter Cawley. #1070
* | ARM64: Improve IR_OBAR code generation.Mike Pall2023-09-091-5/+3
| | | | | | | | Thanks to Peter Cawley. #1070
* | ARM64: Improve IR_UREF code generation.Mike Pall2023-09-091-8/+6
| | | | | | | | Thanks to Peter Cawley. #1070
* | ARM64: Improve IR_HREF code generation.Mike Pall2023-09-091-86/+40
| | | | | | | | Thanks to Peter Cawley. #1070
* | ARM64: Reload BASE via GL instead of spilling it.Mike Pall2023-09-092-55/+38
| | | | | | | | Thanks to Peter Cawley. #1068.
* | ARM64: Consolidate 32/64-bit constant handling in assembler.Mike Pall2023-09-092-36/+41
| | | | | | | | Thanks to Peter Cawley. #1065
* | ARM64: Tune emit_lsptr. Avoid wrong load for asm_prof.Mike Pall2023-09-091-11/+12
| | | | | | | | Thanks to Peter Cawley. #1065
* | ARM64: Inline only use of emit_loada.Mike Pall2023-09-092-5/+6
| | | | | | | | Thanks to Peter Cawley. #1065
* | ARM64: Improve K13 constant rematerialization.Mike Pall2023-09-091-20/+12
| | | | | | | | | | Algorithm by Dougall Johnson: https://dougallj.wordpress.com/2021/10/30/ Thanks to Peter Cawley. #1065
* | Merge branch 'master' into v2.1Mike Pall2023-09-092-4/+13
|\|
| * Add NaN check to IR_NEWREF.Mike Pall2023-09-092-4/+13
| | | | | | | | Thanks to Peter Cawley. #1069
* | Merge branch 'master' into v2.1Mike Pall2023-09-092-4/+8
|\|
| * Allow override of paths for genversion.lua.Mike Pall2023-09-091-3/+3
| | | | | | | | Thanks to arch1t3cht. #1067
| * Fix native MinGW build.Mike Pall2023-09-091-1/+5
| | | | | | | | Thanks to Victor Bombi. #1071
* | Add randomized register allocation for fuzz testing.Mike Pall2023-08-304-7/+58
| | | | | | | | | | This must be explicitly enabled with: -DLUAJIT_RANDOM_RA Thanks to Peter Cawley. #1062
* | ARM64: Improve register allocation for integer IR_MUL/IR_MULOV.Mike Pall2023-08-291-1/+1
| | | | | | | | Thanks to Peter Cawley. #1062
* | ARM64: Fix register allocation for IR_*LOAD.Mike Pall2023-08-291-1/+3
| | | | | | | | Thanks to Peter Cawley. #1062
* | Merge branch 'master' into v2.1Mike Pall2023-08-291-1/+1
|\|
| * Update external MSDN URL in code.Mike Pall2023-08-291-1/+1
| | | | | | | | Thanks to Kyle Marshall. #1060
* | FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.Mike Pall2023-08-294-21/+98
| | | | | | | | Contributed by Peter Cawley. #205
* | FFI: Unify stack setup for C calls in interpreter.Mike Pall2023-08-299-53/+62
| |
* | ARM64: Prevent STP fusion for conditional code emitted by TBAR.Mike Pall2023-08-281-1/+2
| | | | | | | | Thanks to Peter Cawley. #1057
* | ARM64: Fix LDP/STP fusing for unaligned accesses.Mike Pall2023-08-281-1/+1
| | | | | | | | Thanks to Peter Cawley. #1056