@@ -58,12 +58,13 @@ use stdarch_test::assert_instr;
58
58
#[ target_feature( enable = "aes" ) ]
59
59
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
60
60
#[ cfg_attr( test, assert_instr( aese) ) ]
61
+ #[ cfg_attr(
62
+ target_arch = "arm" ,
63
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
64
+ ) ]
61
65
#[ cfg_attr(
62
66
not( target_arch = "arm" ) ,
63
- stable(
64
- feature = "aarch64_neon_crypto_intrinsics" ,
65
- since = "CURRENT_RUSTC_VERSION"
66
- )
67
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
67
68
) ]
68
69
pub unsafe fn vaeseq_u8 ( data : uint8x16_t , key : uint8x16_t ) -> uint8x16_t {
69
70
vaeseq_u8_ ( data, key)
@@ -76,12 +77,13 @@ pub unsafe fn vaeseq_u8(data: uint8x16_t, key: uint8x16_t) -> uint8x16_t {
76
77
#[ target_feature( enable = "aes" ) ]
77
78
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
78
79
#[ cfg_attr( test, assert_instr( aesd) ) ]
80
+ #[ cfg_attr(
81
+ target_arch = "arm" ,
82
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
83
+ ) ]
79
84
#[ cfg_attr(
80
85
not( target_arch = "arm" ) ,
81
- stable(
82
- feature = "aarch64_neon_crypto_intrinsics" ,
83
- since = "CURRENT_RUSTC_VERSION"
84
- )
86
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
85
87
) ]
86
88
pub unsafe fn vaesdq_u8 ( data : uint8x16_t , key : uint8x16_t ) -> uint8x16_t {
87
89
vaesdq_u8_ ( data, key)
@@ -94,12 +96,13 @@ pub unsafe fn vaesdq_u8(data: uint8x16_t, key: uint8x16_t) -> uint8x16_t {
94
96
#[ target_feature( enable = "aes" ) ]
95
97
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
96
98
#[ cfg_attr( test, assert_instr( aesmc) ) ]
99
+ #[ cfg_attr(
100
+ target_arch = "arm" ,
101
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
102
+ ) ]
97
103
#[ cfg_attr(
98
104
not( target_arch = "arm" ) ,
99
- stable(
100
- feature = "aarch64_neon_crypto_intrinsics" ,
101
- since = "CURRENT_RUSTC_VERSION"
102
- )
105
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
103
106
) ]
104
107
pub unsafe fn vaesmcq_u8 ( data : uint8x16_t ) -> uint8x16_t {
105
108
vaesmcq_u8_ ( data)
@@ -112,12 +115,13 @@ pub unsafe fn vaesmcq_u8(data: uint8x16_t) -> uint8x16_t {
112
115
#[ target_feature( enable = "aes" ) ]
113
116
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
114
117
#[ cfg_attr( test, assert_instr( aesimc) ) ]
118
+ #[ cfg_attr(
119
+ target_arch = "arm" ,
120
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
121
+ ) ]
115
122
#[ cfg_attr(
116
123
not( target_arch = "arm" ) ,
117
- stable(
118
- feature = "aarch64_neon_crypto_intrinsics" ,
119
- since = "CURRENT_RUSTC_VERSION"
120
- )
124
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
121
125
) ]
122
126
pub unsafe fn vaesimcq_u8 ( data : uint8x16_t ) -> uint8x16_t {
123
127
vaesimcq_u8_ ( data)
@@ -130,12 +134,13 @@ pub unsafe fn vaesimcq_u8(data: uint8x16_t) -> uint8x16_t {
130
134
#[ target_feature( enable = "sha2" ) ]
131
135
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
132
136
#[ cfg_attr( test, assert_instr( sha1h) ) ]
137
+ #[ cfg_attr(
138
+ target_arch = "arm" ,
139
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
140
+ ) ]
133
141
#[ cfg_attr(
134
142
not( target_arch = "arm" ) ,
135
- stable(
136
- feature = "aarch64_neon_crypto_intrinsics" ,
137
- since = "CURRENT_RUSTC_VERSION"
138
- )
143
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
139
144
) ]
140
145
pub unsafe fn vsha1h_u32 ( hash_e : u32 ) -> u32 {
141
146
vsha1h_u32_ ( hash_e)
@@ -148,12 +153,13 @@ pub unsafe fn vsha1h_u32(hash_e: u32) -> u32 {
148
153
#[ target_feature( enable = "sha2" ) ]
149
154
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
150
155
#[ cfg_attr( test, assert_instr( sha1c) ) ]
156
+ #[ cfg_attr(
157
+ target_arch = "arm" ,
158
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
159
+ ) ]
151
160
#[ cfg_attr(
152
161
not( target_arch = "arm" ) ,
153
- stable(
154
- feature = "aarch64_neon_crypto_intrinsics" ,
155
- since = "CURRENT_RUSTC_VERSION"
156
- )
162
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
157
163
) ]
158
164
pub unsafe fn vsha1cq_u32 ( hash_abcd : uint32x4_t , hash_e : u32 , wk : uint32x4_t ) -> uint32x4_t {
159
165
vsha1cq_u32_ ( hash_abcd, hash_e, wk)
@@ -166,12 +172,13 @@ pub unsafe fn vsha1cq_u32(hash_abcd: uint32x4_t, hash_e: u32, wk: uint32x4_t) ->
166
172
#[ target_feature( enable = "sha2" ) ]
167
173
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
168
174
#[ cfg_attr( test, assert_instr( sha1m) ) ]
175
+ #[ cfg_attr(
176
+ target_arch = "arm" ,
177
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
178
+ ) ]
169
179
#[ cfg_attr(
170
180
not( target_arch = "arm" ) ,
171
- stable(
172
- feature = "aarch64_neon_crypto_intrinsics" ,
173
- since = "CURRENT_RUSTC_VERSION"
174
- )
181
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
175
182
) ]
176
183
pub unsafe fn vsha1mq_u32 ( hash_abcd : uint32x4_t , hash_e : u32 , wk : uint32x4_t ) -> uint32x4_t {
177
184
vsha1mq_u32_ ( hash_abcd, hash_e, wk)
@@ -184,12 +191,13 @@ pub unsafe fn vsha1mq_u32(hash_abcd: uint32x4_t, hash_e: u32, wk: uint32x4_t) ->
184
191
#[ target_feature( enable = "sha2" ) ]
185
192
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
186
193
#[ cfg_attr( test, assert_instr( sha1p) ) ]
194
+ #[ cfg_attr(
195
+ target_arch = "arm" ,
196
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
197
+ ) ]
187
198
#[ cfg_attr(
188
199
not( target_arch = "arm" ) ,
189
- stable(
190
- feature = "aarch64_neon_crypto_intrinsics" ,
191
- since = "CURRENT_RUSTC_VERSION"
192
- )
200
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
193
201
) ]
194
202
pub unsafe fn vsha1pq_u32 ( hash_abcd : uint32x4_t , hash_e : u32 , wk : uint32x4_t ) -> uint32x4_t {
195
203
vsha1pq_u32_ ( hash_abcd, hash_e, wk)
@@ -202,12 +210,13 @@ pub unsafe fn vsha1pq_u32(hash_abcd: uint32x4_t, hash_e: u32, wk: uint32x4_t) ->
202
210
#[ target_feature( enable = "sha2" ) ]
203
211
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
204
212
#[ cfg_attr( test, assert_instr( sha1su0) ) ]
213
+ #[ cfg_attr(
214
+ target_arch = "arm" ,
215
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
216
+ ) ]
205
217
#[ cfg_attr(
206
218
not( target_arch = "arm" ) ,
207
- stable(
208
- feature = "aarch64_neon_crypto_intrinsics" ,
209
- since = "CURRENT_RUSTC_VERSION"
210
- )
219
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
211
220
) ]
212
221
pub unsafe fn vsha1su0q_u32 ( w0_3 : uint32x4_t , w4_7 : uint32x4_t , w8_11 : uint32x4_t ) -> uint32x4_t {
213
222
vsha1su0q_u32_ ( w0_3, w4_7, w8_11)
@@ -220,12 +229,13 @@ pub unsafe fn vsha1su0q_u32(w0_3: uint32x4_t, w4_7: uint32x4_t, w8_11: uint32x4_
220
229
#[ target_feature( enable = "sha2" ) ]
221
230
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
222
231
#[ cfg_attr( test, assert_instr( sha1su1) ) ]
232
+ #[ cfg_attr(
233
+ target_arch = "arm" ,
234
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
235
+ ) ]
223
236
#[ cfg_attr(
224
237
not( target_arch = "arm" ) ,
225
- stable(
226
- feature = "aarch64_neon_crypto_intrinsics" ,
227
- since = "CURRENT_RUSTC_VERSION"
228
- )
238
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
229
239
) ]
230
240
pub unsafe fn vsha1su1q_u32 ( tw0_3 : uint32x4_t , w12_15 : uint32x4_t ) -> uint32x4_t {
231
241
vsha1su1q_u32_ ( tw0_3, w12_15)
@@ -238,12 +248,13 @@ pub unsafe fn vsha1su1q_u32(tw0_3: uint32x4_t, w12_15: uint32x4_t) -> uint32x4_t
238
248
#[ target_feature( enable = "sha2" ) ]
239
249
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
240
250
#[ cfg_attr( test, assert_instr( sha256h) ) ]
251
+ #[ cfg_attr(
252
+ target_arch = "arm" ,
253
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
254
+ ) ]
241
255
#[ cfg_attr(
242
256
not( target_arch = "arm" ) ,
243
- stable(
244
- feature = "aarch64_neon_crypto_intrinsics" ,
245
- since = "CURRENT_RUSTC_VERSION"
246
- )
257
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
247
258
) ]
248
259
pub unsafe fn vsha256hq_u32 (
249
260
hash_abcd : uint32x4_t ,
@@ -260,12 +271,13 @@ pub unsafe fn vsha256hq_u32(
260
271
#[ target_feature( enable = "sha2" ) ]
261
272
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
262
273
#[ cfg_attr( test, assert_instr( sha256h2) ) ]
274
+ #[ cfg_attr(
275
+ target_arch = "arm" ,
276
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
277
+ ) ]
263
278
#[ cfg_attr(
264
279
not( target_arch = "arm" ) ,
265
- stable(
266
- feature = "aarch64_neon_crypto_intrinsics" ,
267
- since = "CURRENT_RUSTC_VERSION"
268
- )
280
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
269
281
) ]
270
282
pub unsafe fn vsha256h2q_u32 (
271
283
hash_efgh : uint32x4_t ,
@@ -282,12 +294,13 @@ pub unsafe fn vsha256h2q_u32(
282
294
#[ target_feature( enable = "sha2" ) ]
283
295
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
284
296
#[ cfg_attr( test, assert_instr( sha256su0) ) ]
297
+ #[ cfg_attr(
298
+ target_arch = "arm" ,
299
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
300
+ ) ]
285
301
#[ cfg_attr(
286
302
not( target_arch = "arm" ) ,
287
- stable(
288
- feature = "aarch64_neon_crypto_intrinsics" ,
289
- since = "CURRENT_RUSTC_VERSION"
290
- )
303
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
291
304
) ]
292
305
pub unsafe fn vsha256su0q_u32 ( w0_3 : uint32x4_t , w4_7 : uint32x4_t ) -> uint32x4_t {
293
306
vsha256su0q_u32_ ( w0_3, w4_7)
@@ -300,12 +313,13 @@ pub unsafe fn vsha256su0q_u32(w0_3: uint32x4_t, w4_7: uint32x4_t) -> uint32x4_t
300
313
#[ target_feature( enable = "sha2" ) ]
301
314
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
302
315
#[ cfg_attr( test, assert_instr( sha256su1) ) ]
316
+ #[ cfg_attr(
317
+ target_arch = "arm" ,
318
+ unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
319
+ ) ]
303
320
#[ cfg_attr(
304
321
not( target_arch = "arm" ) ,
305
- stable(
306
- feature = "aarch64_neon_crypto_intrinsics" ,
307
- since = "CURRENT_RUSTC_VERSION"
308
- )
322
+ stable( feature = "aarch64_neon_crypto_intrinsics" , since = "1.72.0" )
309
323
) ]
310
324
pub unsafe fn vsha256su1q_u32 (
311
325
tw0_3 : uint32x4_t ,
0 commit comments