mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-06 23:19:58 +01:00
emit_arm64_data_processing: Fix flags issue in Add32 overflow variant
This commit is contained in:
parent
33fa44acf6
commit
ba42318ab2
@ -898,6 +898,7 @@ static void EmitAddSub(oaknut::CodeGenerator& code, EmitContext& ctx, IR::Inst*
|
||||
|
||||
auto Rb = ctx.reg_alloc.ReadReg<bitsize>(args[1]);
|
||||
auto Woverflow = ctx.reg_alloc.WriteW(overflow_inst);
|
||||
ctx.reg_alloc.SpillFlags();
|
||||
RegAlloc::Realize(Rresult, Ra, Rb, Woverflow);
|
||||
|
||||
code.ADDS(Rresult, *Ra, Rb);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user