add rv_sr
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 14 Oct 2018 05:16:03 +0000 (06:16 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 14 Oct 2018 05:16:03 +0000 (06:16 +0100)
riscv/sv_insn_redirect.cc

index 30619ddcec8807f5adb0085d6ba3e37b0a441ec5..a986cefee4c279a63646c903e2abdf48bcccc764 100644 (file)
@@ -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;
+}
+