aboutsummaryrefslogtreecommitdiff
path: root/src/ARMJIT_A64
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARMJIT_A64')
-rw-r--r--src/ARMJIT_A64/ARMJIT_Branch.cpp2
-rw-r--r--src/ARMJIT_A64/ARMJIT_Compiler.cpp6
-rw-r--r--src/ARMJIT_A64/ARMJIT_LoadStore.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/ARMJIT_A64/ARMJIT_Branch.cpp b/src/ARMJIT_A64/ARMJIT_Branch.cpp
index 1cdefea..c7b6e98 100644
--- a/src/ARMJIT_A64/ARMJIT_Branch.cpp
+++ b/src/ARMJIT_A64/ARMJIT_Branch.cpp
@@ -388,7 +388,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(W0, MapReg(CurInstr.A_Reg(3)));
diff --git a/src/ARMJIT_A64/ARMJIT_Compiler.cpp b/src/ARMJIT_A64/ARMJIT_Compiler.cpp
index bb7a693..55bca84 100644
--- a/src/ARMJIT_A64/ARMJIT_Compiler.cpp
+++ b/src/ARMJIT_A64/ARMJIT_Compiler.cpp
@@ -239,7 +239,7 @@ Compiler::Compiler()
break;
if (i++ > 8)
{
- printf("couldn't find unmapped place for jit memory\n");
+ Log(LogLevel::Error, "couldn't find unmapped place for jit memory\n");
JitRXStart = NULL;
}
}
@@ -703,12 +703,12 @@ JitBlockEntry Compiler::CompileBlock(ARM* cpu, bool thumb, FetchedInstr instrs[]
{
if (JitMemMainSize - GetCodeOffset() < 1024 * 16)
{
- printf("JIT near memory full, resetting...\n");
+ Log(LogLevel::Debug, "JIT near memory full, resetting...\n");
ResetBlockCache();
}
if ((JitMemMainSize + JitMemSecondarySize) - OtherCodeRegion < 1024 * 8)
{
- printf("JIT far memory full, resetting...\n");
+ Log(LogLevel::Debug, "JIT far memory full, resetting...\n");
ResetBlockCache();
}
diff --git a/src/ARMJIT_A64/ARMJIT_LoadStore.cpp b/src/ARMJIT_A64/ARMJIT_LoadStore.cpp
index f159d88..ee8aabe 100644
--- a/src/ARMJIT_A64/ARMJIT_LoadStore.cpp
+++ b/src/ARMJIT_A64/ARMJIT_LoadStore.cpp
@@ -56,7 +56,7 @@ u8* Compiler::RewriteMemAccess(u8* pc)
return pc + (ptrdiff_t)patch.PatchOffset;
}
- printf("this is a JIT bug! %08x\n", __builtin_bswap32(*(u32*)pc));
+ Log(LogLevel::Error, "this is a JIT bug! %08x\n", __builtin_bswap32(*(u32*)pc));
abort();
}
@@ -332,7 +332,7 @@ void Compiler::Comp_MemAccess(int rd, int rn, Op2 offset, int size, int flags)
if (CurInstr.Info.Branches())
{
if (size < 32)
- printf("LDR size < 32 branching?\n");
+ Log(LogLevel::Debug, "LDR size < 32 branching?\n");
Comp_JumpTo(rdMapped, Num == 0, false);
}
}