@@ -1941,8 +1941,8 @@ pub unsafe fn _mm256_lddqu_si256(mem_addr: *const __m256i) -> __m256i {
1941
1941
#[ target_feature( enable = "avx" ) ]
1942
1942
#[ cfg_attr( test, assert_instr( vmovntps) ) ] // FIXME vmovntdq
1943
1943
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1944
- pub unsafe fn _mm256_stream_si256 ( mem_addr : * const __m256i , a : __m256i ) {
1945
- intrinsics:: nontemporal_store ( mem :: transmute ( mem_addr) , a) ;
1944
+ pub unsafe fn _mm256_stream_si256 ( mem_addr : * mut __m256i , a : __m256i ) {
1945
+ intrinsics:: nontemporal_store ( mem_addr, a) ;
1946
1946
}
1947
1947
1948
1948
/// Moves double-precision values from a 256-bit vector of `[4 x double]`
@@ -1954,8 +1954,8 @@ pub unsafe fn _mm256_stream_si256(mem_addr: *const __m256i, a: __m256i) {
1954
1954
#[ target_feature( enable = "avx" ) ]
1955
1955
#[ cfg_attr( test, assert_instr( vmovntps) ) ] // FIXME vmovntpd
1956
1956
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1957
- pub unsafe fn _mm256_stream_pd ( mem_addr : * const f64 , a : __m256d ) {
1958
- intrinsics:: nontemporal_store ( mem :: transmute ( mem_addr) , a) ;
1957
+ pub unsafe fn _mm256_stream_pd ( mem_addr : * mut f64 , a : __m256d ) {
1958
+ intrinsics:: nontemporal_store ( mem_addr as * mut __m256d , a) ;
1959
1959
}
1960
1960
1961
1961
/// Moves single-precision floating point values from a 256-bit vector
@@ -1968,8 +1968,8 @@ pub unsafe fn _mm256_stream_pd(mem_addr: *const f64, a: __m256d) {
1968
1968
#[ target_feature( enable = "avx" ) ]
1969
1969
#[ cfg_attr( test, assert_instr( vmovntps) ) ]
1970
1970
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1971
- pub unsafe fn _mm256_stream_ps ( mem_addr : * const f32 , a : __m256 ) {
1972
- intrinsics:: nontemporal_store ( mem :: transmute ( mem_addr) , a) ;
1971
+ pub unsafe fn _mm256_stream_ps ( mem_addr : * mut f32 , a : __m256 ) {
1972
+ intrinsics:: nontemporal_store ( mem_addr as * mut __m256 , a) ;
1973
1973
}
1974
1974
1975
1975
/// Compute the approximate reciprocal of packed single-precision (32-bit)
0 commit comments