Home
last modified time | relevance | path

Searched refs:MAX_SIMD_DEGREE_OR_2 (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/
H A Dblake3.c223 assert(num_chaining_values <= 2 * MAX_SIMD_DEGREE_OR_2); in compress_parents_parallel()
226 const uint8_t *parents_array[MAX_SIMD_DEGREE_OR_2]; in compress_parents_parallel()
296 uint8_t cv_array[2 * MAX_SIMD_DEGREE_OR_2 * BLAKE3_OUT_LEN]; in blake3_compress_subtree_wide()
345 uint8_t cv_array[MAX_SIMD_DEGREE_OR_2 * BLAKE3_OUT_LEN]; in compress_subtree_to_parent_node()
348 assert(num_cvs <= MAX_SIMD_DEGREE_OR_2); in compress_subtree_to_parent_node()
353 uint8_t out_array[MAX_SIMD_DEGREE_OR_2 * BLAKE3_OUT_LEN / 2]; in compress_subtree_to_parent_node()
359 while (num_cvs > 2 && num_cvs <= MAX_SIMD_DEGREE_OR_2) { in compress_subtree_to_parent_node()
H A Dblake3_impl.h76 #define MAX_SIMD_DEGREE_OR_2 (MAX_SIMD_DEGREE > 2 ? MAX_SIMD_DEGREE : 2)
75 #define MAX_SIMD_DEGREE_OR_2 global() macro
/freebsd/sys/contrib/openzfs/module/icp/algs/blake3/
H A Dblake3.c280 const uint8_t *parents_array[MAX_SIMD_DEGREE_OR_2] = {0}; in compress_parents_parallel()
356 uint8_t cv_array[2 * MAX_SIMD_DEGREE_OR_2 * BLAKE3_OUT_LEN]; in blake3_compress_subtree_wide()
412 uint8_t cv_array[MAX_SIMD_DEGREE_OR_2 * BLAKE3_OUT_LEN]; in compress_subtree_to_parent_node()
421 uint8_t out_array[MAX_SIMD_DEGREE_OR_2 * BLAKE3_OUT_LEN / 2]; in compress_subtree_to_parent_node()
H A Dblake3_impl.h76 #define MAX_SIMD_DEGREE_OR_2 (MAX_SIMD_DEGREE > 2 ? MAX_SIMD_DEGREE : 2) macro