This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] small speedup in cse.c
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-patches Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 11 Sep 2004 17:08:26 -0700
- Subject: [PATCH] small speedup in cse.c
I noticed this when looking for other places to change HOST_WIDE_INT
to be HOST_WIDEST_FAST_INT. I had just forgot to change this
occurrences when I changed the ones in hard-reg-set.h.
OK? Bootstrapped and tested on powerpc-apple-darwin.
Thanks,
Andrew Pinski
ChangeLog:
* cse.c (invalidate): Change the type of in_table to be
HOST_WIDEST_FAST_INT.
Index: cse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cse.c,v
retrieving revision 1.313
diff -u -p -r1.313 cse.c
--- cse.c 7 Sep 2004 20:59:18 -0000 1.313
+++ cse.c 12 Sep 2004 00:02:49 -0000
@@ -1737,7 +1737,7 @@ invalidate (rtx x, enum machine_mode ful
}
else
{
- HOST_WIDE_INT in_table
+ HOST_WIDEST_FAST_INT in_table
= TEST_HARD_REG_BIT (hard_regs_in_table, regno);
unsigned int endregno
= regno + hard_regno_nregs[regno][GET_MODE (x)];