Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
wx257osn2 committed May 31, 2023
1 parent 59a308b commit e2ee929
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions faiss/utils/simdlib_avx2.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,6 @@ struct simd16uint16 : simd256bit {
return simd16uint16(_mm256_cmpeq_epi16(lhs.i, rhs.i));
}

bool is_same(simd16uint16 other) const {
const __m256i pcmp = _mm256_cmpeq_epi16(i, other.i);
unsigned bitmask = _mm256_movemask_epi8(pcmp);
return (bitmask == 0xffffffffU);
}

simd16uint16 operator~() const {
return simd16uint16(_mm256_xor_si256(i, _mm256_set1_epi32(-1)));
}
Expand Down

0 comments on commit e2ee929

Please sign in to comment.