mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 09:29:16 +08:00
63cc8c0d8a
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
78 lines
2.5 KiB
Diff
78 lines
2.5 KiB
Diff
diff --git a/similarity_search/src/method/hnsw.cc b/similarity_search/src/method/hnsw.cc
|
|
index 2741701..7587f7f 100644
|
|
--- a/similarity_search/src/method/hnsw.cc
|
|
+++ b/similarity_search/src/method/hnsw.cc
|
|
@@ -27,7 +27,7 @@
|
|
#include <iostream>
|
|
#include <memory>
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
|
|
#include "portable_simd.h"
|
|
#include "knnquery.h"
|
|
diff --git a/similarity_search/src/method/hnsw_distfunc_opt.cc b/similarity_search/src/method/hnsw_distfunc_opt.cc
|
|
index 4c691bd..6f1a9e6 100644
|
|
--- a/similarity_search/src/method/hnsw_distfunc_opt.cc
|
|
+++ b/similarity_search/src/method/hnsw_distfunc_opt.cc
|
|
@@ -30,7 +30,7 @@
|
|
#include "rangequery.h"
|
|
#include "portable_intrinsics.h"
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
#include "space.h"
|
|
|
|
#include "sort_arr_bi.h"
|
|
diff --git a/similarity_search/src/method/pivot_neighb_invindx.cc b/similarity_search/src/method/pivot_neighb_invindx.cc
|
|
index c6113c7..a7d818b 100644
|
|
--- a/similarity_search/src/method/pivot_neighb_invindx.cc
|
|
+++ b/similarity_search/src/method/pivot_neighb_invindx.cc
|
|
@@ -21,7 +21,7 @@
|
|
#include <unordered_map>
|
|
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
|
|
#include "portable_simd.h"
|
|
#include "space.h"
|
|
diff --git a/similarity_search/src/method/small_world_rand.cc b/similarity_search/src/method/small_world_rand.cc
|
|
index e67ea97..92fe70a 100644
|
|
--- a/similarity_search/src/method/small_world_rand.cc
|
|
+++ b/similarity_search/src/method/small_world_rand.cc
|
|
@@ -17,7 +17,7 @@
|
|
#include <iostream>
|
|
#include <cstddef>
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
|
|
#if defined(_WIN32) || defined(WIN32)
|
|
#include <intrin.h>
|
|
diff --git a/similarity_search/src/method/vptree.cc b/similarity_search/src/method/vptree.cc
|
|
index 4da3b5f..d77e419 100644
|
|
--- a/similarity_search/src/method/vptree.cc
|
|
+++ b/similarity_search/src/method/vptree.cc
|
|
@@ -20,7 +20,7 @@
|
|
#include <cmath>
|
|
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
#if defined(_WIN32) || defined(WIN32)
|
|
#include <intrin.h>
|
|
#endif
|
|
diff --git a/similarity_search/test/test_overlap.cc b/similarity_search/test/test_overlap.cc
|
|
index 326b26b..413d66d 100644
|
|
--- a/similarity_search/test/test_overlap.cc
|
|
+++ b/similarity_search/test/test_overlap.cc
|
|
@@ -12,7 +12,6 @@
|
|
* Apache License Version 2.0 http://www.apache.org/licenses/.
|
|
*
|
|
*/
|
|
-#include <sys/time.h>
|
|
|
|
#include <logging.h>
|
|
#include <idtype.h>
|