2 ms·
For more in-depth information on different ABIs (Clang isn't covered but follows GCC pretty closely), see Manual #5 [1] of Agner Fog's optimization manuals. [1
by mischanix 12y ago
For more in-depth information on different ABIs (Clang isn't covered but follows GCC pretty closely), see Manual #5 [1] of Agner Fog's optimization manuals.
[1] http://agner.org/optimize/#manual_call_conv http://agner.org/optimize/#manual_call_conv
- ndesaulniers 12y agoNice recommendation. Someone mentioned it as well on proggit: http://www.reddit.com/r/programming/comments/24gpqp/lets_write_some_x8664/ http://www.reddit.com/r/programming/comments/24gpqp/lets_wri...
- jevinskie 12y agoAny 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.