We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea0ea38 commit c67f521Copy full SHA for c67f521
faiss/utils/simdlib_avx2.h
@@ -202,12 +202,6 @@ struct simd16uint16 : simd256bit {
202
return simd16uint16(_mm256_cmpeq_epi16(lhs.i, rhs.i));
203
}
204
205
- bool is_same(simd16uint16 other) const {
206
- const __m256i pcmp = _mm256_cmpeq_epi16(i, other.i);
207
- unsigned bitmask = _mm256_movemask_epi8(pcmp);
208
- return (bitmask == 0xffffffffU);
209
- }
210
-
211
simd16uint16 operator~() const {
212
return simd16uint16(_mm256_xor_si256(i, _mm256_set1_epi32(-1)));
213
0 commit comments