projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7957db
)
sll
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 18 Oct 2018 22:38:33 +0000
(23:38 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 18 Oct 2018 22:38:33 +0000
(23:38 +0100)
riscv/insns/sll.h
patch
|
blob
|
history
diff --git
a/riscv/insns/sll.h
b/riscv/insns/sll.h
index 9b09d6e7b7838754340adf6edc48eeaf5eb91c1e..ec337b5e82e3e3fceefd6b5de4ea0235effa46c1 100644
(file)
--- 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)))));