AArch64 - add speculation barrier

Programming / Compilers / GCC - rearnsha [138bc75d-0d04-0410-961f-82ee72b054a4] - 31 July 2018 17:35 EDT

Similar to Arm, this adds an unconditional speculation barrier for AArch64.

- config/aarch64.md (unspecv): Add UNSPECV_SPECULAION_BARRIER. (speculation_barrier): New insn.

f9d2906f0b6 AArch64 - add speculation barrier
gcc/ChangeLog | 5 +++++
gcc/config/aarch64/aarch64.md | 10 ++++++++++
2 files changed, 15 insertions(+)

Upstream: gcc.gnu.org


  • Share