Sign-extends the least-significant byte in the source to XLEN by copying the most-significant bit in the byte (i.e., bit 7) to all of the more-significant bits.
sext.b xd, xs1
Type:
open sext.b in rvcodecjs