mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
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:
+1
-1
@@ -211,7 +211,7 @@ void find_the_best_supported_implementation() {
|
||||
}
|
||||
#endif
|
||||
#ifdef IS_ARM64
|
||||
if (instruction_set::NEON) {
|
||||
if (supports & instruction_set::NEON) {
|
||||
best_stage1 = simdjson::find_structural_bits<Architecture ::ARM64>;
|
||||
best_stage2 = simdjson::unified_machine<Architecture ::ARM64>;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user