Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4369 from lioncash/hle-macro | LC | 2020-07-17 | 1 | -10/+7 |
|\ | | | | | macro_hle: Remove unnecessary std::make_pair calls | ||||
| * | macro_hle: Remove unnecessary static keywords | Lioncash | 2020-07-17 | 1 | -7/+4 |
| | | | | | | | | | | These functions are already in an anonymous namespace which makes the functions internally linked. | ||||
| * | macro_hle: Remove unnecessary std::make_pair calls | Lioncash | 2020-07-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | | The purpose of make_pair is generally to deduce the types within the pair without explicitly specifying the types, so these usages were generally unnecessary, particularly when the type is enforced by the array declaration. | ||||
* | | Merge pull request #4368 from lioncash/macro | David | 2020-07-17 | 1 | -1/+2 |
|\ \ | | | | | | | macro: Resolve missing parameter in doxygen comment | ||||
| * | | macro: Resolve missing parameter in doxygen comment | Lioncash | 2020-07-17 | 1 | -1/+2 |
| |/ | | | | | | | Resolves a -Wdocumentation warning. | ||||
* / | macro_hle: Simplify shift expression in HLE_771BB18C62444DA0() | Lioncash | 2020-07-17 | 1 | -2/+1 |
|/ | | | | | | | | Given the expression involves a 32-bit value, this simplifies down to just: 0x3ffffff. This is likely a remnant from testing that was never cleaned up. Resolves a -Wshift-overflow warning. | ||||
* | macro: Add support for "middle methods" on the code cache (#4112) | David | 2020-06-30 | 1 | -8/+27 |
| | | | Macro code is just uploaded sequentially from a starting address, however that does not mean the entry point for the macro is at that address. This PR adds preliminary support for executing macros in the middle of our cached code. | ||||
* | addressed issues | David Marcec | 2020-06-24 | 2 | -4/+7 |
| | |||||
* | clear mme draw mode | David Marcec | 2020-06-24 | 1 | -0/+3 |
| | | | | We already draw, so we can clear it | ||||
* | Addressed issues | David Marcec | 2020-06-24 | 4 | -13/+13 |
| | |||||
* | Fix constbuffer for 0217920100488FF7 | David Marcec | 2020-06-24 | 1 | -6/+6 |
| | |||||
* | Macro HLE support | David Marcec | 2020-06-24 | 6 | -9/+202 |
| | |||||
* | Merge pull request #4122 from lioncash/hide | bunnei | 2020-06-22 | 1 | -2/+2 |
|\ | | | | | video_core: Eliminate some variable shadowing | ||||
| * | macro_jit_x64: Eliminate variable shadowing in Compile_ProcessResult() | Lioncash | 2020-06-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | We can reduce the capture scope so that it's not possible for both "reg" variables to clash with one another. While we're at it, we can prevent unnecessary copies while we're at it. | ||||
* | | macro_jit_x64: Use ecx for shift register | MerryMage | 2020-06-20 | 1 | -2/+2 |
| | | | | | | | | shl/shr only accept cl as their second argument | ||||
* | | Merge pull request #4125 from lioncash/macro-shift | merry | 2020-06-20 | 1 | -6/+7 |
|\ \ | | | | | | | macro_jit_x64: Amend readability of Compile_ExtractShiftLeftRegister() | ||||
| * | | macro_jit_x64: Correct readability of Compile_ExtractShiftLeftImmediate() | Lioncash | 2020-06-20 | 1 | -3/+3 |
| | | | | | | | | | | | | Previously dst wasn't being used. | ||||
| * | | macro_jit_x64: Correct readability of Compile_ExtractShiftLeftRegister() | Lioncash | 2020-06-20 | 1 | -3/+4 |
| |/ | | | | | | | Previously dst wasn't being used. | ||||
* | | Merge pull request #4123 from lioncash/unused-var | merry | 2020-06-20 | 1 | -2/+1 |
|\ \ | | | | | | | macro_jit_x64: Remove unused variable | ||||
| * | | macro_jit_x64: Remove unused variable | Lioncash | 2020-06-20 | 1 | -2/+1 |
| |/ | | | | | | | | | Removes a completely unused label and marks another variable as unused, given it seems like it has potential uses in the future. | ||||
* | | Merge pull request #4087 from MerryMage/macrojit-inline-Read | bunnei | 2020-06-20 | 2 | -14/+22 |
|\ \ | |/ |/| | macro_jit_x64: Inline Engines::Maxwell3D::GetRegisterValue | ||||
| * | macro_jit_x64: Remove unused function Read | MerryMage | 2020-06-19 | 1 | -8/+4 |
| | | |||||
| * | macro_jit_x64: Inline Engines::Maxwell3D::GetRegisterValue | MerryMage | 2020-06-17 | 2 | -6/+18 |
| | | |||||
* | | Merge pull request #4090 from MerryMage/macrojit-bugs | bunnei | 2020-06-19 | 1 | -2/+5 |
|\ \ | |/ |/| | macro_jit_x64: Optimization correctness | ||||
| * | macro_jit_x64: Optimization implicitly assumes same destination | MerryMage | 2020-06-17 | 1 | -1/+2 |
| | | |||||
| * | macro_jit_x64: Should not skip zero registers for certain ALU ops | MerryMage | 2020-06-17 | 1 | -1/+3 |
| | | | | | | | | The code generated for these ALU ops assume src_a and src_b are always valid. | ||||
* | | Merge pull request #4086 from MerryMage/abi | bunnei | 2020-06-17 | 1 | -6/+6 |
|\ \ | |/ |/| | xbyak_abi: Cleanup | ||||
| * | xbyak_abi: Remove *GPS variants of stack manipulation functions | MerryMage | 2020-06-15 | 1 | -6/+6 |
| | | |||||
* | | Merge pull request #4089 from MerryMage/macrojit-cleanup-1 | bunnei | 2020-06-17 | 2 | -51/+18 |
|\ \ | | | | | | | macro_jit_x64: Cleanup | ||||
| * | | macro_jit_x64: Remove NEXT_PARAMETER | MerryMage | 2020-06-15 | 1 | -5/+2 |
| | | | | | | | | | | | | Not required, as PARAMETERS can just be incremented directly. | ||||
| * | | macro_jit_x64: Remove unused function Compile_WriteCarry | MerryMage | 2020-06-15 | 2 | -9/+0 |
| | | | |||||
| * | | macro_jit_x64: Select better registers | MerryMage | 2020-06-15 | 1 | -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. | ||||
| * | | macro_jit_x64: Remove REGISTERS | MerryMage | 2020-06-15 | 1 | -7/+3 |
| | | | | | | | | | | | | Unnecessary since this is just an offset from STATE. | ||||
| * | | macro_jit_x64: Remove JITState::parameters | MerryMage | 2020-06-15 | 2 | -6/+3 |
| | | | | | | | | | | | | This can be passed in as an argument instead. | ||||
| * | | macro_jit_x64: Remove METHOD_ADDRESS_64 | MerryMage | 2020-06-15 | 1 | -2/+1 |
| | | | | | | | | | | | | Unnecessary variable. | ||||
| * | | macro_jit_x64: Remove RESULT_64 | MerryMage | 2020-06-15 | 2 | -16/+3 |
| |/ | | | | | | | This Reg64 codepath has the exact same behaviour as the Reg32 one. | ||||
* / | video_core/macro_jit_x64: Remove initializer in member variable | ReinUsesLisp | 2020-06-15 | 1 | -2/+2 |
|/ | | | | | Fix build time issues on gcc. Confirmed through asan that avoiding this initialization is safe. | ||||
* | Default init labels and use initializer list for macro engine | David Marcec | 2020-06-04 | 1 | -1/+1 |
| | |||||
* | Mark parameters as const | David Marcec | 2020-06-03 | 6 | -8/+9 |
| | |||||
* | Pass by reference instead of copying parameters | David Marcec | 2020-06-02 | 2 | -2/+2 |
| | |||||
* | Favor switch case over jump table | David Marcec | 2020-05-30 | 2 | -18/+26 |
| | | | | Easier to read and will emit a jump table automatically. | ||||
* | Implement macro JIT | David Marcec | 2020-05-30 | 6 | -0/+1294 |