@@ -62,7 +62,8 @@ extern "unadjusted" {
6262/// This function is safe to use if the `zkne` target feature is present.
6363#[ target_feature( enable = "zkne" ) ]
6464#[ 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))]
6667#[ inline]
6768pub unsafe fn aes32esi < const BS : u8 > ( rs1 : u32 , rs2 : u32 ) -> u32 {
6869 static_assert ! ( BS < 4 ) ;
@@ -93,7 +94,8 @@ pub unsafe fn aes32esi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
9394/// This function is safe to use if the `zkne` target feature is present.
9495#[ target_feature( enable = "zkne" ) ]
9596#[ 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))]
9799#[ inline]
98100pub unsafe fn aes32esmi < const BS : u8 > ( rs1 : u32 , rs2 : u32 ) -> u32 {
99101 static_assert ! ( BS < 4 ) ;
@@ -123,7 +125,8 @@ pub unsafe fn aes32esmi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
123125/// This function is safe to use if the `zknd` target feature is present.
124126#[ target_feature( enable = "zknd" ) ]
125127#[ 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))]
127130#[ inline]
128131pub unsafe fn aes32dsi < const BS : u8 > ( rs1 : u32 , rs2 : u32 ) -> u32 {
129132 static_assert ! ( BS < 4 ) ;
@@ -154,7 +157,8 @@ pub unsafe fn aes32dsi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
154157/// This function is safe to use if the `zknd` target feature is present.
155158#[ target_feature( enable = "zknd" ) ]
156159#[ 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))]
158162#[ inline]
159163pub unsafe fn aes32dsmi < const BS : u8 > ( rs1 : u32 , rs2 : u32 ) -> u32 {
160164 static_assert ! ( BS < 4 ) ;
@@ -180,7 +184,8 @@ pub unsafe fn aes32dsmi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
180184///
181185/// This function is safe to use if the `zbkb` target feature is present.
182186#[ target_feature( enable = "zbkb" ) ]
183- #[ cfg_attr( test, assert_instr( zip) ) ]
187+ // See #1464
188+ // #[cfg_attr(test, assert_instr(zip))]
184189#[ inline]
185190pub unsafe fn zip ( rs : u32 ) -> u32 {
186191 _zip ( rs as i32 ) as u32
@@ -227,7 +232,8 @@ pub unsafe fn unzip(rs: u32) -> u32 {
227232///
228233/// This function is safe to use if the `zknh` target feature is present.
229234#[ target_feature( enable = "zknh" ) ]
230- #[ cfg_attr( test, assert_instr( sha512sig0h) ) ]
235+ // See #1464
236+ // #[cfg_attr(test, assert_instr(sha512sig0h))]
231237#[ inline]
232238pub unsafe fn sha512sig0h ( rs1 : u32 , rs2 : u32 ) -> u32 {
233239 _sha512sig0h ( rs1 as i32 , rs2 as i32 ) as u32
@@ -252,7 +258,8 @@ pub unsafe fn sha512sig0h(rs1: u32, rs2: u32) -> u32 {
252258///
253259/// This function is safe to use if the `zknh` target feature is present.
254260#[ target_feature( enable = "zknh" ) ]
255- #[ cfg_attr( test, assert_instr( sha512sig0l) ) ]
261+ // See #1464
262+ // #[cfg_attr(test, assert_instr(sha512sig0l))]
256263#[ inline]
257264pub unsafe fn sha512sig0l ( rs1 : u32 , rs2 : u32 ) -> u32 {
258265 _sha512sig0l ( rs1 as i32 , rs2 as i32 ) as u32
@@ -277,7 +284,8 @@ pub unsafe fn sha512sig0l(rs1: u32, rs2: u32) -> u32 {
277284///
278285/// This function is safe to use if the `zknh` target feature is present.
279286#[ target_feature( enable = "zknh" ) ]
280- #[ cfg_attr( test, assert_instr( sha512sig1h) ) ]
287+ // See #1464
288+ // #[cfg_attr(test, assert_instr(sha512sig1h))]
281289#[ inline]
282290pub unsafe fn sha512sig1h ( rs1 : u32 , rs2 : u32 ) -> u32 {
283291 _sha512sig1h ( rs1 as i32 , rs2 as i32 ) as u32
@@ -326,7 +334,8 @@ pub unsafe fn sha512sig1l(rs1: u32, rs2: u32) -> u32 {
326334///
327335/// This function is safe to use if the `zknh` target feature is present.
328336#[ target_feature( enable = "zknh" ) ]
329- #[ cfg_attr( test, assert_instr( sha512sum0r) ) ]
337+ // See #1464
338+ // #[cfg_attr(test, assert_instr(sha512sum0r))]
330339#[ inline]
331340pub unsafe fn sha512sum0r ( rs1 : u32 , rs2 : u32 ) -> u32 {
332341 _sha512sum0r ( rs1 as i32 , rs2 as i32 ) as u32
@@ -350,7 +359,8 @@ pub unsafe fn sha512sum0r(rs1: u32, rs2: u32) -> u32 {
350359///
351360/// This function is safe to use if the `zknh` target feature is present.
352361#[ target_feature( enable = "zknh" ) ]
353- #[ cfg_attr( test, assert_instr( sha512sum1r) ) ]
362+ // See #1464
363+ // #[cfg_attr(test, assert_instr(sha512sum1r))]
354364#[ inline]
355365pub unsafe fn sha512sum1r ( rs1 : u32 , rs2 : u32 ) -> u32 {
356366 _sha512sum1r ( rs1 as i32 , rs2 as i32 ) as u32
0 commit comments