aboutsummaryrefslogtreecommitdiff
path: root/riscv/execute.cc
diff options
context:
space:
mode:
authorScott Johnson <scott.johnson@arilinc.com>2021-09-29 14:52:18 -0700
committerScott Johnson <scott.johnson@arilinc.com>2021-09-29 14:52:27 -0700
commit88c1bfce90a12f11ab8bc53659535afe618d7f3b (patch)
tree40429707f4db05d920dafcc92e8b1a083760bf3c /riscv/execute.cc
parent464a7fb56a9152bc16a7ae5e519a3d21781f02a1 (diff)
downloadspike-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/execute.cc')
-rw-r--r--riscv/execute.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/execute.cc b/riscv/execute.cc
index 95471a9..875ce5d 100644
--- a/riscv/execute.cc
+++ b/riscv/execute.cc
@@ -125,7 +125,7 @@ static void commit_log_print_insn(processor_t *p, reg_t pc, insn_t insn)
p->VU.vsew,
p->VU.vflmul < 1 ? "mf" : "m",
p->VU.vflmul < 1 ? (reg_t)(1 / p->VU.vflmul) : (reg_t)p->VU.vflmul,
- p->VU.vl);
+ p->VU.vl->read());
show_vec = true;
}