From 55cbc4168e04b5ce3cb0e934cb8fe8b46d562e29 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 18 Oct 2018 23:38:33 +0100 Subject: [PATCH] sll --- riscv/insns/sll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))); -- 2.30.2