@@ -4558,6 +4558,7 @@ pub unsafe fn vec_unpackl<T: sealed::VectorUnpackl>(a: T) -> <T as sealed::Vecto
4558
4558
/// in the corresponding byte element of d are set to ones. Otherwise, if the bit is zero, the corresponding byte element is set to zero.
4559
4559
#[ inline]
4560
4560
#[ target_feature( enable = "vector" ) ]
4561
+ #[ rustc_legacy_const_generics( 0 ) ]
4561
4562
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4562
4563
#[ cfg_attr( test, assert_instr( vgbm, MASK = 0x00FF ) ) ]
4563
4564
pub unsafe fn vec_genmask < const MASK : u16 > ( ) -> vector_unsigned_char {
@@ -4567,6 +4568,7 @@ pub unsafe fn vec_genmask<const MASK: u16>() -> vector_unsigned_char {
4567
4568
/// Vector Generate Mask (Byte)
4568
4569
#[ inline]
4569
4570
#[ target_feature( enable = "vector" ) ]
4571
+ #[ rustc_legacy_const_generics( 0 , 1 ) ]
4570
4572
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4571
4573
#[ cfg_attr( test, assert_instr( vrepib, L = 3 , H = 5 ) ) ]
4572
4574
pub unsafe fn vec_genmasks_8 < const L : u8 , const H : u8 > ( ) -> vector_unsigned_char {
@@ -4576,6 +4578,7 @@ pub unsafe fn vec_genmasks_8<const L: u8, const H: u8>() -> vector_unsigned_char
4576
4578
/// Vector Generate Mask (Halfword)
4577
4579
#[ inline]
4578
4580
#[ target_feature( enable = "vector" ) ]
4581
+ #[ rustc_legacy_const_generics( 0 , 1 ) ]
4579
4582
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4580
4583
#[ cfg_attr( test, assert_instr( vrepih, L = 3 , H = 5 ) ) ]
4581
4584
pub unsafe fn vec_genmasks_16 < const L : u8 , const H : u8 > ( ) -> vector_unsigned_short {
@@ -4585,6 +4588,7 @@ pub unsafe fn vec_genmasks_16<const L: u8, const H: u8>() -> vector_unsigned_sho
4585
4588
/// Vector Generate Mask (Word)
4586
4589
#[ inline]
4587
4590
#[ target_feature( enable = "vector" ) ]
4591
+ #[ rustc_legacy_const_generics( 0 , 1 ) ]
4588
4592
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4589
4593
#[ cfg_attr( test, assert_instr( vgmf, L = 3 , H = 5 ) ) ]
4590
4594
pub unsafe fn vec_genmasks_32 < const L : u8 , const H : u8 > ( ) -> vector_unsigned_int {
@@ -4594,6 +4598,7 @@ pub unsafe fn vec_genmasks_32<const L: u8, const H: u8>() -> vector_unsigned_int
4594
4598
/// Vector Generate Mask (Doubleword)
4595
4599
#[ inline]
4596
4600
#[ target_feature( enable = "vector" ) ]
4601
+ #[ rustc_legacy_const_generics( 0 , 1 ) ]
4597
4602
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4598
4603
#[ cfg_attr( test, assert_instr( vgmg, L = 3 , H = 5 ) ) ]
4599
4604
pub unsafe fn vec_genmasks_64 < const L : u8 , const H : u8 > ( ) -> vector_unsigned_long_long {
@@ -4810,6 +4815,7 @@ pub unsafe fn vec_subec_u128(
4810
4815
/// Vector Splat Signed Byte
4811
4816
#[ inline]
4812
4817
#[ target_feature( enable = "vector" ) ]
4818
+ #[ rustc_legacy_const_generics( 0 ) ]
4813
4819
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4814
4820
#[ cfg_attr( test, assert_instr( vrepib, IMM = 42 ) ) ]
4815
4821
pub unsafe fn vec_splat_s8 < const IMM : i8 > ( ) -> vector_signed_char {
@@ -4819,6 +4825,7 @@ pub unsafe fn vec_splat_s8<const IMM: i8>() -> vector_signed_char {
4819
4825
/// Vector Splat Signed Halfword
4820
4826
#[ inline]
4821
4827
#[ target_feature( enable = "vector" ) ]
4828
+ #[ rustc_legacy_const_generics( 0 ) ]
4822
4829
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4823
4830
#[ cfg_attr( test, assert_instr( vrepih, IMM = 42 ) ) ]
4824
4831
pub unsafe fn vec_splat_s16 < const IMM : i16 > ( ) -> vector_signed_short {
@@ -4828,6 +4835,7 @@ pub unsafe fn vec_splat_s16<const IMM: i16>() -> vector_signed_short {
4828
4835
/// Vector Splat Signed Word
4829
4836
#[ inline]
4830
4837
#[ target_feature( enable = "vector" ) ]
4838
+ #[ rustc_legacy_const_generics( 0 ) ]
4831
4839
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4832
4840
#[ cfg_attr( test, assert_instr( vrepif, IMM = 42 ) ) ]
4833
4841
pub unsafe fn vec_splat_s32 < const IMM : i16 > ( ) -> vector_signed_int {
@@ -4837,6 +4845,7 @@ pub unsafe fn vec_splat_s32<const IMM: i16>() -> vector_signed_int {
4837
4845
/// Vector Splat Signed Doubleword
4838
4846
#[ inline]
4839
4847
#[ target_feature( enable = "vector" ) ]
4848
+ #[ rustc_legacy_const_generics( 0 ) ]
4840
4849
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4841
4850
#[ cfg_attr( test, assert_instr( vrepig, IMM = 42 ) ) ]
4842
4851
pub unsafe fn vec_splat_s64 < const IMM : i16 > ( ) -> vector_signed_long_long {
@@ -4846,6 +4855,7 @@ pub unsafe fn vec_splat_s64<const IMM: i16>() -> vector_signed_long_long {
4846
4855
/// Vector Splat Unsigned Byte
4847
4856
#[ inline]
4848
4857
#[ target_feature( enable = "vector" ) ]
4858
+ #[ rustc_legacy_const_generics( 0 ) ]
4849
4859
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4850
4860
#[ cfg_attr( test, assert_instr( vrepib, IMM = 42 ) ) ]
4851
4861
pub unsafe fn vec_splat_u8 < const IMM : u8 > ( ) -> vector_unsigned_char {
@@ -4855,6 +4865,7 @@ pub unsafe fn vec_splat_u8<const IMM: u8>() -> vector_unsigned_char {
4855
4865
/// Vector Splat Unsigned Halfword
4856
4866
#[ inline]
4857
4867
#[ target_feature( enable = "vector" ) ]
4868
+ #[ rustc_legacy_const_generics( 0 ) ]
4858
4869
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4859
4870
#[ cfg_attr( test, assert_instr( vrepih, IMM = 42 ) ) ]
4860
4871
pub unsafe fn vec_splat_u16 < const IMM : i16 > ( ) -> vector_unsigned_short {
@@ -4864,6 +4875,7 @@ pub unsafe fn vec_splat_u16<const IMM: i16>() -> vector_unsigned_short {
4864
4875
/// Vector Splat Unsigned Word
4865
4876
#[ inline]
4866
4877
#[ target_feature( enable = "vector" ) ]
4878
+ #[ rustc_legacy_const_generics( 0 ) ]
4867
4879
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4868
4880
#[ cfg_attr( test, assert_instr( vrepif, IMM = 42 ) ) ]
4869
4881
pub unsafe fn vec_splat_u32 < const IMM : i16 > ( ) -> vector_unsigned_int {
@@ -4873,6 +4885,7 @@ pub unsafe fn vec_splat_u32<const IMM: i16>() -> vector_unsigned_int {
4873
4885
/// Vector Splat Unsigned Doubleword
4874
4886
#[ inline]
4875
4887
#[ target_feature( enable = "vector" ) ]
4888
+ #[ rustc_legacy_const_generics( 0 ) ]
4876
4889
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
4877
4890
#[ cfg_attr( test, assert_instr( vrepig, IMM = 42 ) ) ]
4878
4891
pub unsafe fn vec_splat_u64 < const IMM : i16 > ( ) -> vector_unsigned_long_long {
@@ -5366,6 +5379,7 @@ pub unsafe fn vec_cp_until_zero_cc<T: sealed::VectorCopyUntilZeroCC>(a: T) -> (T
5366
5379
/// Vector Multiply Sum Logical
5367
5380
#[ inline]
5368
5381
#[ target_feature( enable = "vector-enhancements-1" ) ]
5382
+ #[ rustc_legacy_const_generics( 3 ) ]
5369
5383
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
5370
5384
#[ cfg_attr(
5371
5385
all( test, target_feature = "vector-enhancements-1" ) ,
0 commit comments