Coverage Report

Created: 2026-05-30 06:45

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/zlib-ng/arch/x86/crc32_vpclmulqdq_avx512.c
Line
Count
Source
1
/* crc32_vpclmulqdq_avx512.c -- VPCLMULQDQ-based CRC32 with AVX-512.
2
 * For conditions of distribution and use, see copyright notice in zlib.h
3
 */
4
5
#ifdef X86_VPCLMULQDQ_AVX512
6
7
#define X86_VPCLMULQDQ
8
#include "crc32_pclmulqdq_tpl.h"
9
10
0
Z_INTERNAL uint32_t crc32_vpclmulqdq_avx512(uint32_t crc, const uint8_t *buf, size_t len) {
11
0
    return crc32_copy_impl(crc, NULL, buf, len, 0);
12
0
}
13
14
0
Z_INTERNAL uint32_t crc32_copy_vpclmulqdq_avx512(uint32_t crc, uint8_t *dst, const uint8_t *src, size_t len) {
15
0
    return crc32_copy_impl(crc, dst, src, len, 1);
16
0
}
17
#endif