Dynamic Branch Prediction with Perceptrons (2000) [pdf]
21–27 of 27 posts
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#22It's an interesting idea. Did this go anywhere? Is it worth revisiting in 2023?
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#23Modern branch predictors are based on relatively simple state machines and already have >95% accuracy. Thus, even if machine learning-based predictors can sometimes beat them, it is not clear that they can beat them enough for the much more complicated circuitry they need to be worth it.
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#24Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#25Did they ever figure out how to look at the value of a loop counter and use that to predict the branch?
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#26Modern branch predictors are based on relatively simple state machines and already have >95% accuracy. Thus, even if machine learning-based predictors can sometimes beat them, it is not clear that they can beat them enough for the much more complicated circuitry they need to be worth it.
As someone who works on design verification for modern CPUs, this is not true. Most modern CPUs use some form of TAGE branch prediction, if not something more complex.
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#27Earlier quoted context omitted.
As someone who works on design verification for modern CPUs, this is not true. Most modern CPUs use some form of TAGE branch prediction, if not something more complex.
Well, yes, but the complexity of TAGE is nowhere near the complexity of a modern deep neural network where you essentially have no chance of figuring out how its predictions are made. Branch predictors based on multi-layer networks, RNNs, LSTMs, or networks with more than a handful of neurons is a hot research topic, but has not, to the best of my knowledge, found their way into any modern cpu.