package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
1013 B
15 lines
1013 B
4 years ago
|
diff --git a/third_party/XNNPACK/src/xnnpack/intrinsics-polyfill.h b/third_party/XNNPACK/src/xnnpack/intrinsics-polyfill.h
|
||
|
--- a/third_party/XNNPACK/src/xnnpack/intrinsics-polyfill.h
|
||
|
+++ b/third_party/XNNPACK/src/xnnpack/intrinsics-polyfill.h
|
||
|
@@ -11,8 +11,8 @@
|
||
|
#if defined(__SSE2__)
|
||
|
#include <emmintrin.h>
|
||
|
|
||
|
-// GCC any, Clang pre-8, Android NDK Clang pre-8.0.7, Apple Clang pre-11, and ICC pre-16
|
||
|
-#if (defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER)) || \
|
||
|
+// GCC pre-11, Clang pre-8, Android NDK Clang pre-8.0.7, Apple Clang pre-11, and ICC pre-16
|
||
|
+#if (defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ < 11) || \
|
||
|
(defined(__clang__) && !defined(__apple_build_version__) && (__clang_major__ < 8)) || \
|
||
|
(defined(__clang__) && defined(__ANDROID__) && (__clang_major__ == 8) && (__clang_minor__ == 0) && (__clang_patchlevel__ < 7)) || \
|
||
|
(defined(__clang__) && defined(__apple_build_version__) && (__apple_build_version__ < 11000000)) || \
|