Skip to content

Commit

Permalink
🐛 load unaligned
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdd committed Feb 7, 2023
1 parent 4f9b767 commit bae6139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simd/simd_f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mod avx2 {

#[inline(always)]
unsafe fn _mm_loadu(data: *const f32) -> __m256i {
_f32_as_m256i_to_i32ord(_mm256_load_epi32(data as *const i32))
_f32_as_m256i_to_i32ord(_mm256_loadu_epi32(data as *const i32))
}

#[inline(always)]
Expand Down

0 comments on commit bae6139

Please sign in to comment.