I am working with ARMV8 Cortex A72 architecture,i want to know can i turn off branch prediction?and how can i do it?
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.
View all questions in Cortex-A / A-Profile forum