uber / nanoscope-art

Apache License 2.0
49 stars 13 forks source link

Remove hint that preoritizes blacklisting #3

Closed AttwellBrian closed 6 years ago

AttwellBrian commented 6 years ago

Background A branch misprediction is quite expensive. A mispredicted branch can easily be 10x more expensive than a correctly predicted branch.

So this compiler hint is likely doubling the cost of this method. Until we use blacklisting it doesn't make sense to include this. Unless we make big bets on blacklisting it might even be cheaper to remove support for blacklisting altoghether.

Leland-Takamine commented 6 years ago

Unless we make big bets on blacklisting it might even be cheaper to remove support for blacklisting altoghether.

Agreed.