This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Effect of disabling branch predictor

Hello,

For an out-of-order core (a72), we'd like to avoid all speculative accesses due to (failed) branch prediction.

To do so, we'd disable all branch predictors (eg How to disable the branch prediction on armv8 - Architectures and Processors forum - Support forums - Arm Community).

We assume that with branch prediction enabled, no assumption will be made as per branch is to be taken or not.. but we're not sure: Is it the case that, with all branch predictors disabled, core will always halt execution until branch is resolved, or will it always assume same for a branch (eg always taken)?