Old Dec 13, 2008 | 10:19 AM
  #2  
Red X's Avatar
Red X
x pǝɹ
 
Joined: Feb 2003
Posts: 6,246
Likes: 1
From: Upstate
Default

Originally Posted by puffy
any hints to do loop unrolling? I hate trying to figure out how many stalls there will be..
What exactly are you looking for? How to linearize?

Put as many lines of independent code as you can inside each loop.

Make sure none of your variables (or as few of them) write and read from each other if you want independence.

Last edited by Red X; Dec 13, 2008 at 10:22 AM.
Reply