RISC-V ISA Explorer · Integer

Zicond: Integer Conditional Ops

Ratified 2023-11 · version 1.0.0

Conditional zeroing operations that let compilers build branchless selects in two-instruction sequences.

Typical use: Branchless selection on a condition

Specification

Open Zicond in the explorer

Instructions (2)

MnemonicNameEncodingMatchMask
CZERO.EQZConditional zero, if condition is equal to zero0000111----------101-----01100110xe0050330xfe00707f
CZERO.NEZConditional zero, if condition is nonzero0000111----------111-----01100110xe0070330xfe00707f