Standard way to supply hints to branches

Nicholas Wilson iamthewilsonator at hotmail.com
Sat Aug 24 02:01:41 UTC 2024


On Friday, 23 August 2024 at 01:47:37 UTC, Manu wrote:
> I'm working on microcontrollers, and many don't have a branch 
> predictor. They do "static" prediction, that is, they just 
> predict branch-not-taken and it's on you to write your code as 
> such, and that's not always possible. (like the loop condition 
> in a for loop)

Stupid questions: does PGO work on the microcontrollers, and  
have you tried PGO?


More information about the Digitalmars-d mailing list