Skip to content

Commit 7e11d88

Browse files
committed
Assert _mm_loadu_si64 uses movq
As suggested by @Amanieu
1 parent a271ade commit 7e11d88

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ pub unsafe fn _mm_loadr_ps(p: *const f32) -> __m128 {
12581258
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_loadu_si64)
12591259
#[inline]
12601260
#[target_feature(enable = "sse")]
1261-
#[cfg_attr(test, assert_instr(movups))]
1261+
#[cfg_attr(test, assert_instr(movq))]
12621262
#[stable(feature = "simd_x86_mm_loadu_si64", since = "1.46.0")]
12631263
pub unsafe fn _mm_loadu_si64(mem_addr: *const u8) -> __m128i {
12641264
let val = ptr::read_unaligned(mem_addr as *const i64);

0 commit comments

Comments
 (0)