Dynamic Branch Prediction with Perceptrons (2000) [pdf]
1–10 of 27 posts
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#2Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#3Did this go anywhere? Is it worth revisiting in 2023?
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#4It's an interesting idea. Did this go anywhere? Is it worth revisiting in 2023?
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#5It's an interesting idea. Did this go anywhere? Is it worth revisiting in 2023?
(The guy who posted the link is Dan Luu who used to work for a company that made x86 CPUs. His blog is worth looking at. He also used to work for Twitter -- but his predictions about the Doom and Disaster after Musk's takeover hasn't panned out at all. Good at some things (CPU architecture and blog posts). Not so good at Elon Musk predictions ;) )
--- Edit: put in the missing "a". My fingers and my brain don't always agree on what to write.
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#6Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#7Modern 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]
#8Modern 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.
But is it really much more complicated? It looks very simple to me. Maybe actually even simpler than such state machine?
So the circuitry is complicated despite superficial simplicity of the model.
Re: Dynamic Branch Prediction with Perceptrons (2000) [pdf]
#9Modern 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]
#10system> What are the microarchitectural tricks that allow prediction to take place in one clock cycle?
bot> The microarchitectural tricks include using the branch address to hash and select a perceptron from the table, calculating the dot product of the perceptron and the global history register, using the training algorithm to update the weights in the perceptron, and writing the updated perceptron back to the table.