On Mon, Mar 01, 2010 at 12:28:17AM +0900, Izumi Tsutsui wrote: > > Eh ??? > > if (foo) bar(); else baz(); > > will probably execute faster than: > > (*bar_baz)(); > > since the indirect jump is (IIRC) always unpredicted. > > What do you have to predict on unconditional branches?
The branch destination. E.g. the CPU can't start prefetching from the bar(). Joerg
