This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[applied mips patch] finish removals mips rewrite branch merge
- From: cgd at broadcom dot com
- To: gcc-patches at gcc dot gnu dot org
- Date: 01 Feb 2004 00:06:11 -0800
- Subject: [applied mips patch] finish removals mips rewrite branch merge
I noticed a couple of months ago ("I've been busy" 8-) that there were
a couple of predicates in the MIPS port removed during the mips
rewrite branch merge, which still had some vestigial references
hanging around.
Checked in as obvious, after building the compiler for target
mipsisa64-elf (w/ sources a couple of days ago; i tried again just
now, some some unrelated things seemed broken) and checking.
chris
--
2004-02-01 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.h (PREDICATE_CODES): Remove entries for
"mips_const_double_ok" and "simple_memory_operand", which were
removed from the MIPS port with the mips-3_4-rewrite branch merge.
* config/mips/mips.c (mips16_lay_out_constants): Update comment
for removal of simple_memory_operand.
Index: config/mips/mips.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.c,v
retrieving revision 1.370
diff -u -p -r1.370 mips.c
--- config/mips/mips.c 26 Jan 2004 08:07:01 -0000 1.370
+++ config/mips/mips.c 1 Feb 2004 07:09:54 -0000
@@ -8473,7 +8473,7 @@ mips16_lay_out_constants (void)
}
/* Store the original value of insns_len in cfun->machine, so
- that simple_memory_operand can look at it. */
+ that m16_usym8_4 and m16_usym5_4 can look at it. */
cfun->machine->insns_len = insns_len;
pool_size = get_pool_size ();
Index: config/mips/mips.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.h,v
retrieving revision 1.313
diff -u -p -r1.313 mips.h
--- config/mips/mips.h 25 Jan 2004 23:45:48 -0000 1.313
+++ config/mips/mips.h 1 Feb 2004 07:09:54 -0000
@@ -2746,10 +2746,8 @@ typedef struct mips_args {
{"arith_operand", { REG, CONST_INT, CONST, SUBREG, ADDRESSOF }}, \
{"reg_or_0_operand", { REG, CONST_INT, CONST_DOUBLE, SUBREG, ADDRESSOF }}, \
{"small_int", { CONST_INT }}, \
- {"mips_const_double_ok", { CONST_DOUBLE }}, \
{"const_float_1_operand", { CONST_DOUBLE }}, \
{"reg_or_const_float_1_operand", { CONST_DOUBLE, REG}}, \
- {"simple_memory_operand", { MEM, SUBREG }}, \
{"equality_op", { EQ, NE }}, \
{"cmp_op", { EQ, NE, GT, GE, GTU, GEU, LT, LE, \
LTU, LEU }}, \