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]

Re: Fix PR 44576: avoid huge compile times in compute_miss_rate


On Mon, Jun 28, 2010 at 9:42 AM, Christian Borntraeger
<borntraeger@de.ibm.com> wrote:
> This patches fixes the huge compile times in compute_miss_rate in
> the prefetch pass.
>
> This patch does not fix the other code size or compile time problems
> that are tracked in PR44688.
>
>
>
> 2010-06-28 ?Christian Borntraeger ?<borntraeger@de.ibm.com>
>
> ? ? ? ?PR middle-end/44576
> ? ? ? ?* tree-ssa-loop-prefetch.c (PREFETCH_MAX_REFS_PER_LOOP): New.
> ? ? ? ?* (loop_prefetch_arrays): Do not prefetch if the loop contains
> ? ? ? ?too many memory references.
>
>
> OK to apply?

No.  Please instead do some profiling work and take a stab at
improving the algorithm instead.  There are several places which
are quadratic in compile-time in gcc, so I don't see why prefetching
should be particular bad.

Richard.


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