h-2 / blog-comments

comment repository for my blog
1 stars 0 forks source link

The - surprisingly limited - usefulness of function multiversioning in GCC #3

Open h-2 opened 6 years ago

h-2 commented 6 years ago

See the articel here: https://hannes.hauswedell.net/post/2017/12/09/fmv/

See also other comments here: https://git.fsfe.org/h2/blog-comments/issues/3

yugr commented 4 years ago

Isn't the flatten attribute supposed to solve issues with callgraphs?

h-2 commented 4 years ago

I'll check it out, thanks for letting me know!

MartyMcFlyInTheSky commented 6 months ago

Is it really a problem? I mean ideally you would write one function for each architecture as the very leaf of your application, but not to then dispatch any further. But it's a good article to highlight exactly why you shouldn't do that!