OpcodeDispatcher: fuse sgdt

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
Alyssa Rosenzweig 2024-05-31 13:13:32 -04:00
parent 0413a6bf68
commit c3a0f5a2f6

View File

@ -3064,7 +3064,7 @@ void OpDispatchBuilder::SGDTOp(OpcodeArgs) {
}
_StoreMemAutoTSO(GPRClass, 2, DestAddress, _Constant(0));
_StoreMemAutoTSO(GPRClass, GDTStoreSize, _Add(OpSize::i64Bit, DestAddress, _Constant(2)), _Constant(GDTAddress));
_StoreMemAutoTSO(GPRClass, GDTStoreSize, AddressMode {.Base = DestAddress, .Offset = 2, .AddrSize = 8}, _Constant(GDTAddress));
}
void OpDispatchBuilder::SMSWOp(OpcodeArgs) {