Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Why avoid inline assembly ?
Sometimes it makes no sense to inline code (for example when you call
it via a function pointer, or it is initialization stuff that only runs
once).
We do use __volatile __asm inline stuff, but only where it makes sense
and the asm code is very, very short - as otherwise it gets unreadable
imediately.
When pcc initially came up and had not yet support for all of the gcc
asm extension/syntax, the tree was pruned a bit - nowadays it shouldn't
matter (besides above stylistic choices).
Martin
Home |
Main Index |
Thread Index |
Old Index