Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah committed May 23, 2024
1 parent 8aa98e0 commit d5e84fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulp/src/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2002,7 +2002,7 @@ impl Simd for V3 {
/// See the trait-level safety documentation.
#[inline(always)]
unsafe fn f32s_mask_store_ptr(self, mask: Self::m32s, ptr: *mut f32, values: Self::f32s) {
_mm256_maskstore_ps(ptr as *mut f32, transmute(mask), transmute(values));
_mm256_maskstore_ps(ptr, transmute(mask), transmute(values));
}
/// # Safety
///
Expand All @@ -2023,7 +2023,7 @@ impl Simd for V3 {
/// See the trait-level safety documentation.
#[inline(always)]
unsafe fn f64s_mask_store_ptr(self, mask: Self::m64s, ptr: *mut f64, values: Self::f64s) {
_mm256_maskstore_pd(ptr as *mut f64, transmute(mask), transmute(values));
_mm256_maskstore_pd(ptr, transmute(mask), transmute(values));
}
/// # Safety
///
Expand Down

0 comments on commit d5e84fc

Please sign in to comment.