summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@cs.berkeley.edu>2013-04-17 05:41:54 -0700
committerGravatar Andrew Waterman <waterman@cs.berkeley.edu>2013-04-17 05:41:54 -0700
commit1c8a71494fe8770a6597ec3b34dbda79d32bbc53 (patch)
tree4dc1410a01f076a2b0fe3ee4bd2ac507357367e3 /opcodes
parent59f027735429993530181993c7e8fd1af2e13a79 (diff)
add auipc, lr, sc
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes7
1 files changed, 6 insertions, 1 deletions
diff --git a/opcodes b/opcodes
index 320c7f1..38fb80f 100644
--- a/opcodes
+++ b/opcodes
@@ -12,7 +12,6 @@ jal imm25 6..2=0x1B 1..0=3
jalr.c rd rs1 imm12 9..7=0 6..2=0x1A 1..0=3
jalr.r rd rs1 imm12 9..7=1 6..2=0x1A 1..0=3
jalr.j rd rs1 imm12 9..7=2 6..2=0x1A 1..0=3
-rdnpc rd 26..22=0 21..10=0 9..7=4 6..2=0x1A 1..0=3
beq imm12hi rs1 rs2 imm12lo 9..7=0 6..2=0x18 1..0=3
bne imm12hi rs1 rs2 imm12lo 9..7=1 6..2=0x18 1..0=3
@@ -22,6 +21,7 @@ bltu imm12hi rs1 rs2 imm12lo 9..7=6 6..2=0x18 1..0=3
bgeu imm12hi rs1 rs2 imm12lo 9..7=7 6..2=0x18 1..0=3
lui rd imm20 6..2=0x0D 1..0=3
+auipc rd imm20 6..2=0x05 1..0=3
addi rd rs1 imm12 9..7=0 6..2=0x04 1..0=3
slli rd rs1 21..17=0 16=0 shamt 9..7=1 6..2=0x04 1..0=3
@@ -104,6 +104,11 @@ amomax.d rd rs1 rs2 16..10=5 9..7=3 6..2=0x0A 1..0=3
amominu.d rd rs1 rs2 16..10=6 9..7=3 6..2=0x0A 1..0=3
amomaxu.d rd rs1 rs2 16..10=7 9..7=3 6..2=0x0A 1..0=3
+lr.w rd rs1 21..17=0 16=1 15..10=0 9..7=2 6..2=0x0A 1..0=3
+lr.d rd rs1 21..17=0 16=1 15..10=0 9..7=3 6..2=0x0A 1..0=3
+sc.w rd rs1 rs2 16=1 15..10=1 9..7=2 6..2=0x0A 1..0=3
+sc.d rd rs1 rs2 16=1 15..10=1 9..7=3 6..2=0x0A 1..0=3
+
fence.i rd rs1 imm12 9..7=1 6..2=0x0B 1..0=3
fence rd rs1 imm12 9..7=2 6..2=0x0B 1..0=3
fence.v.l rd rs1 imm12 9..7=4 6..2=0x0B 1..0=3