Simplify RV32 comparisons
[riscv-isa-sim.git] / riscv / insns / beq.h
index 7b26488e434d77715390b54ff5e478949154ecd9..fd7e0614955879ef8a31ed978b9081e20a9da593 100644 (file)
@@ -1,2 +1,2 @@
-if(cmp_trunc(RS1) == cmp_trunc(RS2))
+if(RS1 == RS2)
   set_pc(BRANCH_TARGET);