Implement RVC draft
[riscv-isa-sim.git] / riscv / insns / c_jalr.h
1 require_rvc;
2 reg_t tmp = npc;
3 set_pc(RVC_RS1 & ~reg_t(1));
4 WRITE_RD(tmp);