aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/srli.h
blob: ea0b40d6549b5f1f9ea51b1d8d5988e514ac0ef4 (plain)
1
2
require(SHAMT < xlen);
WRITE_RD(sext_xlen(zext_xlen(RS1) >> SHAMT));