Merge pull request #3767 from Sonicadvance1/avx128_fix_wide_shift

AVX128: Fixes wide shifts
This commit is contained in:
Mai 2024-06-26 17:29:09 -04:00 committed by GitHub
commit a031a49546
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -728,7 +728,7 @@ void OpDispatchBuilder::AVX128_VectorShiftWideImpl(OpcodeArgs, size_t ElementSiz
if (Is128Bit) {
Result.High = LoadZeroVector(OpSize::i128Bit);
} else {
DeriveOp(High, IROp, _VUShrSWide(OpSize::i128Bit, ElementSize, Src1.High, Src2.High));
DeriveOp(High, IROp, _VUShrSWide(OpSize::i128Bit, ElementSize, Src1.High, Src2.Low));
Result.High = High;
}