Skip to content

Commit ff9299c

Browse files
committed
Assert _mm_loadu_si64 uses movq
As suggested by @Amanieu
1 parent e262ee2 commit ff9299c

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
@@ -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
_mm_set_epi64x(ptr::read_unaligned(mem_addr as *const i64), 0)

0 commit comments

Comments
 (0)