diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-29 14:52:18 -0700 |
---|---|---|
committer | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-29 14:52:27 -0700 |
commit | 88c1bfce90a12f11ab8bc53659535afe618d7f3b (patch) | |
tree | 40429707f4db05d920dafcc92e8b1a083760bf3c /riscv/insns/vfmv_s_f.h | |
parent | 464a7fb56a9152bc16a7ae5e519a3d21781f02a1 (diff) | |
download | spike-88c1bfce90a12f11ab8bc53659535afe618d7f3b.zip spike-88c1bfce90a12f11ab8bc53659535afe618d7f3b.tar.gz spike-88c1bfce90a12f11ab8bc53659535afe618d7f3b.tar.bz2 |
Convert vl to csr_t
Adds commit log events for vl to many vector instructions.
Diffstat (limited to 'riscv/insns/vfmv_s_f.h')
-rw-r--r-- | riscv/insns/vfmv_s_f.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/vfmv_s_f.h b/riscv/insns/vfmv_s_f.h index 116ed45..edc376e 100644 --- a/riscv/insns/vfmv_s_f.h +++ b/riscv/insns/vfmv_s_f.h @@ -6,7 +6,7 @@ require((P.VU.vsew == e16 && p->extension_enabled(EXT_ZFH)) || (P.VU.vsew == e64 && p->extension_enabled('D'))); require(STATE.frm->read() < 0x5); -reg_t vl = P.VU.vl; +reg_t vl = P.VU.vl->read(); if (vl > 0 && P.VU.vstart->read() < vl) { reg_t rd_num = insn.rd(); |