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:
9eb10ae
)
c_srli
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 18 Oct 2018 22:22:07 +0000
(23:22 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 18 Oct 2018 22:22:07 +0000
(23:22 +0100)
riscv/insns/c_srli.h
patch
|
blob
|
history
diff --git
a/riscv/insns/c_srli.h
b/riscv/insns/c_srli.h
index 904dbf16f97019882fb4f042b9ac8ca09e6aed5f..419ee308e025e059224a880218154a0cb2a41b4a 100644
(file)
--- a/
riscv/insns/c_srli.h
+++ b/
riscv/insns/c_srli.h
@@
-1,3
+1,3
@@
require_extension('C');
-require(
insn.rvc_zimm() < xlen
);
+require(
rv_lt(insn.rvc_zimm(), sv_sreg_t(xlen))
);
WRITE_RVC_RS1S(sext_xlen(rv_sr(zext_xlen(RVC_RS1S), insn.rvc_zimm())));