Skip to content

Commit

Permalink
Go vld1
Browse files Browse the repository at this point in the history
  • Loading branch information
ogxd committed Nov 9, 2024
1 parent a0c0729 commit f3fcc57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gxhash/platform/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ pub unsafe fn get_partial_unsafe_no_ub(data: *const State, len: usize) -> State
use std::arch::asm;
let mut result: State;
asm!(
"ld1 {0}, [{1}]",
out(reg) result, in(reg) data,
"vld1.8 {0}, [{1}]",
out(vreg) result, in(reg) data,
options(pure, nomem, nostack)
);
let partial_vector = vandq_s8(result, vreinterpretq_s8_u8(mask));
Expand Down

0 comments on commit f3fcc57

Please sign in to comment.