Anders Johansson wrote:
On Tue, 2010-01-12 at 23:30 +0100, Per Jessen wrote:
Hand-optimized assembler will _always_ beat the compiler
That is a myth which even very good assembly programmers can only live up to in small inner-loop type segments. A good optimising compiler can do global optimisations that a human would find extremely difficult to do.
No myth at all. Perhaps you haven't met many very good assembler programmers? It's not really a topic I have a desire to debate (I know from experience that I am right). The main reasons for _not_ using assembler are productivity and maintainability, but when speed is paramount, hand-optimized assembler will _always_ beat the compiler. /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org