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:
52247c6
)
c_beqz
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 18 Oct 2018 22:16:24 +0000
(23:16 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 18 Oct 2018 22:16:24 +0000
(23:16 +0100)
riscv/insns/c_beqz.h
patch
|
blob
|
history
diff --git
a/riscv/insns/c_beqz.h
b/riscv/insns/c_beqz.h
index 01bec6c1efd23cbc99a4f0ddfbadb32f72008e6e..bcd6ab341c2f4b2b35ce214e43a8dc49fe858417 100644
(file)
--- a/
riscv/insns/c_beqz.h
+++ b/
riscv/insns/c_beqz.h
@@
-1,3
+1,3
@@
require_extension('C');
-if (rv_eq(RVC_RS1S,
0
))
+if (rv_eq(RVC_RS1S,
sv_reg_t(0U)
))
set_pc(rv_add(pc, insn.rvc_b_imm()));