Hacker News new | ask | show | jobs
by scott00 2744 days ago
The source for this on Intel processors is the Intel Optimization Reference Manual, section 3.4.1: https://www.intel.com/content/dam/www/public/us/en/documents...
1 comments

To me, that section says that you can emit machine code that will allow the branch predictor to do a better job, not that you can control what the branch predictor does.
To my mind those amount to the same thing.
See my other comment: https://news.ycombinator.com/item?id=18735053. I really should have consolidated them somehow.