Searched refs:xorv (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/ |
H A D | blake3_avx2.c | 18 INLINE __m256i xorv(__m256i a, __m256i b) { return _mm256_xor_si256(a, b); } in xorv() function 51 v[12] = xorv(v[12], v[0]); in round_fn() 52 v[13] = xorv(v[13], v[1]); in round_fn() 53 v[14] = xorv(v[14], v[2]); in round_fn() 54 v[15] = xorv(v[15], v[3]); in round_fn() 63 v[4] = xorv(v[4], v[8]); in round_fn() 64 v[5] = xorv(v[5], v[9]); in round_fn() 65 v[6] = xorv(v[6], v[10]); in round_fn() 66 v[7] = xorv(v[7], v[11]); in round_fn() 79 v[12] = xorv(v[12], v[0]); in round_fn() [all …]
|
H A D | blake3_sse41.c | 22 INLINE __m128i xorv(__m128i a, __m128i b) { return _mm_xor_si128(a, b); } in xorv() function 36 return xorv(_mm_srli_epi32(x, 12), _mm_slli_epi32(x, 32 - 12)); in rot12() 45 return xorv(_mm_srli_epi32(x, 7), _mm_slli_epi32(x, 32 - 7)); in rot7() 51 *row3 = xorv(*row3, *row0); in g1() 54 *row1 = xorv(*row1, *row2); in g1() 61 *row3 = xorv(*row3, *row0); in g2() 64 *row1 = xorv(*row1, *row2); in g2() 260 storeu(xorv(rows[0], rows[2]), (uint8_t *)&cv[0]); in blake3_compress_in_place_sse41() 261 storeu(xorv(rows[1], rows[3]), (uint8_t *)&cv[4]); in blake3_compress_in_place_sse41() 270 storeu(xorv(rows[0], rows[2]), &out[0]); in blake3_compress_xof_sse41() [all …]
|
H A D | blake3_sse2.c | 22 INLINE __m128i xorv(__m128i a, __m128i b) { return _mm_xor_si128(a, b); } in xorv() function 35 return xorv(_mm_srli_epi32(x, 12), _mm_slli_epi32(x, 32 - 12)); in rot12() 39 return xorv(_mm_srli_epi32(x, 8), _mm_slli_epi32(x, 32 - 8)); in rot8() 43 return xorv(_mm_srli_epi32(x, 7), _mm_slli_epi32(x, 32 - 7)); in rot7() 49 *row3 = xorv(*row3, *row0); in g1() 52 *row1 = xorv(*row1, *row2); in g1() 59 *row3 = xorv(*row3, *row0); in g2() 62 *row1 = xorv(*row1, *row2); in g2() 266 storeu(xorv(rows[0], rows[2]), (uint8_t *)&cv[0]); in blake3_compress_in_place_sse2() 267 storeu(xorv(rows[1], rows[3]), (uint8_t *)&cv[4]); in blake3_compress_in_place_sse2() [all …]
|