diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-29 12:44:24 -0700 |
---|---|---|
committer | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-29 14:31:52 -0700 |
commit | 72a6f9fac8f3c058d72af54a8554ee6fab2627ec (patch) | |
tree | c05152e49d35fadc9337c1ac6708da1b78401190 /riscv/insns/vfmv_s_f.h | |
parent | 347ff31125bee0fadd8e02bbe7a13c672dcf74a5 (diff) | |
download | spike-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/vfmv_s_f.h')
-rw-r--r-- | riscv/insns/vfmv_s_f.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/vfmv_s_f.h b/riscv/insns/vfmv_s_f.h index 4e7f82e..116ed45 100644 --- a/riscv/insns/vfmv_s_f.h +++ b/riscv/insns/vfmv_s_f.h @@ -8,7 +8,7 @@ require(STATE.frm->read() < 0x5); reg_t vl = P.VU.vl; -if (vl > 0 && P.VU.vstart < vl) { +if (vl > 0 && P.VU.vstart->read() < vl) { reg_t rd_num = insn.rd(); switch(P.VU.vsew) { @@ -26,4 +26,4 @@ if (vl > 0 && P.VU.vstart < vl) { break; } } -P.VU.vstart = 0; +P.VU.vstart->write(0); |