@@ -24813,10 +24813,7 @@ pub fn _mm256_maskz_shuffle_f64x2<const MASK: i32>(k: __mmask8, a: __m256d, b: _
2481324813#[inline]
2481424814#[target_feature(enable = "avx512f")]
2481524815#[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))]
2482024817#[rustc_legacy_const_generics(1)]
2482124818pub fn _mm512_extractf32x4_ps<const IMM8: i32>(a: __m512) -> __m128 {
2482224819 unsafe {
@@ -24836,10 +24833,7 @@ pub fn _mm512_extractf32x4_ps<const IMM8: i32>(a: __m512) -> __m128 {
2483624833#[inline]
2483724834#[target_feature(enable = "avx512f")]
2483824835#[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))]
2484324837#[rustc_legacy_const_generics(3)]
2484424838pub fn _mm512_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a: __m512) -> __m128 {
2484524839 unsafe {
@@ -24855,10 +24849,7 @@ pub fn _mm512_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a:
2485524849#[inline]
2485624850#[target_feature(enable = "avx512f")]
2485724851#[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))]
2486224853#[rustc_legacy_const_generics(2)]
2486324854pub fn _mm512_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m512) -> __m128 {
2486424855 unsafe {
@@ -24875,7 +24866,7 @@ pub fn _mm512_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m512) ->
2487524866#[target_feature(enable = "avx512f,avx512vl")]
2487624867#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
2487724868#[cfg_attr(
24878- all( test, not(target_env = "msvc")) ,
24869+ test,
2487924870 assert_instr(vextract, IMM8 = 1) //should be vextractf32x4
2488024871)]
2488124872#[rustc_legacy_const_generics(1)]
@@ -24895,10 +24886,7 @@ pub fn _mm256_extractf32x4_ps<const IMM8: i32>(a: __m256) -> __m128 {
2489524886#[inline]
2489624887#[target_feature(enable = "avx512f,avx512vl")]
2489724888#[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))]
2490224890#[rustc_legacy_const_generics(3)]
2490324891pub fn _mm256_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a: __m256) -> __m128 {
2490424892 unsafe {
@@ -24914,10 +24902,7 @@ pub fn _mm256_mask_extractf32x4_ps<const IMM8: i32>(src: __m128, k: __mmask8, a:
2491424902#[inline]
2491524903#[target_feature(enable = "avx512f,avx512vl")]
2491624904#[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))]
2492124906#[rustc_legacy_const_generics(2)]
2492224907pub fn _mm256_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m256) -> __m128 {
2492324908 unsafe {
@@ -24934,7 +24919,7 @@ pub fn _mm256_maskz_extractf32x4_ps<const IMM8: i32>(k: __mmask8, a: __m256) ->
2493424919#[target_feature(enable = "avx512f")]
2493524920#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
2493624921#[cfg_attr(
24937- all( test, not(target_env = "msvc")) ,
24922+ test,
2493824923 assert_instr(vextractf64x4, IMM1 = 1) //should be vextracti64x4
2493924924)]
2494024925#[rustc_legacy_const_generics(1)]
@@ -24954,10 +24939,7 @@ pub fn _mm512_extracti64x4_epi64<const IMM1: i32>(a: __m512i) -> __m256i {
2495424939#[inline]
2495524940#[target_feature(enable = "avx512f")]
2495624941#[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))]
2496124943#[rustc_legacy_const_generics(3)]
2496224944pub fn _mm512_mask_extracti64x4_epi64<const IMM1: i32>(
2496324945 src: __m256i,
@@ -24977,10 +24959,7 @@ pub fn _mm512_mask_extracti64x4_epi64<const IMM1: i32>(
2497724959#[inline]
2497824960#[target_feature(enable = "avx512f")]
2497924961#[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))]
2498424963#[rustc_legacy_const_generics(2)]
2498524964pub fn _mm512_maskz_extracti64x4_epi64<const IMM1: i32>(k: __mmask8, a: __m512i) -> __m256i {
2498624965 unsafe {
@@ -24996,10 +24975,7 @@ pub fn _mm512_maskz_extracti64x4_epi64<const IMM1: i32>(k: __mmask8, a: __m512i)
2499624975#[inline]
2499724976#[target_feature(enable = "avx512f")]
2499824977#[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))]
2500324979#[rustc_legacy_const_generics(1)]
2500424980pub fn _mm512_extractf64x4_pd<const IMM8: i32>(a: __m512d) -> __m256d {
2500524981 unsafe {
@@ -25017,10 +24993,7 @@ pub fn _mm512_extractf64x4_pd<const IMM8: i32>(a: __m512d) -> __m256d {
2501724993#[inline]
2501824994#[target_feature(enable = "avx512f")]
2501924995#[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))]
2502424997#[rustc_legacy_const_generics(3)]
2502524998pub fn _mm512_mask_extractf64x4_pd<const IMM8: i32>(
2502624999 src: __m256d,
@@ -25040,10 +25013,7 @@ pub fn _mm512_mask_extractf64x4_pd<const IMM8: i32>(
2504025013#[inline]
2504125014#[target_feature(enable = "avx512f")]
2504225015#[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))]
2504725017#[rustc_legacy_const_generics(2)]
2504825018pub fn _mm512_maskz_extractf64x4_pd<const IMM8: i32>(k: __mmask8, a: __m512d) -> __m256d {
2504925019 unsafe {
@@ -25060,7 +25030,7 @@ pub fn _mm512_maskz_extractf64x4_pd<const IMM8: i32>(k: __mmask8, a: __m512d) ->
2506025030#[target_feature(enable = "avx512f")]
2506125031#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
2506225032#[cfg_attr(
25063- all( test, not(target_env = "msvc")) ,
25033+ test,
2506425034 assert_instr(vextractf32x4, IMM2 = 3) //should be vextracti32x4
2506525035)]
2506625036#[rustc_legacy_const_generics(1)]
@@ -25085,10 +25055,7 @@ pub fn _mm512_extracti32x4_epi32<const IMM2: i32>(a: __m512i) -> __m128i {
2508525055#[inline]
2508625056#[target_feature(enable = "avx512f")]
2508725057#[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))]
2509225059#[rustc_legacy_const_generics(3)]
2509325060pub fn _mm512_mask_extracti32x4_epi32<const IMM2: i32>(
2509425061 src: __m128i,
@@ -25108,10 +25075,7 @@ pub fn _mm512_mask_extracti32x4_epi32<const IMM2: i32>(
2510825075#[inline]
2510925076#[target_feature(enable = "avx512f")]
2511025077#[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))]
2511525079#[rustc_legacy_const_generics(2)]
2511625080pub fn _mm512_maskz_extracti32x4_epi32<const IMM2: i32>(k: __mmask8, a: __m512i) -> __m128i {
2511725081 unsafe {
@@ -25128,7 +25092,7 @@ pub fn _mm512_maskz_extracti32x4_epi32<const IMM2: i32>(k: __mmask8, a: __m512i)
2512825092#[target_feature(enable = "avx512f,avx512vl")]
2512925093#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
2513025094#[cfg_attr(
25131- all( test, not(target_env = "msvc")) ,
25095+ test,
2513225096 assert_instr(vextract, IMM1 = 1) //should be vextracti32x4
2513325097)]
2513425098#[rustc_legacy_const_generics(1)]
@@ -25151,10 +25115,7 @@ pub fn _mm256_extracti32x4_epi32<const IMM1: i32>(a: __m256i) -> __m128i {
2515125115#[inline]
2515225116#[target_feature(enable = "avx512f,avx512vl")]
2515325117#[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))]
2515825119#[rustc_legacy_const_generics(3)]
2515925120pub fn _mm256_mask_extracti32x4_epi32<const IMM1: i32>(
2516025121 src: __m128i,
@@ -25174,10 +25135,7 @@ pub fn _mm256_mask_extracti32x4_epi32<const IMM1: i32>(
2517425135#[inline]
2517525136#[target_feature(enable = "avx512f,avx512vl")]
2517625137#[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))]
2518125139#[rustc_legacy_const_generics(2)]
2518225140pub fn _mm256_maskz_extracti32x4_epi32<const IMM1: i32>(k: __mmask8, a: __m256i) -> __m128i {
2518325141 unsafe {
@@ -25572,7 +25530,7 @@ pub fn _mm512_maskz_inserti32x4<const IMM8: i32>(k: __mmask16, a: __m512i, b: __
2557225530#[target_feature(enable = "avx512f,avx512vl")]
2557325531#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
2557425532#[cfg_attr(
25575- all( test, not(target_env = "msvc")) ,
25533+ test,
2557625534 assert_instr(vinsert, IMM8 = 1) //should be vinserti32x4
2557725535)]
2557825536#[rustc_legacy_const_generics(2)]
@@ -25595,10 +25553,7 @@ pub fn _mm256_inserti32x4<const IMM8: i32>(a: __m256i, b: __m128i) -> __m256i {
2559525553#[inline]
2559625554#[target_feature(enable = "avx512f,avx512vl")]
2559725555#[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))]
2560225557#[rustc_legacy_const_generics(4)]
2560325558pub fn _mm256_mask_inserti32x4<const IMM8: i32>(
2560425559 src: __m256i,
@@ -25619,10 +25574,7 @@ pub fn _mm256_mask_inserti32x4<const IMM8: i32>(
2561925574#[inline]
2562025575#[target_feature(enable = "avx512f,avx512vl")]
2562125576#[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))]
2562625578#[rustc_legacy_const_generics(3)]
2562725579pub fn _mm256_maskz_inserti32x4<const IMM8: i32>(k: __mmask8, a: __m256i, b: __m128i) -> __m256i {
2562825580 unsafe {
@@ -25773,7 +25725,7 @@ pub fn _mm512_maskz_insertf32x4<const IMM8: i32>(k: __mmask16, a: __m512, b: __m
2577325725#[target_feature(enable = "avx512f,avx512vl")]
2577425726#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
2577525727#[cfg_attr(
25776- all( test, not(target_env = "msvc")) ,
25728+ test,
2577725729 assert_instr(vinsert, IMM8 = 1) //should be vinsertf32x4
2577825730)]
2577925731#[rustc_legacy_const_generics(2)]
@@ -25794,10 +25746,7 @@ pub fn _mm256_insertf32x4<const IMM8: i32>(a: __m256, b: __m128) -> __m256 {
2579425746#[inline]
2579525747#[target_feature(enable = "avx512f,avx512vl")]
2579625748#[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))]
2580125750#[rustc_legacy_const_generics(4)]
2580225751pub fn _mm256_mask_insertf32x4<const IMM8: i32>(
2580325752 src: __m256,
@@ -25818,10 +25767,7 @@ pub fn _mm256_mask_insertf32x4<const IMM8: i32>(
2581825767#[inline]
2581925768#[target_feature(enable = "avx512f,avx512vl")]
2582025769#[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))]
2582525771#[rustc_legacy_const_generics(3)]
2582625772pub fn _mm256_maskz_insertf32x4<const IMM8: i32>(k: __mmask8, a: __m256, b: __m128) -> __m256 {
2582725773 unsafe {
@@ -26958,7 +26904,7 @@ pub fn _mm512_castsi512_pd(a: __m512i) -> __m512d {
2695826904#[inline]
2695926905#[target_feature(enable = "avx512f")]
2696026906#[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))]
2696226908pub fn _mm512_cvtsi512_si32(a: __m512i) -> i32 {
2696326909 unsafe { simd_extract!(a.as_i32x16(), 0) }
2696426910}
0 commit comments