I asked the same thing a while ago.
They published a paper with the answer
see the section called “Software and compiler speculation”
Their answer seems to be a loadtr operation, that will only perform the load if the predicate is met, avoiding branching.
When I asked, they said they were still trying to decide if there was a better way.
- This reply was modified 4 years, 11 months ago by goldbug.