diff options
author | Liam <byteslice@airmail.cc> | 2022-06-12 23:14:27 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-06-14 02:09:32 +0200 |
commit | ebecdd3a7458dd5a353524dc161f4050d019b7be (patch) | |
tree | 0328113f3ceef6a4ccbfd6a98d121cd3c03e1626 /src/video_core/macro | |
parent | common/assert: add unlikely (diff) | |
download | yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.tar yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.tar.gz yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.tar.bz2 yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.tar.lz yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.tar.xz yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.tar.zst yuzu-ebecdd3a7458dd5a353524dc161f4050d019b7be.zip |
Diffstat (limited to 'src/video_core/macro')
-rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index dc5376501..aca25d902 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp @@ -411,7 +411,7 @@ void MacroJITx64Impl::Compile_Branch(Macro::Opcode opcode) { Xbyak::Label end; auto value = Compile_GetRegister(opcode.src_a, eax); - test(value, value); + cmp(value, 0); // test(value, value); if (optimizer.has_delayed_pc) { switch (opcode.branch_condition) { case Macro::BranchCondition::Zero: |