@@ -24813,10 +24813,7 @@ pub fn _mm256_maskz_shuffle_f64x2<const MASK: i32>(k: __mmask8, a: __m256d, b: _
24813
24813
#[inline]
24814
24814
#[target_feature(enable = "avx512f")]
24815
24815
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24816
- #[cfg_attr(
24817
- all(test, not(target_env = "msvc")),
24818
- assert_instr(vextractf32x4, IMM8 = 3)
24819
- )]
24816
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 3))]
24820
24817
#[rustc_legacy_const_generics(1)]
24821
24818
pub fn _mm512_extractf32x4_ps<const IMM8: i32>(a: __m512) -> __m128 {
24822
24819
unsafe {
@@ -24836,10 +24833,7 @@ pub fn _mm512_extractf32x4_ps<const IMM8: i32>(a: __m512) -> __m128 {
24836
24833
#[inline]
24837
24834
#[target_feature(enable = "avx512f")]
24838
24835
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24839
- #[cfg_attr(
24840
- all(test, not(target_env = "msvc")),
24841
- assert_instr(vextractf32x4, IMM8 = 3)
24842
- )]
24836
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 3))]
24843
24837
#[rustc_legacy_const_generics(3)]
24844
24838
pub fn _mm512_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a: __m512) -> __m128 {
24845
24839
unsafe {
@@ -24855,10 +24849,7 @@ pub fn _mm512_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a:
24855
24849
#[inline]
24856
24850
#[target_feature(enable = "avx512f")]
24857
24851
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24858
- #[cfg_attr(
24859
- all(test, not(target_env = "msvc")),
24860
- assert_instr(vextractf32x4, IMM8 = 3)
24861
- )]
24852
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 3))]
24862
24853
#[rustc_legacy_const_generics(2)]
24863
24854
pub fn _mm512_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m512) -> __m128 {
24864
24855
unsafe {
@@ -24875,7 +24866,7 @@ pub fn _mm512_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m512) ->
24875
24866
#[target_feature(enable = "avx512f,avx512vl")]
24876
24867
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24877
24868
#[cfg_attr(
24878
- all( test, not(target_env = "msvc")) ,
24869
+ test,
24879
24870
assert_instr(vextract, IMM8 = 1) //should be vextractf32x4
24880
24871
)]
24881
24872
#[rustc_legacy_const_generics(1)]
@@ -24895,10 +24886,7 @@ pub fn _mm256_extractf32x4_ps<const IMM8: i32>(a: __m256) -> __m128 {
24895
24886
#[inline]
24896
24887
#[target_feature(enable = "avx512f,avx512vl")]
24897
24888
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24898
- #[cfg_attr(
24899
- all(test, not(target_env = "msvc")),
24900
- assert_instr(vextractf32x4, IMM8 = 1)
24901
- )]
24889
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 1))]
24902
24890
#[rustc_legacy_const_generics(3)]
24903
24891
pub fn _mm256_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a: __m256) -> __m128 {
24904
24892
unsafe {
@@ -24914,10 +24902,7 @@ pub fn _mm256_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a:
24914
24902
#[inline]
24915
24903
#[target_feature(enable = "avx512f,avx512vl")]
24916
24904
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24917
- #[cfg_attr(
24918
- all(test, not(target_env = "msvc")),
24919
- assert_instr(vextractf32x4, IMM8 = 1)
24920
- )]
24905
+ #[cfg_attr(test, assert_instr(vextractf32x4, IMM8 = 1))]
24921
24906
#[rustc_legacy_const_generics(2)]
24922
24907
pub fn _mm256_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m256) -> __m128 {
24923
24908
unsafe {
@@ -24934,7 +24919,7 @@ pub fn _mm256_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m256) ->
24934
24919
#[target_feature(enable = "avx512f")]
24935
24920
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24936
24921
#[cfg_attr(
24937
- all( test, not(target_env = "msvc")) ,
24922
+ test,
24938
24923
assert_instr(vextractf64x4, IMM1 = 1) //should be vextracti64x4
24939
24924
)]
24940
24925
#[rustc_legacy_const_generics(1)]
@@ -24954,10 +24939,7 @@ pub fn _mm512_extracti64x4_epi64<const IMM1: i32>(a: __m512i) -> __m256i {
24954
24939
#[inline]
24955
24940
#[target_feature(enable = "avx512f")]
24956
24941
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24957
- #[cfg_attr(
24958
- all(test, not(target_env = "msvc")),
24959
- assert_instr(vextracti64x4, IMM1 = 1)
24960
- )]
24942
+ #[cfg_attr(test, assert_instr(vextracti64x4, IMM1 = 1))]
24961
24943
#[rustc_legacy_const_generics(3)]
24962
24944
pub fn _mm512_mask_extracti64x4_epi64<const IMM1: i32>(
24963
24945
src: __m256i,
@@ -24977,10 +24959,7 @@ pub fn _mm512_mask_extracti64x4_epi64<const IMM1: i32>(
24977
24959
#[inline]
24978
24960
#[target_feature(enable = "avx512f")]
24979
24961
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24980
- #[cfg_attr(
24981
- all(test, not(target_env = "msvc")),
24982
- assert_instr(vextracti64x4, IMM1 = 1)
24983
- )]
24962
+ #[cfg_attr(test, assert_instr(vextracti64x4, IMM1 = 1))]
24984
24963
#[rustc_legacy_const_generics(2)]
24985
24964
pub fn _mm512_maskz_extracti64x4_epi64<const IMM1: i32>(k: __mmask8, a: __m512i) -> __m256i {
24986
24965
unsafe {
@@ -24996,10 +24975,7 @@ pub fn _mm512_maskz_extracti64x4_epi64<const IMM1: i32>(k: __mmask8, a: __m512i)
24996
24975
#[inline]
24997
24976
#[target_feature(enable = "avx512f")]
24998
24977
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
24999
- #[cfg_attr(
25000
- all(test, not(target_env = "msvc")),
25001
- assert_instr(vextractf64x4, IMM8 = 1)
25002
- )]
24978
+ #[cfg_attr(test, assert_instr(vextractf64x4, IMM8 = 1))]
25003
24979
#[rustc_legacy_const_generics(1)]
25004
24980
pub fn _mm512_extractf64x4_pd<const IMM8: i32>(a: __m512d) -> __m256d {
25005
24981
unsafe {
@@ -25017,10 +24993,7 @@ pub fn _mm512_extractf64x4_pd<const IMM8: i32>(a: __m512d) -> __m256d {
25017
24993
#[inline]
25018
24994
#[target_feature(enable = "avx512f")]
25019
24995
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25020
- #[cfg_attr(
25021
- all(test, not(target_env = "msvc")),
25022
- assert_instr(vextractf64x4, IMM8 = 1)
25023
- )]
24996
+ #[cfg_attr(test, assert_instr(vextractf64x4, IMM8 = 1))]
25024
24997
#[rustc_legacy_const_generics(3)]
25025
24998
pub fn _mm512_mask_extractf64x4_pd<const IMM8: i32>(
25026
24999
src: __m256d,
@@ -25040,10 +25013,7 @@ pub fn _mm512_mask_extractf64x4_pd<const IMM8: i32>(
25040
25013
#[inline]
25041
25014
#[target_feature(enable = "avx512f")]
25042
25015
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25043
- #[cfg_attr(
25044
- all(test, not(target_env = "msvc")),
25045
- assert_instr(vextractf64x4, IMM8 = 1)
25046
- )]
25016
+ #[cfg_attr(test, assert_instr(vextractf64x4, IMM8 = 1))]
25047
25017
#[rustc_legacy_const_generics(2)]
25048
25018
pub fn _mm512_maskz_extractf64x4_pd<const IMM8: i32>(k: __mmask8, a: __m512d) -> __m256d {
25049
25019
unsafe {
@@ -25060,7 +25030,7 @@ pub fn _mm512_maskz_extractf64x4_pd<const IMM8: i32>(k: __mmask8, a: __m512d) ->
25060
25030
#[target_feature(enable = "avx512f")]
25061
25031
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25062
25032
#[cfg_attr(
25063
- all( test, not(target_env = "msvc")) ,
25033
+ test,
25064
25034
assert_instr(vextractf32x4, IMM2 = 3) //should be vextracti32x4
25065
25035
)]
25066
25036
#[rustc_legacy_const_generics(1)]
@@ -25085,10 +25055,7 @@ pub fn _mm512_extracti32x4_epi32<const IMM2: i32>(a: __m512i) -> __m128i {
25085
25055
#[inline]
25086
25056
#[target_feature(enable = "avx512f")]
25087
25057
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25088
- #[cfg_attr(
25089
- all(test, not(target_env = "msvc")),
25090
- assert_instr(vextracti32x4, IMM2 = 3)
25091
- )]
25058
+ #[cfg_attr(test, assert_instr(vextracti32x4, IMM2 = 3))]
25092
25059
#[rustc_legacy_const_generics(3)]
25093
25060
pub fn _mm512_mask_extracti32x4_epi32<const IMM2: i32>(
25094
25061
src: __m128i,
@@ -25108,10 +25075,7 @@ pub fn _mm512_mask_extracti32x4_epi32<const IMM2: i32>(
25108
25075
#[inline]
25109
25076
#[target_feature(enable = "avx512f")]
25110
25077
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25111
- #[cfg_attr(
25112
- all(test, not(target_env = "msvc")),
25113
- assert_instr(vextracti32x4, IMM2 = 3)
25114
- )]
25078
+ #[cfg_attr(test, assert_instr(vextracti32x4, IMM2 = 3))]
25115
25079
#[rustc_legacy_const_generics(2)]
25116
25080
pub fn _mm512_maskz_extracti32x4_epi32<const IMM2: i32>(k: __mmask8, a: __m512i) -> __m128i {
25117
25081
unsafe {
@@ -25128,7 +25092,7 @@ pub fn _mm512_maskz_extracti32x4_epi32<const IMM2: i32>(k: __mmask8, a: __m512i)
25128
25092
#[target_feature(enable = "avx512f,avx512vl")]
25129
25093
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25130
25094
#[cfg_attr(
25131
- all( test, not(target_env = "msvc")) ,
25095
+ test,
25132
25096
assert_instr(vextract, IMM1 = 1) //should be vextracti32x4
25133
25097
)]
25134
25098
#[rustc_legacy_const_generics(1)]
@@ -25151,10 +25115,7 @@ pub fn _mm256_extracti32x4_epi32<const IMM1: i32>(a: __m256i) -> __m128i {
25151
25115
#[inline]
25152
25116
#[target_feature(enable = "avx512f,avx512vl")]
25153
25117
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25154
- #[cfg_attr(
25155
- all(test, not(target_env = "msvc")),
25156
- assert_instr(vextracti32x4, IMM1 = 1)
25157
- )]
25118
+ #[cfg_attr(test, assert_instr(vextracti32x4, IMM1 = 1))]
25158
25119
#[rustc_legacy_const_generics(3)]
25159
25120
pub fn _mm256_mask_extracti32x4_epi32<const IMM1: i32>(
25160
25121
src: __m128i,
@@ -25174,10 +25135,7 @@ pub fn _mm256_mask_extracti32x4_epi32<const IMM1: i32>(
25174
25135
#[inline]
25175
25136
#[target_feature(enable = "avx512f,avx512vl")]
25176
25137
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25177
- #[cfg_attr(
25178
- all(test, not(target_env = "msvc")),
25179
- assert_instr(vextracti32x4, IMM1 = 1)
25180
- )]
25138
+ #[cfg_attr(test, assert_instr(vextracti32x4, IMM1 = 1))]
25181
25139
#[rustc_legacy_const_generics(2)]
25182
25140
pub fn _mm256_maskz_extracti32x4_epi32<const IMM1: i32>(k: __mmask8, a: __m256i) -> __m128i {
25183
25141
unsafe {
@@ -25572,7 +25530,7 @@ pub fn _mm512_maskz_inserti32x4<const IMM8: i32>(k: __mmask16, a: __m512i, b: __
25572
25530
#[target_feature(enable = "avx512f,avx512vl")]
25573
25531
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25574
25532
#[cfg_attr(
25575
- all( test, not(target_env = "msvc")) ,
25533
+ test,
25576
25534
assert_instr(vinsert, IMM8 = 1) //should be vinserti32x4
25577
25535
)]
25578
25536
#[rustc_legacy_const_generics(2)]
@@ -25595,10 +25553,7 @@ pub fn _mm256_inserti32x4<const IMM8: i32>(a: __m256i, b: __m128i) -> __m256i {
25595
25553
#[inline]
25596
25554
#[target_feature(enable = "avx512f,avx512vl")]
25597
25555
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25598
- #[cfg_attr(
25599
- all(test, not(target_env = "msvc")),
25600
- assert_instr(vinserti32x4, IMM8 = 1)
25601
- )]
25556
+ #[cfg_attr(test, assert_instr(vinserti32x4, IMM8 = 1))]
25602
25557
#[rustc_legacy_const_generics(4)]
25603
25558
pub fn _mm256_mask_inserti32x4<const IMM8: i32>(
25604
25559
src: __m256i,
@@ -25619,10 +25574,7 @@ pub fn _mm256_mask_inserti32x4<const IMM8: i32>(
25619
25574
#[inline]
25620
25575
#[target_feature(enable = "avx512f,avx512vl")]
25621
25576
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25622
- #[cfg_attr(
25623
- all(test, not(target_env = "msvc")),
25624
- assert_instr(vinserti32x4, IMM8 = 1)
25625
- )]
25577
+ #[cfg_attr(test, assert_instr(vinserti32x4, IMM8 = 1))]
25626
25578
#[rustc_legacy_const_generics(3)]
25627
25579
pub fn _mm256_maskz_inserti32x4<const IMM8: i32>(k: __mmask8, a: __m256i, b: __m128i) -> __m256i {
25628
25580
unsafe {
@@ -25773,7 +25725,7 @@ pub fn _mm512_maskz_insertf32x4<const IMM8: i32>(k: __mmask16, a: __m512, b: __m
25773
25725
#[target_feature(enable = "avx512f,avx512vl")]
25774
25726
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25775
25727
#[cfg_attr(
25776
- all( test, not(target_env = "msvc")) ,
25728
+ test,
25777
25729
assert_instr(vinsert, IMM8 = 1) //should be vinsertf32x4
25778
25730
)]
25779
25731
#[rustc_legacy_const_generics(2)]
@@ -25794,10 +25746,7 @@ pub fn _mm256_insertf32x4<const IMM8: i32>(a: __m256, b: __m128) -> __m256 {
25794
25746
#[inline]
25795
25747
#[target_feature(enable = "avx512f,avx512vl")]
25796
25748
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25797
- #[cfg_attr(
25798
- all(test, not(target_env = "msvc")),
25799
- assert_instr(vinsertf32x4, IMM8 = 1)
25800
- )]
25749
+ #[cfg_attr(test, assert_instr(vinsertf32x4, IMM8 = 1))]
25801
25750
#[rustc_legacy_const_generics(4)]
25802
25751
pub fn _mm256_mask_insertf32x4<const IMM8: i32>(
25803
25752
src: __m256,
@@ -25818,10 +25767,7 @@ pub fn _mm256_mask_insertf32x4<const IMM8: i32>(
25818
25767
#[inline]
25819
25768
#[target_feature(enable = "avx512f,avx512vl")]
25820
25769
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
25821
- #[cfg_attr(
25822
- all(test, not(target_env = "msvc")),
25823
- assert_instr(vinsertf32x4, IMM8 = 1)
25824
- )]
25770
+ #[cfg_attr(test, assert_instr(vinsertf32x4, IMM8 = 1))]
25825
25771
#[rustc_legacy_const_generics(3)]
25826
25772
pub fn _mm256_maskz_insertf32x4<const IMM8: i32>(k: __mmask8, a: __m256, b: __m128) -> __m256 {
25827
25773
unsafe {
@@ -26958,7 +26904,7 @@ pub fn _mm512_castsi512_pd(a: __m512i) -> __m512d {
26958
26904
#[inline]
26959
26905
#[target_feature(enable = "avx512f")]
26960
26906
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
26961
- #[cfg_attr(all( test, not(target_env = "msvc")) , assert_instr(vmovd))]
26907
+ #[cfg_attr(test, assert_instr(vmovd))]
26962
26908
pub fn _mm512_cvtsi512_si32(a: __m512i) -> i32 {
26963
26909
unsafe { simd_extract!(a.as_i32x16(), 0) }
26964
26910
}
0 commit comments