mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-02-24 00:32:22 +00:00
OpcodeDispatcher: Use orlshl for FCW
Potentially easier on the RA (bfi has a tied operand), mostly whatever here. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
5fc8699db9
commit
19eff62c77
@ -100,10 +100,10 @@ OrderedNode *OpDispatchBuilder::ReconstructFSW() {
|
||||
auto C2 = GetRFLAG(FEXCore::X86State::X87FLAG_C2_LOC);
|
||||
auto C3 = GetRFLAG(FEXCore::X86State::X87FLAG_C3_LOC);
|
||||
|
||||
FSW = _Bfi(OpSize::i64Bit, 1, 8, FSW, C0);
|
||||
FSW = _Bfi(OpSize::i64Bit, 1, 9, FSW, C1);
|
||||
FSW = _Bfi(OpSize::i64Bit, 1, 10, FSW, C2);
|
||||
FSW = _Bfi(OpSize::i64Bit, 1, 14, FSW, C3);
|
||||
FSW = _Orlshl(OpSize::i64Bit, FSW, C0, 8);
|
||||
FSW = _Orlshl(OpSize::i64Bit, FSW, C1, 9);
|
||||
FSW = _Orlshl(OpSize::i64Bit, FSW, C2, 10);
|
||||
FSW = _Orlshl(OpSize::i64Bit, FSW, C3, 14);
|
||||
return FSW;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user