Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 724 Bytes

zbc.adoc

File metadata and controls

37 lines (28 loc) · 724 Bytes

Zbc: Carry-less multiplication

Frozen

The Zbc extension is frozen.

Carry-less multiplication is the multiplication in the polynomial ring over GF(2).

clmul produces the lower half of the carry-less product and clmulh produces the upper half of the 2✕XLEN carry-less product.

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

RV32 RV64 Mnemonic Instruction

clmul rd, rs1, rs2

[insns-clmul]

clmulh rd, rs1, rs2

[insns-clmulh]

clmulr rd, rs1, rs2

[insns-clmulr]