I've a question about the influence of compiler optimizations that reorder functions on the system performance.
Assume a modern DSP 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? Do you see any other side-effects that might influence the program?