sll
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 18 Oct 2018 22:38:33 +0000 (23:38 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 18 Oct 2018 22:38:33 +0000 (23:38 +0100)
riscv/insns/sll.h

index 9b09d6e7b7838754340adf6edc48eeaf5eb91c1e..ec337b5e82e3e3fceefd6b5de4ea0235effa46c1 100644 (file)
@@ -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)))));