diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2020-06-15 23:01:25 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2020-06-17 11:36:36 +0200 |
commit | c409722435bdb1f2eae4d192c89278e3b07fd2ed (patch) | |
tree | 666e8897006755b79927015c89cc471acea4be42 | |
parent | macro_jit_x64: Should not skip zero registers for certain ALU ops (diff) | |
download | yuzu-c409722435bdb1f2eae4d192c89278e3b07fd2ed.tar yuzu-c409722435bdb1f2eae4d192c89278e3b07fd2ed.tar.gz yuzu-c409722435bdb1f2eae4d192c89278e3b07fd2ed.tar.bz2 yuzu-c409722435bdb1f2eae4d192c89278e3b07fd2ed.tar.lz yuzu-c409722435bdb1f2eae4d192c89278e3b07fd2ed.tar.xz yuzu-c409722435bdb1f2eae4d192c89278e3b07fd2ed.tar.zst yuzu-c409722435bdb1f2eae4d192c89278e3b07fd2ed.zip |
-rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index 08279b9bc..30a7e1fe9 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp @@ -185,7 +185,8 @@ void MacroJITx64Impl::Compile_AddImmediate(Macro::Opcode opcode) { opcode.result_operation == Macro::ResultOperation::MoveAndSetMethod) { if (next_opcode.has_value()) { const auto next = *next_opcode; - if (next.result_operation == Macro::ResultOperation::MoveAndSetMethod) { + if (next.result_operation == Macro::ResultOperation::MoveAndSetMethod && + opcode.dst == next.dst) { return; } } |