Default to 2 GiB of memory
[riscv-isa-sim.git] / riscv / insns / blt.h
index 3ffd20e780cbe51317abdf432f22aae95c19fcca..c54fb7693a01e5c8e57c47f2e41faa77fb35fe87 100644 (file)
@@ -1,2 +1,2 @@
-if(sreg_t(cmp_trunc(RS1)) < sreg_t(cmp_trunc(RS2)))
-  npc = BRANCH_TARGET;
+if(sreg_t(RS1) < sreg_t(RS2))
+  set_pc(BRANCH_TARGET);