Merge pull request #3754 from Sonicadvance1/fix_avx128_stringops

AVX128: Fixes SSE4.2 string compare instructions
This commit is contained in:
Ryan Houdek 2024-06-24 16:30:42 -07:00 committed by GitHub
commit dce1b24c00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1657,8 +1657,7 @@ void OpDispatchBuilder::AVX128_VAESKeyGenAssist(OpcodeArgs) {
void OpDispatchBuilder::AVX128_VPCMPESTRI(OpcodeArgs) {
PCMPXSTRXOpImpl(Op, true, false);
///< Zero the upper 128-bits of hardcoded YMM0
AVX128_StoreXMMRegister(0, LoadZeroVector(OpSize::i128Bit), true);
///< Does not zero anything.
}
void OpDispatchBuilder::AVX128_VPCMPESTRM(OpcodeArgs) {
@ -1671,8 +1670,7 @@ void OpDispatchBuilder::AVX128_VPCMPESTRM(OpcodeArgs) {
void OpDispatchBuilder::AVX128_VPCMPISTRI(OpcodeArgs) {
PCMPXSTRXOpImpl(Op, false, false);
///< Zero the upper 128-bits of hardcoded YMM0
AVX128_StoreXMMRegister(0, LoadZeroVector(OpSize::i128Bit), true);
///< Does not zero anything.
}
void OpDispatchBuilder::AVX128_VPCMPISTRM(OpcodeArgs) {