czero.eqz

If xs2 contains the value zero, this instruction writes the value zero to xd. Otherwise, this instruction copies the contents of xs1 to xd. This instruction carries a syntactic dependency from both xs1 and xs2 to xd. Furthermore, if the Zkt extension is implemented, this instruction's timing is independent of the data values in xs1 and xs2.

Synopsis

czero.eqz xd, xs1, xs2

Encoding

Type: R

0671112141519202425310110011xd101xs1xs20000111
funct7: 0000111
funct3: 101
opcode: 0110011

RISC-V Instruction Encoder/Decoder

open czero.eqz in rvcodecjs

Availability