projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e50ddde
)
Revert to old AUIPC definition
author
Andrew Waterman
<waterman@eecs.berkeley.edu>
Tue, 11 Feb 2014 03:00:16 +0000
(19:00 -0800)
committer
Andrew Waterman
<waterman@eecs.berkeley.edu>
Tue, 11 Feb 2014 03:00:16 +0000
(19:00 -0800)
riscv/insns/auipc.h
patch
|
blob
|
history
diff --git
a/riscv/insns/auipc.h
b/riscv/insns/auipc.h
index 4d91bfc39c4bd1968facce5d310fedb4b799a54a..d724d10b43352910fbf1cb8d8ebb6ddf5b9268d0 100644
(file)
--- a/
riscv/insns/auipc.h
+++ b/
riscv/insns/auipc.h
@@
-1
+1
@@
-WRITE_RD(sext_xprlen(insn.u_imm() +
(pc >> 12 << 12)
));
+WRITE_RD(sext_xprlen(insn.u_imm() +
pc
));