X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Foptimizer.c;h=0a3655b91f719677ad2fffee7d06907fde80e190;hb=8afce295870dc97704b0e9e1efe1801b6b56090d;hp=cb9ba5b87a58fa44761f4f604a5014bb26bc1ad3;hpb=1f8c6be323aa8fad329e38682158197e822d27c1;p=pcsx_rearmed.git diff --git a/deps/lightrec/optimizer.c b/deps/lightrec/optimizer.c index cb9ba5b8..0a3655b9 100644 --- a/deps/lightrec/optimizer.c +++ b/deps/lightrec/optimizer.c @@ -909,8 +909,8 @@ static int lightrec_transform_ops(struct lightrec_state *state, struct block *bl /* Transform all opcodes detected as useless to real NOPs * (0x0: SLL r0, r0, #0) */ if (op->opcode != 0 && is_nop(op->c)) { - pr_debug("Converting useless opcode 0x%08x to NOP\n", - op->opcode); + pr_debug("Converting useless opcode "X32_FMT" to NOP\n", + op->opcode); op->opcode = 0x0; } @@ -1740,7 +1740,7 @@ static int lightrec_flag_io(struct lightrec_state *state, struct block *block) * registers as address will never hit a code page. */ if (list->i.rs >= 28 && list->i.rs <= 29 && !state->maps[PSX_MAP_KERNEL_USER_RAM].ops) { - pr_debug("Flaging opcode 0x%08x as not requiring invalidation\n", + pr_debug("Flaging opcode "X32_FMT" as not requiring invalidation\n", list->opcode); list->flags |= LIGHTREC_NO_INVALIDATE; } @@ -2245,7 +2245,7 @@ static int lightrec_replace_memset(struct lightrec_state *state, struct block *b if (i == ARRAY_SIZE(memset_code) - 1) { /* success! */ - pr_debug("Block at PC 0x%x is a memset\n", block->pc); + pr_debug("Block at "PC_FMT" is a memset\n", block->pc); block_set_flags(block, BLOCK_IS_MEMSET | BLOCK_NEVER_COMPILE);