mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-02-16 12:58:05 +00:00
OpcodeDispatcher: fuse orlshl in rcr 1-bit
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
7c288b09f1
commit
c92099aa98
@ -2390,7 +2390,7 @@ void OpDispatchBuilder::RCROp1Bit(OpcodeArgs) {
|
||||
Res = _Bfe(OpSize::i32Bit, Size - Shift, Shift, Dest);
|
||||
|
||||
// inject the CF
|
||||
Res = _Or(OpSize::i32Bit, Res, _Lshl(OpSize::i32Bit, CF, _Constant(Size, Size - Shift)));
|
||||
Res = _Orlshl(OpSize::i32Bit, Res, CF, Size - Shift);
|
||||
}
|
||||
|
||||
// CF only changes if we actually shifted
|
||||
|
Loading…
x
Reference in New Issue
Block a user