@@ -4558,6 +4558,7 @@ pub unsafe fn vec_unpackl<T: sealed::VectorUnpackl>(a: T) -> <T as sealed::Vecto
45584558/// 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. 
45594559#[ inline]  
45604560#[ target_feature( enable = "vector" ) ]  
4561+ #[ rustc_legacy_const_generics( 0 ) ]  
45614562#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
45624563#[ cfg_attr( test,  assert_instr( vgbm,  MASK  = 0x00FF ) ) ]  
45634564pub  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 {
45674568/// Vector Generate Mask (Byte) 
45684569#[ inline]  
45694570#[ target_feature( enable = "vector" ) ]  
4571+ #[ rustc_legacy_const_generics( 0 ,  1 ) ]  
45704572#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
45714573#[ cfg_attr( test,  assert_instr( vrepib,  L  = 3 ,  H  = 5 ) ) ]  
45724574pub  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
45764578/// Vector Generate Mask (Halfword) 
45774579#[ inline]  
45784580#[ target_feature( enable = "vector" ) ]  
4581+ #[ rustc_legacy_const_generics( 0 ,  1 ) ]  
45794582#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
45804583#[ cfg_attr( test,  assert_instr( vrepih,  L  = 3 ,  H  = 5 ) ) ]  
45814584pub  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
45854588/// Vector Generate Mask (Word) 
45864589#[ inline]  
45874590#[ target_feature( enable = "vector" ) ]  
4591+ #[ rustc_legacy_const_generics( 0 ,  1 ) ]  
45884592#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
45894593#[ cfg_attr( test,  assert_instr( vgmf,  L  = 3 ,  H  = 5 ) ) ]  
45904594pub  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
45944598/// Vector Generate Mask (Doubleword) 
45954599#[ inline]  
45964600#[ target_feature( enable = "vector" ) ]  
4601+ #[ rustc_legacy_const_generics( 0 ,  1 ) ]  
45974602#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
45984603#[ cfg_attr( test,  assert_instr( vgmg,  L  = 3 ,  H  = 5 ) ) ]  
45994604pub  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(
48104815/// Vector Splat Signed Byte 
48114816#[ inline]  
48124817#[ target_feature( enable = "vector" ) ]  
4818+ #[ rustc_legacy_const_generics( 0 ) ]  
48134819#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
48144820#[ cfg_attr( test,  assert_instr( vrepib,  IMM  = 42 ) ) ]  
48154821pub  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 {
48194825/// Vector Splat Signed Halfword 
48204826#[ inline]  
48214827#[ target_feature( enable = "vector" ) ]  
4828+ #[ rustc_legacy_const_generics( 0 ) ]  
48224829#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
48234830#[ cfg_attr( test,  assert_instr( vrepih,  IMM  = 42 ) ) ]  
48244831pub  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 {
48284835/// Vector Splat Signed Word 
48294836#[ inline]  
48304837#[ target_feature( enable = "vector" ) ]  
4838+ #[ rustc_legacy_const_generics( 0 ) ]  
48314839#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
48324840#[ cfg_attr( test,  assert_instr( vrepif,  IMM  = 42 ) ) ]  
48334841pub  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 {
48374845/// Vector Splat Signed Doubleword 
48384846#[ inline]  
48394847#[ target_feature( enable = "vector" ) ]  
4848+ #[ rustc_legacy_const_generics( 0 ) ]  
48404849#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
48414850#[ cfg_attr( test,  assert_instr( vrepig,  IMM  = 42 ) ) ]  
48424851pub  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 {
48464855/// Vector Splat Unsigned Byte 
48474856#[ inline]  
48484857#[ target_feature( enable = "vector" ) ]  
4858+ #[ rustc_legacy_const_generics( 0 ) ]  
48494859#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
48504860#[ cfg_attr( test,  assert_instr( vrepib,  IMM  = 42 ) ) ]  
48514861pub  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 {
48554865/// Vector Splat Unsigned Halfword 
48564866#[ inline]  
48574867#[ target_feature( enable = "vector" ) ]  
4868+ #[ rustc_legacy_const_generics( 0 ) ]  
48584869#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
48594870#[ cfg_attr( test,  assert_instr( vrepih,  IMM  = 42 ) ) ]  
48604871pub  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 {
48644875/// Vector Splat Unsigned Word 
48654876#[ inline]  
48664877#[ target_feature( enable = "vector" ) ]  
4878+ #[ rustc_legacy_const_generics( 0 ) ]  
48674879#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
48684880#[ cfg_attr( test,  assert_instr( vrepif,  IMM  = 42 ) ) ]  
48694881pub  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 {
48734885/// Vector Splat Unsigned Doubleword 
48744886#[ inline]  
48754887#[ target_feature( enable = "vector" ) ]  
4888+ #[ rustc_legacy_const_generics( 0 ) ]  
48764889#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
48774890#[ cfg_attr( test,  assert_instr( vrepig,  IMM  = 42 ) ) ]  
48784891pub  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
53665379/// Vector Multiply Sum Logical 
53675380#[ inline]  
53685381#[ target_feature( enable = "vector-enhancements-1" ) ]  
5382+ #[ rustc_legacy_const_generics( 3 ) ]  
53695383#[ unstable( feature = "stdarch_s390x" ,  issue = "135681" ) ]  
53705384#[ cfg_attr(  
53715385    all( test,  target_feature = "vector-enhancements-1" ) ,  
0 commit comments