File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
crates/core_arch/src/riscv64 Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -126,9 +126,8 @@ pub fn aes64dsm(rs1: u64, rs2: u64) -> u64 {
126126/// # Note
127127///
128128/// The `RNUM` parameter is expected to be a constant value inside the range of `0..=10`.
129- #[ target_feature( enable = "zkne" , enable = "zknd" ) ]
130129#[ rustc_legacy_const_generics( 1 ) ]
131- #[ cfg_attr( test, assert_instr( aes64ks1i , RNUM = 0 ) ) ]
130+ #[ cfg_attr( test, assert_instr( aes64ks2 , RNUM = 0 ) ) ]
132131#[ inline]
133132#[ unstable( feature = "riscv_ext_intrinsics" , issue = "114544" ) ]
134133pub fn aes64ks1i < const RNUM : u8 > ( rs1 : u64 ) -> u64 {
@@ -183,7 +182,7 @@ pub fn aes64ks2(rs1: u64, rs2: u64) -> u64 {
183182/// Version: v1.0.1
184183///
185184/// Section: 3.9
186- #[ cfg_attr( test, assert_instr( aes64ks2 ) ) ]
185+ #[ cfg_attr( test, assert_instr( aes64im ) ) ]
187186#[ inline]
188187#[ unstable( feature = "riscv_ext_intrinsics" , issue = "114544" ) ]
189188pub fn aes64im ( rs1 : u64 ) -> u64 {
You can’t perform that action at this time.
0 commit comments