[dynarmic:] TST + B.NE for marked bit

This commit is contained in:
PavelBARABANOV
2026-09-12 06:13:12 +03:00
parent ec111683cd
commit 38bc353305
@@ -274,8 +274,8 @@ std::pair<oaknut::XReg, oaknut::XReg> InlinePageTableEmitVAddrLookup(oaknut::Cod
code.LDR(Xscratch0, Xpagetable, Xscratch0);
if (ctx.conf.page_table_marked_bit) {
code.UBFX(Xscratch1, Xscratch0, *ctx.conf.page_table_marked_bit, 1);
code.CBNZ(Xscratch1, *fallback);
code.TST(Xscratch0, 1ULL << *ctx.conf.page_table_marked_bit);
code.B(NE, *fallback);
}
if (ctx.conf.page_table_pointer_mask != 0) {