summaryrefslogtreecommitdiff
path: root/crc32.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-02-09 19:59:01 -0800
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-05-01 00:21:18 +0200
commite09d131b5abbccf97532afb17c3da92cd0fc6f00 (patch)
treeb9dd1cb744c931c743080ef9f2b20dfc02f489d1 /crc32.c
parent343596fc98a0d7a6283dbe5d25abefca18439184 (diff)
Standardize fill_window implementations and abstract out slide_hash_neon for ARM.
Diffstat (limited to 'crc32.c')
-rw-r--r--crc32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crc32.c b/crc32.c
index 6d9d6a6..7939d49 100644
--- a/crc32.c
+++ b/crc32.c
@@ -201,6 +201,7 @@ ZLIB_INTERNAL void crc_finalize(deflate_state *const s) {
ZLIB_INTERNAL void crc_reset(deflate_state *const s) {
#ifdef X86_PCLMULQDQ_CRC
+ x86_check_features();
if (x86_cpu_has_pclmulqdq) {
crc_fold_init(s);
return;