diff options
| author | Sayantan Chakraborty <142906350+sayantn@users.noreply.github.com> | 2025-09-03 11:23:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-03 11:23:42 +0000 |
| commit | 0a97662f75addd75b1385673d91e8da1b85da7ad (patch) | |
| tree | bacc072638caed7844d3b8f340ecd80ccd410895 | |
| parent | 60874ec82085bae842e553b67dc1c313f21c7c2c (diff) | |
| parent | 46795337322b5852438417549a5fe9dce3f75479 (diff) | |
| download | rust-0a97662f75addd75b1385673d91e8da1b85da7ad.tar.gz rust-0a97662f75addd75b1385673d91e8da1b85da7ad.zip | |
Merge pull request #1909 from a4lg/riscv-clmul-lower-requirements
RISC-V: Lower requirements of `clmul` and `clmulh`
| -rw-r--r-- | library/stdarch/crates/core_arch/src/riscv_shared/zb.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/stdarch/crates/core_arch/src/riscv_shared/zb.rs b/library/stdarch/crates/core_arch/src/riscv_shared/zb.rs index 9472e3c8be9..514afd90809 100644 --- a/library/stdarch/crates/core_arch/src/riscv_shared/zb.rs +++ b/library/stdarch/crates/core_arch/src/riscv_shared/zb.rs @@ -68,7 +68,7 @@ pub fn orc_b(rs: usize) -> usize { /// /// Section: 2.11 #[unstable(feature = "riscv_ext_intrinsics", issue = "114544")] -#[target_feature(enable = "zbc")] +#[target_feature(enable = "zbkc")] #[cfg_attr(test, assert_instr(clmul))] #[inline] pub fn clmul(rs1: usize, rs2: usize) -> usize { @@ -93,7 +93,7 @@ pub fn clmul(rs1: usize, rs2: usize) -> usize { /// /// Section: 2.12 #[unstable(feature = "riscv_ext_intrinsics", issue = "114544")] -#[target_feature(enable = "zbc")] +#[target_feature(enable = "zbkc")] #[cfg_attr(test, assert_instr(clmulh))] #[inline] pub fn clmulh(rs1: usize, rs2: usize) -> usize { |
