From: Luke Kenneth Casson Leighton Date: Thu, 18 Oct 2018 22:38:33 +0000 (+0100) Subject: sll X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55cbc4168e04b5ce3cb0e934cb8fe8b46d562e29;p=riscv-isa-sim.git sll --- diff --git a/riscv/insns/sll.h b/riscv/insns/sll.h index 9b09d6e..ec337b5 100644 --- a/riscv/insns/sll.h +++ b/riscv/insns/sll.h @@ -1 +1 @@ -WRITE_RD(sext_xlen(rv_sl(RS1, (RS2 & (xlen-1))))); +WRITE_RD(sext_xlen(rv_sl(RS1, rv_and(RS2, sv_reg_t(xlen-1)))));