aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/c_slli.h
blob: 24fbb1335be3060dd7b9b1d2c2dd96a1585608ba (plain)
1
2
3
require_extension('C');
require(insn.rvc_zimm() < xlen);
WRITE_RD(sext_xlen(RVC_RS1 << insn.rvc_zimm()));