aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vrgather_vi.h
diff options
context:
space:
mode:
authorScott Johnson <scott.johnson@arilinc.com>2021-09-29 12:44:24 -0700
committerScott Johnson <scott.johnson@arilinc.com>2021-09-29 14:31:52 -0700
commit72a6f9fac8f3c058d72af54a8554ee6fab2627ec (patch)
treec05152e49d35fadc9337c1ac6708da1b78401190 /riscv/insns/vrgather_vi.h
parent347ff31125bee0fadd8e02bbe7a13c672dcf74a5 (diff)
downloadspike-72a6f9fac8f3c058d72af54a8554ee6fab2627ec.zip
spike-72a6f9fac8f3c058d72af54a8554ee6fab2627ec.tar.gz
spike-72a6f9fac8f3c058d72af54a8554ee6fab2627ec.tar.bz2
Convert vstart to csr_t
Adds commit log events for vstart to many vector instructions.
Diffstat (limited to 'riscv/insns/vrgather_vi.h')
-rw-r--r--riscv/insns/vrgather_vi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/vrgather_vi.h b/riscv/insns/vrgather_vi.h
index 385e9be..56e11e1 100644
--- a/riscv/insns/vrgather_vi.h
+++ b/riscv/insns/vrgather_vi.h
@@ -8,7 +8,7 @@ reg_t zimm5 = insn.v_zimm5();
VI_LOOP_BASE
-for (reg_t i = P.VU.vstart; i < vl; ++i) {
+for (reg_t i = P.VU.vstart->read(); i < vl; ++i) {
VI_LOOP_ELEMENT_SKIP();
switch (sew) {