From: Luke Kenneth Casson Leighton Date: Fri, 28 Jun 2019 10:05:28 +0000 (+0100) Subject: fix fprintfs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efdd18268cbcb8498cb0e6460c80430d7cd16ea2;p=riscv-isa-sim.git fix fprintfs --- diff --git a/riscv/insn_template_sv.cc b/riscv/insn_template_sv.cc index 213cd2a..b6c3292 100644 --- a/riscv/insn_template_sv.cc +++ b/riscv/insn_template_sv.cc @@ -249,7 +249,7 @@ reg_t sv_proc_t::FN(processor_t* p, insn_t s_insn, reg_t pc) bool dest_predicated = (dest_pred & (1<<*dest_offs)) != 0; #ifdef INSN_C_MV fprintf(stderr, "post %s %x doffs %lx dp %x zeroing %d tozero %d" \ - " rdr %d v %x\n", + " rdr %ld v %lx\n", xstr(INSN), INSNCODE, dest_pred, *dest_offs, zeroing, dest_predicated, rdr.reg, READ_REG(rdr));