aboutsummaryrefslogtreecommitdiff
path: root/unratified
diff options
context:
space:
mode:
authorNeel Gala <neelgala@incoresemi.com>2022-04-08 21:34:34 +0530
committerNeel Gala <neelgala@incoresemi.com>2022-04-08 21:34:34 +0530
commit5fae476896a34bc56c034d5a1ba453ab86ebfe48 (patch)
tree7dd4ca0f57fc0ddfd2cd6b73b7cd839e418789db /unratified
parentbd26319a75b2ae4f52dc397b22c97e19b08d527f (diff)
downloadriscv-opcodes-5fae476896a34bc56c034d5a1ba453ab86ebfe48.zip
riscv-opcodes-5fae476896a34bc56c034d5a1ba453ab86ebfe48.tar.gz
riscv-opcodes-5fae476896a34bc56c034d5a1ba453ab86ebfe48.tar.bz2
change xperm.[nbhw] to xperm[4,8,16,32]
- this changes the imports in zk[ns] - this name is also what spike uses for now. - This fix may come-back later when zbp and zbkx reconcile on a common naming scheme for these instructions.
Diffstat (limited to 'unratified')
-rw-r--r--unratified/rv64_zbp2
-rw-r--r--unratified/rv_zbp6
2 files changed, 4 insertions, 4 deletions
diff --git a/unratified/rv64_zbp b/unratified/rv64_zbp
index f4c0bca..f8c06bd 100644
--- a/unratified/rv64_zbp
+++ b/unratified/rv64_zbp
@@ -14,4 +14,4 @@ gorciw rd rs1 31..26=10 25=0 shamtw 14..12=5 6..2=0x06 1..0=3
greviw rd rs1 31..26=26 25=0 shamtw 14..12=5 6..2=0x06 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
-xperm.w rd rs1 rs2 31..25=20 14..12=0 6..2=0x0C 1..0=3
+xperm32 rd rs1 rs2 31..25=20 14..12=0 6..2=0x0C 1..0=3
diff --git a/unratified/rv_zbp b/unratified/rv_zbp
index 810fe9d..b66d6b4 100644
--- a/unratified/rv_zbp
+++ b/unratified/rv_zbp
@@ -9,7 +9,7 @@ grev rd rs1 rs2 31..25=52 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
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
-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
+xperm4 rd rs1 rs2 31..25=20 14..12=2 6..2=0x0C 1..0=3
+xperm8 rd rs1 rs2 31..25=20 14..12=4 6..2=0x0C 1..0=3
+xperm16 rd rs1 rs2 31..25=20 14..12=6 6..2=0x0C 1..0=3
packu rd rs1 rs2 31..25=36 14..12=4 6..2=0x0C 1..0=3