2 ms·
Google for a PDF describing x86 architecture CPUs. There are ways to write a loop that will detect the kind of predictor in use.
by AstralStorm 10y ago
Google for a PDF describing x86 architecture CPUs. There are ways to write a loop that will detect the kind of predictor in use.
- gpderetta 10y agoNo need, other people have already done the work: the paper 'Branch Prediction and the Performance of Interpreters' gave strong hints that Intel has been using ITTAGE at least since Haswell. Edit: also, Intel branch predictors up to Core2 were well characterized and were not believed to be using NN. [1] https://hal.inria.fr/hal-01100647/document https://hal.inria.fr/hal-01100647/document ,discussed last year at HN.