3 ms·
Now we are doing both bounds check branches and index masking. The index masking is purely additive. We didn't replace branches. Similarly, where we use point
by pizlonator 9y ago
Now we are doing both bounds check branches and index masking. The index masking is purely additive. We didn't replace branches.
Similarly, where we use pointer poisoning, it is in addition to some other security check, which is almost always a branch.
- iainmerrick 9y agoAlso, security aside, removing (mispredicted) branches is a legitimate way to try to speed up code!