Skip to content

Commit 7187087

Browse files
committed
Stabilize RISC-V Zk and Zb intrinsics
1 parent f86f9dd commit 7187087

10 files changed

Lines changed: 65 additions & 71 deletions

File tree

‎crates/core_arch/src/mod.rs‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,11 @@ pub mod arch {
8383
/// See the [module documentation](../index.html) for more details.
8484
#[cfg(any(target_arch = "riscv32", doc))]
8585
#[doc(cfg(any(target_arch = "riscv32")))]
86-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
86+
#[stable(feature = "stdarch_riscv", since = "CURRENT_RUSTC_VERSION")]
8787
pub mod riscv32 {
88+
#[stable(feature = "stdarch_riscv", since = "CURRENT_RUSTC_VERSION")]
8889
pub use crate::core_arch::riscv_shared::*;
90+
#[stable(feature = "stdarch_riscv", since = "CURRENT_RUSTC_VERSION")]
8991
pub use crate::core_arch::riscv32::*;
9092
}
9193

@@ -94,12 +96,14 @@ pub mod arch {
9496
/// See the [module documentation](../index.html) for more details.
9597
#[cfg(any(target_arch = "riscv64", doc))]
9698
#[doc(cfg(any(target_arch = "riscv64")))]
97-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
99+
#[stable(feature = "stdarch_riscv", since = "CURRENT_RUSTC_VERSION")]
98100
pub mod riscv64 {
101+
#[stable(feature = "stdarch_riscv", since = "CURRENT_RUSTC_VERSION")]
99102
pub use crate::core_arch::riscv64::*;
100103
// RISC-V RV64 supports all RV32 instructions as well in current specifications (2022-01-05).
101104
// Module `riscv_shared` includes instructions available under all RISC-V platforms,
102105
// i.e. RISC-V RV32 instructions.
106+
#[stable(feature = "stdarch_riscv", since = "CURRENT_RUSTC_VERSION")]
103107
pub use crate::core_arch::riscv_shared::*;
104108
}
105109

‎crates/core_arch/src/riscv32/mod.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
mod zb;
44
mod zk;
55

6-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
6+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
77
pub use zb::*;
88

9-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
9+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
1010
pub use zk::*;

‎crates/core_arch/src/riscv32/zb.rs‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ unsafe extern "llvm-intrinsic" {
3333
/// Version: v1.0.1
3434
///
3535
/// Section: 3.47
36-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
36+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
3737
#[target_feature(enable = "zbkx")]
3838
#[cfg_attr(test, assert_instr(xperm8))]
3939
#[inline]
@@ -53,7 +53,7 @@ pub fn xperm8_32(rs1: u32, rs2: u32) -> u32 {
5353
/// Version: v1.0.1
5454
///
5555
/// Section: 3.48
56-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
56+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
5757
#[target_feature(enable = "zbkx")]
5858
#[cfg_attr(test, assert_instr(xperm4))]
5959
#[inline]
@@ -70,7 +70,7 @@ pub fn xperm4_32(rs1: u32, rs2: u32) -> u32 {
7070
/// Version: v1.0.0
7171
///
7272
/// Section: 2.12
73-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
73+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
7474
#[target_feature(enable = "zbkc")]
7575
#[cfg_attr(test, assert_instr(clmulh))]
7676
#[inline]
@@ -87,7 +87,7 @@ pub fn clmulh_32(rs1: u32, rs2: u32) -> u32 {
8787
/// Version: v1.0.0
8888
///
8989
/// Section: 2.13
90-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
90+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
9191
#[target_feature(enable = "zbc")]
9292
#[cfg_attr(test, assert_instr(clmulr))]
9393
#[inline]
@@ -109,10 +109,9 @@ pub fn clmulr_32(rs1: u32, rs2: u32) -> u32 {
109109
///
110110
/// Section: 3.49
111111
#[target_feature(enable = "zbkb")]
112-
// See #1464
113-
// #[cfg_attr(test, assert_instr(zip))]
112+
#[cfg_attr(test, assert_instr(zip))]
114113
#[inline]
115-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
114+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
116115
pub fn zip_32(rs: u32) -> u32 {
117116
unsafe { _zip_32(rs) }
118117
}
@@ -131,7 +130,7 @@ pub fn zip_32(rs: u32) -> u32 {
131130
#[target_feature(enable = "zbkb")]
132131
#[cfg_attr(test, assert_instr(unzip))]
133132
#[inline]
134-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
133+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
135134
pub fn unzip_32(rs: u32) -> u32 {
136135
unsafe { _unzip_32(rs) }
137136
}

‎crates/core_arch/src/riscv32/zk.rs‎

Lines changed: 19 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ unsafe extern "llvm-intrinsic" {
5151
/// The `BS` parameter is expected to be a constant value and only the bottom 2 bits of `bs` are
5252
/// used.
5353
#[target_feature(enable = "zkne")]
54-
// See #1464
55-
// #[cfg_attr(test, assert_instr(aes32esi, BS = 0))]
54+
#[cfg_attr(test, assert_instr(aes32esi, BS = 0))]
5655
#[inline]
57-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
56+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
5857
pub fn aes32esi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
5958
static_assert!(BS < 4);
6059

@@ -79,10 +78,9 @@ pub fn aes32esi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
7978
/// The `bs` parameter is expected to be a constant value and only the bottom 2 bits of `bs` are
8079
/// used.
8180
#[target_feature(enable = "zkne")]
82-
// See #1464
83-
// #[cfg_attr(test, assert_instr(aes32esmi, BS = 0))]
81+
#[cfg_attr(test, assert_instr(aes32esmi, BS = 0))]
8482
#[inline]
85-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
83+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
8684
pub fn aes32esmi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
8785
static_assert!(BS < 4);
8886

@@ -106,10 +104,9 @@ pub fn aes32esmi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
106104
/// The `BS` parameter is expected to be a constant value and only the bottom 2 bits of `bs` are
107105
/// used.
108106
#[target_feature(enable = "zknd")]
109-
// See #1464
110-
// #[cfg_attr(test, assert_instr(aes32dsi, BS = 0))]
107+
#[cfg_attr(test, assert_instr(aes32dsi, BS = 0))]
111108
#[inline]
112-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
109+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
113110
pub fn aes32dsi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
114111
static_assert!(BS < 4);
115112

@@ -134,10 +131,9 @@ pub fn aes32dsi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
134131
/// The `BS` parameter is expected to be a constant value and only the bottom 2 bits of `bs` are
135132
/// used.
136133
#[target_feature(enable = "zknd")]
137-
// See #1464
138-
// #[cfg_attr(test, assert_instr(aes32dsmi, BS = 0))]
134+
#[cfg_attr(test, assert_instr(aes32dsmi, BS = 0))]
139135
#[inline]
140-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
136+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
141137
pub fn aes32dsmi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
142138
static_assert!(BS < 4);
143139

@@ -159,10 +155,9 @@ pub fn aes32dsmi<const BS: u8>(rs1: u32, rs2: u32) -> u32 {
159155
///
160156
/// Section: 3.31
161157
#[target_feature(enable = "zknh")]
162-
// See #1464
163-
// #[cfg_attr(test, assert_instr(sha512sig0h))]
158+
#[cfg_attr(test, assert_instr(sha512sig0h))]
164159
#[inline]
165-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
160+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
166161
pub fn sha512sig0h(rs1: u32, rs2: u32) -> u32 {
167162
unsafe { _sha512sig0h(rs1, rs2) }
168163
}
@@ -182,10 +177,9 @@ pub fn sha512sig0h(rs1: u32, rs2: u32) -> u32 {
182177
///
183178
/// Section: 3.32
184179
#[target_feature(enable = "zknh")]
185-
// See #1464
186-
// #[cfg_attr(test, assert_instr(sha512sig0l))]
180+
#[cfg_attr(test, assert_instr(sha512sig0l))]
187181
#[inline]
188-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
182+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
189183
pub fn sha512sig0l(rs1: u32, rs2: u32) -> u32 {
190184
unsafe { _sha512sig0l(rs1, rs2) }
191185
}
@@ -205,10 +199,9 @@ pub fn sha512sig0l(rs1: u32, rs2: u32) -> u32 {
205199
///
206200
/// Section: 3.33
207201
#[target_feature(enable = "zknh")]
208-
// See #1464
209-
// #[cfg_attr(test, assert_instr(sha512sig1h))]
202+
#[cfg_attr(test, assert_instr(sha512sig1h))]
210203
#[inline]
211-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
204+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
212205
pub fn sha512sig1h(rs1: u32, rs2: u32) -> u32 {
213206
unsafe { _sha512sig1h(rs1, rs2) }
214207
}
@@ -230,7 +223,7 @@ pub fn sha512sig1h(rs1: u32, rs2: u32) -> u32 {
230223
#[target_feature(enable = "zknh")]
231224
#[cfg_attr(test, assert_instr(sha512sig1l))]
232225
#[inline]
233-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
226+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
234227
pub fn sha512sig1l(rs1: u32, rs2: u32) -> u32 {
235228
unsafe { _sha512sig1l(rs1, rs2) }
236229
}
@@ -249,10 +242,9 @@ pub fn sha512sig1l(rs1: u32, rs2: u32) -> u32 {
249242
///
250243
/// Section: 3.35
251244
#[target_feature(enable = "zknh")]
252-
// See #1464
253-
// #[cfg_attr(test, assert_instr(sha512sum0r))]
245+
#[cfg_attr(test, assert_instr(sha512sum0r))]
254246
#[inline]
255-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
247+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
256248
pub fn sha512sum0r(rs1: u32, rs2: u32) -> u32 {
257249
unsafe { _sha512sum0r(rs1, rs2) }
258250
}
@@ -271,10 +263,9 @@ pub fn sha512sum0r(rs1: u32, rs2: u32) -> u32 {
271263
///
272264
/// Section: 3.36
273265
#[target_feature(enable = "zknh")]
274-
// See #1464
275-
// #[cfg_attr(test, assert_instr(sha512sum1r))]
266+
#[cfg_attr(test, assert_instr(sha512sum1r))]
276267
#[inline]
277-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
268+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
278269
pub fn sha512sum1r(rs1: u32, rs2: u32) -> u32 {
279270
unsafe { _sha512sum1r(rs1, rs2) }
280271
}

‎crates/core_arch/src/riscv64/mod.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ use crate::arch::asm;
44
mod zb;
55
mod zk;
66

7-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
7+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
88
pub use zb::*;
99

10-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
10+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
1111
pub use zk::*;
1212

1313
/// Loads virtual machine memory by unsigned word integer

‎crates/core_arch/src/riscv64/zb.rs‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ unsafe extern "llvm-intrinsic" {
3333
/// Version: v1.0.1
3434
///
3535
/// Section: 3.47
36-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
36+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
3737
#[target_feature(enable = "zbkx")]
3838
#[cfg_attr(test, assert_instr(xperm8))]
3939
#[inline]
@@ -53,7 +53,7 @@ pub fn xperm8_64(rs1: u64, rs2: u64) -> u64 {
5353
/// Version: v1.0.1
5454
///
5555
/// Section: 3.48
56-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
56+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
5757
#[target_feature(enable = "zbkx")]
5858
#[cfg_attr(test, assert_instr(xperm4))]
5959
#[inline]
@@ -72,7 +72,7 @@ pub fn xperm4_64(rs1: u64, rs2: u64) -> u64 {
7272
/// Version: v1.0.0
7373
///
7474
/// Section: 2.24
75-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
75+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
7676
#[target_feature(enable = "zbb")]
7777
#[cfg_attr(test, assert_instr(orc.b))]
7878
#[inline]
@@ -89,7 +89,7 @@ pub fn orc_b_64(rs: u64) -> u64 {
8989
/// Version: v1.0.0
9090
///
9191
/// Section: 2.11
92-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
92+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
9393
#[target_feature(enable = "zbkc")]
9494
#[cfg_attr(test, assert_instr(clmul))]
9595
#[inline]
@@ -106,7 +106,7 @@ pub fn clmul_64(rs1: u64, rs2: u64) -> u64 {
106106
/// Version: v1.0.0
107107
///
108108
/// Section: 2.12
109-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
109+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
110110
#[target_feature(enable = "zbkc")]
111111
#[cfg_attr(test, assert_instr(clmulh))]
112112
#[inline]
@@ -123,7 +123,7 @@ pub fn clmulh_64(rs1: u64, rs2: u64) -> u64 {
123123
/// Version: v1.0.0
124124
///
125125
/// Section: 2.13
126-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
126+
#[stable(feature = "stdarch_riscv_zb", since = "CURRENT_RUSTC_VERSION")]
127127
#[target_feature(enable = "zbc")]
128128
#[cfg_attr(test, assert_instr(clmulr))]
129129
#[inline]

‎crates/core_arch/src/riscv64/zk.rs‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ unsafe extern "llvm-intrinsic" {
4747
#[target_feature(enable = "zkne")]
4848
#[cfg_attr(test, assert_instr(aes64es))]
4949
#[inline]
50-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
50+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
5151
pub fn aes64es(rs1: u64, rs2: u64) -> u64 {
5252
unsafe { _aes64es(rs1, rs2) }
5353
}
@@ -67,7 +67,7 @@ pub fn aes64es(rs1: u64, rs2: u64) -> u64 {
6767
#[target_feature(enable = "zkne")]
6868
#[cfg_attr(test, assert_instr(aes64esm))]
6969
#[inline]
70-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
70+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
7171
pub fn aes64esm(rs1: u64, rs2: u64) -> u64 {
7272
unsafe { _aes64esm(rs1, rs2) }
7373
}
@@ -87,7 +87,7 @@ pub fn aes64esm(rs1: u64, rs2: u64) -> u64 {
8787
#[target_feature(enable = "zknd")]
8888
#[cfg_attr(test, assert_instr(aes64ds))]
8989
#[inline]
90-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
90+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
9191
pub fn aes64ds(rs1: u64, rs2: u64) -> u64 {
9292
unsafe { _aes64ds(rs1, rs2) }
9393
}
@@ -107,7 +107,7 @@ pub fn aes64ds(rs1: u64, rs2: u64) -> u64 {
107107
#[target_feature(enable = "zknd")]
108108
#[cfg_attr(test, assert_instr(aes64dsm))]
109109
#[inline]
110-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
110+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
111111
pub fn aes64dsm(rs1: u64, rs2: u64) -> u64 {
112112
unsafe { _aes64dsm(rs1, rs2) }
113113
}
@@ -131,7 +131,7 @@ pub fn aes64dsm(rs1: u64, rs2: u64) -> u64 {
131131
/// The `RNUM` parameter is expected to be a constant value inside the range of `0..=10`.
132132
#[target_feature(enable = "zkne_or_zknd")]
133133
#[inline]
134-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
134+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
135135
pub fn aes64ks1i<const RNUM: u8>(rs1: u64) -> u64 {
136136
static_assert!(RNUM <= 10);
137137
unsafe {
@@ -163,7 +163,7 @@ pub fn aes64ks1i<const RNUM: u8>(rs1: u64) -> u64 {
163163
/// Section: 3.11
164164
#[target_feature(enable = "zkne_or_zknd")]
165165
#[inline]
166-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
166+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
167167
pub fn aes64ks2(rs1: u64, rs2: u64) -> u64 {
168168
unsafe {
169169
let rd: u64;
@@ -197,7 +197,7 @@ pub fn aes64ks2(rs1: u64, rs2: u64) -> u64 {
197197
#[target_feature(enable = "zknd")]
198198
#[cfg_attr(test, assert_instr(aes64im))]
199199
#[inline]
200-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
200+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
201201
pub fn aes64im(rs1: u64) -> u64 {
202202
unsafe { _aes64im(rs1) }
203203
}
@@ -217,7 +217,7 @@ pub fn aes64im(rs1: u64) -> u64 {
217217
#[target_feature(enable = "zknh")]
218218
#[cfg_attr(test, assert_instr(sha512sig0))]
219219
#[inline]
220-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
220+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
221221
pub fn sha512sig0(rs1: u64) -> u64 {
222222
unsafe { _sha512sig0(rs1) }
223223
}
@@ -237,7 +237,7 @@ pub fn sha512sig0(rs1: u64) -> u64 {
237237
#[target_feature(enable = "zknh")]
238238
#[cfg_attr(test, assert_instr(sha512sig1))]
239239
#[inline]
240-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
240+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
241241
pub fn sha512sig1(rs1: u64) -> u64 {
242242
unsafe { _sha512sig1(rs1) }
243243
}
@@ -257,7 +257,7 @@ pub fn sha512sig1(rs1: u64) -> u64 {
257257
#[target_feature(enable = "zknh")]
258258
#[cfg_attr(test, assert_instr(sha512sum0))]
259259
#[inline]
260-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
260+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
261261
pub fn sha512sum0(rs1: u64) -> u64 {
262262
unsafe { _sha512sum0(rs1) }
263263
}
@@ -277,7 +277,7 @@ pub fn sha512sum0(rs1: u64) -> u64 {
277277
#[target_feature(enable = "zknh")]
278278
#[cfg_attr(test, assert_instr(sha512sum1))]
279279
#[inline]
280-
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
280+
#[stable(feature = "stdarch_riscv_zk", since = "CURRENT_RUSTC_VERSION")]
281281
pub fn sha512sum1(rs1: u64) -> u64 {
282282
unsafe { _sha512sum1(rs1) }
283283
}

0 commit comments

Comments
 (0)