From 20b4a33c006708831482fc24526e931c6e228a1c Mon Sep 17 00:00:00 2001 From: joevt Date: Tue, 5 Mar 2024 00:00:15 -0800 Subject: [PATCH] ppcexec: Remove EXHAUSTIVE_DEBUG. --- cpu/ppc/ppcemu.h | 3 --- cpu/ppc/ppcexec.cpp | 17 ----------------- 2 files changed, 20 deletions(-) diff --git a/cpu/ppc/ppcemu.h b/cpu/ppc/ppcemu.h index a0553a6..49be166 100644 --- a/cpu/ppc/ppcemu.h +++ b/cpu/ppc/ppcemu.h @@ -31,9 +31,6 @@ along with this program. If not, see . #include #include -// Uncomment this to help debug the emulator further -//#define EXHAUSTIVE_DEBUG 1 - // Uncomment this to have a more graceful approach to illegal opcodes //#define ILLEGAL_OP_SAFE 1 diff --git a/cpu/ppc/ppcexec.cpp b/cpu/ppc/ppcexec.cpp index 2972d7b..bafc9ee 100644 --- a/cpu/ppc/ppcexec.cpp +++ b/cpu/ppc/ppcexec.cpp @@ -203,11 +203,6 @@ void ppc_opcode18() { void ppc_opcode19() { uint16_t subop_grab = ppc_cur_instruction & 0x7FF; -# ifdef EXHAUSTIVE_DEBUG - uint16_t subop_grab = ppc_cur_instruction & 0x7FF; - LOG_F(INFO, "Executing Opcode 19 table subopcode entry", regrab); -#endif // EXHAUSTIVE_DEBUG - switch (subop_grab) { case 0: ppc_mcrf(); @@ -261,32 +256,20 @@ void ppc_opcode19() { void ppc_opcode31() { uint16_t subop_grab = (ppc_cur_instruction & 0x7FFUL) >> 1UL; - rc_flag = ppc_cur_instruction & 0x1; oe_flag = ppc_cur_instruction & 0x400; - -#ifdef EXHAUSTIVE_DEBUG - LOG_F(INFO, "Executing Opcode 31 table subopcode entry %n", (uint32_t)subop_grab); -#endif // EXHAUSTIVE_DEBUG - SubOpcode31Grabber[subop_grab](); } void ppc_opcode59() { uint16_t subop_grab = (ppc_cur_instruction & 0x3EUL) >> 1UL; rc_flag = ppc_cur_instruction & 0x1; -#ifdef EXHAUSTIVE_DEBUG - LOG_F(INFO, "Executing Opcode 59 table subopcode entry %n", (uint32_t)subop_grab); -#endif // EXHAUSTIVE_DEBUG SubOpcode59Grabber[subop_grab](); } void ppc_opcode63() { uint16_t subop_grab = (ppc_cur_instruction & 0x7FFUL) >> 1UL; rc_flag = ppc_cur_instruction & 0x1; -#ifdef EXHAUSTIVE_DEBUG - LOG_F(INFO, "Executing Opcode 63 table subopcode entry %n", (uint32_t)subop_grab); -#endif // EXHAUSTIVE_DEBUG SubOpcode63Grabber[subop_grab](); }