Home
last modified time | relevance | path

Searched refs:fold (Results 1 – 3 of 3) sorted by relevance

/dpdk/lib/net/
H A Dnet_crc_neon.c44 uint64x2_t fold) in crcr32_folding_round() argument
145 fold = veorq_u64(fold, temp); in crc32_eth_calc_pmull()
157 fold = veorq_u64(fold, temp); in crc32_eth_calc_pmull()
159 fold = vshift_bytes_left(fold, 8 - data_len); in crc32_eth_calc_pmull()
162 fold = vshift_bytes_left(fold, 16 - data_len); in crc32_eth_calc_pmull()
167 fold = veorq_u64(fold, temp); in crc32_eth_calc_pmull()
176 fold = veorq_u64(fold, temp); in crc32_eth_calc_pmull()
182 fold = crcr32_folding_round(temp, k, fold); in crc32_eth_calc_pmull()
203 fold = veorq_u64(fold, temp); in crc32_eth_calc_pmull()
204 fold = veorq_u64(fold, b); in crc32_eth_calc_pmull()
[all …]
H A Dnet_crc_sse.c47 __m128i fold) in crcr32_folding_round() argument
172 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
184 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
186 fold = xmm_shift_left(fold, 8 - data_len); in crc32_eth_calc_pclmulqdq()
189 fold = xmm_shift_left(fold, 16 - data_len); in crc32_eth_calc_pclmulqdq()
194 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
203 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
209 fold = crcr32_folding_round(temp, k, fold); in crc32_eth_calc_pclmulqdq()
243 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
244 fold = _mm_xor_si128(fold, b); in crc32_eth_calc_pclmulqdq()
[all …]
H A Dnet_crc_avx512.c49 crcr32_folding_round(__m512i data_block, __m512i precomp, __m512i fold) in crcr32_folding_round() argument
53 tmp0 = _mm512_clmulepi64_epi128(fold, precomp, 0x01); in crcr32_folding_round()
54 tmp1 = _mm512_clmulepi64_epi128(fold, precomp, 0x10); in crcr32_folding_round()
161 reduction_loop(__m128i *fold, int *len, const uint8_t *data, uint32_t *n, in reduction_loop() argument
166 tmp = _mm_clmulepi64_si128(*fold, params->fold_1x128b, 0x1); in reduction_loop()
167 *fold = _mm_clmulepi64_si128(*fold, params->fold_1x128b, 0x10); in reduction_loop()
168 *fold = _mm_xor_si128(*fold, tmp); in reduction_loop()
170 *fold = _mm_xor_si128(*fold, tmp1); in reduction_loop()