gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: Patch to Avoid Bad Prefetching

Subject: Re: Patch to Avoid Bad Prefetching
From: Richard Guenther
Date: Thu, 4 Jun 2009 22:56:41 +0200
On Thu, Jun 4, 2009 at 9:24 PM, Shobaki, Ghassan
<Ghassan.Shobaki@xxxxxxx> wrote:
>
> I agree with Zdenek that the first heuristic is imprecise and needs 
> improvement. At least it has to distinguish between simple integer arithmetic 
> ops and expensive FP ops. I am planning on doing this very soon. As I 
> explained in the previous email, that will require computing an 
> instruction-by-instruction time estimate using the estimates that GCC already 
> computes but adapting them to properly account for the costs of cache missing 
> memory ops.

GCC has both size and time estimates for code - I guess this is where you use
the size estimate but really ment the time estimate, no?

Richard.

<Prev in Thread] Current Thread [Next in Thread>