From 761f5b69a4c778c8bcb09279b845b07c28790575 Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Mon, 22 Jan 2024 20:54:56 +0800 Subject: liblzma: Rename crc32_aarch64.h to crc32_arm64.h. Even though the proper name for the architecture is aarch64, this project uses ARM64 throughout. So the rename is for consistency. Additionally, crc32_arm64.h was slightly refactored for the following changes: * Added MSVC, FreeBSD, and macOS support in is_arch_extension_supported(). * crc32_arch_optimized() now checks the size when aligning the buffer. * crc32_arch_optimized() loop conditions were slightly modified to avoid both decrementing the size and incrementing the buffer pointer. * Use the intrinsic wrappers defined in because GCC and Clang name them differently. * Minor spacing and comment changes. --- src/liblzma/check/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liblzma/check/Makefile.inc') diff --git a/src/liblzma/check/Makefile.inc b/src/liblzma/check/Makefile.inc index e7f87c85..da7ee0db 100644 --- a/src/liblzma/check/Makefile.inc +++ b/src/liblzma/check/Makefile.inc @@ -16,7 +16,7 @@ liblzma_la_SOURCES += \ check/check.h \ check/crc_common.h \ check/crc_x86_clmul.h \ - check/crc32_aarch64.h + check/crc32_arm64.h if COND_SMALL liblzma_la_SOURCES += check/crc32_small.c -- cgit v1.2.3