@@ -1452,7 +1452,7 @@ pub unsafe fn _mm256_permute2f128_si256(a: __m256i, b: __m256i, imm8: i32) -> __
14521452#[ target_feature( enable = "avx" ) ]
14531453#[ cfg_attr( test, assert_instr( vbroadcastss) ) ]
14541454#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1455- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: trivially_copy_pass_by_ref) ) ]
1455+ #[ allow( clippy:: trivially_copy_pass_by_ref) ]
14561456pub unsafe fn _mm256_broadcast_ss ( f : & f32 ) -> __m256 {
14571457 _mm256_set1_ps ( * f)
14581458}
@@ -1465,7 +1465,7 @@ pub unsafe fn _mm256_broadcast_ss(f: &f32) -> __m256 {
14651465#[ target_feature( enable = "avx" ) ]
14661466#[ cfg_attr( test, assert_instr( vbroadcastss) ) ]
14671467#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1468- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: trivially_copy_pass_by_ref) ) ]
1468+ #[ allow( clippy:: trivially_copy_pass_by_ref) ]
14691469pub unsafe fn _mm_broadcast_ss ( f : & f32 ) -> __m128 {
14701470 _mm_set1_ps ( * f)
14711471}
@@ -1478,7 +1478,7 @@ pub unsafe fn _mm_broadcast_ss(f: &f32) -> __m128 {
14781478#[ target_feature( enable = "avx" ) ]
14791479#[ cfg_attr( test, assert_instr( vbroadcastsd) ) ]
14801480#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1481- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: trivially_copy_pass_by_ref) ) ]
1481+ #[ allow( clippy:: trivially_copy_pass_by_ref) ]
14821482pub unsafe fn _mm256_broadcast_sd ( f : & f64 ) -> __m256d {
14831483 _mm256_set1_pd ( * f)
14841484}
@@ -1618,7 +1618,7 @@ pub unsafe fn _mm256_insert_epi32(a: __m256i, i: i32, index: i32) -> __m256i {
16181618#[ target_feature( enable = "avx" ) ]
16191619#[ cfg_attr( test, assert_instr( vmovaps) ) ] // FIXME vmovapd expected
16201620#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1621- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: cast_ptr_alignment) ) ]
1621+ #[ allow( clippy:: cast_ptr_alignment) ]
16221622pub unsafe fn _mm256_load_pd ( mem_addr : * const f64 ) -> __m256d {
16231623 * ( mem_addr as * const __m256d )
16241624}
@@ -1633,7 +1633,7 @@ pub unsafe fn _mm256_load_pd(mem_addr: *const f64) -> __m256d {
16331633#[ target_feature( enable = "avx" ) ]
16341634#[ cfg_attr( test, assert_instr( vmovaps) ) ] // FIXME vmovapd expected
16351635#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1636- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: cast_ptr_alignment) ) ]
1636+ #[ allow( clippy:: cast_ptr_alignment) ]
16371637pub unsafe fn _mm256_store_pd ( mem_addr : * const f64 , a : __m256d ) {
16381638 * ( mem_addr as * mut __m256d ) = a;
16391639}
@@ -1648,7 +1648,7 @@ pub unsafe fn _mm256_store_pd(mem_addr: *const f64, a: __m256d) {
16481648#[ target_feature( enable = "avx" ) ]
16491649#[ cfg_attr( test, assert_instr( vmovaps) ) ]
16501650#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1651- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: cast_ptr_alignment) ) ]
1651+ #[ allow( clippy:: cast_ptr_alignment) ]
16521652pub unsafe fn _mm256_load_ps ( mem_addr : * const f32 ) -> __m256 {
16531653 * ( mem_addr as * const __m256 )
16541654}
@@ -1663,7 +1663,7 @@ pub unsafe fn _mm256_load_ps(mem_addr: *const f32) -> __m256 {
16631663#[ target_feature( enable = "avx" ) ]
16641664#[ cfg_attr( test, assert_instr( vmovaps) ) ]
16651665#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1666- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: cast_ptr_alignment) ) ]
1666+ #[ allow( clippy:: cast_ptr_alignment) ]
16671667pub unsafe fn _mm256_store_ps ( mem_addr : * const f32 , a : __m256 ) {
16681668 * ( mem_addr as * mut __m256 ) = a;
16691669}
@@ -1959,7 +1959,7 @@ pub unsafe fn _mm256_stream_si256(mem_addr: *mut __m256i, a: __m256i) {
19591959#[ target_feature( enable = "avx" ) ]
19601960#[ cfg_attr( test, assert_instr( vmovntps) ) ] // FIXME vmovntpd
19611961#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1962- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: cast_ptr_alignment) ) ]
1962+ #[ allow( clippy:: cast_ptr_alignment) ]
19631963pub unsafe fn _mm256_stream_pd ( mem_addr : * mut f64 , a : __m256d ) {
19641964 intrinsics:: nontemporal_store ( mem_addr as * mut __m256d , a) ;
19651965}
@@ -1974,7 +1974,7 @@ pub unsafe fn _mm256_stream_pd(mem_addr: *mut f64, a: __m256d) {
19741974#[ target_feature( enable = "avx" ) ]
19751975#[ cfg_attr( test, assert_instr( vmovntps) ) ]
19761976#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1977- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: cast_ptr_alignment) ) ]
1977+ #[ allow( clippy:: cast_ptr_alignment) ]
19781978pub unsafe fn _mm256_stream_ps ( mem_addr : * mut f32 , a : __m256 ) {
19791979 intrinsics:: nontemporal_store ( mem_addr as * mut __m256 , a) ;
19801980}
0 commit comments