summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2018-09-27 16:09:05 +0000
committerOliver Stannard <oliver.stannard@arm.com>2018-09-27 16:09:05 +0000
commita4f68bf4adcd2cc3457a4028e7f0bf7eb89dc002 (patch)
treea373fa615a4bf0a08a6fc24721d8ddf201a9d5b6 /llvm/lib
parentc3f50ff92e0f37484d3bef1d580ab0ceb54db733 (diff)
downloadbcm5719-llvm-a4f68bf4adcd2cc3457a4028e7f0bf7eb89dc002.tar.gz
bcm5719-llvm-a4f68bf4adcd2cc3457a4028e7f0bf7eb89dc002.zip
[AArch64][v8.5A] Add speculation barriers SSBB and PSSBB
This adds two new barrier instructions which can be used to restrict speculative execution of load instructions. Patch by Pablo Barrio! Differential revision: https://reviews.llvm.org/D52483 llvm-svn: 343229
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.td b/llvm/lib/Target/AArch64/AArch64InstrInfo.td
index f6b798724d3..f424fa27f2f 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.td
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.td
@@ -650,6 +650,8 @@ def SB : SimpleSystemI<0, (ins), "sb", "">, Sched<[]> {
def : InstAlias<"clrex", (CLREX 0xf)>;
def : InstAlias<"isb", (ISB 0xf)>;
+def : InstAlias<"ssbb", (DSB 0)>;
+def : InstAlias<"pssbb", (DSB 4)>;
def MRS : MRSI;
def MSR : MSRI;
OpenPOWER on IntegriCloud