@@ -62,7 +62,8 @@ extern "unadjusted" {
62
62
/// This function is safe to use if the `zkne` target feature is present.
63
63
#[ target_feature( enable = "zkne" ) ]
64
64
#[ rustc_legacy_const_generics( 2 ) ]
65
- #[ cfg_attr( test, assert_instr( aes32esi, BS = 0 ) ) ]
65
+ // See #1464
66
+ // #[cfg_attr(test, assert_instr(aes32esi, BS = 0))]
66
67
#[ inline]
67
68
pub unsafe fn aes32esi < const BS : u8 > ( rs1 : u32 , rs2 : u32 ) -> u32 {
68
69
static_assert ! ( BS < 4 ) ;
@@ -93,7 +94,8 @@ pub unsafe fn aes32esi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
93
94
/// This function is safe to use if the `zkne` target feature is present.
94
95
#[ target_feature( enable = "zkne" ) ]
95
96
#[ rustc_legacy_const_generics( 2 ) ]
96
- #[ cfg_attr( test, assert_instr( aes32esmi, BS = 0 ) ) ]
97
+ // See #1464
98
+ // #[cfg_attr(test, assert_instr(aes32esmi, BS = 0))]
97
99
#[ inline]
98
100
pub unsafe fn aes32esmi < const BS : u8 > ( rs1 : u32 , rs2 : u32 ) -> u32 {
99
101
static_assert ! ( BS < 4 ) ;
@@ -123,7 +125,8 @@ pub unsafe fn aes32esmi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
123
125
/// This function is safe to use if the `zknd` target feature is present.
124
126
#[ target_feature( enable = "zknd" ) ]
125
127
#[ rustc_legacy_const_generics( 2 ) ]
126
- #[ cfg_attr( test, assert_instr( aes32dsi, BS = 0 ) ) ]
128
+ // See #1464
129
+ // #[cfg_attr(test, assert_instr(aes32dsi, BS = 0))]
127
130
#[ inline]
128
131
pub unsafe fn aes32dsi < const BS : u8 > ( rs1 : u32 , rs2 : u32 ) -> u32 {
129
132
static_assert ! ( BS < 4 ) ;
@@ -154,7 +157,8 @@ pub unsafe fn aes32dsi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
154
157
/// This function is safe to use if the `zknd` target feature is present.
155
158
#[ target_feature( enable = "zknd" ) ]
156
159
#[ rustc_legacy_const_generics( 2 ) ]
157
- #[ cfg_attr( test, assert_instr( aes32dsmi, BS = 0 ) ) ]
160
+ // See #1464
161
+ // #[cfg_attr(test, assert_instr(aes32dsmi, BS = 0))]
158
162
#[ inline]
159
163
pub unsafe fn aes32dsmi < const BS : u8 > ( rs1 : u32 , rs2 : u32 ) -> u32 {
160
164
static_assert ! ( BS < 4 ) ;
@@ -180,7 +184,8 @@ pub unsafe fn aes32dsmi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
180
184
///
181
185
/// This function is safe to use if the `zbkb` target feature is present.
182
186
#[ target_feature( enable = "zbkb" ) ]
183
- #[ cfg_attr( test, assert_instr( zip) ) ]
187
+ // See #1464
188
+ // #[cfg_attr(test, assert_instr(zip))]
184
189
#[ inline]
185
190
pub unsafe fn zip ( rs : u32 ) -> u32 {
186
191
_zip ( rs as i32 ) as u32
@@ -227,7 +232,8 @@ pub unsafe fn unzip(rs: u32) -> u32 {
227
232
///
228
233
/// This function is safe to use if the `zknh` target feature is present.
229
234
#[ target_feature( enable = "zknh" ) ]
230
- #[ cfg_attr( test, assert_instr( sha512sig0h) ) ]
235
+ // See #1464
236
+ // #[cfg_attr(test, assert_instr(sha512sig0h))]
231
237
#[ inline]
232
238
pub unsafe fn sha512sig0h ( rs1 : u32 , rs2 : u32 ) -> u32 {
233
239
_sha512sig0h ( rs1 as i32 , rs2 as i32 ) as u32
@@ -252,7 +258,8 @@ pub unsafe fn sha512sig0h(rs1: u32, rs2: u32) -> u32 {
252
258
///
253
259
/// This function is safe to use if the `zknh` target feature is present.
254
260
#[ target_feature( enable = "zknh" ) ]
255
- #[ cfg_attr( test, assert_instr( sha512sig0l) ) ]
261
+ // See #1464
262
+ // #[cfg_attr(test, assert_instr(sha512sig0l))]
256
263
#[ inline]
257
264
pub unsafe fn sha512sig0l ( rs1 : u32 , rs2 : u32 ) -> u32 {
258
265
_sha512sig0l ( rs1 as i32 , rs2 as i32 ) as u32
@@ -277,7 +284,8 @@ pub unsafe fn sha512sig0l(rs1: u32, rs2: u32) -> u32 {
277
284
///
278
285
/// This function is safe to use if the `zknh` target feature is present.
279
286
#[ target_feature( enable = "zknh" ) ]
280
- #[ cfg_attr( test, assert_instr( sha512sig1h) ) ]
287
+ // See #1464
288
+ // #[cfg_attr(test, assert_instr(sha512sig1h))]
281
289
#[ inline]
282
290
pub unsafe fn sha512sig1h ( rs1 : u32 , rs2 : u32 ) -> u32 {
283
291
_sha512sig1h ( rs1 as i32 , rs2 as i32 ) as u32
@@ -326,7 +334,8 @@ pub unsafe fn sha512sig1l(rs1: u32, rs2: u32) -> u32 {
326
334
///
327
335
/// This function is safe to use if the `zknh` target feature is present.
328
336
#[ target_feature( enable = "zknh" ) ]
329
- #[ cfg_attr( test, assert_instr( sha512sum0r) ) ]
337
+ // See #1464
338
+ // #[cfg_attr(test, assert_instr(sha512sum0r))]
330
339
#[ inline]
331
340
pub unsafe fn sha512sum0r ( rs1 : u32 , rs2 : u32 ) -> u32 {
332
341
_sha512sum0r ( rs1 as i32 , rs2 as i32 ) as u32
@@ -350,7 +359,8 @@ pub unsafe fn sha512sum0r(rs1: u32, rs2: u32) -> u32 {
350
359
///
351
360
/// This function is safe to use if the `zknh` target feature is present.
352
361
#[ target_feature( enable = "zknh" ) ]
353
- #[ cfg_attr( test, assert_instr( sha512sum1r) ) ]
362
+ // See #1464
363
+ // #[cfg_attr(test, assert_instr(sha512sum1r))]
354
364
#[ inline]
355
365
pub unsafe fn sha512sum1r ( rs1 : u32 , rs2 : u32 ) -> u32 {
356
366
_sha512sum1r ( rs1 as i32 , rs2 as i32 ) as u32
0 commit comments