diff --git a/c/blake3_dispatch.c b/c/blake3_dispatch.c index 438f47c..95f9fb0 100644 --- a/c/blake3_dispatch.c +++ b/c/blake3_dispatch.c @@ -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; }