summaryrefslogtreecommitdiff
path: root/gcc/config/arm/unspecs.md
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2018-07-31 17:35:41 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2018-07-31 17:35:41 +0000
commitbb8b0096829209874018c0997f340a43ca8b0461 (patch)
tree79af8681cb57ea7e1bfb064447c4022c25ff121c /gcc/config/arm/unspecs.md
parent425fc685dd59c07316a0c9112595331aa77ba112 (diff)
downloadgcc-bb8b0096829209874018c0997f340a43ca8b0461.tar.gz
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
Diffstat (limited to 'gcc/config/arm/unspecs.md')
-rw-r--r--gcc/config/arm/unspecs.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/arm/unspecs.md b/gcc/config/arm/unspecs.md
index b05f85e10e4..19416736ef9 100644
--- a/gcc/config/arm/unspecs.md
+++ b/gcc/config/arm/unspecs.md
@@ -168,6 +168,7 @@
VUNSPEC_MCRR2 ; Represent the coprocessor mcrr2 instruction.
VUNSPEC_MRRC ; Represent the coprocessor mrrc instruction.
VUNSPEC_MRRC2 ; Represent the coprocessor mrrc2 instruction.
+ VUNSPEC_SPECULATION_BARRIER ; Represents an unconditional speculation barrier.
])
;; Enumerators for NEON unspecs.