@@ -74,7 +74,7 @@ pub struct float64x2x4_t(
74
74
#[ inline]
75
75
#[ target_feature( enable = "neon" ) ]
76
76
#[ 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 ) ]
78
78
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
79
79
pub fn vcopy_lane_s64 < const N1 : i32 , const N2 : i32 > ( _a : int64x1_t , b : int64x1_t ) -> int64x1_t {
80
80
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)
86
86
#[ inline]
87
87
#[ target_feature( enable = "neon" ) ]
88
88
#[ 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 ) ]
90
90
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
91
91
pub fn vcopy_lane_u64 < const N1 : i32 , const N2 : i32 > ( _a : uint64x1_t , b : uint64x1_t ) -> uint64x1_t {
92
92
static_assert ! ( N1 == 0 ) ;
@@ -98,7 +98,7 @@ pub fn vcopy_lane_u64<const N1: i32, const N2: i32>(_a: uint64x1_t, b: uint64x1_
98
98
#[ inline]
99
99
#[ target_feature( enable = "neon" ) ]
100
100
#[ 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 ) ]
102
102
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
103
103
pub fn vcopy_lane_p64 < const N1 : i32 , const N2 : i32 > ( _a : poly64x1_t , b : poly64x1_t ) -> poly64x1_t {
104
104
static_assert ! ( N1 == 0 ) ;
@@ -110,7 +110,7 @@ pub fn vcopy_lane_p64<const N1: i32, const N2: i32>(_a: poly64x1_t, b: poly64x1_
110
110
#[ inline]
111
111
#[ target_feature( enable = "neon" ) ]
112
112
#[ 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 ) ]
114
114
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
115
115
pub fn vcopy_lane_f64 < const N1 : i32 , const N2 : i32 > (
116
116
_a : float64x1_t ,
@@ -125,7 +125,7 @@ pub fn vcopy_lane_f64<const N1: i32, const N2: i32>(
125
125
#[ inline]
126
126
#[ target_feature( enable = "neon" ) ]
127
127
#[ 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 ) ]
129
129
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
130
130
pub fn vcopy_laneq_s64 < const LANE1 : i32 , const LANE2 : i32 > (
131
131
_a : int64x1_t ,
@@ -140,7 +140,7 @@ pub fn vcopy_laneq_s64<const LANE1: i32, const LANE2: i32>(
140
140
#[ inline]
141
141
#[ target_feature( enable = "neon" ) ]
142
142
#[ 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 ) ]
144
144
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
145
145
pub fn vcopy_laneq_u64 < const LANE1 : i32 , const LANE2 : i32 > (
146
146
_a : uint64x1_t ,
@@ -155,7 +155,7 @@ pub fn vcopy_laneq_u64<const LANE1: i32, const LANE2: i32>(
155
155
#[ inline]
156
156
#[ target_feature( enable = "neon" ) ]
157
157
#[ 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 ) ]
159
159
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
160
160
pub fn vcopy_laneq_p64 < const LANE1 : i32 , const LANE2 : i32 > (
161
161
_a : poly64x1_t ,
@@ -170,7 +170,7 @@ pub fn vcopy_laneq_p64<const LANE1: i32, const LANE2: i32>(
170
170
#[ inline]
171
171
#[ target_feature( enable = "neon" ) ]
172
172
#[ 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 ) ]
174
174
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
175
175
pub fn vcopy_laneq_f64 < const LANE1 : i32 , const LANE2 : i32 > (
176
176
_a : float64x1_t ,
@@ -203,7 +203,7 @@ pub unsafe fn vld1q_dup_f64(ptr: *const f64) -> float64x2_t {
203
203
/// Load one single-element structure to one lane of one register.
204
204
#[ inline]
205
205
#[ target_feature( enable = "neon" ) ]
206
- #[ rustc_legacy_const_generics ( 2 ) ]
206
+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
207
207
#[ cfg_attr( test, assert_instr( ldr, LANE = 0 ) ) ]
208
208
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
209
209
pub 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)
214
214
/// Load one single-element structure to one lane of one register.
215
215
#[ inline]
216
216
#[ target_feature( enable = "neon" ) ]
217
- #[ rustc_legacy_const_generics ( 2 ) ]
217
+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
218
218
#[ cfg_attr( test, assert_instr( ld1, LANE = 1 ) ) ]
219
219
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
220
220
pub 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 {
329
329
#[ inline]
330
330
#[ target_feature( enable = "neon" ) ]
331
331
#[ cfg_attr( test, assert_instr( nop, N = 0 ) ) ]
332
- #[ rustc_legacy_const_generics ( 2 ) ]
332
+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
333
333
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
334
334
pub fn vext_p64 < const N : i32 > ( a : poly64x1_t , _b : poly64x1_t ) -> poly64x1_t {
335
335
static_assert ! ( N == 0 ) ;
@@ -340,7 +340,7 @@ pub fn vext_p64<const N: i32>(a: poly64x1_t, _b: poly64x1_t) -> poly64x1_t {
340
340
#[ inline]
341
341
#[ target_feature( enable = "neon" ) ]
342
342
#[ cfg_attr( test, assert_instr( nop, N = 0 ) ) ]
343
- #[ rustc_legacy_const_generics ( 2 ) ]
343
+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
344
344
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
345
345
pub fn vext_f64 < const N : i32 > ( a : float64x1_t , _b : float64x1_t ) -> float64x1_t {
346
346
static_assert ! ( N == 0 ) ;
@@ -458,7 +458,7 @@ pub fn vget_low_p64(a: poly64x2_t) -> poly64x1_t {
458
458
/// Duplicate vector element to vector or scalar
459
459
#[ inline]
460
460
#[ target_feature( enable = "neon" ) ]
461
- #[ rustc_legacy_const_generics ( 1 ) ]
461
+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
462
462
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
463
463
#[ cfg_attr(
464
464
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 {
472
472
/// Duplicate vector element to vector or scalar
473
473
#[ inline]
474
474
#[ target_feature( enable = "neon" ) ]
475
- #[ rustc_legacy_const_generics ( 1 ) ]
475
+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
476
476
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
477
477
#[ cfg_attr(
478
478
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 {
496
496
#[ inline]
497
497
#[ target_feature( enable = "neon" ) ]
498
498
#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
499
- #[ rustc_legacy_const_generics ( 1 ) ]
499
+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
500
500
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
501
501
pub fn vshld_n_s64 < const N : i32 > ( a : i64 ) -> i64 {
502
502
static_assert_uimm_bits ! ( N , 6 ) ;
@@ -507,7 +507,7 @@ pub fn vshld_n_s64<const N: i32>(a: i64) -> i64 {
507
507
#[ inline]
508
508
#[ target_feature( enable = "neon" ) ]
509
509
#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
510
- #[ rustc_legacy_const_generics ( 1 ) ]
510
+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
511
511
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
512
512
pub fn vshld_n_u64 < const N : i32 > ( a : u64 ) -> u64 {
513
513
static_assert_uimm_bits ! ( N , 6 ) ;
@@ -518,7 +518,7 @@ pub fn vshld_n_u64<const N: i32>(a: u64) -> u64 {
518
518
#[ inline]
519
519
#[ target_feature( enable = "neon" ) ]
520
520
#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
521
- #[ rustc_legacy_const_generics ( 1 ) ]
521
+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
522
522
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
523
523
pub fn vshrd_n_s64 < const N : i32 > ( a : i64 ) -> i64 {
524
524
static_assert ! ( N >= 1 && N <= 64 ) ;
@@ -530,7 +530,7 @@ pub fn vshrd_n_s64<const N: i32>(a: i64) -> i64 {
530
530
#[ inline]
531
531
#[ target_feature( enable = "neon" ) ]
532
532
#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
533
- #[ rustc_legacy_const_generics ( 1 ) ]
533
+ #[ rustc_deprecated_legacy_const_generics ( 1 ) ]
534
534
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
535
535
pub fn vshrd_n_u64 < const N : i32 > ( a : u64 ) -> u64 {
536
536
static_assert ! ( N >= 1 && N <= 64 ) ;
@@ -546,7 +546,7 @@ pub fn vshrd_n_u64<const N: i32>(a: u64) -> u64 {
546
546
#[ inline]
547
547
#[ target_feature( enable = "neon" ) ]
548
548
#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
549
- #[ rustc_legacy_const_generics ( 2 ) ]
549
+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
550
550
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
551
551
pub fn vsrad_n_s64 < const N : i32 > ( a : i64 , b : i64 ) -> i64 {
552
552
static_assert ! ( N >= 1 && N <= 64 ) ;
@@ -557,7 +557,7 @@ pub fn vsrad_n_s64<const N: i32>(a: i64, b: i64) -> i64 {
557
557
#[ inline]
558
558
#[ target_feature( enable = "neon" ) ]
559
559
#[ cfg_attr( test, assert_instr( nop, N = 2 ) ) ]
560
- #[ rustc_legacy_const_generics ( 2 ) ]
560
+ #[ rustc_deprecated_legacy_const_generics ( 2 ) ]
561
561
#[ stable( feature = "neon_intrinsics" , since = "1.59.0" ) ]
562
562
pub fn vsrad_n_u64 < const N : i32 > ( a : u64 , b : u64 ) -> u64 {
563
563
static_assert ! ( N >= 1 && N <= 64 ) ;
0 commit comments