From d8c03fe89c86b2914b4e8b55175851b620a4cfec Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Sun, 29 Sep 2024 22:20:39 +0200 Subject: [PATCH] perf(arm): use umaxv instead of uminv --- 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 52dd045..eca5b8e 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); - vminvq_u8(valid_mask) == 0xFF + vmaxvq_u8(valid_mask) == 0 }) }