diff --git a/src/gxhash/platform/arm_128.rs b/src/gxhash/platform/arm_128.rs index 134d2c7..bcc87f8 100644 --- a/src/gxhash/platform/arm_128.rs +++ b/src/gxhash/platform/arm_128.rs @@ -17,11 +17,6 @@ pub unsafe fn create_empty() -> State { vdupq_n_s8(0) } -#[inline(always)] -pub unsafe fn prefetch(p: *const State) { - //__pld(p as *const i8); -} - #[inline(always)] pub unsafe fn load_unaligned(p: *const State) -> State { vld1q_s8(p as *const i8) diff --git a/src/gxhash/platform/x86_128.rs b/src/gxhash/platform/x86_128.rs index 727ddca..98b1435 100644 --- a/src/gxhash/platform/x86_128.rs +++ b/src/gxhash/platform/x86_128.rs @@ -8,11 +8,6 @@ pub unsafe fn create_empty() -> State { _mm_setzero_si128() } -#[inline] -pub unsafe fn prefetch(p: *const State) { - _mm_prefetch(p as *const i8, 3); -} - #[inline] pub unsafe fn load_unaligned(p: *const State) -> State { _mm_loadu_si128(p) diff --git a/src/gxhash/platform/x86_256.rs b/src/gxhash/platform/x86_256.rs index adee595..295d600 100644 --- a/src/gxhash/platform/x86_256.rs +++ b/src/gxhash/platform/x86_256.rs @@ -8,11 +8,6 @@ pub unsafe fn create_empty() -> State { _mm256_setzero_si256() } -#[inline] -pub unsafe fn prefetch(p: *const State) { - _mm_prefetch(p as *const i8, 3); -} - #[inline] pub unsafe fn load_unaligned(p: *const State) -> State { _mm256_loadu_si256(p)