We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I am working with ARMV8 Cortex A72 architecture,i want to know can i turn off branch prediction?and how can i do it?
best regards,
Hi Rifakst,
The CPU Auxiliary Control Register (CPUACTLR_EL1) of the Cortex-A72 provides some level of control over the branch prediction:
Bit 34 disables static branch predictor.
Bit 33 disables main prediction suppression at target fetch of microBTB.
Bit 4 disables indirect predictor.
Bit 3 disables micro BTB.
The section Program flow prediction of A72 TRM gives some details about each function.
Best regards,
Vincent.