X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/dc752276542a0708efeb51000ffc12479364e396..2b3f6527d522b647a6c8b5039228ebe569686c38:/symm/chacha.c diff --git a/symm/chacha.c b/symm/chacha.c index 71522003..f70ee9fb 100644 --- a/symm/chacha.c +++ b/symm/chacha.c @@ -93,7 +93,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); }