From 45f15f1ec900fbdffccfc06da7e9dcb82a67dbdb Mon Sep 17 00:00:00 2001 From: SimoneN64 Date: Sat, 9 Sep 2023 06:10:01 +0200 Subject: [PATCH] Fix compilation errors --- src/backend/core/JIT/instructions.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/backend/core/JIT/instructions.cpp b/src/backend/core/JIT/instructions.cpp index 9793f579..d1fc7fb9 100644 --- a/src/backend/core/JIT/instructions.cpp +++ b/src/backend/core/JIT/instructions.cpp @@ -210,6 +210,8 @@ void JIT::b(u32 instr, const Xbyak::Reg64& op1, const T& op2, BranchCond cond) { s64 offset = u64((s64)imm) << 2; branch(op1, op2, offset, cond); } +template void JIT::b(u32 instr, const Xbyak::Reg64& op1, const Xbyak::Reg64& op2, BranchCond cond); +template void JIT::b(u32 instr, const Xbyak::Reg64& op1, const int& op2, BranchCond cond); template void JIT::b(u32, const Xbyak::Reg64& op1, const Xbyak::Reg64& op2, BranchCond cond); template void JIT::b(u32, const Xbyak::Reg64& op1, const int& op2, BranchCond cond); @@ -222,6 +224,8 @@ void JIT::blink(u32 instr, const Xbyak::Reg64& op1, const T& op2, BranchCond con mov(GPR(31), rcx); branch(op1, op2, offset, cond); } +template void JIT::blink(u32 instr, const Xbyak::Reg64& op1, const Xbyak::Reg64& op2, BranchCond cond); +template void JIT::blink(u32 instr, const Xbyak::Reg64& op1, const int& op2, BranchCond cond); template void JIT::blink(u32, const Xbyak::Reg64& op1, const Xbyak::Reg64& op2, BranchCond cond); template void JIT::blink(u32, const Xbyak::Reg64& op1, const int& op2, BranchCond cond); @@ -232,6 +236,8 @@ void JIT::bl(u32 instr, const Xbyak::Reg64& op1, const T& op2, BranchCond cond) s64 offset = u64((s64)imm) << 2; branch_likely(op1, op2, offset, cond); } +template void JIT::bl(u32 instr, const Xbyak::Reg64& op1, const Xbyak::Reg64& op2, BranchCond cond); +template void JIT::bl(u32 instr, const Xbyak::Reg64& op1, const int& op2, BranchCond cond); template void JIT::bl(u32, const Xbyak::Reg64& op1, const Xbyak::Reg64& op2, BranchCond cond); template void JIT::bl(u32, const Xbyak::Reg64& op1, const int& op2, BranchCond cond); @@ -244,6 +250,8 @@ void JIT::bllink(u32 instr, const Xbyak::Reg64& op1, const T& op2, BranchCond co s64 offset = u64((s64)imm) << 2; branch_likely(op1, op2, offset, cond); } +template void JIT::bllink(u32 instr, const Xbyak::Reg64& op1, const Xbyak::Reg64& op2, BranchCond cond); +template void JIT::bllink(u32 instr, const Xbyak::Reg64& op1, const int& op2, BranchCond cond); template void JIT::bllink(u32, const Xbyak::Reg64& op1, const Xbyak::Reg64& op2, BranchCond cond); template void JIT::bllink(u32, const Xbyak::Reg64& op1, const int& op2, BranchCond cond);