c.sext.h

Takes a single source/destination operand. This instruction sign-extends the least-significant halfword of the source to XLEN by copying the most-significant bit in the halfword (i.e., bit 15) to all of the more-significant bits.

Synopsis

c.sext.h xd

Encoding

Type:

067910151101101xd100111

RISC-V Instruction Encoder/Decoder

open c.sext.h in rvcodecjs

Availability