[xcc] instructions now set PC explicitly
[riscv-isa-sim.git] / riscv / insns / bne.h
index 39b0b19ebe30f57ee18373f1aacbe4953c4fc774..f7757214b494939480ed348b7a06d92feea5073b 100644 (file)
@@ -1,2 +1,2 @@
 if(cmp_trunc(RS1) != cmp_trunc(RS2))
-  npc = BRANCH_TARGET;
+  set_pc(BRANCH_TARGET);