core::arch::riscv64

Function clmulh

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

Carry-less multiply (high-part)

clmulh produces the upper half of the 2·XLEN carry-less product.

Source: RISC-V Bit-Manipulation ISA-extensions

Version: v1.0.0

Section: 2.12

§Safety

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