mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-10 00:16:23 +02:00
forgort blake3_simd_degree()
This commit is contained in:
parent
f9b332c61c
commit
059ad2d922
|
@ -320,6 +320,11 @@ size_t blake3_simd_degree(void) {
|
|||
#endif
|
||||
#if BLAKE3_USE_NEON == 1
|
||||
return 4;
|
||||
#elif defined(__aarch64__)
|
||||
const enum cpu_feature features = get_cpu_features();
|
||||
if(features & ARM_NEON) {
|
||||
return 4;
|
||||
}
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue