aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/auipc.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-04-17 04:38:17 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-04-17 04:38:17 -0700
commit8ec519af6858c503719f67e1a00652d7c575799f (patch)
tree767dd3285ae30edc9864de0f8722d4503ff34202 /riscv/insns/auipc.h
parentb189b9b128ce619f9423009062a85ccb17b32db9 (diff)
downloadspike-8ec519af6858c503719f67e1a00652d7c575799f.zip
spike-8ec519af6858c503719f67e1a00652d7c575799f.tar.gz
spike-8ec519af6858c503719f67e1a00652d7c575799f.tar.bz2
add AUIPC insn; remove RDNPC insn
Diffstat (limited to 'riscv/insns/auipc.h')
-rw-r--r--riscv/insns/auipc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insns/auipc.h b/riscv/insns/auipc.h
new file mode 100644
index 0000000..48480cd
--- /dev/null
+++ b/riscv/insns/auipc.h
@@ -0,0 +1 @@
+RD = sext_xprlen(sext32(BIGIMM << IMM_BITS) + pc);