File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2956,8 +2956,7 @@ pub unsafe fn _mm256_zextpd128_pd256(a: __m128d) -> __m256d {
2956
2956
// This intrinsic has no corresponding instruction.
2957
2957
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
2958
2958
pub unsafe fn _mm256_undefined_ps ( ) -> __m256 {
2959
- // FIXME: this function should return MaybeUninit<__m256>
2960
- mem:: MaybeUninit :: < __m256 > :: uninit ( ) . assume_init ( )
2959
+ _mm256_set1_ps ( 0.0 )
2961
2960
}
2962
2961
2963
2962
/// Returns vector of type `__m256d` with undefined elements.
@@ -2968,8 +2967,7 @@ pub unsafe fn _mm256_undefined_ps() -> __m256 {
2968
2967
// This intrinsic has no corresponding instruction.
2969
2968
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
2970
2969
pub unsafe fn _mm256_undefined_pd ( ) -> __m256d {
2971
- // FIXME: this function should return MaybeUninit<__m256d>
2972
- mem:: MaybeUninit :: < __m256d > :: uninit ( ) . assume_init ( )
2970
+ _mm256_set1_pd ( 0.0 )
2973
2971
}
2974
2972
2975
2973
/// Returns vector of type __m256i with undefined elements.
Original file line number Diff line number Diff line change @@ -1865,8 +1865,7 @@ pub unsafe fn _mm_prefetch(p: *const i8, strategy: i32) {
1865
1865
#[ target_feature( enable = "sse" ) ]
1866
1866
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1867
1867
pub unsafe fn _mm_undefined_ps ( ) -> __m128 {
1868
- // FIXME: this function should return MaybeUninit<__m128>
1869
- mem:: MaybeUninit :: < __m128 > :: uninit ( ) . assume_init ( )
1868
+ _mm_set1_ps ( 0.0 )
1870
1869
}
1871
1870
1872
1871
/// Transpose the 4x4 matrix formed by 4 rows of __m128 in place.
You can’t perform that action at this time.
0 commit comments