News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Optimizations in assembly

Started by juliomacedo, January 17, 2006, 06:47:44 PM

Previous topic - Next topic

juliomacedo

Where can I find about optimization of assembly code?

I want to find a source of tips as:

Using DEC and JZ is faster than using LOOP...

Using SHL when multiplying for a power of two is a faster way of doing that...

Or texts discussing what is the best way of decomposing a multiplication to shifts and adds...

Thanks

Julio

MichaelW

On the forum web site, you can find links to Agner Fog's site, where you can get his Pentium Optimization Manual and other related code, Mark Larson's Optimization Tutorial, and the Intel manuals (the 5-part Software Developer's Manual, and the Architecture Optimization Reference Manual).

http://www.website.masmforum.com/



eschew obfuscation