General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Vitaly L
Computerphile
comments
Comments by "Vitaly L" (@vitalyl1327) on "Computerphile" channel.
Previous
1
Next
...
All
@KydEv I mean, when all heuristis fail, when the branch is new to the CPU, it considers it taken. So all conpilers optimise with this assumption - less frequent branches such as loop exits must be negative rather than posutive or must follow a positive back edge branch.
3
By convention, every branch must be considered most likely taken. If you optimise with this in mind, most CPUs would treat your code as you expected.
1
Previous
1
Next
...
All