We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e423cc commit db6ff2eCopy full SHA for db6ff2e
faiss/impl/code_distance/code_distance-avx2.h
@@ -16,6 +16,11 @@
16
#include <faiss/impl/ProductQuantizer.h>
17
#include <faiss/impl/code_distance/code_distance-generic.h>
18
19
+// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78782
20
+#if defined(__GNUC__) && __GNUC__ < 9
21
+#define _mm_loadu_si64(x) (_mm_loadl_epi64((__m128i_u*)x))
22
+#endif
23
+
24
namespace {
25
26
inline float horizontal_sum(const __m128 v) {
0 commit comments