4 ms·
Yes. > So Clang can potentially save you a single instruction (xorl %eax, %eax) whose encoding is only 1B, per function call to functions declared in the style
by biesnecker 7y ago
Yes.
> So Clang can potentially save you a single instruction (xorl %eax, %eax) whose encoding is only 1B, per function call to functions declared in the style f(), but only IF the definition is in the same translation unit and doesn’t differ from the declaration, and you happen to be targeting x86_64.
- saagarjha 7y agoI couldn't seem to find that bit, thanks for pointing it out to me.
- ndesaulniers 7y agoI just updated the article, too, sorry if that caused confusion.