aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro
AgeCommit message (Collapse)Author
2020-06-15macro_jit_x64: Select better registersMerryMage
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 REGISTERSMerryMage
Unnecessary since this is just an offset from STATE.
2020-06-15macro_jit_x64: Remove JITState::parametersMerryMage
This can be passed in as an argument instead.
2020-06-15macro_jit_x64: Remove METHOD_ADDRESS_64MerryMage
Unnecessary variable.
2020-06-15macro_jit_x64: Remove RESULT_64MerryMage
This Reg64 codepath has the exact same behaviour as the Reg32 one.
2020-06-04Default init labels and use initializer list for macro engineDavid Marcec
2020-06-03Mark parameters as constDavid Marcec
2020-06-02Pass by reference instead of copying parametersDavid Marcec
2020-05-30Favor switch case over jump tableDavid Marcec
Easier to read and will emit a jump table automatically.
2020-05-30Implement macro JITDavid Marcec