Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_net/
H A Dnet_crc_sse.c48 __m128i fold) in crcr32_folding_round() argument
173 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
185 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
187 fold = xmm_shift_left(fold, 8 - data_len); in crc32_eth_calc_pclmulqdq()
190 fold = xmm_shift_left(fold, 16 - data_len); in crc32_eth_calc_pclmulqdq()
195 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
204 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
210 fold = crcr32_folding_round(temp, k, fold); in crc32_eth_calc_pclmulqdq()
244 fold = _mm_xor_si128(fold, temp); in crc32_eth_calc_pclmulqdq()
245 fold = _mm_xor_si128(fold, b); in crc32_eth_calc_pclmulqdq()
[all …]
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_avx512.c52 crcr32_folding_round(__m512i data_block, __m512i precomp, __m512i fold) in crcr32_folding_round() argument
56 tmp0 = _mm512_clmulepi64_epi128(fold, precomp, 0x01); in crcr32_folding_round()
57 tmp1 = _mm512_clmulepi64_epi128(fold, precomp, 0x10); in crcr32_folding_round()
164 reduction_loop(__m128i *fold, int *len, const uint8_t *data, uint32_t *n, in reduction_loop() argument
169 tmp = _mm_clmulepi64_si128(*fold, params->fold_1x128b, 0x1); in reduction_loop()
170 *fold = _mm_clmulepi64_si128(*fold, params->fold_1x128b, 0x10); in reduction_loop()
171 *fold = _mm_xor_si128(*fold, tmp); in reduction_loop()
173 *fold = _mm_xor_si128(*fold, tmp1); in reduction_loop()