aboutsummaryrefslogtreecommitdiff
path: root/riscv/execute.cc
diff options
context:
space:
mode:
authorChih-Min Chao <chihmin.chao@sifive.com>2020-02-19 21:14:28 -0800
committerChih-Min Chao <chihmin.chao@sifive.com>2020-02-20 01:50:30 -0800
commit243703d6071e20f424e4a7b418f86c9956f2e4e8 (patch)
tree1bc59d43aeafc73492fb75970b78dd03bb5ddbba /riscv/execute.cc
parentaa0754e093dd2efb0c7a244125dd05937b2d12c3 (diff)
downloadspike-243703d6071e20f424e4a7b418f86c9956f2e4e8.zip
spike-243703d6071e20f424e4a7b418f86c9956f2e4e8.tar.gz
spike-243703d6071e20f424e4a7b418f86c9956f2e4e8.tar.bz2
commitlog: print vsew in bit
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
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 cff8496..6e897ec 100644
--- a/riscv/execute.cc
+++ b/riscv/execute.cc
@@ -92,7 +92,7 @@ static void commit_log_print_insn(processor_t* p, reg_t pc, insn_t insn)
}
if (is_vec)
- fprintf(stderr, " e%ld m%ld", p->VU.vsew >> 3, p->VU.vlmul);
+ fprintf(stderr, " e%ld m%ld", p->VU.vsew, p->VU.vlmul);
fprintf(stderr, " %c%2d ", prefix, rd);
if (is_vec)