From 84f44054522cb88e7ba81d5c61f09b4e5523b992 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 2 Oct 2018 12:26:47 +0100 Subject: [PATCH] debug print for floating-point regs --- riscv/insn_template_sv.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/riscv/insn_template_sv.cc b/riscv/insn_template_sv.cc index 2feaf48..7e98462 100644 --- a/riscv/insn_template_sv.cc +++ b/riscv/insn_template_sv.cc @@ -55,9 +55,16 @@ reg_t FN(processor_t* p, insn_t s_insn, reg_t pc) #endif if (vlen > 1) { +#if defined(USING_REG_RD) fprintf(stderr, "reg %s %x vloop %d vlen %d stop %d pred %lx rd%lx\n", xstr(INSN), INSNCODE, voffs, vlen, insn.stop_vloop(), dest_pred & (1<