Sujet : Re: OoO execution
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.archDate : 20. May 2025, 01:04:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <100ggtj$1sbnn$4@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.162 (Pokrosvk)
On Mon, 19 May 2025 19:09:12 +0000, Ze wrote:
Wasn't one of the earliest forms of branch prediction the simple
heuristic of always taking it in one direction and not taking it in the
other direction , I seem to remember that being the case for some of the
early pipelined microprocessors. I believe it was called static branch
prediction compared to the more modern dynamic branch prediction.
The simple heuristic I remember was to assume that backward branches would
be more likely to be taken than not (on the grounds that they were
probably loops) while forward ones would more likely not be taken (I guess
as an excuse for not disturbing the pipeline too much).