logoalt Hacker News

direwolf20today at 12:33 PM1 replyview on HN

The compiler usually can't do anything about branch prediction. Expect is more about keeping cold paths out of the cache.


Replies

pjmlptoday at 1:10 PM

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