subrepo:
subdir: "deps/lightrec"
merged: "
68a5d16b6b"
upstream:
origin: "https://github.com/pcercuei/lightrec.git"
branch: "master"
commit: "
68a5d16b6b"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "
2f68596"
[subrepo]
remote = https://github.com/pcercuei/lightrec.git
branch = master
- commit = fcf239e7e9d42fedb7a8de64057d6895acf3ceee
- parent = 03ec8a8c606eb87642be336632e1792ab89650d8
+ commit = 68a5d16b6b5ce155aebf7f4708483eaeb4992997
+ parent = bbda82f029ab0a9bbc91cb411d2cb56745d45510
method = merge
cmdver = 0.4.3
{
u32 length = state->maps[PSX_MAP_HW_REGISTERS].length;
- return GENMASK(31 - clz32(length - 1), 0);
+ return 0x1f800000 | GENMASK(31 - clz32(length - 1), 0);
}
static void rec_store_memory(struct lightrec_cstate *cstate,
} else if (!in_ds && opcode_is_load(c) && c.i.op != OP_LWC2) {
next = block->opcode_list[i + 1].c;
- if (c.i.op == OP_LWL && next.i.op == OP_LWR)
+ switch (next.i.op) {
+ case OP_LWL:
+ case OP_LWR:
+ case OP_REGIMM:
+ case OP_BEQ:
+ case OP_BNE:
+ case OP_BLEZ:
+ case OP_BGTZ:
continue;
+ }
if (opcode_reads_register(next, c.i.rt)
&& !opcode_writes_register(next, c.i.rs)) {