@@ -1026,16 +1026,20 @@ mod simd {
1026
1026
#[ cfg( target_arch = "x86" ) ]
1027
1027
x86, x86, __m128, __m128d, __m128i, __m256, __m256d, __m256i
1028
1028
) ;
1029
+ #[ cfg( zerocopy_simd_x86_avx12_1_89_0) ]
1029
1030
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" ) ) ) ]
1031
1033
x86, x86_nightly, __m512bh, __m512, __m512d, __m512i
1032
1034
) ;
1033
1035
simd_arch_mod ! (
1034
1036
#[ cfg( target_arch = "x86_64" ) ]
1035
1037
x86_64, x86_64, __m128, __m128d, __m128i, __m256, __m256d, __m256i
1036
1038
) ;
1039
+ #[ cfg( zerocopy_simd_x86_avx12_1_89_0) ]
1037
1040
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" ) ) ) ]
1039
1043
x86_64, x86_64_nightly, __m512bh, __m512, __m512d, __m512i
1040
1044
) ;
1041
1045
simd_arch_mod ! (
@@ -2023,19 +2027,19 @@ mod tests {
2023
2027
#[ cfg( target_arch = "x86" ) ]
2024
2028
test_simd_arch_mod ! ( x86, __m128, __m128d, __m128i, __m256, __m256d, __m256i) ;
2025
2029
2026
- #[ cfg( all( feature = "simd-nightly" , target_arch = "x86" ) ) ]
2030
+ #[ cfg( all( zerocopy_simd_x86_avx12_1_89_0 , target_arch = "x86" ) ) ]
2027
2031
test_simd_arch_mod ! ( x86, __m512bh, __m512, __m512d, __m512i) ;
2028
2032
2029
2033
#[ cfg( target_arch = "x86_64" ) ]
2030
2034
test_simd_arch_mod ! ( x86_64, __m128, __m128d, __m128i, __m256, __m256d, __m256i) ;
2031
2035
2032
- #[ cfg( all( feature = "simd-nightly" , target_arch = "x86_64" ) ) ]
2036
+ #[ cfg( all( zerocopy_simd_x86_avx12_1_89_0 , target_arch = "x86_64" ) ) ]
2033
2037
test_simd_arch_mod ! ( x86_64, __m512bh, __m512, __m512d, __m512i) ;
2034
2038
2035
2039
#[ cfg( target_arch = "wasm32" ) ]
2036
2040
test_simd_arch_mod ! ( wasm32, v128) ;
2037
2041
2038
- #[ cfg( all( feature = "simd-nightly" , target_arch = "powerpc" ) ) ]
2042
+ #[ cfg( all( zerocopy_simd_x86_avx12_1_89_0 , target_arch = "powerpc" ) ) ]
2039
2043
test_simd_arch_mod ! (
2040
2044
powerpc,
2041
2045
vector_bool_long,
@@ -2044,7 +2048,7 @@ mod tests {
2044
2048
vector_unsigned_long
2045
2049
) ;
2046
2050
2047
- #[ cfg( all( feature = "simd-nightly" , target_arch = "powerpc64" ) ) ]
2051
+ #[ cfg( all( zerocopy_simd_x86_avx12_1_89_0 , target_arch = "powerpc64" ) ) ]
2048
2052
test_simd_arch_mod ! (
2049
2053
powerpc64,
2050
2054
vector_bool_long,
0 commit comments