We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c91662 commit 1973270Copy full SHA for 1973270
libc/src/string/memory_utils/op_x86.h
@@ -29,12 +29,15 @@
29
// Define fake functions to prevent the compiler from failing on undefined
30
// functions in case the CPU extension is not present.
31
#if !defined(__AVX512BW__) && (defined(_MSC_VER) || defined(__SCE__))
32
+#undef _mm512_cmpneq_epi8_mask
33
#define _mm512_cmpneq_epi8_mask(A, B) 0
34
#endif
35
#if !defined(__AVX2__) && (defined(_MSC_VER) || defined(__SCE__))
36
+#undef _mm256_movemask_epi8
37
#define _mm256_movemask_epi8(A) 0
38
39
#if !defined(__SSE2__) && (defined(_MSC_VER) || defined(__SCE__))
40
+#undef _mm_movemask_epi8
41
#define _mm_movemask_epi8(A) 0
42
43
0 commit comments