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:
bbac075
)
add rv_sr
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 14 Oct 2018 05:16:03 +0000
(06:16 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 14 Oct 2018 05:16:03 +0000
(06:16 +0100)
riscv/sv_insn_redirect.cc
patch
|
blob
|
history
diff --git
a/riscv/sv_insn_redirect.cc
b/riscv/sv_insn_redirect.cc
index 30619ddcec8807f5adb0085d6ba3e37b0a441ec5..a986cefee4c279a63646c903e2abdf48bcccc764 100644
(file)
--- a/
riscv/sv_insn_redirect.cc
+++ b/
riscv/sv_insn_redirect.cc
@@
-287,3
+287,13
@@
sreg_t sv_proc_t::rv_lt(sreg_t lhs, sreg_t rhs)
return lhs < rhs;
}
+reg_t sv_proc_t::rv_gt(reg_t lhs, reg_t rhs)
+{
+ return lhs > rhs;
+}
+
+sreg_t sv_proc_t::rv_gt(sreg_t lhs, sreg_t rhs)
+{
+ return lhs > rhs;
+}
+