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:
55cbc41
)
slli
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 18 Oct 2018 22:38:55 +0000
(23:38 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 18 Oct 2018 22:38:55 +0000
(23:38 +0100)
riscv/insns/slli.h
patch
|
blob
|
history
diff --git
a/riscv/insns/slli.h
b/riscv/insns/slli.h
index 156d4e37b8f226879fa5e1cde9addbcf9083223c..b196afa9578995b74a0e042da297016bf029928f 100644
(file)
--- a/
riscv/insns/slli.h
+++ b/
riscv/insns/slli.h
@@
-1,2
+1,2
@@
-require(
SHAMT < xlen
);
+require(
rv_lt(SHAMT, sv_reg_t(xlen))
);
WRITE_RD(sext_xlen(rv_sl(RS1, SHAMT)));