That was an interesting and insightful article about CPU branch target buffers. Learned something new about Haswell and Intel BTBs in general.<p>Haswell&#x27;s branch prediction seems to be pretty nice. I bet that makes quite a bit of difference in branchy code. No need to care so much about arcane rules about branching as in the past.<p>Haswell+ Xeons will likely be good with branchy code, especially avoiding those old pathological cases. Predicting 4096 branch targets with such an accuracy is very good.