diff --git a/deps/zlib/crc32_simd.c b/deps/zlib/crc32_simd.c index 1ee7742015da60..cbe9739578c943 100644 --- a/deps/zlib/crc32_simd.c +++ b/deps/zlib/crc32_simd.c @@ -387,9 +387,9 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_( /* SSE4.2+PCLMUL */ #endif #if defined(__aarch64__) -#define TARGET_ARMV8_WITH_CRC __attribute__((target("aes,crc"))) +#define TARGET_ARMV8_WITH_CRC __attribute__((target("arch=armv8-a+aes+crc"))) #else // !defined(__aarch64__) -#define TARGET_ARMV8_WITH_CRC __attribute__((target("armv8-a,crc"))) +#define TARGET_ARMV8_WITH_CRC __attribute__((target("crc"))) #endif // defined(__aarch64__) #elif defined(__GNUC__) @@ -398,7 +398,7 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_( /* SSE4.2+PCLMUL */ */ #include #include -#define TARGET_ARMV8_WITH_CRC +#define TARGET_ARMV8_WITH_CRC __attribute__((target("arch=armv8-a+crc"))) #else // !defined(__GNUC__) && !defined(_aarch64__) #error ARM CRC32 SIMD extensions only supported for Clang and GCC #endif diff --git a/src/zlib_version.h b/src/zlib_version.h index 36f596a0ade87a..40a715aa6c0d05 100644 --- a/src/zlib_version.h +++ b/src/zlib_version.h @@ -2,5 +2,5 @@ // Refer to tools/dep_updaters/update-zlib.sh #ifndef SRC_ZLIB_VERSION_H_ #define SRC_ZLIB_VERSION_H_ -#define ZLIB_VERSION "1.3.0.1-motley-e432200" +#define ZLIB_VERSION "1.3.0.1-motley-8b7eff8" #endif // SRC_ZLIB_VERSION_H_