MerryMage
44f10d9b9f
macro_jit_x64: Inline Engines::Maxwell3D::GetRegisterValue
6 years ago
MerryMage
c409722435
macro_jit_x64: Optimization implicitly assumes same destination
6 years ago
MerryMage
a6ddd7c382
macro_jit_x64: Should not skip zero registers for certain ALU ops
The code generated for these ALU ops assume src_a and src_b are always valid.
6 years ago
MerryMage
cf0aad7d6a
macro_jit_x64: Remove NEXT_PARAMETER
Not required, as PARAMETERS can just be incremented directly.
6 years ago
MerryMage
1799f4e774
macro_jit_x64: Remove unused function Compile_WriteCarry
6 years ago
MerryMage
c09a9e5cc7
macro_jit_x64: Select better registers
All registers are now callee-save registers.
RBX and RBP selected for STATE and RESULT because these are most commonly accessed; this is to avoid the REX prefix.
RBP not used for STATE because there are some SIB restrictions, RBX emits smaller code.
6 years ago
MerryMage
79aa7b3ace
macro_jit_x64: Remove REGISTERS
Unnecessary since this is just an offset from STATE.
6 years ago
MerryMage
35db6e1c68
macro_jit_x64: Remove JITState::parameters
This can be passed in as an argument instead.
6 years ago
MerryMage
389549b80d
macro_jit_x64: Remove METHOD_ADDRESS_64
Unnecessary variable.
6 years ago
MerryMage
a6a43a5ae0
macro_jit_x64: Remove RESULT_64
This Reg64 codepath has the exact same behaviour as the Reg32 one.
6 years ago
MerryMage
d563017dfe
xbyak_abi: Remove *GPS variants of stack manipulation functions
6 years ago
ReinUsesLisp
6e5d8aac4d
video_core/macro_jit_x64: Remove initializer in member variable
Fix build time issues on gcc. Confirmed through asan that avoiding this
initialization is safe.
6 years ago
David Marcec
eca3d16e54
Default init labels and use initializer list for macro engine
6 years ago
David Marcec
411f5527d4
Mark parameters as const
6 years ago
David Marcec
3a20e74f40
Pass by reference instead of copying parameters
6 years ago
David Marcec
8118ea160b
Favor switch case over jump table
Easier to read and will emit a jump table automatically.
6 years ago
David Marcec
b032ebdfee
Implement macro JIT
6 years ago