@@ -2758,7 +2758,8 @@ pub unsafe fn _mm_loadu_pd(mem_addr: *const f64) -> __m128d {
2758
2758
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_shuffle_pd)
2759
2759
#[ inline]
2760
2760
#[ target_feature( enable = "sse2" ) ]
2761
- #[ cfg_attr( test, assert_instr( shufps, imm8 = 1 ) ) ]
2761
+ #[ cfg_attr( all( test, not( target_os = "windows" ) ) , assert_instr( shufps, imm8 = 1 ) ) ]
2762
+ #[ cfg_attr( all( test, target_os = "windows" ) , assert_instr( shufpd, imm8 = 1 ) ) ]
2762
2763
#[ rustc_args_required_const( 2 ) ]
2763
2764
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
2764
2765
pub unsafe fn _mm_shuffle_pd ( a : __m128d , b : __m128d , imm8 : i32 ) -> __m128d {
@@ -2777,7 +2778,8 @@ pub unsafe fn _mm_shuffle_pd(a: __m128d, b: __m128d, imm8: i32) -> __m128d {
2777
2778
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_move_sd)
2778
2779
#[ inline]
2779
2780
#[ target_feature( enable = "sse2" ) ]
2780
- #[ cfg_attr( test, assert_instr( movsd) ) ]
2781
+ #[ cfg_attr( all( test, not( target_os = "windows" ) ) , assert_instr( movsd) ) ]
2782
+ #[ cfg_attr( all( test, target_os = "windows" ) , assert_instr( movlps) ) ]
2781
2783
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
2782
2784
pub unsafe fn _mm_move_sd ( a : __m128d , b : __m128d ) -> __m128d {
2783
2785
_mm_setr_pd ( simd_extract ( b, 0 ) , simd_extract ( a, 1 ) )
0 commit comments