Compare commits

...

2 Commits

Author SHA1 Message Date
PavelBARABANOV 38bc353305 [dynarmic:] TST + B.NE for marked bit 2026-09-12 06:13:12 +03:00
PavelBARABANOV ec111683cd [dynarmic] use UBFX + CBNZ instead of TBNZ for marked bit 2026-09-12 02:19:48 +03:00
@@ -274,8 +274,8 @@ std::pair<oaknut::XReg, oaknut::XReg> InlinePageTableEmitVAddrLookup(oaknut::Cod
code.LDR(Xscratch0, Xpagetable, Xscratch0); code.LDR(Xscratch0, Xpagetable, Xscratch0);
if (ctx.conf.page_table_marked_bit) { if (ctx.conf.page_table_marked_bit) {
// check for marked bit code.TST(Xscratch0, 1ULL << *ctx.conf.page_table_marked_bit);
code.TBNZ(Xscratch0, *ctx.conf.page_table_marked_bit, *fallback); code.B(NE, *fallback);
} }
if (ctx.conf.page_table_pointer_mask != 0) { if (ctx.conf.page_table_pointer_mask != 0) {