/* print floating point REGS to STREAM */ void md_print_fpreg(md_fpr_t regs, int reg, FILE *stream) { fprintf(stream, "%4s: %12d/0x%08x/%f", md_reg_name(rt_fpr, reg), regs.l[reg], regs.l[reg], regs.f[reg]); if (/* even? */!(reg & 1)) { fprintf(stream, " (%4s as double: %f)", md_reg_name(rt_dpr, reg/2), regs.d[reg/2]); } }
/* print floating point REGS to STREAM */ void md_print_fpreg(md_fpr_t regs, int reg, FILE *stream) { myfprintf(stream, "%4s: %16ld/0x%012lx/%f", md_reg_name(rt_fpr, reg), regs.q[reg], regs.q[reg], regs.d[reg]); }
/* print integer REG(S) to STREAM */ void md_print_ireg(md_gpr_t regs, int reg, FILE *stream) { myfprintf(stream, "%4s: %16ld/0x%012lx", md_reg_name(rt_gpr, reg), regs[reg], regs[reg]); }