]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips.h (REGISTER_MOVE_COST): Remove redundant case for moving from HI/LO/HI_LO_REG.
authorClinton Popetz <cpopetz@cygnus.com>
Fri, 14 Jan 2000 14:31:43 +0000 (14:31 +0000)
committerClinton Popetz <cpopetz@gcc.gnu.org>
Fri, 14 Jan 2000 14:31:43 +0000 (09:31 -0500)
* 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

gcc/ChangeLog
gcc/config/mips/mips.h

index 4273ff8c18c2e3e2ae3be51477feac11c4912e01..ddfa5edb982c77425974c477d7bce80a8533491e 100644 (file)
@@ -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
index 1690dfcffc5ab50fca752d12bbd219c3726dca54..5e7195ef7bdcc8a7454fdaef1936e644068c7073 100644 (file)
@@ -3703,9 +3703,6 @@ while (0)
    : (FROM) == FP_REGS && (TO) == FP_REGS ? 2                          \
    : GR_REG_CLASS_P (FROM) && (TO) == FP_REGS ? 4                      \
    : (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)               \