diff options
Diffstat (limited to 'src/ARMJIT_x64')
-rw-r--r-- | src/ARMJIT_x64/ARMJIT_ALU.cpp | 2 | ||||
-rw-r--r-- | src/ARMJIT_x64/ARMJIT_Branch.cpp | 2 | ||||
-rw-r--r-- | src/ARMJIT_x64/ARMJIT_Compiler.cpp | 4 | ||||
-rw-r--r-- | src/ARMJIT_x64/ARMJIT_LoadStore.cpp | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/ARMJIT_x64/ARMJIT_ALU.cpp b/src/ARMJIT_x64/ARMJIT_ALU.cpp index 0a364ea..ff30787 100644 --- a/src/ARMJIT_x64/ARMJIT_ALU.cpp +++ b/src/ARMJIT_x64/ARMJIT_ALU.cpp @@ -227,7 +227,7 @@ void Compiler::A_Comp_Arith() Comp_ArithTriOp(&Compiler::AND, rd, rn, op2, carryUsed, sFlag|opSymmetric|opInvertOp2); break; default: - printf("this is a JIT bug! %04x\n", op); + Log(LogLevel::Error, "this is a JIT bug! %04x\n", op); abort(); } diff --git a/src/ARMJIT_x64/ARMJIT_Branch.cpp b/src/ARMJIT_x64/ARMJIT_Branch.cpp index 8451665..281b24a 100644 --- a/src/ARMJIT_x64/ARMJIT_Branch.cpp +++ b/src/ARMJIT_x64/ARMJIT_Branch.cpp @@ -247,7 +247,7 @@ void Compiler::T_Comp_BranchXchangeReg() { if (Num == 1) { - printf("BLX unsupported on ARM7!!!\n"); + Log(LogLevel::Warn, "BLX unsupported on ARM7!!!\n"); return; } MOV(32, R(RSCRATCH), MapReg(CurInstr.A_Reg(3))); diff --git a/src/ARMJIT_x64/ARMJIT_Compiler.cpp b/src/ARMJIT_x64/ARMJIT_Compiler.cpp index fa015f4..ce09871 100644 --- a/src/ARMJIT_x64/ARMJIT_Compiler.cpp +++ b/src/ARMJIT_x64/ARMJIT_Compiler.cpp @@ -711,12 +711,12 @@ JitBlockEntry Compiler::CompileBlock(ARM* cpu, bool thumb, FetchedInstr instrs[] { if (NearSize - (GetCodePtr() - NearStart) < 1024 * 32) // guess... { - printf("near reset\n"); + Log(LogLevel::Debug, "near reset\n"); ResetBlockCache(); } if (FarSize - (FarCode - FarStart) < 1024 * 32) // guess... { - printf("far reset\n"); + Log(LogLevel::Debug, "far reset\n"); ResetBlockCache(); } diff --git a/src/ARMJIT_x64/ARMJIT_LoadStore.cpp b/src/ARMJIT_x64/ARMJIT_LoadStore.cpp index 7b28e68..99555ff 100644 --- a/src/ARMJIT_x64/ARMJIT_LoadStore.cpp +++ b/src/ARMJIT_x64/ARMJIT_LoadStore.cpp @@ -51,7 +51,7 @@ u8* Compiler::RewriteMemAccess(u8* pc) return pc + (ptrdiff_t)patch.Offset; } - printf("this is a JIT bug %sx\n", pc); + Log(LogLevel::Error, "this is a JIT bug %sx\n", pc); abort(); } @@ -382,7 +382,7 @@ void Compiler::Comp_MemAccess(int rd, int rn, const Op2& op2, int size, int flag if (!(flags & memop_Store) && rd == 15) { if (size < 32) - printf("!!! LDR <32 bit PC %08X %x\n", R15, CurInstr.Instr); + Log(LogLevel::Debug, "!!! LDR <32 bit PC %08X %x\n", R15, CurInstr.Instr); { if (Num == 1) { |