mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-24 06:12:56 +00:00
emit_x86: Fix nzcv for EmitSub
This commit is contained in:
@@ -910,6 +910,7 @@ static void EmitSub(BlockOfCode* code, EmitContext& ctx, IR::Inst* inst, size_t
|
||||
|
||||
if (nzcv_inst) {
|
||||
ctx.EraseInstruction(nzcv_inst);
|
||||
code->cmc();
|
||||
code->lahf();
|
||||
code->seto(code->al);
|
||||
ctx.reg_alloc.DefineValue(nzcv_inst, nzcv);
|
||||
|
||||
Reference in New Issue
Block a user