* sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
+2004-02-17 Corinna Vinschen <vinschen@redhat.com>
+
+ * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
+ * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
+ DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
+
2004-02-17 Andrew Cagney <cagney@redhat.com>
* symtab.c (skip_prologue_using_sal): New function.
return SIM_SH_RS_REGNUM;
if (nr == RE_REGNUM)
return SIM_SH_RE_REGNUM;
- if (nr >= R0_BANK_REGNUM && nr <= R7_BANK_REGNUM)
- return nr - R0_BANK_REGNUM + SIM_SH_R0_BANK_REGNUM;
+ if (nr >= DSP_R0_BANK_REGNUM && nr <= DSP_R7_BANK_REGNUM)
+ return nr - DSP_R0_BANK_REGNUM + SIM_SH_R0_BANK_REGNUM;
return nr;
}
MOD_REGNUM = 40,
RS_REGNUM = 43,
RE_REGNUM = 44,
- R0_BANK_REGNUM = 51,
- R7_BANK_REGNUM = 58,
+ DSP_R0_BANK_REGNUM = 51,
+ DSP_R7_BANK_REGNUM = 58,
/* Floating point pseudo registers */
DR0_REGNUM = 59,
DR_LAST_REGNUM = 66,