mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
macro_jit_x64: Optimization implicitly assumes same destination
This commit is contained in:
parent
a6ddd7c382
commit
c409722435
1 changed files with 2 additions and 1 deletions
|
@ -185,7 +185,8 @@ void MacroJITx64Impl::Compile_AddImmediate(Macro::Opcode opcode) {
|
||||||
opcode.result_operation == Macro::ResultOperation::MoveAndSetMethod) {
|
opcode.result_operation == Macro::ResultOperation::MoveAndSetMethod) {
|
||||||
if (next_opcode.has_value()) {
|
if (next_opcode.has_value()) {
|
||||||
const auto next = *next_opcode;
|
const auto next = *next_opcode;
|
||||||
if (next.result_operation == Macro::ResultOperation::MoveAndSetMethod) {
|
if (next.result_operation == Macro::ResultOperation::MoveAndSetMethod &&
|
||||||
|
opcode.dst == next.dst) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue