Arm - add speculation_barrier pattern
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 31 Jul 2018 17:35:41 +0000 (17:35 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 31 Jul 2018 17:35:41 +0000 (17:35 +0000)
commitbb8b0096829209874018c0997f340a43ca8b0461
tree79af8681cb57ea7e1bfb064447c4022c25ff121c
parent425fc685dd59c07316a0c9112595331aa77ba112
Arm - add speculation_barrier pattern

This patch defines a speculation barrier for AArch32.

* config/arm/unspecs.md (unspecv): Add VUNSPEC_SPECULATION_BARRIER.
* config/arm/arm.md (speculation_barrier): New expand.
(speculation_barrier_insn): New pattern.

From-SVN: r263169
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/config/arm/unspecs.md