Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any good, modern, online guides to hand optimizing assembly code? [closed]

I'm working on some code which contains some (compiler generated) chunks of assembly code that we've identified are speed bottle necks.

I know enough about assembly to muddle through and look for manual optimizations - I'm wondering, though, if there are any good, online guides that offer reusable techniques to be used in hand-optimizing assembly. This is not something I expect I'll have to do very often, so odds are I'll have to learn how to do it, again, from scratch, each time.

like image 408
blueberryfields Avatar asked Sep 24 '10 20:09

blueberryfields


1 Answers

http://www.agner.org/optimize/optimizing_assembly.pdf

I'd say "have fun", but it would probably be really mean-spirited :(

I think you're interested in Chapter 9, "Optimizing for Speed".

like image 152
David Titarenco Avatar answered Oct 22 '22 00:10

David Titarenco