1 ##------------------------------------------------------------------------------
3 # SpeculationBarrier() for AArch64
5 # Copyright (c) 2019, Linaro Ltd. All rights reserved.
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 ##------------------------------------------------------------------------------
14 GCC_ASM_EXPORT(SpeculationBarrier)
18 # Uses as a barrier to stop speculative execution.
20 # Ensures that no later instruction will execute speculatively, until all prior
21 # instructions have completed.
30 ASM_PFX(SpeculationBarrier):