-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Musl: fix "selected processor does not support
pmull
"
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/crc32_simd.c b/crc32_simd.c | ||
index cbe9739..4d01b1b 100644 | ||
--- a/crc32_simd.c | ||
+++ b/crc32_simd.c | ||
@@ -398,7 +398,7 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_( /* SSE4.2+PCLMUL */ | ||
*/ | ||
#include <arm_acle.h> | ||
#include <arm_neon.h> | ||
-#define TARGET_ARMV8_WITH_CRC __attribute__((target("arch=armv8-a+crc"))) | ||
+#define TARGET_ARMV8_WITH_CRC | ||
#else // !defined(__GNUC__) && !defined(_aarch64__) | ||
#error ARM CRC32 SIMD extensions only supported for Clang and GCC | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters