Skip to content

Commit

Permalink
Fix _mm_loadu_si64 test
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire committed Jul 12, 2020
1 parent ff9299c commit 0d252c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core_arch/src/x86/sse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3673,9 +3673,9 @@ mod tests {

#[simd_test(enable = "sse2")]
unsafe fn test_mm_loadu_si64() {
let a = _mm_set_epi64x(5, 0);
let a = _mm_setr_epi64x(5, 6);
let r = _mm_loadu_si64(&a as *const _ as *const _);
assert_eq_m128i(a, r);
assert_eq_m128i(r, _mm_set_epi64x(5, 0));
}

#[simd_test(enable = "sse")]
Expand Down

0 comments on commit 0d252c5

Please sign in to comment.