diff --git a/src/gxhash/platform/arm.rs b/src/gxhash/platform/arm.rs index f2473ff..4cd0a6b 100644 --- a/src/gxhash/platform/arm.rs +++ b/src/gxhash/platform/arm.rs @@ -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));