@@ -24799,10 +24799,7 @@ pub fn _mm256_maskz_shuffle_f64x2<const MASK: i32>(k: __mmask8, a: __m256d, b: _
24799
24799
#[inline]
24800
24800
#[target_feature(enable = "avx512f")]
24801
24801
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24802
- #[cfg_attr(
24803
- all(test, not(target_env = "msvc")),
24804
- assert_instr(vextractf32x4, IMM8 = 3)
24805
- )]
24802
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 3))]
24806
24803
#[rustc_legacy_const_generics(1)]
24807
24804
pub fn _mm512_extractf32x4_ps<const IMM8: i32>(a: __m512) -> __m128 {
24808
24805
unsafe {
@@ -24822,10 +24819,7 @@ pub fn _mm512_extractf32x4_ps<const IMM8: i32>(a: __m512) -> __m128 {
24822
24819
#[inline]
24823
24820
#[target_feature(enable = "avx512f")]
24824
24821
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24825
- #[cfg_attr(
24826
- all(test, not(target_env = "msvc")),
24827
- assert_instr(vextractf32x4, IMM8 = 3)
24828
- )]
24822
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 3))]
24829
24823
#[rustc_legacy_const_generics(3)]
24830
24824
pub fn _mm512_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a: __m512) -> __m128 {
24831
24825
unsafe {
@@ -24841,10 +24835,7 @@ pub fn _mm512_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a:
24841
24835
#[inline]
24842
24836
#[target_feature(enable = "avx512f")]
24843
24837
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24844
- #[cfg_attr(
24845
- all(test, not(target_env = "msvc")),
24846
- assert_instr(vextractf32x4, IMM8 = 3)
24847
- )]
24838
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 3))]
24848
24839
#[rustc_legacy_const_generics(2)]
24849
24840
pub fn _mm512_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m512) -> __m128 {
24850
24841
unsafe {
@@ -24861,7 +24852,7 @@ pub fn _mm512_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m512) ->
24861
24852
#[target_feature(enable = "avx512f,avx512vl")]
24862
24853
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24863
24854
#[cfg_attr(
24864
- all( test, not(target_env = "msvc")) ,
24855
+ test,
24865
24856
assert_instr(vextract, IMM8 = 1) //should be vextractf32x4
24866
24857
)]
24867
24858
#[rustc_legacy_const_generics(1)]
@@ -24881,10 +24872,7 @@ pub fn _mm256_extractf32x4_ps<const IMM8: i32>(a: __m256) -> __m128 {
24881
24872
#[inline]
24882
24873
#[target_feature(enable = "avx512f,avx512vl")]
24883
24874
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24884
- #[cfg_attr(
24885
- all(test, not(target_env = "msvc")),
24886
- assert_instr(vextractf32x4, IMM8 = 1)
24887
- )]
24875
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 1))]
24888
24876
#[rustc_legacy_const_generics(3)]
24889
24877
pub fn _mm256_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a: __m256) -> __m128 {
24890
24878
unsafe {
@@ -24900,10 +24888,7 @@ pub fn _mm256_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a:
24900
24888
#[inline]
24901
24889
#[target_feature(enable = "avx512f,avx512vl")]
24902
24890
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24903
- #[cfg_attr(
24904
- all(test, not(target_env = "msvc")),
24905
- assert_instr(vextractf32x4, IMM8 = 1)
24906
- )]
24891
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 1))]
24907
24892
#[rustc_legacy_const_generics(2)]
24908
24893
pub fn _mm256_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m256) -> __m128 {
24909
24894
unsafe {
@@ -24920,7 +24905,7 @@ pub fn _mm256_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m256) ->
24920
24905
#[target_feature(enable = "avx512f")]
24921
24906
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24922
24907
#[cfg_attr(
24923
- all( test, not(target_env = "msvc")) ,
24908
+ test,
24924
24909
assert_instr(vextractf64x4, IMM1 = 1) //should be vextracti64x4
24925
24910
)]
24926
24911
#[rustc_legacy_const_generics(1)]
@@ -24940,10 +24925,7 @@ pub fn _mm512_extracti64x4_epi64<const IMM1: i32>(a: __m512i) -> __m256i {
24940
24925
#[inline]
24941
24926
#[target_feature(enable = "avx512f")]
24942
24927
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24943
- #[cfg_attr(
24944
- all(test, not(target_env = "msvc")),
24945
- assert_instr(vextracti64x4, IMM1 = 1)
24946
- )]
24928
+ #[cfg_attr(test, assert_instr(vextracti64x4, IMM1 = 1))]
24947
24929
#[rustc_legacy_const_generics(3)]
24948
24930
pub fn _mm512_mask_extracti64x4_epi64<const IMM1: i32>(
24949
24931
src: __m256i,
@@ -24963,10 +24945,7 @@ pub fn _mm512_mask_extracti64x4_epi64<const IMM1: i32>(
24963
24945
#[inline]
24964
24946
#[target_feature(enable = "avx512f")]
24965
24947
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24966
- #[cfg_attr(
24967
- all(test, not(target_env = "msvc")),
24968
- assert_instr(vextracti64x4, IMM1 = 1)
24969
- )]
24948
+ #[cfg_attr(test, assert_instr(vextracti64x4, IMM1 = 1))]
24970
24949
#[rustc_legacy_const_generics(2)]
24971
24950
pub fn _mm512_maskz_extracti64x4_epi64<const IMM1: i32>(k: __mmask8, a: __m512i) -> __m256i {
24972
24951
unsafe {
@@ -24982,10 +24961,7 @@ pub fn _mm512_maskz_extracti64x4_epi64<const IMM1: i32>(k: __mmask8, a: __m512i)
24982
24961
#[inline]
24983
24962
#[target_feature(enable = "avx512f")]
24984
24963
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24985
- #[cfg_attr(
24986
- all(test, not(target_env = "msvc")),
24987
- assert_instr(vextractf64x4, IMM8 = 1)
24988
- )]
24964
+ #[cfg_attr(test, assert_instr(vextractf64x4, IMM8 = 1))]
24989
24965
#[rustc_legacy_const_generics(1)]
24990
24966
pub fn _mm512_extractf64x4_pd<const IMM8: i32>(a: __m512d) -> __m256d {
24991
24967
unsafe {
@@ -25003,10 +24979,7 @@ pub fn _mm512_extractf64x4_pd<const IMM8: i32>(a: __m512d) -> __m256d {
25003
24979
#[inline]
25004
24980
#[target_feature(enable = "avx512f")]
25005
24981
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25006
- #[cfg_attr(
25007
- all(test, not(target_env = "msvc")),
25008
- assert_instr(vextractf64x4, IMM8 = 1)
25009
- )]
24982
+ #[cfg_attr(test, assert_instr(vextractf64x4, IMM8 = 1))]
25010
24983
#[rustc_legacy_const_generics(3)]
25011
24984
pub fn _mm512_mask_extractf64x4_pd<const IMM8: i32>(
25012
24985
src: __m256d,
@@ -25026,10 +24999,7 @@ pub fn _mm512_mask_extractf64x4_pd<const IMM8: i32>(
25026
24999
#[inline]
25027
25000
#[target_feature(enable = "avx512f")]
25028
25001
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25029
- #[cfg_attr(
25030
- all(test, not(target_env = "msvc")),
25031
- assert_instr(vextractf64x4, IMM8 = 1)
25032
- )]
25002
+ #[cfg_attr(test, assert_instr(vextractf64x4, IMM8 = 1))]
25033
25003
#[rustc_legacy_const_generics(2)]
25034
25004
pub fn _mm512_maskz_extractf64x4_pd<const IMM8: i32>(k: __mmask8, a: __m512d) -> __m256d {
25035
25005
unsafe {
@@ -25046,7 +25016,7 @@ pub fn _mm512_maskz_extractf64x4_pd<const IMM8: i32>(k: __mmask8, a: __m512d) ->
25046
25016
#[target_feature(enable = "avx512f")]
25047
25017
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25048
25018
#[cfg_attr(
25049
- all( test, not(target_env = "msvc")) ,
25019
+ test,
25050
25020
assert_instr(vextractf32x4, IMM2 = 3) //should be vextracti32x4
25051
25021
)]
25052
25022
#[rustc_legacy_const_generics(1)]
@@ -25071,10 +25041,7 @@ pub fn _mm512_extracti32x4_epi32<const IMM2: i32>(a: __m512i) -> __m128i {
25071
25041
#[inline]
25072
25042
#[target_feature(enable = "avx512f")]
25073
25043
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25074
- #[cfg_attr(
25075
- all(test, not(target_env = "msvc")),
25076
- assert_instr(vextracti32x4, IMM2 = 3)
25077
- )]
25044
+ #[cfg_attr(test, assert_instr(vextracti32x4, IMM2 = 3))]
25078
25045
#[rustc_legacy_const_generics(3)]
25079
25046
pub fn _mm512_mask_extracti32x4_epi32<const IMM2: i32>(
25080
25047
src: __m128i,
@@ -25094,10 +25061,7 @@ pub fn _mm512_mask_extracti32x4_epi32<const IMM2: i32>(
25094
25061
#[inline]
25095
25062
#[target_feature(enable = "avx512f")]
25096
25063
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25097
- #[cfg_attr(
25098
- all(test, not(target_env = "msvc")),
25099
- assert_instr(vextracti32x4, IMM2 = 3)
25100
- )]
25064
+ #[cfg_attr(test, assert_instr(vextracti32x4, IMM2 = 3))]
25101
25065
#[rustc_legacy_const_generics(2)]
25102
25066
pub fn _mm512_maskz_extracti32x4_epi32<const IMM2: i32>(k: __mmask8, a: __m512i) -> __m128i {
25103
25067
unsafe {
@@ -25114,7 +25078,7 @@ pub fn _mm512_maskz_extracti32x4_epi32<const IMM2: i32>(k: __mmask8, a: __m512i)
25114
25078
#[target_feature(enable = "avx512f,avx512vl")]
25115
25079
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25116
25080
#[cfg_attr(
25117
- all( test, not(target_env = "msvc")) ,
25081
+ test,
25118
25082
assert_instr(vextract, IMM1 = 1) //should be vextracti32x4
25119
25083
)]
25120
25084
#[rustc_legacy_const_generics(1)]
@@ -25137,10 +25101,7 @@ pub fn _mm256_extracti32x4_epi32<const IMM1: i32>(a: __m256i) -> __m128i {
25137
25101
#[inline]
25138
25102
#[target_feature(enable = "avx512f,avx512vl")]
25139
25103
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25140
- #[cfg_attr(
25141
- all(test, not(target_env = "msvc")),
25142
- assert_instr(vextracti32x4, IMM1 = 1)
25143
- )]
25104
+ #[cfg_attr(test, assert_instr(vextracti32x4, IMM1 = 1))]
25144
25105
#[rustc_legacy_const_generics(3)]
25145
25106
pub fn _mm256_mask_extracti32x4_epi32<const IMM1: i32>(
25146
25107
src: __m128i,
@@ -25160,10 +25121,7 @@ pub fn _mm256_mask_extracti32x4_epi32<const IMM1: i32>(
25160
25121
#[inline]
25161
25122
#[target_feature(enable = "avx512f,avx512vl")]
25162
25123
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25163
- #[cfg_attr(
25164
- all(test, not(target_env = "msvc")),
25165
- assert_instr(vextracti32x4, IMM1 = 1)
25166
- )]
25124
+ #[cfg_attr(test, assert_instr(vextracti32x4, IMM1 = 1))]
25167
25125
#[rustc_legacy_const_generics(2)]
25168
25126
pub fn _mm256_maskz_extracti32x4_epi32<const IMM1: i32>(k: __mmask8, a: __m256i) -> __m128i {
25169
25127
unsafe {
@@ -25558,7 +25516,7 @@ pub fn _mm512_maskz_inserti32x4<const IMM8: i32>(k: __mmask16, a: __m512i, b: __
25558
25516
#[target_feature(enable = "avx512f,avx512vl")]
25559
25517
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25560
25518
#[cfg_attr(
25561
- all( test, not(target_env = "msvc")) ,
25519
+ test,
25562
25520
assert_instr(vinsert, IMM8 = 1) //should be vinserti32x4
25563
25521
)]
25564
25522
#[rustc_legacy_const_generics(2)]
@@ -25581,10 +25539,7 @@ pub fn _mm256_inserti32x4<const IMM8: i32>(a: __m256i, b: __m128i) -> __m256i {
25581
25539
#[inline]
25582
25540
#[target_feature(enable = "avx512f,avx512vl")]
25583
25541
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25584
- #[cfg_attr(
25585
- all(test, not(target_env = "msvc")),
25586
- assert_instr(vinserti32x4, IMM8 = 1)
25587
- )]
25542
+ #[cfg_attr(test, assert_instr(vinserti32x4, IMM8 = 1))]
25588
25543
#[rustc_legacy_const_generics(4)]
25589
25544
pub fn _mm256_mask_inserti32x4<const IMM8: i32>(
25590
25545
src: __m256i,
@@ -25605,10 +25560,7 @@ pub fn _mm256_mask_inserti32x4<const IMM8: i32>(
25605
25560
#[inline]
25606
25561
#[target_feature(enable = "avx512f,avx512vl")]
25607
25562
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25608
- #[cfg_attr(
25609
- all(test, not(target_env = "msvc")),
25610
- assert_instr(vinserti32x4, IMM8 = 1)
25611
- )]
25563
+ #[cfg_attr(test, assert_instr(vinserti32x4, IMM8 = 1))]
25612
25564
#[rustc_legacy_const_generics(3)]
25613
25565
pub fn _mm256_maskz_inserti32x4<const IMM8: i32>(k: __mmask8, a: __m256i, b: __m128i) -> __m256i {
25614
25566
unsafe {
@@ -25759,7 +25711,7 @@ pub fn _mm512_maskz_insertf32x4<const IMM8: i32>(k: __mmask16, a: __m512, b: __m
25759
25711
#[target_feature(enable = "avx512f,avx512vl")]
25760
25712
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25761
25713
#[cfg_attr(
25762
- all( test, not(target_env = "msvc")) ,
25714
+ test,
25763
25715
assert_instr(vinsert, IMM8 = 1) //should be vinsertf32x4
25764
25716
)]
25765
25717
#[rustc_legacy_const_generics(2)]
@@ -25780,10 +25732,7 @@ pub fn _mm256_insertf32x4<const IMM8: i32>(a: __m256, b: __m128) -> __m256 {
25780
25732
#[inline]
25781
25733
#[target_feature(enable = "avx512f,avx512vl")]
25782
25734
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25783
- #[cfg_attr(
25784
- all(test, not(target_env = "msvc")),
25785
- assert_instr(vinsertf32x4, IMM8 = 1)
25786
- )]
25735
+ #[cfg_attr(test, assert_instr(vinsertf32x4, IMM8 = 1))]
25787
25736
#[rustc_legacy_const_generics(4)]
25788
25737
pub fn _mm256_mask_insertf32x4<const IMM8: i32>(
25789
25738
src: __m256,
@@ -25804,10 +25753,7 @@ pub fn _mm256_mask_insertf32x4<const IMM8: i32>(
25804
25753
#[inline]
25805
25754
#[target_feature(enable = "avx512f,avx512vl")]
25806
25755
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25807
- #[cfg_attr(
25808
- all(test, not(target_env = "msvc")),
25809
- assert_instr(vinsertf32x4, IMM8 = 1)
25810
- )]
25756
+ #[cfg_attr(test, assert_instr(vinsertf32x4, IMM8 = 1))]
25811
25757
#[rustc_legacy_const_generics(3)]
25812
25758
pub fn _mm256_maskz_insertf32x4<const IMM8: i32>(k: __mmask8, a: __m256, b: __m128) -> __m256 {
25813
25759
unsafe {
@@ -26944,7 +26890,7 @@ pub fn _mm512_castsi512_pd(a: __m512i) -> __m512d {
26944
26890
#[inline]
26945
26891
#[target_feature(enable = "avx512f")]
26946
26892
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
26947
- #[cfg_attr(all( test, not(target_env = "msvc")) , assert_instr(vmovd))]
26893
+ #[cfg_attr(test, assert_instr(vmovd))]
26948
26894
pub fn _mm512_cvtsi512_si32(a: __m512i) -> i32 {
26949
26895
unsafe { simd_extract!(a.as_i32x16(), 0) }
26950
26896
}
0 commit comments