Correct detection of NEON support (#392)

... as the test as it is currently implemented will always evaluate to true.

Fixes #389
This commit is contained in:
mswilson
2019-12-10 10:12:17 -08:00
committed by Daniel Lemire
parent c9cd8e6211
commit d33208c7db
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ Architecture find_best_supported_implementation() {
return Architecture::HASWELL;
if ((westmere_flags & supports) == westmere_flags)
return Architecture::WESTMERE;
if (instruction_set::NEON)
if (supports & instruction_set::NEON)
return Architecture::ARM64;
return Architecture::NONE;