logoalt Hacker News

BearOsoyesterday at 7:56 PM0 repliesview on HN

For function-multiversioning, the intrinsic headers in both gcc and clang have logic to take care of selecting targets. You also don't need to do dispatch manually when writing manual optimizations--the same function name with different targets is supported and dispatches automatically.