emit_x64_vector: Fix non-SSE4.1 saturated narrowing reconstruction comparison

Allows non-SSE4.1 to produce the correct FPSR.QC flag
This commit is contained in:
MerryMage 2018-07-24 18:17:14 +01:00
parent 3874cb37e3
commit e686a81612

View file

@ -2231,7 +2231,7 @@ static void EmitVectorSignedSaturatedNarrowToSigned(size_t original_esize, Block
} else {
code.pcmpeqd(reconstructed, src);
code.movmskps(bit, reconstructed);
code.cmp(bit, 0);
code.cmp(bit, 0xF);
}
code.setnz(bit.cvt8());
@ -2294,7 +2294,7 @@ static void EmitVectorSignedSaturatedNarrowToUnsigned(size_t original_esize, Blo
} else {
code.pcmpeqd(reconstructed, src);
code.movmskps(bit, reconstructed);
code.cmp(bit, 0);
code.cmp(bit, 0xF);
}
code.setnz(bit.cvt8());