aboutsummaryrefslogtreecommitdiff
path: root/unratified
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-01-12 13:06:43 -0800
committerAndrew Waterman <andrew@sifive.com>2023-01-12 13:06:43 -0800
commite96108394230fe7d5c8952e518713dbf88dd2d4f (patch)
treef24446bd1df08cacb50ff9e79aeca7d0d7641fd6 /unratified
parentc190e55d3135dc995e755d98709173e0c8ea9939 (diff)
downloadriscv-opcodes-e96108394230fe7d5c8952e518713dbf88dd2d4f.zip
riscv-opcodes-e96108394230fe7d5c8952e518713dbf88dd2d4f.tar.gz
riscv-opcodes-e96108394230fe7d5c8952e518713dbf88dd2d4f.tar.bz2
Rename RV128 shamt to shamtq
This will reduce the chance that people pick the wrong shamt width.
Diffstat (limited to 'unratified')
-rw-r--r--unratified/rv128_i6
1 files changed, 3 insertions, 3 deletions
diff --git a/unratified/rv128_i b/unratified/rv128_i
index 1d62fe5..05c521e 100644
--- a/unratified/rv128_i
+++ b/unratified/rv128_i
@@ -17,6 +17,6 @@ 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
# RV32 and RV64 versions of these are in opcodes-pseudo
-slli rd rs1 31..27=0 shamt 14..12=1 6..2=0x04 1..0=3
-srli rd rs1 31..27=0 shamt 14..12=5 6..2=0x04 1..0=3
-srai rd rs1 31..27=8 shamt 14..12=5 6..2=0x04 1..0=3
+slli rd rs1 31..27=0 shamtq 14..12=1 6..2=0x04 1..0=3
+srli rd rs1 31..27=0 shamtq 14..12=5 6..2=0x04 1..0=3
+srai rd rs1 31..27=8 shamtq 14..12=5 6..2=0x04 1..0=3