From 4790d87842d63ed963525ac07504ac2e8e3086f7 Mon Sep 17 00:00:00 2001 From: Clinton Popetz Date: Fri, 14 Jan 2000 14:31:43 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/mips/mips.h | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4273ff8c18c..ddfa5edb982 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-01-14 Clinton Popetz + + * 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 1690dfcffc5..5e7195ef7bd 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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) \ -- 2.30.2