OSDN Git Service

[AArch64][v8.5A] Add speculation barriers SSBB and PSSBB
authorOliver Stannard <oliver.stannard@arm.com>
Thu, 27 Sep 2018 16:09:05 +0000 (16:09 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Thu, 27 Sep 2018 16:09:05 +0000 (16:09 +0000)
commit5e78aca0435988438f54fe49cc092f035267ad95
tree6cef4571fa65215da5d7adcef6548f18fe807045
parent94a9f57861ee3d89030d07d4d9e7f351aa407087
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343229 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.td
test/MC/AArch64/basic-a64-instructions.s
test/MC/AArch64/speculation-barriers.s [moved from test/MC/AArch64/csdb.s with 52% similarity]
test/MC/Disassembler/AArch64/basic-a64-instructions.txt
test/MC/Disassembler/AArch64/speculation-barriers.txt [moved from test/MC/Disassembler/AArch64/csdb.txt with 50% similarity]