
11 Oct
2008
11 Oct
'08
4:45 p.m.
Mathias Gaunard a écrit :
If the loops are fully unrolled, I don't see the difference between "static" and "dynamic" indexing.
What I mean is that it seems from experimental results that : for(int i=0;i<16;++i) // code is more often unrolled than for(int i = foo();i<bar();++i) // code Concerning your remark : "While access by index is theoretically slower than pointer increments, I'm pretty sure any compiler optimizes the former to the latter. " you're perfectly right. -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35