core::arch::riscv32

Function clmulr

source
pub unsafe fn clmulr(rs1: usize, rs2: usize) -> usize
🔬This is a nightly-only experimental API. (riscv_ext_intrinsics #114544)
Available on RISC-V RV32 and target feature zbc only.
Expand description

Carry-less multiply (reversed)

clmulr produces bits 2·XLEN−2:XLEN-1 of the 2·XLEN carry-less product.

Source: RISC-V Bit-Manipulation ISA-extensions

Version: v1.0.0

Section: 2.13

§Safety

This function is safe to use if the zbc target feature is present.