diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-02-19 21:14:28 -0800 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-02-20 01:50:30 -0800 |
commit | 243703d6071e20f424e4a7b418f86c9956f2e4e8 (patch) | |
tree | 1bc59d43aeafc73492fb75970b78dd03bb5ddbba | |
parent | aa0754e093dd2efb0c7a244125dd05937b2d12c3 (diff) | |
download | spike-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>
-rw-r--r-- | riscv/execute.cc | 2 |
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) |