23 lines
895 B
Diff
23 lines
895 B
Diff
https://gitlab.alpinelinux.org/alpine/aports/-/raw/da4780262417a9446b7d13fe9bb7e83c54edb53d/main/7zip/armv7.patch
|
|
we don't have neon on armv7
|
|
--
|
|
diff --git a/C/SwapBytes.c b/C/SwapBytes.c
|
|
index 0bfe95c..834fe4b 100755
|
|
--- a/C/SwapBytes.c
|
|
+++ b/C/SwapBytes.c
|
|
@@ -331,12 +331,12 @@ ShufBytes_256(void *items8, const void *lim8, const void *mask128_ptr)
|
|
|
|
// compile message "NEON intrinsics not available with the soft-float ABI"
|
|
#elif defined(MY_CPU_ARM_OR_ARM64) || \
|
|
- (defined(__ARM_ARCH) && (__ARM_ARCH >= 7))
|
|
+ (defined(__ARM_ARCH) && (__ARM_ARCH >= 8))
|
|
// #elif defined(MY_CPU_ARM64)
|
|
|
|
#if defined(__clang__) && (__clang_major__ >= 8) \
|
|
|| defined(__GNUC__) && (__GNUC__ >= 8)
|
|
- #if (defined(__ARM_ARCH) && (__ARM_ARCH >= 7)) \
|
|
+ #if (defined(__ARM_ARCH) && (__ARM_ARCH >= 8)) \
|
|
|| defined(MY_CPU_ARM64)
|
|
#define USE_SWAP_128
|
|
#endif
|