mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-13 05:00:31 +02:00
OpDispatcher: Force a recheck of TF after POPF
The dispatcher/block linker will handle this, but if the instruction following a POPF flag doesn't otherwise trigger one of those the interrupt would be missed.
This commit is contained in:
1 parent
b98acdf97a
commit
2c883d7cdc
3 files changed
+14
-5
No files matched your search
@@ -3604,6 +3604,10 @@ void OpDispatchBuilder::POPFOp(OpcodeArgs) {
|
||||
Src = _Or(OpSize::i64Bit, Src, Constant(0x202));
|
||||
|
||||
SetPackedRFLAG(false, Src);
|
||||
|
||||
auto NewRIP = GetRelocatedPC(Op);
|
||||
ExitFunction(NewRIP, BranchHint::CheckTF);
|
||||
BlockSetRIP = true;
|
||||
}
|
||||
|
||||
void OpDispatchBuilder::NEGOp(OpcodeArgs) {
|
||||
|
||||
Reference in new issue
Block a user