Re:Let's Write Some x86-64
by ndesaulniers on Thursday May 01, 2014 @01:49PM
(#7681435)
Nice recommendation. Someone mentioned it as well on proggit: http://www.reddit.com/r/programming/comments/24gpqp/lets_wri...
Any ABI differences between Clang and GCC for externally visible functions is a bug. The system defines that ABI (SysV for Mac and Linux x86_64). Internally visible functions can use different ABIs that allow the compiler to perform more aggressive optimizations.
[1] http://agner.org/optimize/#manual_call_conv