Skip to content

Commit 0fd0996

Browse files
committed
Fix _mm_loadu_si64 test
1 parent 7e11d88 commit 0fd0996

File tree

1 file changed

+1
-1
lines changed
  • crates/core_arch/src/x86

1 file changed

+1
-1
lines changed

crates/core_arch/src/x86/sse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3674,7 +3674,7 @@ mod tests {
36743674

36753675
#[simd_test(enable = "sse2")]
36763676
unsafe fn test_mm_loadu_si64() {
3677-
let a = _mm_set_epi64x(5, 0);
3677+
let a = _mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0);
36783678
let r = _mm_loadu_si64(&a as *const _ as *const _);
36793679
assert_eq_m128i(a, r);
36803680
}

0 commit comments

Comments
 (0)