projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
commit configure script; new configure option --enable-commitlog
[riscv-isa-sim.git]
/
riscv
/
insns
/
jal.h
diff --git
a/riscv/insns/jal.h
b/riscv/insns/jal.h
index 7a7030714119227236c993fbf31909a8bef128db..2694deef1c7394c969283afea3f55340dd3dd868 100644
(file)
--- a/
riscv/insns/jal.h
+++ b/
riscv/insns/jal.h
@@
-1,2
+1,2
@@
-
R[1] = npc
;
-
npc = JUMP_TARGET
;
+
WRITE_RD(npc)
;
+
set_pc(JUMP_TARGET)
;