diff options
author | Clinton Popetz <cpopetz@cygnus.com> | 2000-01-14 14:31:43 +0000 |
---|---|---|
committer | Clinton Popetz <cpopetz@gcc.gnu.org> | 2000-01-14 09:31:43 -0500 |
commit | 4790d87842d63ed963525ac07504ac2e8e3086f7 (patch) | |
tree | 56606b0544675d9bdbd014f18b1d4e0606d3d60a | |
parent | eff3ac461929eefae3adb21e6ad41d3d5f12aac7 (diff) | |
download | gcc-4790d87842d63ed963525ac07504ac2e8e3086f7.zip gcc-4790d87842d63ed963525ac07504ac2e8e3086f7.tar.gz gcc-4790d87842d63ed963525ac07504ac2e8e3086f7.tar.bz2 |
mips.h (REGISTER_MOVE_COST): Remove redundant case for moving from HI/LO/HI_LO_REG.
* config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
case for moving from HI/LO/HI_LO_REG. This makes the behavior
match the comment for MIPS16.
From-SVN: r31413
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4273ff8..ddfa5ed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-01-14 Clinton Popetz <cpopetz@cygnus.com> + + * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant + case for moving from HI/LO/HI_LO_REG. This makes the behavior + match the comment for MIPS16. + Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com) * flow.c (split_edge): Do not call set_block_for_insn if we diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 1690dfc..5e7195ef 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -3705,9 +3705,6 @@ while (0) : (FROM) == FP_REGS && GR_REG_CLASS_P (TO) ? 4 \ : (((FROM) == HI_REG || (FROM) == LO_REG \ || (FROM) == MD_REGS || (FROM) == HILO_REG) \ - && ((TO) == M16_REGS || (TO) == M16_NA_REGS)) ? 6 \ - : (((FROM) == HI_REG || (FROM) == LO_REG \ - || (FROM) == MD_REGS || (FROM) == HILO_REG) \ && GR_REG_CLASS_P (TO)) ? (TARGET_MIPS16 ? 12 : 6) \ : (((TO) == HI_REG || (TO) == LO_REG \ || (TO) == MD_REGS || (TO) == HILO_REG) \ |