[xcc] instructions now set PC explicitly
[riscv-isa-sim.git] / riscv / insns / blt.h
index 3ffd20e780cbe51317abdf432f22aae95c19fcca..d84fd7a38f1c4d9845327308f13af43b79fd1381 100644 (file)
@@ -1,2 +1,2 @@
 if(sreg_t(cmp_trunc(RS1)) < sreg_t(cmp_trunc(RS2)))
-  npc = BRANCH_TARGET;
+  set_pc(BRANCH_TARGET);