Hacker News new | ask | show | jobs
by direwolf20 132 days ago
The compiler usually can't do anything about branch prediction. Expect is more about keeping cold paths out of the cache.
1 comments

Actually that was one of the problems with EPIC architectures, where compilers are expected to be the ones doing those kind of optimizations.