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
Open Zicond in the explorerInstructions (2)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
CZERO.EQZ | Conditional zero, if condition is equal to zero | 0000111----------101-----0110011 | 0xe005033 | 0xfe00707f |
CZERO.NEZ | Conditional zero, if condition is nonzero | 0000111----------111-----0110011 | 0xe007033 | 0xfe00707f |