6.5.6. BTB invalidation and context switches

The BTB is tagged by all memory space information required to uniquely identify a virtual memory space, ASID, VMID, security, and Exception level. All predictions are checked at branch resolution time to ensure that a legal branch is resolved. Therefore, flushing the BTB on a context switch is not required. AArch64 state does not implement BTB flush instructions.

The multiprocessor automatically invalidates the BTB when either stage of the MMU is disabled.

Copyright © 2013, 2014 ARM. All rights reserved.ARM DDI 0488D