c.zext.h
Zero-extend halfword, 16-bit encoding
This instruction is defined by:
Synopsis
Takes a single source/destination operand. This instruction zero-extends the least-significant halfword of the source to XLEN by inserting 0’s into all of the bits more significant than 15.
Execution
-
Pruned, XLEN == 64
-
Original
if (implemented?(ExtensionName::C) && MISA_CSR_IMPLEMENTED && (CSR[misa].C == 1'b0)) {
reserved_instruction($encoding);
}
X[creg2reg(xd)] = X[creg2reg(xd)][15:0];