summaryrefslogtreecommitdiff
path: root/opcodes-pseudo
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@eecs.berkeley.edu>2014-03-11 23:56:10 -0700
committerGravatar Andrew Waterman <waterman@eecs.berkeley.edu>2014-03-11 23:56:10 -0700
commit94c98fd09835dd4e2f0c37cfc7034d7ee74599c8 (patch)
tree337cc29d5326c44d038a4abdaa95fc9e0a051515 /opcodes-pseudo
parenta414c8a716e8e9c7ac676e3ffaf6e072c1b9cc2e (diff)
Fix syntax error in generated opcodes
Diffstat (limited to 'opcodes-pseudo')
-rw-r--r--opcodes-pseudo6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes-pseudo b/opcodes-pseudo
index 3bd44ee..ba28d72 100644
--- a/opcodes-pseudo
+++ b/opcodes-pseudo
@@ -1,7 +1,7 @@
# Instructions that differ slightly between rv32 and rv64
-@slli-rv32 rd rs1 31..25=0 shamtw 14..12=1 6..2=0x04 1..0=3
-@srli-rv32 rd rs1 31..25=0 shamtw 14..12=5 6..2=0x04 1..0=3
-@srai-rv32 rd rs1 31..25=32 shamtw 14..12=5 6..2=0x04 1..0=3
+@slli.rv32 rd rs1 31..25=0 shamtw 14..12=1 6..2=0x04 1..0=3
+@srli.rv32 rd rs1 31..25=0 shamtw 14..12=5 6..2=0x04 1..0=3
+@srai.rv32 rd rs1 31..25=32 shamtw 14..12=5 6..2=0x04 1..0=3
# SYSTEM pseudo-instructions that map to csr*
@frflags rd 19..15=0 31..20=0x001 14..12=2 6..2=0x1C 1..0=3