diff --git a/src/arch/aarch64.rs b/src/arch/aarch64.rs index eca5b8e..52dd045 100644 --- a/src/arch/aarch64.rs +++ b/src/arch/aarch64.rs @@ -74,7 +74,7 @@ pub(crate) unsafe fn check_neon(input: &[u8]) -> bool { let valid_letter = vorrq_u8(valid_lower, valid_upper); let valid_mask = vorrq_u8(valid_digit, valid_letter); - vmaxvq_u8(valid_mask) == 0 + vminvq_u8(valid_mask) == 0xFF }) }