temporary undoing of renaming
[riscv-isa-sim.git] / riscv / insns / srli.h
1 if(xpr64)
2 RD = RS1 >> SHAMT;
3 else
4 {
5 if(SHAMT & 0x20)
6 throw trap_illegal_instruction;
7 RD = sext32((uint32_t)RS1 >> SHAMT);
8 }