Gonz wrote: > Most of our inner loop is very mathemetically oriented, so structuring > the way the data is fed into the operations lets the compiler find > things like vectorized instructions in some of today's advanced > processors. For a very specific gain, it might be worth it to tune > the assembly language, but its rare.
With the complexity of the Pentium and post-Pentium microcores and instruction sets, it's getting less and less useful to hand-tune the assembly code. There are so many optimization rules nowadays that mature optimizers can generally get more out of the core than even most serious x86 assembler geeks. And I say that as a serious x86 assembler geek. Plus, in the current market, there are a lot more varieties of x86 cores than in the past, and you can't generally optimize for all of them, if nothing else for purely economic reasons. -- Thanks, DougF (KG4LMZ) -- PDML Pentax-Discuss Mail List PDML@pdml.net http://pdml.net/mailman/listinfo/pdml_pdml.net