aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeel Gala <neelgala@incoresemi.com>2023-01-14 13:36:35 +0530
committerAndrew Waterman <andrew@sifive.com>2023-01-31 09:28:01 -0800
commit97c69d247f8aa30aa82362ce77d36d6602954b29 (patch)
treefa6f73103b90d6b2a0a8008b23cbe705f789c605
parentaf95064915e9ef393ef78ed8d17171ddd9d758c7 (diff)
downloadriscv-opcodes-97c69d247f8aa30aa82362ce77d36d6602954b29.zip
riscv-opcodes-97c69d247f8aa30aa82362ce77d36d6602954b29.tar.gz
riscv-opcodes-97c69d247f8aa30aa82362ce77d36d6602954b29.tar.bz2
adding pseudo_ops for shift-ops where the mnemonics remain the same
-rw-r--r--rv32_i6
-rw-r--r--unratified/rv128_i3
2 files changed, 6 insertions, 3 deletions
diff --git a/rv32_i b/rv32_i
index 7e4da0f..6c66673 100644
--- a/rv32_i
+++ b/rv32_i
@@ -1,3 +1,3 @@
-$pseudo_op rv128_i::slli slli_rv32 rd rs1 shamtw 31..25=0 14..12=1 6..2=0x04 1..0=3
-$pseudo_op rv128_i::srli srli_rv32 rd rs1 shamtw 31..25=0 14..12=5 6..2=0x04 1..0=3
-$pseudo_op rv128_i::srai srai_rv32 rd rs1 shamtw 31..25=32 14..12=5 6..2=0x04 1..0=3
+$pseudo_op rv64_i::slli slli rd rs1 shamtw 31..25=0 14..12=1 6..2=0x04 1..0=3
+$pseudo_op rv64_i::srli srli rd rs1 shamtw 31..25=0 14..12=5 6..2=0x04 1..0=3
+$pseudo_op rv64_i::srai srai rd rs1 shamtw 31..25=32 14..12=5 6..2=0x04 1..0=3
diff --git a/unratified/rv128_i b/unratified/rv128_i
index 191d61a..bb2c10b 100644
--- a/unratified/rv128_i
+++ b/unratified/rv128_i
@@ -16,6 +16,9 @@ ldu rd rs1 imm12 14..12=7 6..2=0x00 1..0=3
sq imm12hi rs1 rs2 imm12lo 14..12=4 6..2=0x08 1..0=3
+$pseudo_op rv64_i::slli slli rd rs1 31..27=0 shamtq 14..12=1 6..2=0x04 1..0=3
+$pseudo_op rv64_i::srli srli rd rs1 31..27=0 shamtq 14..12=5 6..2=0x04 1..0=3
+$pseudo_op rv64_i::srai srai rd rs1 31..27=8 shamtq 14..12=5 6..2=0x04 1..0=3
$pseudo_op rv64_i::slli slli_rv128 rd rs1 31..27=0 shamtq 14..12=1 6..2=0x04 1..0=3
$pseudo_op rv64_i::srli srli_rv128 rd rs1 31..27=0 shamtq 14..12=5 6..2=0x04 1..0=3
$pseudo_op rv64_i::srai srai_rv128 rd rs1 31..27=8 shamtq 14..12=5 6..2=0x04 1..0=3