emit_x86: Fix nzcv for EmitSub
This commit is contained in:
parent
68391b0a05
commit
f0276dd53b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user