update zip-3.0-crc-builtin.patch.

add message of commit
This commit is contained in:
hanzhelii 2021-05-17 19:12:53 +08:00 committed by Gitee
parent d10fa156ed
commit f72bf32f61

View File

@ -1,7 +1,8 @@
From 6210c2007a430882d234d846d133d5f3799434aa Mon Sep 17 00:00:00 2001
From: Euler Hanzh <18221254@bjtu.edu.cn>
Date: Mon, 17 May 2021 17:32:51 +0800
Subject: [PATCH 2/2] 2
Subject: [PATCH] this patch is created for performance optimization in crc calculation only suitable for openeuler of aarch64 architecture.
The speed of zip software when running can be accelerate by nearly 20% than before.
---
zip30/crc32.c | 27 +++++++++++++++++++++++++++
@ -51,7 +52,6 @@ index 6b2403b..9e26af7 100644
return REV_BE(c) ^ 0xffffffffL; /* (instead of ~c for 64-bit machines) */
}
+#endif /* !ARCH_AARCH64*/
+
#endif /* !ASM_CRC */
#endif /* !CRC_TABLE_ONLY */
#endif /* !USE_ZLIB */