OpcodeDispatcher: skip mask with shld

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
Alyssa Rosenzweig 2024-02-28 10:15:04 -04:00
parent cc82dba1ca
commit e47a94cae7

View File

@ -1712,9 +1712,7 @@ void OpDispatchBuilder::SHLDOp(OpcodeArgs) {
StoreResult(GPRClass, Op, Res, -1);
if (Size != 64) {
Res = _Bfe(OpSize::i64Bit, Size, 0, Res);
}
// No need to mask result, upper garbage is ignored in the flag calc
GenerateFlags_ShiftLeft(Op, Res, Dest, Shift);
}