mirror of
https://github.com/ptitSeb/box64.git
synced 2024-11-30 10:11:10 +00:00
[RV64_DYNAREC] Fixed pending flags for large 8 & 16 bit const shifts (#1728)
This commit is contained in:
parent
2a07636623
commit
4187581be5
@ -80,6 +80,9 @@ void emit_shl8c(dynarec_rv64_t* dyn, int ninst, int s1, uint32_t c, int s3, int
|
||||
}
|
||||
}
|
||||
MV(s1, xZR);
|
||||
IFX(X_PEND) {
|
||||
SB(s1, xEmu, offsetof(x64emu_t, res));
|
||||
}
|
||||
// OF nop
|
||||
// SF nop
|
||||
// AF nop
|
||||
@ -391,6 +394,9 @@ void emit_shl16c(dynarec_rv64_t* dyn, int ninst, int s1, uint32_t c, int s3, int
|
||||
}
|
||||
}
|
||||
MV(s1, xZR);
|
||||
IFX(X_PEND) {
|
||||
SH(s1, xEmu, offsetof(x64emu_t, res));
|
||||
}
|
||||
// OF nop
|
||||
// SF nop
|
||||
// AF nop
|
||||
|
Loading…
Reference in New Issue
Block a user