Skip to content

Commit 2477e79

Browse files
nodejs-github-bottargos
authored andcommittedOct 2, 2024
deps: update zlib to 1.3.0.1-motley-8b7eff8
PR-URL: #53464 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 3d8113f commit 2477e79

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎deps/zlib/crc32_simd.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,9 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_( /* SSE4.2+PCLMUL */
387387
#endif
388388

389389
#if defined(__aarch64__)
390-
#define TARGET_ARMV8_WITH_CRC __attribute__((target("aes,crc")))
390+
#define TARGET_ARMV8_WITH_CRC __attribute__((target("arch=armv8-a+aes+crc")))
391391
#else // !defined(__aarch64__)
392-
#define TARGET_ARMV8_WITH_CRC __attribute__((target("armv8-a,crc")))
392+
#define TARGET_ARMV8_WITH_CRC __attribute__((target("crc")))
393393
#endif // defined(__aarch64__)
394394

395395
#elif defined(__GNUC__)
@@ -398,7 +398,7 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_( /* SSE4.2+PCLMUL */
398398
*/
399399
#include <arm_acle.h>
400400
#include <arm_neon.h>
401-
#define TARGET_ARMV8_WITH_CRC
401+
#define TARGET_ARMV8_WITH_CRC __attribute__((target("arch=armv8-a+crc")))
402402
#else // !defined(__GNUC__) && !defined(_aarch64__)
403403
#error ARM CRC32 SIMD extensions only supported for Clang and GCC
404404
#endif

‎src/zlib_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// Refer to tools/dep_updaters/update-zlib.sh
33
#ifndef SRC_ZLIB_VERSION_H_
44
#define SRC_ZLIB_VERSION_H_
5-
#define ZLIB_VERSION "1.3.0.1-motley-e432200"
5+
#define ZLIB_VERSION "1.3.0.1-motley-8b7eff8"
66
#endif // SRC_ZLIB_VERSION_H_

0 commit comments

Comments
 (0)
Please sign in to comment.