[subrepo]
remote = https://github.com/pcercuei/lightrec.git
branch = master
- commit = 071973e3ac26619cd3afbe339f020a2d4d61c28a
- parent = cc8a5c0c654c18b3ad074e49f526cb6cae77f8b0
+ commit = 962ba057937b7fcb809f16682b4e24d27f08cdb1
+ parent = 5b2da975316f1d88d02a14f8f2c876b2213ff1f3
method = merge
cmdver = 0.4.3
if (OPT_FLAG_MULT_DIV && c.r.imm)
known &= ~BIT(c.r.imm);
break;
+ case OP_SPECIAL_MFLO:
+ case OP_SPECIAL_MFHI:
+ known &= ~BIT(c.r.rd);
+ break;
default:
break;
}
pr_debug("Flagging opcode %u as direct I/O access\n",
i);
list->flags |= LIGHTREC_IO_MODE(LIGHTREC_IO_DIRECT_HW);
+
+ if (no_mask)
+ list->flags |= LIGHTREC_NO_MASK;
break;
}
fallthrough;
static bool use_lightrec_interpreter;
static bool use_pcsx_interpreter;
static bool booting;
-static u32 lightrec_begin_cycles;
enum my_cp2_opcodes {
OP_CP2_RTPS = 0x01,
case 0x1f801074:
return !is_write;
default:
- return is_write || kaddr < 0x1f801c00 || kaddr >= 0x1f801e00;
+ return kaddr < 0x1f801c00 || kaddr >= 0x1f801e00;
}
default:
switch (kaddr) {
}
use_lightrec_interpreter = !!getenv("LIGHTREC_INTERPRETER");
- if (getenv("LIGHTREC_BEGIN_CYCLES"))
- lightrec_begin_cycles = (unsigned int) strtol(
- getenv("LIGHTREC_BEGIN_CYCLES"), NULL, 0);
lightrec_state = lightrec_init(name,
lightrec_map, ARRAY_SIZE(lightrec_map),