Reordering of functions
- From: Tim Frink <plfriko@xxxxxxxx>
- Date: Mon, 18 Feb 2008 17:22:52 +0100
Hi,
I've a question about the influence of compiler optimizations that
reorder functions on the system performance.
Assume a modern processor with all state-of-the art features like
prefetching, branch prediction and a superscalar pipeline. Further
assume that all caches are disabled. Will the program runtime change
when just the order of functions is changed (without any other code
transformation)?
I'm of the opinion that a reordering of function should have little
influence on the program execution, maybe due to some prefetch effects
but thes should be marginal. Of course, with caches this situation
would look different.
How do you see that?
Regards,
Tim
.
- Follow-Ups:
- Re: Reordering of functions
- From: George Neuner
- Re: Reordering of functions
- From: Chris F Clark
- Re: Reordering of functions
- From: Joel Yliluoma
- Re: Reordering of functions
- From: Nikolai Kim
- Re: Reordering of functions
- Prev by Date: Seed7 Release 2008-02-17
- Next by Date: Re: Reordering of functions
- Previous by thread: Seed7 Release 2008-02-17
- Next by thread: Re: Reordering of functions
- Index(es):
Relevant Pages
|
|