Simplify RV32 comparisons
[riscv-isa-sim.git] / riscv / insns / blt.h
index d84fd7a38f1c4d9845327308f13af43b79fd1381..c54fb7693a01e5c8e57c47f2e41faa77fb35fe87 100644 (file)
@@ -1,2 +1,2 @@
-if(sreg_t(cmp_trunc(RS1)) < sreg_t(cmp_trunc(RS2)))
+if(sreg_t(RS1) < sreg_t(RS2))
   set_pc(BRANCH_TARGET);