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/vcpop_m.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/vcpop_m.h')
-rw-r--r-- | riscv/insns/vcpop_m.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/vcpop_m.h b/riscv/insns/vcpop_m.h index fb3e620..cbe45a4 100644 --- a/riscv/insns/vcpop_m.h +++ b/riscv/insns/vcpop_m.h @@ -1,7 +1,7 @@ // vmpopc rd, vs2, vm require(P.VU.vsew >= e8 && P.VU.vsew <= e64); require_vector(true); -reg_t vl = P.VU.vl; +reg_t vl = P.VU.vl->read(); reg_t sew = P.VU.vsew; reg_t rd_num = insn.rd(); reg_t rs2_num = insn.rs2(); |