This is the mail archive of the gcc@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]

Re: Big find_cross_jump performance regression.


I can't reproduce it on sparc-solaris-2.51, either.

I bootstrapped the C compiler with

BOOT_CFLAGS='-O0 -ftest-coverage -fprofile-arcs'

and ran it on my testcase on alphaev6-unknown-linux-gnu.

Find_cross_jump is called 312,258,938 times from jump_optimize_1 (which is
called 10 times).  It goes downhill from there.  rtx_renumbered_equal_p is
called 615,218,718 times from find_cross_jump; including recursive calls,
rtx_renumbered_equal_p is called 2699373709 times (which argues that the
variables counting the number of times a line is executed should be longs,
or at least unsigned ints).

jump.c.gcov on this example is available at

http://www.math.purdue.edu/~lucier/jump.c.gcov.gz

Brad Lucier

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