X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/ac82eac807a9818e676c316f8afeab5cff2572cd..8c5956c14f5834a072e1a9345ae1f356b14164ca:/symm/chacha.c diff --git a/symm/chacha.c b/symm/chacha.c index 983f58c7..90a4c674 100644 --- a/symm/chacha.c +++ b/symm/chacha.c @@ -97,7 +97,8 @@ static core__functype *pick_core(void) cpu_feature_p(CPUFEAT_ARM_NEON)); #endif #if CPUFAM_ARM64 - DISPATCH_PICK_COND(chacha_core, chacha_core_arm64, 1); + DISPATCH_PICK_COND(chacha_core, chacha_core_arm64, + cpu_feature_p(CPUFEAT_ARM_NEON)); #endif DISPATCH_PICK_FALLBACK(chacha_core, simple_core); }