This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/6007: cfg cleanup tremendous performance hog with -O1
- From: Brad Lucier <lucier at math dot purdue dot edu>
- To: jh at suse dot cz (Jan Hubicka)
- Cc: lucier at math dot purdue dot edu (Brad Lucier), jh at suse dot cz (Jan Hubicka), dje at watson dot ibm dot com (David Edelsohn), gcc at gcc dot gnu dot org, mark at codesourcery dot com, feeley at iro dot umontreal dot ca
- Date: Fri, 29 Mar 2002 16:37:11 -0500 (EST)
- Subject: Re: optimization/6007: cfg cleanup tremendous performance hog with -O1
> Hi, here is patch I made as a test. It simply disables crossjumping
> if there is moer than 100 outgoing edges. Unfortunately I can't benchmark
> your testcase as my machine runs out of space before getting there. Can you
> check if this solves your problem? If so, I will prepare more polished
> version of this patch.
You patch did help substantially, but not sufficiently. I just
finished a run on denoise3.i with pre-patch cc1; the time for cfg cleanup
before your patch is
cfg cleanup :9486.98 (95%) usr 0.00 ( 0%) sys9510.00 (95%) wall
the time after your patch is
cfg cleanup :3156.77 (87%) usr 0.04 ( 0%) sys3193.00 (86%) wall
The times for other passes were substantially the same with and without
the patch.
Brad