AArch64 - add speculation barrier
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 31 Jul 2018 17:35:50 +0000 (17:35 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 31 Jul 2018 17:35:50 +0000 (17:35 +0000)
commitdef745b2d3785d8b037e8ffc39b5638ecc5fa4d4
tree424d39aa4f9d1851b4d6a06a84adca8736bf904a
parentbb8b0096829209874018c0997f340a43ca8b0461
AArch64 - add speculation barrier

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

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

From-SVN: r263170
gcc/ChangeLog
gcc/config/aarch64/aarch64.md