Skip to content

armgit / gecko

Public Imported from GitHub
0

A GameCube/Wii emulator and debugger written in Rust.

logs for cached jit

Layleb075ef8d9ce4
diff --git a/crates/gecko/src/flipper/dsp/jit.rs b/crates/gecko/src/flipper/dsp/jit.rs
index 73a5dd8..5b35d38 100644
--- a/crates/gecko/src/flipper/dsp/jit.rs
+++ b/crates/gecko/src/flipper/dsp/jit.rs
@@ -461,6 +461,7 @@ impl<const SYSTEM: SystemId> JitEngine<SYSTEM> {
continue;
}
+ tracing::info!(pc = format!("{:04X}", b.pc), count = b.instr_count, "compiling DSP JIT block from cache");
self.lookup_or_compile(iram, irom, b.pc);
compiled += 1;
diff --git a/crates/gecko/src/gekko/jit.rs b/crates/gecko/src/gekko/jit.rs
index 41a15f2..44ae81d 100644
--- a/crates/gecko/src/gekko/jit.rs
+++ b/crates/gecko/src/gekko/jit.rs
@@ -552,6 +552,7 @@ impl<const SYSTEM: SystemId> JitEngine<SYSTEM> {
continue;
}
+ tracing::info!(pc = format!("{:08X}", b.pc), count = b.instr_count, "compiling PPC JIT block from cache");
self.lookup_or_compile(sys, b.pc);
compiled += 1;