From 86fb337f0d7c34a26399166c54f89b4284b2a89c Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Sun, 29 Sep 2024 22:33:43 +0200 Subject: [PATCH] Revert "perf(arm): use umaxv instead of uminv" This reverts commit d8c03fe89c86b2914b4e8b55175851b620a4cfec. --- src/arch/aarch64.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) }