summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-06-20 04:10:43 +0200
committerLioncash <mathew1800@gmail.com>2020-06-20 04:10:45 +0200
commit8ea749c1ca50b3584df8c8d7019933fe80e31d9f (patch)
tree2ebe3e3aa406ab8924abfeea0e3461d77a171b33
parentMerge pull request #4080 from ogniK5377/audren-RendererInfo (diff)
downloadyuzu-8ea749c1ca50b3584df8c8d7019933fe80e31d9f.tar
yuzu-8ea749c1ca50b3584df8c8d7019933fe80e31d9f.tar.gz
yuzu-8ea749c1ca50b3584df8c8d7019933fe80e31d9f.tar.bz2
yuzu-8ea749c1ca50b3584df8c8d7019933fe80e31d9f.tar.lz
yuzu-8ea749c1ca50b3584df8c8d7019933fe80e31d9f.tar.xz
yuzu-8ea749c1ca50b3584df8c8d7019933fe80e31d9f.tar.zst
yuzu-8ea749c1ca50b3584df8c8d7019933fe80e31d9f.zip
-rw-r--r--src/video_core/macro/macro_jit_x64.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp
index bee34a7c0..3515ea43b 100644
--- a/src/video_core/macro/macro_jit_x64.cpp
+++ b/src/video_core/macro/macro_jit_x64.cpp
@@ -54,7 +54,7 @@ void MacroJITx64Impl::Compile_ALU(Macro::Opcode opcode) {
const bool is_a_zero = opcode.src_a == 0;
const bool is_b_zero = opcode.src_b == 0;
const bool valid_operation = !is_a_zero && !is_b_zero;
- const bool is_move_operation = !is_a_zero && is_b_zero;
+ [[maybe_unused]] const bool is_move_operation = !is_a_zero && is_b_zero;
const bool has_zero_register = is_a_zero || is_b_zero;
const bool no_zero_reg_skip = opcode.alu_operation == Macro::ALUOperation::AddWithCarry ||
opcode.alu_operation == Macro::ALUOperation::SubtractWithBorrow;
@@ -73,7 +73,6 @@ void MacroJITx64Impl::Compile_ALU(Macro::Opcode opcode) {
src_b = Compile_GetRegister(opcode.src_b, eax);
}
}
- Xbyak::Label skip_carry{};
bool has_emitted = false;