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:
parent
3874cb37e3
commit
e686a81612
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue