File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1243,10 +1243,9 @@ pub unsafe fn _mm_loadr_ps(p: *const f32) -> __m128 {
1243
1243
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_loadu_si64)
1244
1244
#[ inline]
1245
1245
#[ target_feature( enable = "sse" ) ]
1246
- #[ cfg_attr( all( test, not( target_arch = "x86" ) ) , assert_instr( movq) ) ]
1247
1246
#[ stable( feature = "simd_x86_mm_loadu_si64" , since = "1.46.0" ) ]
1248
1247
pub unsafe fn _mm_loadu_si64 ( mem_addr : * const u8 ) -> __m128i {
1249
- transmute ( i64x2 ( 0 , ptr:: read_unaligned ( mem_addr as * const i64 ) ) )
1248
+ transmute ( i64x2 ( ptr:: read_unaligned ( mem_addr as * const i64 ) , 0 ) )
1250
1249
}
1251
1250
1252
1251
/// Stores the lowest 32 bit float of `a` into memory.
@@ -3083,7 +3082,7 @@ mod tests {
3083
3082
unsafe fn test_mm_loadu_si64 ( ) {
3084
3083
let a = _mm_setr_epi64x ( 5 , 6 ) ;
3085
3084
let r = _mm_loadu_si64 ( & a as * const _ as * const _ ) ;
3086
- assert_eq_m128i ( r, _mm_set_epi64x ( 5 , 0 ) ) ;
3085
+ assert_eq_m128i ( r, _mm_setr_epi64x ( 5 , 0 ) ) ;
3087
3086
}
3088
3087
3089
3088
#[ simd_test( enable = "sse" ) ]
You can’t perform that action at this time.
0 commit comments