aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Min Chao <48193236+chihminchao@users.noreply.github.com>2021-01-18 15:58:36 +0800
committerGitHub <noreply@github.com>2021-01-17 23:58:36 -0800
commit0fb56dc2857afe66f95295516e0c499648203486 (patch)
tree50b421e03f9061ebac22eedeca80c579d0216e56
parent21b508eb9a01ab57f7ec2c6d24231c461331b681 (diff)
downloadriscv-opcodes-0fb56dc2857afe66f95295516e0c499648203486.zip
riscv-opcodes-0fb56dc2857afe66f95295516e0c499648203486.tar.gz
riscv-opcodes-0fb56dc2857afe66f95295516e0c499648203486.tar.bz2
rvb: add xperm.[nbhw] (#56)
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
-rw-r--r--opcodes-rv32b4
-rw-r--r--opcodes-rv64b2
2 files changed, 6 insertions, 0 deletions
diff --git a/opcodes-rv32b b/opcodes-rv32b
index 9468d26..b25df90 100644
--- a/opcodes-rv32b
+++ b/opcodes-rv32b
@@ -68,3 +68,7 @@ bfp rd rs1 rs2 31..25=36 14..12=7 6..2=0x0C 1..0=3
shfli rd rs1 31..25=4 shamtw 14..12=1 6..2=0x04 1..0=3
unshfli rd rs1 31..25=4 shamtw 14..12=5 6..2=0x04 1..0=3
+
+xperm.n rd rs1 rs2 31..25=20 14..12=2 6..2=0x0C 1..0=3
+xperm.b rd rs1 rs2 31..25=20 14..12=4 6..2=0x0C 1..0=3
+xperm.h rd rs1 rs2 31..25=20 14..12=6 6..2=0x0C 1..0=3
diff --git a/opcodes-rv64b b/opcodes-rv64b
index c428e5e..67c2c96 100644
--- a/opcodes-rv64b
+++ b/opcodes-rv64b
@@ -52,3 +52,5 @@ 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
+
+xperm.w rd rs1 rs2 31..25=20 14..12=0 6..2=0x0C 1..0=3