need asm mavens' wisdom
11-Jul-92 10:02:20
Sb: #25617-need asm mavens' wisdom
Fm: Syndesis 76004,1763
To: Bart Mathias 72017,1005
It seems like you have all the answers already: sometimes you want to
optimize for speed, and want to avoid loop tests. Sometimes you don't want
to waste 30 bytes doing something when 5 bytes can do it more slowly.
Compiler code generator writers worry about such things all the time, where
a program generates the assembly code. Sometimes compiler writers want to
appeal to speed tests, sometimes to total code size. You might be surprised
if you use a disassembler to view how other programmers answered this
question: some programs have *miles* of unrolled loops.