Skip to content

Commit

Permalink
perf(arm): use umaxv instead of uminv
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Sep 29, 2024
1 parent 08c6394 commit d8c03fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/aarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}

Expand Down

0 comments on commit d8c03fe

Please sign in to comment.