summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-04-09 20:03:07 -0700
committerGravatar Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-04-09 20:03:07 -0700
commitfa3c04da6fc1b2a8c0f744c3bfcf25dd45c24e5b (patch)
treef3e190522e7f497597efddab87a91e161a49d949 /opcodes
parent9212085398dee4aecfead02897d8ad3686afe6bc (diff)
[xcc, sim] added rvc insn c.li; misc fixes
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes b/opcodes
index 28e35ed..fa5369b 100644
--- a/opcodes
+++ b/opcodes
@@ -80,7 +80,7 @@ lwu rd rs1 imm12 9..7=6 6..2=0x00 1..0=3
# NOTE: if you add new store instructions, make sure to modify tc-mips-riscv.c
# and elfxx-mips.c to detect them. this is a hack to handle the split immed.
-# just open up those files and search for MATCH_S_W; should be obvious.
+# just open up those files and search for MATCH_SW; should be obvious.
sb imm12hi rs1 rs2 imm12lo 9..7=0 6..2=0x08 1..0=3
sh imm12hi rs1 rs2 imm12lo 9..7=1 6..2=0x08 1..0=3
sw imm12hi rs1 rs2 imm12lo 9..7=2 6..2=0x08 1..0=3
@@ -318,3 +318,4 @@ vf 31..27=0 rs1 imm12 9..7=2 6..2=0x1C 1..0=3
# compressed instructions
c.addi cimm6 crd5 4..0=0
+c.li cimm6 crd5 4..0=1