3 ms·
GCC has function multiversioning. See: https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Function-Multiversioning.html https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/F
by davrosthedalek 8y ago
GCC has function multiversioning. See: https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Function-Multiversioning.html https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Function-Multiv...
and since release 6 quite comfortably:
https://lwn.net/Articles/691932/ https://lwn.net/Articles/691932/
- cjhanks 8y agoThank you so much for sharing this, I did not know. I guess I will have to look for the version GCC version which supported X86_64.. I might have to upgrade distros for GCC6 (older versions were i386). Btw, this was a nice presentation of the idea: https://blog.linuxplumbersconf.org/2016/ocw/system/presentations/3795/original/GCC.pdf https://blog.linuxplumbersconf.org/2016/ocw/system/presentat...