Standard way to supply hints to branches

Walter Bright newshound2 at digitalmars.com
Sun Sep 15 02:32:40 UTC 2024


On 9/13/2024 1:50 PM, claptrap wrote:
> That was pretty much only the Pentiums, older AMDs just assumed branch not taken 
> if wasn't in the BTB already. Newer CPUs, Core2 onwards, Zen, nobody seems to 
> know for sure what they do, but the Intel SDMs do state that the Core 
> architecture doesn't use static prediction. I think Agner Fog says it's 
> essentially random.

You're not wrong, but Manu was interested in this feature on microcontrollers 
which apparently have a more primitive system.



More information about the Digitalmars-d mailing list