summaryrefslogtreecommitdiffstats
path: root/src/video_core/macro (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-06-17macro_jit_x64: Optimization implicitly assumes same destinationMerryMage1-1/+2
2020-06-17macro_jit_x64: Should not skip zero registers for certain ALU opsMerryMage1-1/+3
The code generated for these ALU ops assume src_a and src_b are always valid.
2020-06-15macro_jit_x64: Remove NEXT_PARAMETERMerryMage1-5/+2
Not required, as PARAMETERS can just be incremented directly.
2020-06-15macro_jit_x64: Remove unused function Compile_WriteCarryMerryMage2-9/+0
2020-06-15macro_jit_x64: Select better registersMerryMage1-8/+8
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.
2020-06-15macro_jit_x64: Remove REGISTERSMerryMage1-7/+3
Unnecessary since this is just an offset from STATE.
2020-06-15macro_jit_x64: Remove JITState::parametersMerryMage2-6/+3
This can be passed in as an argument instead.
2020-06-15macro_jit_x64: Remove METHOD_ADDRESS_64MerryMage1-2/+1
Unnecessary variable.
2020-06-15macro_jit_x64: Remove RESULT_64MerryMage2-16/+3
This Reg64 codepath has the exact same behaviour as the Reg32 one.
2020-06-15video_core/macro_jit_x64: Remove initializer in member variableReinUsesLisp1-2/+2
Fix build time issues on gcc. Confirmed through asan that avoiding this initialization is safe.
2020-06-04Default init labels and use initializer list for macro engineDavid Marcec1-1/+1
2020-06-03Mark parameters as constDavid Marcec6-8/+9
2020-06-02Pass by reference instead of copying parametersDavid Marcec2-2/+2
2020-05-30Favor switch case over jump tableDavid Marcec2-18/+26
Easier to read and will emit a jump table automatically.
2020-05-30Implement macro JITDavid Marcec6-0/+1294