Function core::arch::riscv32::clmul

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

Carry-less multiply (low-part)

clmul produces the lower half of the 2·XLEN carry-less product.

Source: RISC-V Bit-Manipulation ISA-extensions

Version: v1.0.0

Section: 2.11

Safety

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