Arithmetic shift (the original sign bit is copied into the vacated upper bits) the 32-bit value in xs1 right by shamt, and store the sign-extended result in xd.
sraiw xd, xs1, shamt
Type:
open sraiw in rvcodecjs