mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
remove only use of cmpmsk8 and unused cmpmsk16
This commit is contained in:
@@ -91,7 +91,7 @@ static really_inline
|
||||
u32 packedExtract128(m128 s, const m128 permute, const m128 compare) {
|
||||
m128 shuffled = pshufb(s, permute);
|
||||
m128 compared = and128(shuffled, compare);
|
||||
u16 rv = ~cmpmsk8(compared, shuffled);
|
||||
u16 rv = ~movemask128(eq128(compared, shuffled));
|
||||
return (u32)rv;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user