aboutsummaryrefslogtreecommitdiffstats
path: root/community/zstd/lift-XXH_FORCE_MEMORY_ACCESS-condition.patch
blob: dc514a005c825228ea036c37e8922beed7b4ca57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/lib/common/xxhash.c
+++ b/lib/common/xxhash.c
@@ -52,8 +52,7 @@
 #ifndef XXH_FORCE_MEMORY_ACCESS   /* can be defined externally, on command line for example */
 #  if defined(__GNUC__) && ( defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) )
 #    define XXH_FORCE_MEMORY_ACCESS 2
-#  elif (defined(__INTEL_COMPILER) && !defined(WIN32)) || \
-  (defined(__GNUC__) && ( defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) ))
+#  elif (defined(__INTEL_COMPILER) && !defined(WIN32)) || defined(__GNUC__)
 #    define XXH_FORCE_MEMORY_ACCESS 1
 #  endif
 #endif