fix fprintfs
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 28 Jun 2019 10:05:28 +0000 (11:05 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 28 Jun 2019 10:05:28 +0000 (11:05 +0100)
riscv/insn_template_sv.cc

index 213cd2a888107c7030decc79e73e59a6497734a4..b6c3292455935ca4bfc5db42bf091f865212cc18 100644 (file)
@@ -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));