diff options
author | Nigel Stephens <nigel@mips.com> | 2007-07-20 15:41:29 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-07-20 15:41:29 +0000 |
commit | 48156a3983a1d75aa5e797c42e2a30a2bb341f75 (patch) | |
tree | c9f674530498f77de7b6d6883767b9023b345c25 /gcc/regclass.c | |
parent | b644e061999f6186d4f0474f3dc2da3370869986 (diff) | |
download | gcc-48156a3983a1d75aa5e797c42e2a30a2bb341f75.zip gcc-48156a3983a1d75aa5e797c42e2a30a2bb341f75.tar.gz gcc-48156a3983a1d75aa5e797c42e2a30a2bb341f75.tar.bz2 |
mips.h (mips_dwarf_regno): Declare.
gcc/
2007-07-20 Nigel Stephens <nigel@mips.com>
Richard Sandiford <richard@codesourcery.com>
* config/mips/mips.h (mips_dwarf_regno): Declare.
(DBX_REGISTER_NUMBER): Remove redundant brackets.
(HI_REGNUM, LO_REGNUM): Define in an endian-dependent way.
(AC1HI_REGNUM, AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM)
(AC3HI_REGNUM, AC3LO_REGNUM, ACC_HI_REG_P): Delete.
(reg_class): Rename HI_REG to MD0_REG and LO_REG to MD1_REG.
(REG_CLASS_NAMES): Update accordingly.
* config/mips/mips.c (mips_dwarf_regno): New array.
(mips_regno_to_class): Rename HI_REG to MD0_REG and LO_REG to MD1_REG.
(mips_subword): Remove special handling for accumulator registers.
(override_options): Initiailize mips_dwarf_regno. Remove use
of ACC_HI_REG_P.
(mips_swap_registers): New function.
(mips_conditional_register_usage): Swap accumulator registers
around if TARGET_LITTLE_ENDIAN.
(mips_cannot_change_mode_class): Remove special treatment of ACC_REGS.
* config/mips/constraints.md (h, l): Use the endianness to choose
between MD0_REG and MD1_REG.
* config/mips/mips.md (*mfhilo_<mode>_macc): Use a fixed-string,
alternative-dependent template.
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r126801
Diffstat (limited to 'gcc/regclass.c')
0 files changed, 0 insertions, 0 deletions