From 88c1bfce90a12f11ab8bc53659535afe618d7f3b Mon Sep 17 00:00:00 2001 From: Scott Johnson Date: Wed, 29 Sep 2021 14:52:18 -0700 Subject: Convert vl to csr_t Adds commit log events for vl to many vector instructions. --- riscv/insns/vcpop_m.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv/insns/vcpop_m.h') 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(); -- cgit v1.1