aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/srl.h
blob: 8230d2724b9c1d480c20a38c90dba7cbc7372249 (plain)
1
2
3
4
if(xpr64)
  RD = RS1 >> (RS2 & 0x3F);
else
  RD = sext32((uint32_t)RS1 >> (RS2 & 0x1F));