5 ms·
Meanwhile this problem has been solved in GCC for years https://gcc.gnu.org/wiki/FunctionMultiVersioning https://gcc.gnu.org/wiki/FunctionMultiVersioning
by nly 10y ago
Meanwhile this problem has been solved in GCC for years
https://gcc.gnu.org/wiki/FunctionMultiVersioning https://gcc.gnu.org/wiki/FunctionMultiVersioning
- chillitom 10y agoand is being overhauled in GCC 6 I just read: https://lwn.net/Articles/691932/ https://lwn.net/Articles/691932/
- brucedawson 10y agoIsn't dynamic dispatch a separate problem? It's great that gcc solves dynamic dispatch, but this article was about the problem of functions that are not supposed to be dynamically dispatched, but are called from dynamically dispatched functions - the noninlined inline function problem. gcc "solves" this problem for its own inline functions by tagging them as static. But what about template functions? And what about functions defined by developers. I don't think gcc claims to solve those.