We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__m64i::loadu_si
1 parent 62bcd44 commit 7aba3a2Copy full SHA for 7aba3a2
src/x86.rs
@@ -86,7 +86,7 @@ impl Vector for __m64i {
86
#[inline]
87
#[target_feature(enable = "avx2")]
88
unsafe fn loadu_si(a: *const Self) -> Self {
89
- __m64i(_mm_loadu_si128(a as *const std::arch::x86_64::__m128i))
+ __m64i(_mm_set_epi64x(0, std::ptr::read_unaligned(a as *const i64)))
90
}
91
92
0 commit comments