[xcc] minor performance tweaks
[riscv-isa-sim.git] / riscv / insns / c_bne.h
index 59f257b57f726c48778da0df783aaa319e579efb..caf922901c560193ade50264870395d50b6930a5 100644 (file)
@@ -1,3 +1,3 @@
 require_rvc;
 if(cmp_trunc(CRS1S) != cmp_trunc(CRS2S))
-  npc = CBRANCH_TARGET;
+  set_pc(CBRANCH_TARGET);