aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/c_srli.h
blob: f410fefda56322c0aa7d4d39caa2d5af3c75fbee (plain)
1
2
3
require_extension('C');
require(insn.rvc_zimm() < xlen);
WRITE_RVC_RS1S(sext_xlen(zext_xlen(RVC_RS1S) >> insn.rvc_zimm()));