Re:Learning to Read X86 Assembly Language
by RX14 on Tuesday November 29, 2016 @08:35AM
(#13062912)
Most crystal programs make heavy use of inlining, at least from my experience profiling crystal programs, which removes the whole overhead entirely.
[ Parent
| on HN ]
Re:Learning to Read X86 Assembly Language
by Annatar on Tuesday November 29, 2016 @01:41PM
(#13065165)
Then you end up with huge code sizes, where calls like
jsr ScrollRaster(pc)
end up repeating the ScrollRaster code over and over and over again, basically leading to macro expansion. And depending on the processor, your code might end up being too large to fit into the instruction cache... and you just kissed instruction burst mode bye-bye. This is unlikely to be the case on modern 80x86 processors as they have staggering amounts of cache, but who knows what embedded platforms and targets people are targeting this very moment as I write this, and who knows how small the instruction and data caches might be on those.