Forum Discussion
Altera_Forum
Honored Contributor
20 years agonios performance
Hi all, I have a piece of C-code which I have indicated below. { int idx_1, idx_2; for( idx_1 = 0; idx_1 < 6; idx_1++) { for(idx_2 = 0; i...
Altera_Forum
Honored Contributor
20 years agoI'd recommend looking at the resulting assembly code to figure out whether the compiler is doing a good job or not. From your code snippet it's hard to tell since we don't know what types 'a' and 'b' are and how far apart they are in memory.
You've probably already checkd but make sure optimizations are on (Release configuration). Andrew