@@ -74,7 +74,7 @@ pub struct float64x2x4_t(
7474#[ inline]
7575#[ target_feature( enable = "neon" ) ]
7676#[ cfg_attr( test, assert_instr( nop, N1 = 0 , N2 = 0 ) ) ]
77- #[ rustc_legacy_const_generics ( 1 , 3 ) ]
77+ #[ rustc_deprecated_legacy_const_generics ( 1 , 3 ) ]
7878#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
7979pub fn vcopy_lane_s64 < const N1 : i32 , const N2 : i32 > ( _a : int64x1_t , b : int64x1_t ) -> int64x1_t {
8080 static_assert ! ( N1 == 0 ) ;
@@ -86,7 +86,7 @@ pub fn vcopy_lane_s64<const N1: i32, const N2: i32>(_a: int64x1_t, b: int64x1_t)
8686#[ inline]
8787#[ target_feature( enable = "neon" ) ]
8888#[ cfg_attr( test, assert_instr( nop, N1 = 0 , N2 = 0 ) ) ]
89- #[ rustc_legacy_const_generics ( 1 , 3 ) ]
89+ #[ rustc_deprecated_legacy_const_generics ( 1 , 3 ) ]
9090#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
9191pub fn vcopy_lane_u64 < const N1 : i32 , const N2 : i32 > ( _a : uint64x1_t , b : uint64x1_t ) -> uint64x1_t {
9292 static_assert ! ( N1 == 0 ) ;
@@ -98,7 +98,7 @@ pub fn vcopy_lane_u64<const N1: i32, const N2: i32>(_a: uint64x1_t, b: uint64x1_
9898#[ inline]
9999#[ target_feature( enable = "neon" ) ]
100100#[ cfg_attr( test, assert_instr( nop, N1 = 0 , N2 = 0 ) ) ]
101- #[ rustc_legacy_const_generics ( 1 , 3 ) ]
101+ #[ rustc_deprecated_legacy_const_generics ( 1 , 3 ) ]
102102#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
103103pub fn vcopy_lane_p64 < const N1 : i32 , const N2 : i32 > ( _a : poly64x1_t , b : poly64x1_t ) -> poly64x1_t {
104104 static_assert ! ( N1 == 0 ) ;
@@ -110,7 +110,7 @@ pub fn vcopy_lane_p64<const N1: i32, const N2: i32>(_a: poly64x1_t, b: poly64x1_
110110#[ inline]
111111#[ target_feature( enable = "neon" ) ]
112112#[ cfg_attr( test, assert_instr( nop, N1 = 0 , N2 = 0 ) ) ]
113- #[ rustc_legacy_const_generics ( 1 , 3 ) ]
113+ #[ rustc_deprecated_legacy_const_generics ( 1 , 3 ) ]
114114#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
115115pub fn vcopy_lane_f64 < const N1 : i32 , const N2 : i32 > (
116116 _a : float64x1_t ,
@@ -125,7 +125,7 @@ pub fn vcopy_lane_f64<const N1: i32, const N2: i32>(
125125#[ inline]
126126#[ target_feature( enable = "neon" ) ]
127127#[ cfg_attr( test, assert_instr( nop, LANE1 = 0 , LANE2 = 1 ) ) ]
128- #[ rustc_legacy_const_generics ( 1 , 3 ) ]
128+ #[ rustc_deprecated_legacy_const_generics ( 1 , 3 ) ]
129129#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
130130pub fn vcopy_laneq_s64 < const LANE1 : i32 , const LANE2 : i32 > (
131131 _a : int64x1_t ,
@@ -140,7 +140,7 @@ pub fn vcopy_laneq_s64<const LANE1: i32, const LANE2: i32>(
140140#[ inline]
141141#[ target_feature( enable = "neon" ) ]
142142#[ cfg_attr( test, assert_instr( nop, LANE1 = 0 , LANE2 = 1 ) ) ]
143- #[ rustc_legacy_const_generics ( 1 , 3 ) ]
143+ #[ rustc_deprecated_legacy_const_generics ( 1 , 3 ) ]
144144#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
145145pub fn vcopy_laneq_u64 < const LANE1 : i32 , const LANE2 : i32 > (
146146 _a : uint64x1_t ,
@@ -155,7 +155,7 @@ pub fn vcopy_laneq_u64<const LANE1: i32, const LANE2: i32>(
155155#[ inline]
156156#[ target_feature( enable = "neon" ) ]
157157#[ cfg_attr( test, assert_instr( nop, LANE1 = 0 , LANE2 = 1 ) ) ]
158- #[ rustc_legacy_const_generics ( 1 , 3 ) ]
158+ #[ rustc_deprecated_legacy_const_generics ( 1 , 3 ) ]
159159#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
160160pub fn vcopy_laneq_p64 < const LANE1 : i32 , const LANE2 : i32 > (
161161 _a : poly64x1_t ,
@@ -170,7 +170,7 @@ pub fn vcopy_laneq_p64<const LANE1: i32, const LANE2: i32>(
170170#[ inline]
171171#[ target_feature( enable = "neon" ) ]
172172#[ cfg_attr( test, assert_instr( nop, LANE1 = 0 , LANE2 = 1 ) ) ]
173- #[ rustc_legacy_const_generics ( 1 , 3 ) ]
173+ #[ rustc_deprecated_legacy_const_generics ( 1 , 3 ) ]
174174#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
175175pub fn vcopy_laneq_f64 < const LANE1 : i32 , const LANE2 : i32 > (
176176 _a : float64x1_t ,
@@ -203,7 +203,7 @@ pub unsafe fn vld1q_dup_f64(ptr: *const f64) -> float64x2_t {
203203/// Load one single-element structure to one lane of one register.
204204#[ inline]
205205#[ target_feature( enable = "neon" ) ]
206- #[ rustc_legacy_const_generics ( 2 ) ]
206+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
207207#[ cfg_attr( test, assert_instr( ldr, LANE = 0 ) ) ]
208208#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
209209pub unsafe fn vld1_lane_f64 < const LANE : i32 > ( ptr : * const f64 , src : float64x1_t ) -> float64x1_t {
@@ -214,7 +214,7 @@ pub unsafe fn vld1_lane_f64<const LANE: i32>(ptr: *const f64, src: float64x1_t)
214214/// Load one single-element structure to one lane of one register.
215215#[ inline]
216216#[ target_feature( enable = "neon" ) ]
217- #[ rustc_legacy_const_generics ( 2 ) ]
217+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
218218#[ cfg_attr( test, assert_instr( ld1, LANE = 1 ) ) ]
219219#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
220220pub unsafe fn vld1q_lane_f64 < const LANE : i32 > ( ptr : * const f64 , src : float64x2_t ) -> float64x2_t {
@@ -329,7 +329,7 @@ pub fn vaddd_u64(a: u64, b: u64) -> u64 {
329329#[ inline]
330330#[ target_feature( enable = "neon" ) ]
331331#[ cfg_attr( test, assert_instr( nop, N = 0 ) ) ]
332- #[ rustc_legacy_const_generics ( 2 ) ]
332+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
333333#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
334334pub fn vext_p64 < const N : i32 > ( a : poly64x1_t , _b : poly64x1_t ) -> poly64x1_t {
335335 static_assert ! ( N == 0 ) ;
@@ -340,7 +340,7 @@ pub fn vext_p64<const N: i32>(a: poly64x1_t, _b: poly64x1_t) -> poly64x1_t {
340340#[ inline]
341341#[ target_feature( enable = "neon" ) ]
342342#[ cfg_attr( test, assert_instr( nop, N = 0 ) ) ]
343- #[ rustc_legacy_const_generics ( 2 ) ]
343+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
344344#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
345345pub fn vext_f64 < const N : i32 > ( a : float64x1_t , _b : float64x1_t ) -> float64x1_t {
346346 static_assert ! ( N == 0 ) ;
@@ -458,7 +458,7 @@ pub fn vget_low_p64(a: poly64x2_t) -> poly64x1_t {
458458/// Duplicate vector element to vector or scalar
459459#[ inline]
460460#[ target_feature( enable = "neon" ) ]
461- #[ rustc_legacy_const_generics ( 1 ) ]
461+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
462462#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
463463#[ cfg_attr(
464464 all( test, any( target_arch = "aarch64" , target_arch = "arm64ec" ) ) ,
@@ -472,7 +472,7 @@ pub fn vget_lane_f64<const IMM5: i32>(v: float64x1_t) -> f64 {
472472/// Duplicate vector element to vector or scalar
473473#[ inline]
474474#[ target_feature( enable = "neon" ) ]
475- #[ rustc_legacy_const_generics ( 1 ) ]
475+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
476476#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
477477#[ cfg_attr(
478478 all( test, any( target_arch = "aarch64" , target_arch = "arm64ec" ) ) ,
@@ -496,7 +496,7 @@ pub fn vcombine_f64(low: float64x1_t, high: float64x1_t) -> float64x2_t {
496496#[ inline]
497497#[ target_feature( enable = "neon" ) ]
498498#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
499- #[ rustc_legacy_const_generics ( 1 ) ]
499+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
500500#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
501501pub fn vshld_n_s64 < const N : i32 > ( a : i64 ) -> i64 {
502502 static_assert_uimm_bits ! ( N , 6 ) ;
@@ -507,7 +507,7 @@ pub fn vshld_n_s64<const N: i32>(a: i64) -> i64 {
507507#[ inline]
508508#[ target_feature( enable = "neon" ) ]
509509#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
510- #[ rustc_legacy_const_generics ( 1 ) ]
510+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
511511#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
512512pub fn vshld_n_u64 < const N : i32 > ( a : u64 ) -> u64 {
513513 static_assert_uimm_bits ! ( N , 6 ) ;
@@ -518,7 +518,7 @@ pub fn vshld_n_u64<const N: i32>(a: u64) -> u64 {
518518#[ inline]
519519#[ target_feature( enable = "neon" ) ]
520520#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
521- #[ rustc_legacy_const_generics ( 1 ) ]
521+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
522522#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
523523pub fn vshrd_n_s64 < const N : i32 > ( a : i64 ) -> i64 {
524524 static_assert ! ( N >= 1 && N <= 64 ) ;
@@ -530,7 +530,7 @@ pub fn vshrd_n_s64<const N: i32>(a: i64) -> i64 {
530530#[ inline]
531531#[ target_feature( enable = "neon" ) ]
532532#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
533- #[ rustc_legacy_const_generics ( 1 ) ]
533+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
534534#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
535535pub fn vshrd_n_u64 < const N : i32 > ( a : u64 ) -> u64 {
536536 static_assert ! ( N >= 1 && N <= 64 ) ;
@@ -546,7 +546,7 @@ pub fn vshrd_n_u64<const N: i32>(a: u64) -> u64 {
546546#[ inline]
547547#[ target_feature( enable = "neon" ) ]
548548#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
549- #[ rustc_legacy_const_generics ( 2 ) ]
549+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
550550#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
551551pub fn vsrad_n_s64 < const N : i32 > ( a : i64 , b : i64 ) -> i64 {
552552 static_assert ! ( N >= 1 && N <= 64 ) ;
@@ -557,7 +557,7 @@ pub fn vsrad_n_s64<const N: i32>(a: i64, b: i64) -> i64 {
557557#[ inline]
558558#[ target_feature( enable = "neon" ) ]
559559#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
560- #[ rustc_legacy_const_generics ( 2 ) ]
560+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
561561#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
562562pub fn vsrad_n_u64 < const N : i32 > ( a : u64 , b : u64 ) -> u64 {
563563 static_assert ! ( N >= 1 && N <= 64 ) ;
0 commit comments