aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-01-08 16:32:42 -0800
committerAndrew Waterman <andrew@sifive.com>2021-01-08 16:32:42 -0800
commit2aa7492f08f140f5c8a9c8439add6e46f6ad3b92 (patch)
treea930fe85e27840810e84ddfa23fb30608ce62d29
parent0eaeaa7554a8666e810abb978a7891467ab77343 (diff)
downloadriscv-opcodes-2aa7492f08f140f5c8a9c8439add6e46f6ad3b92.zip
riscv-opcodes-2aa7492f08f140f5c8a9c8439add6e46f6ad3b92.tar.gz
riscv-opcodes-2aa7492f08f140f5c8a9c8439add6e46f6ad3b92.tar.bz2
Update Zba/Zbc/Zbs mnemonics to v0.93; Zbe to v0.94-draft
The Zbs v0.93 mnemonics unfortunately collided with Zbe.
-rw-r--r--opcodes-rv32b22
-rw-r--r--opcodes-rv64b16
2 files changed, 19 insertions, 19 deletions
diff --git a/opcodes-rv32b b/opcodes-rv32b
index bff201a..9468d26 100644
--- a/opcodes-rv32b
+++ b/opcodes-rv32b
@@ -7,10 +7,10 @@ sro rd rs1 rs2 31..25=16 14..12=5 6..2=0x0C 1..0=3
rol rd rs1 rs2 31..25=48 14..12=1 6..2=0x0C 1..0=3
ror rd rs1 rs2 31..25=48 14..12=5 6..2=0x0C 1..0=3
-sbclr rd rs1 rs2 31..25=36 14..12=1 6..2=0x0C 1..0=3
-sbset rd rs1 rs2 31..25=20 14..12=1 6..2=0x0C 1..0=3
-sbinv rd rs1 rs2 31..25=52 14..12=1 6..2=0x0C 1..0=3
-sbext rd rs1 rs2 31..25=36 14..12=5 6..2=0x0C 1..0=3
+bclr rd rs1 rs2 31..25=36 14..12=1 6..2=0x0C 1..0=3
+bset rd rs1 rs2 31..25=20 14..12=1 6..2=0x0C 1..0=3
+binv rd rs1 rs2 31..25=52 14..12=1 6..2=0x0C 1..0=3
+bext rd rs1 rs2 31..25=36 14..12=5 6..2=0x0C 1..0=3
gorc rd rs1 rs2 31..25=20 14..12=5 6..2=0x0C 1..0=3
grev rd rs1 rs2 31..25=52 14..12=5 6..2=0x0C 1..0=3
@@ -18,10 +18,10 @@ sloi rd rs1 31..26=8 shamt 14..12=1 6..2=0x04 1..0=3
sroi rd rs1 31..26=8 shamt 14..12=5 6..2=0x04 1..0=3
rori rd rs1 31..26=24 shamt 14..12=5 6..2=0x04 1..0=3
-sbclri rd rs1 31..26=18 shamt 14..12=1 6..2=0x04 1..0=3
-sbseti rd rs1 31..26=10 shamt 14..12=1 6..2=0x04 1..0=3
-sbinvi rd rs1 31..26=26 shamt 14..12=1 6..2=0x04 1..0=3
-sbexti rd rs1 31..26=18 shamt 14..12=5 6..2=0x04 1..0=3
+bclri rd rs1 31..26=18 shamt 14..12=1 6..2=0x04 1..0=3
+bseti rd rs1 31..26=10 shamt 14..12=1 6..2=0x04 1..0=3
+binvi rd rs1 31..26=26 shamt 14..12=1 6..2=0x04 1..0=3
+bexti rd rs1 31..26=18 shamt 14..12=5 6..2=0x04 1..0=3
gorci rd rs1 31..26=10 shamt 14..12=5 6..2=0x04 1..0=3
grevi rd rs1 31..26=26 shamt 14..12=5 6..2=0x04 1..0=3
@@ -34,7 +34,7 @@ fsri rd rs1 shamt rs3 26=1 14..12=5 6..2=0x04 1..0=3
clz rd rs1 31..20=0x600 14..12=1 6..2=0x04 1..0=3
ctz rd rs1 31..20=0x601 14..12=1 6..2=0x04 1..0=3
-pcnt rd rs1 31..20=0x602 14..12=1 6..2=0x04 1..0=3
+cpop rd rs1 31..20=0x602 14..12=1 6..2=0x04 1..0=3
sext.b rd rs1 31..20=0x604 14..12=1 6..2=0x04 1..0=3
sext.h rd rs1 31..20=0x605 14..12=1 6..2=0x04 1..0=3
@@ -59,8 +59,8 @@ maxu rd rs1 rs2 31..25=5 14..12=7 6..2=0x0C 1..0=3
shfl rd rs1 rs2 31..25=4 14..12=1 6..2=0x0C 1..0=3
unshfl rd rs1 rs2 31..25=4 14..12=5 6..2=0x0C 1..0=3
-bext rd rs1 rs2 31..25=4 14..12=6 6..2=0x0C 1..0=3
-bdep rd rs1 rs2 31..25=36 14..12=6 6..2=0x0C 1..0=3
+bcompress rd rs1 rs2 31..25=4 14..12=6 6..2=0x0C 1..0=3
+bdecompress rd rs1 rs2 31..25=36 14..12=6 6..2=0x0C 1..0=3
pack rd rs1 rs2 31..25=4 14..12=4 6..2=0x0C 1..0=3
packu rd rs1 rs2 31..25=36 14..12=4 6..2=0x0C 1..0=3
packh rd rs1 rs2 31..25=4 14..12=7 6..2=0x0C 1..0=3
diff --git a/opcodes-rv64b b/opcodes-rv64b
index 58b50ee..c428e5e 100644
--- a/opcodes-rv64b
+++ b/opcodes-rv64b
@@ -7,9 +7,9 @@ crc32c.d rd rs1 31..20=0x61B 14..12=1 6..2=0x04 1..0=3
bmator rd rs1 rs2 31..25=4 14..12=3 6..2=0x0C 1..0=3
bmatxor rd rs1 rs2 31..25=36 14..12=3 6..2=0x0C 1..0=3
-slliu.w rd rs1 31..26=2 shamt 14..12=1 6..2=0x06 1..0=3
+slli.uw rd rs1 31..26=2 shamt 14..12=1 6..2=0x06 1..0=3
-addu.w rd rs1 rs2 31..25=4 14..12=0 6..2=0x0E 1..0=3
+add.uw rd rs1 rs2 31..25=4 14..12=0 6..2=0x0E 1..0=3
slow rd rs1 rs2 31..25=16 14..12=1 6..2=0x0E 1..0=3
srow rd rs1 rs2 31..25=16 14..12=5 6..2=0x0E 1..0=3
@@ -39,16 +39,16 @@ fsriw rd rs1 shamtw rs3 26..25=2 14..12=5 6..2=0x06 1..0=3
clzw rd rs1 31..20=0x600 14..12=1 6..2=0x06 1..0=3
ctzw rd rs1 31..20=0x601 14..12=1 6..2=0x06 1..0=3
-pcntw rd rs1 31..20=0x602 14..12=1 6..2=0x06 1..0=3
+cpopw rd rs1 31..20=0x602 14..12=1 6..2=0x06 1..0=3
-sh1addu.w rd rs1 rs2 31..25=16 14..12=2 6..2=0x0E 1..0=3
-sh2addu.w rd rs1 rs2 31..25=16 14..12=4 6..2=0x0E 1..0=3
-sh3addu.w rd rs1 rs2 31..25=16 14..12=6 6..2=0x0E 1..0=3
+sh1add.uw rd rs1 rs2 31..25=16 14..12=2 6..2=0x0E 1..0=3
+sh2add.uw rd rs1 rs2 31..25=16 14..12=4 6..2=0x0E 1..0=3
+sh3add.uw rd rs1 rs2 31..25=16 14..12=6 6..2=0x0E 1..0=3
shflw rd rs1 rs2 31..25=4 14..12=1 6..2=0x0E 1..0=3
unshflw rd rs1 rs2 31..25=4 14..12=5 6..2=0x0E 1..0=3
-bextw rd rs1 rs2 31..25=4 14..12=6 6..2=0x0E 1..0=3
-bdepw rd rs1 rs2 31..25=36 14..12=6 6..2=0x0E 1..0=3
+bcompressw rd rs1 rs2 31..25=4 14..12=6 6..2=0x0E 1..0=3
+bdecompressw rd rs1 rs2 31..25=36 14..12=6 6..2=0x0E 1..0=3
packw rd rs1 rs2 31..25=4 14..12=4 6..2=0x0E 1..0=3
packuw rd rs1 rs2 31..25=36 14..12=4 6..2=0x0E 1..0=3
bfpw rd rs1 rs2 31..25=36 14..12=7 6..2=0x0E 1..0=3