3 ms·
Building on the sibling comment: if (a) { ... } if (b) { return x; } else { return y; } The two branches can be wholly independent, but predicting the se
by Filligree 2y ago
Building on the sibling comment:
if (a) { ... }
if (b) { return x; } else { return y; }
The two branches can be wholly independent, but predicting the second is still a two-ahed prediction.