3 ms·
It's a huge waste of energy and in some cases it would even be slower because you'd execute more instructions overall. If the branch mispredict rate is around 1
by wmf 2y ago
It's a huge waste of energy and in some cases it would even be slower because you'd execute more instructions overall. If the branch mispredict rate is around 1% it's simply not worth paying a penalty 99% of the time to get a gain 1% of the time. Maybe it would be worth doing on low-confidence branches.
- deleted 2y ago[deleted]
- kolbe 2y agoThe vast vast vast majority of instruction pipelines are sparse. You can pack in non-dependent instructions essentially for free.