Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

Has anyone here studied computer architecture?

Thread Tools
 
Old Dec 13, 2008 | 10:00 AM
  #1  
puffy's Avatar
puffy
Thread Starter
bow down to king puffy
 
Joined: Jun 2002
Posts: 8,694
Likes: 0
Default Has anyone here studied computer architecture?

any hints to do loop unrolling? I hate trying to figure out how many stalls there will be..
Reply
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
Old Dec 13, 2008 | 10:20 AM
  #3  
LT's Avatar
LT
The deer had to die!
 
Joined: Jun 2002
Posts: 39,835
Likes: 0
From: Fussa, Japan
Default

That was my major!!!!``~~1
Reply




All times are GMT -8. The time now is 10:01 AM.