aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Min Chao <chihmin.chao@sifive.com>2019-11-19 20:23:49 -0800
committerChih-Min Chao <chihmin.chao@sifive.com>2019-11-28 01:47:51 -0800
commitba1c90451a6db32e683823690012cb395961122f (patch)
tree0a4c29306891368dfbcfe1e549b398ddc8e32fc7
parent8c6b96a280cb07bf75fb728edfe56d34be90dc5b (diff)
downloadriscv-opcodes-ba1c90451a6db32e683823690012cb395961122f.zip
riscv-opcodes-ba1c90451a6db32e683823690012cb395961122f.tar.gz
riscv-opcodes-ba1c90451a6db32e683823690012cb395961122f.tar.bz2
rvv: add load/store whole register
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
-rw-r--r--opcodes-rvv9
1 files changed, 7 insertions, 2 deletions
diff --git a/opcodes-rvv b/opcodes-rvv
index 33a7ae6..042e84a 100644
--- a/opcodes-rvv
+++ b/opcodes-rvv
@@ -12,10 +12,10 @@ vsetvli 31=0 zimm11 rs1 14..12=0x7 rd 6..0=0x57
vsetvl 31=1 30..25=0x0 rs2 rs1 14..12=0x7 rd 6..0=0x57
#
-# Vector Loads and Store (including segment part)
+# Vector Loads and Store
# https://github.com/riscv/riscv-v-spec/blob/master/vmem-format.adoc
#
-# Vector Unit-Stride Instructions
+# Vector Unit-Stride Instructions (including segment part)
# https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#74-vector-unit-stride-instructions
vlb.v nf 28..26=4 vm 24..20=0 rs1 14..12=0x0 vd 6..0=0x07
vlh.v nf 28..26=4 vm 24..20=0 rs1 14..12=0x5 vd 6..0=0x07
@@ -72,6 +72,11 @@ vlbuff.v nf 28..26=0 vm 24..20=0x10 rs1 14..12=0x0 vd 6..0=0x07
vlhuff.v nf 28..26=0 vm 24..20=0x10 rs1 14..12=0x5 vd 6..0=0x07
vlwuff.v nf 28..26=0 vm 24..20=0x10 rs1 14..12=0x6 vd 6..0=0x07
+# Vector Load/Store Whole Registers
+# https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#74-vector-unit-stride-instructions
+vl1r.v 31..26=0 25=1 24..20=0x08 rs1 14..12=0x7 vd 6..0=0x07
+vs1r.v 31..26=0 25=1 24..20=0x08 rs1 14..12=0x7 vs3 6..0=0x27
+
# Vector Floating-Point Instructions
# https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#14-vector-floating-point-instructions
# OPFVF