3 ms·
Using random values defeats the purpose of the branch predictor. The best branch predictor for this test would be one that always predicts the branch taken or n
by rayiner 8mo ago
Using random values defeats the purpose of the branch predictor. The best branch predictor for this test would be one that always predicts the branch taken or not taken.
- dundarious 8mo agoThere will be runs of even and runs of odd outputs from the rng. This benchmark tests how well does the branch predictor "retrain" to the current run. It is a good test of this adaptability of the predictor. The benchmark is still narrow in focus, and the results don't unequivocally mean AMD's predictor is overall "the best".
- gpderetta 8mo agoThe author is running the benchmark multiple times with the same random seed to discover how long a pattern can the predictor learn.