@@ -1026,16 +1026,20 @@ mod simd {
10261026 #[ cfg( target_arch = "x86" ) ]
10271027 x86, x86, __m128, __m128d, __m128i, __m256, __m256d, __m256i
10281028 ) ;
1029+ #[ cfg( zerocopy_simd_x86_avx12_1_89_0) ]
10291030 simd_arch_mod ! (
1030- #[ cfg( all( feature = "simd-nightly" , target_arch = "x86" ) ) ]
1031+ #[ cfg( target_arch = "x86" ) ]
1032+ #[ cfg_attr( doc_cfg, doc( cfg( rust = "1.89.0" ) ) ) ]
10311033 x86, x86_nightly, __m512bh, __m512, __m512d, __m512i
10321034 ) ;
10331035 simd_arch_mod ! (
10341036 #[ cfg( target_arch = "x86_64" ) ]
10351037 x86_64, x86_64, __m128, __m128d, __m128i, __m256, __m256d, __m256i
10361038 ) ;
1039+ #[ cfg( zerocopy_simd_x86_avx12_1_89_0) ]
10371040 simd_arch_mod ! (
1038- #[ cfg( all( feature = "simd-nightly" , target_arch = "x86_64" ) ) ]
1041+ #[ cfg( target_arch = "x86_64" ) ]
1042+ #[ cfg_attr( doc_cfg, doc( cfg( rust = "1.89.0" ) ) ) ]
10391043 x86_64, x86_64_nightly, __m512bh, __m512, __m512d, __m512i
10401044 ) ;
10411045 simd_arch_mod ! (
@@ -2023,19 +2027,19 @@ mod tests {
20232027 #[ cfg( target_arch = "x86" ) ]
20242028 test_simd_arch_mod ! ( x86, __m128, __m128d, __m128i, __m256, __m256d, __m256i) ;
20252029
2026- #[ cfg( all( feature = "simd-nightly" , target_arch = "x86" ) ) ]
2030+ #[ cfg( all( zerocopy_simd_x86_avx12_1_89_0 , target_arch = "x86" ) ) ]
20272031 test_simd_arch_mod ! ( x86, __m512bh, __m512, __m512d, __m512i) ;
20282032
20292033 #[ cfg( target_arch = "x86_64" ) ]
20302034 test_simd_arch_mod ! ( x86_64, __m128, __m128d, __m128i, __m256, __m256d, __m256i) ;
20312035
2032- #[ cfg( all( feature = "simd-nightly" , target_arch = "x86_64" ) ) ]
2036+ #[ cfg( all( zerocopy_simd_x86_avx12_1_89_0 , target_arch = "x86_64" ) ) ]
20332037 test_simd_arch_mod ! ( x86_64, __m512bh, __m512, __m512d, __m512i) ;
20342038
20352039 #[ cfg( target_arch = "wasm32" ) ]
20362040 test_simd_arch_mod ! ( wasm32, v128) ;
20372041
2038- #[ cfg( all( feature = "simd-nightly" , target_arch = "powerpc" ) ) ]
2042+ #[ cfg( all( zerocopy_simd_x86_avx12_1_89_0 , target_arch = "powerpc" ) ) ]
20392043 test_simd_arch_mod ! (
20402044 powerpc,
20412045 vector_bool_long,
@@ -2044,7 +2048,7 @@ mod tests {
20442048 vector_unsigned_long
20452049 ) ;
20462050
2047- #[ cfg( all( feature = "simd-nightly" , target_arch = "powerpc64" ) ) ]
2051+ #[ cfg( all( zerocopy_simd_x86_avx12_1_89_0 , target_arch = "powerpc64" ) ) ]
20482052 test_simd_arch_mod ! (
20492053 powerpc64,
20502054 vector_bool_long,
0 commit comments