От: | Mamut | http://dmitriid.com | |
Дата: | 10.08.15 08:14 | ||
Оценка: | 22 (1) |
https://hal.inria.fr/hal-01100647/document
Branch Prediction and the Performance of Interpreters — Don’t Trust Folklore
... folklore has retained that a highly mispredicted indirect jump is one of the main reasons for the inefficiency of switch-based interpreters.
We show that the accuracy of branch prediction on in- terpreters has been dramatically improved over the three last Intel processor generations. This accuracy on Haswell, the most recent Intel processor generation, has reached a level where it can not be considered as an obstacle for performance anymore. We have also shown that this accuracy is on par with the one of the literature state-of-the-art ITTAGE (Indirect Target TAgged GEometric length predictor)