* 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.
This commit is contained in:
parent
634aa483dd
commit
76cd2bd94e
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2004-02-17 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* symtab.c (skip_prologue_using_sal): New function.
|
* symtab.c (skip_prologue_using_sal): New function.
|
||||||
|
|
|
@ -1873,8 +1873,8 @@ sh_dsp_register_sim_regno (int nr)
|
||||||
return SIM_SH_RS_REGNUM;
|
return SIM_SH_RS_REGNUM;
|
||||||
if (nr == RE_REGNUM)
|
if (nr == RE_REGNUM)
|
||||||
return SIM_SH_RE_REGNUM;
|
return SIM_SH_RE_REGNUM;
|
||||||
if (nr >= R0_BANK_REGNUM && nr <= R7_BANK_REGNUM)
|
if (nr >= DSP_R0_BANK_REGNUM && nr <= DSP_R7_BANK_REGNUM)
|
||||||
return nr - R0_BANK_REGNUM + SIM_SH_R0_BANK_REGNUM;
|
return nr - DSP_R0_BANK_REGNUM + SIM_SH_R0_BANK_REGNUM;
|
||||||
return nr;
|
return nr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,8 +62,8 @@ enum
|
||||||
MOD_REGNUM = 40,
|
MOD_REGNUM = 40,
|
||||||
RS_REGNUM = 43,
|
RS_REGNUM = 43,
|
||||||
RE_REGNUM = 44,
|
RE_REGNUM = 44,
|
||||||
R0_BANK_REGNUM = 51,
|
DSP_R0_BANK_REGNUM = 51,
|
||||||
R7_BANK_REGNUM = 58,
|
DSP_R7_BANK_REGNUM = 58,
|
||||||
/* Floating point pseudo registers */
|
/* Floating point pseudo registers */
|
||||||
DR0_REGNUM = 59,
|
DR0_REGNUM = 59,
|
||||||
DR_LAST_REGNUM = 66,
|
DR_LAST_REGNUM = 66,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue