From 243703d6071e20f424e4a7b418f86c9956f2e4e8 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Wed, 19 Feb 2020 21:14:28 -0800 Subject: commitlog: print vsew in bit Signed-off-by: Chih-Min Chao --- riscv/execute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.1