File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2719,8 +2719,7 @@ pub unsafe fn _mm256_undefined_pd() -> __m256d {
2719
2719
// This intrinsic has no corresponding instruction.
2720
2720
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
2721
2721
pub unsafe fn _mm256_undefined_si256 ( ) -> __m256i {
2722
- // FIXME: this function should return MaybeUninit<__m256i>
2723
- mem:: MaybeUninit :: < __m256i > :: uninit ( ) . assume_init ( )
2722
+ __m256i ( 0 , 0 , 0 , 0 )
2724
2723
}
2725
2724
2726
2725
/// Sets packed __m256 returned vector with the supplied values.
Original file line number Diff line number Diff line change @@ -2736,8 +2736,7 @@ pub unsafe fn _mm_castsi128_ps(a: __m128i) -> __m128 {
2736
2736
#[ target_feature( enable = "sse2" ) ]
2737
2737
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
2738
2738
pub unsafe fn _mm_undefined_pd ( ) -> __m128d {
2739
- // FIXME: this function should return MaybeUninit<__m128d>
2740
- mem:: MaybeUninit :: < __m128d > :: uninit ( ) . assume_init ( )
2739
+ __m128d ( 0.0 , 0.0 )
2741
2740
}
2742
2741
2743
2742
/// Returns vector of type __m128i with undefined elements.
@@ -2747,8 +2746,7 @@ pub unsafe fn _mm_undefined_pd() -> __m128d {
2747
2746
#[ target_feature( enable = "sse2" ) ]
2748
2747
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
2749
2748
pub unsafe fn _mm_undefined_si128 ( ) -> __m128i {
2750
- // FIXME: this function should return MaybeUninit<__m128i>
2751
- mem:: MaybeUninit :: < __m128i > :: uninit ( ) . assume_init ( )
2749
+ __m128i ( 0 , 0 )
2752
2750
}
2753
2751
2754
2752
/// The resulting `__m128d` element is composed by the low-order values of
You can’t perform that action at this time.
0 commit comments