944,214 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Unsolved
  • Views: 1887
  • Assembly RSS
Feb 12th, 2006
0

Shifts vs Additions

Expand Post »
I was told that shifts were faster then additions but the pdf
"How to optimize for the PentiumĀ® microprocessors" from
http://www.agner.org/assem/ says that shifts should be avoided on
Pentinum 4 and additions should be used instead. Which is right?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nectodn is offline Offline
1 posts
since Feb 2006
Mar 7th, 2006
0

Re: Shifts vs Additions

>Which is right?
Both. Any decent processor will show that shifts are faster, but the Pentium 4 is gimped in this case.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: Help needed with Assembly ASAP
Next Thread in Assembly Forum Timeline: Assembly Instrucitions





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC