This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)];


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]