This adds two new barrier instructions which can be used to restrict
speculative execution of load instructions.
Patch by Pablo Barrio!
Paths
| Differential D52483
[AArch64][v8.5A] Add speculation barriers SSBB and PSSBB ClosedPublic Authored by olista01 on Sep 25 2018, 7:17 AM.
Details Summary This adds two new barrier instructions which can be used to restrict Patch by Pablo Barrio!
Diff Detail
Event Timeline
Comment Actions Thanks for the clarification. LGTM.
This revision is now accepted and ready to land.Sep 27 2018, 8:20 AM Closed by commit rL343229: [AArch64][v8.5A] Add speculation barriers SSBB and PSSBB (authored by olista01). · Explain WhySep 27 2018, 9:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 166900 lib/Target/AArch64/AArch64InstrInfo.td
test/MC/AArch64/basic-a64-instructions.s
test/MC/AArch64/speculation-barriers.s
test/MC/Disassembler/AArch64/basic-a64-instructions.txt
test/MC/Disassembler/AArch64/csdb.txt
test/MC/Disassembler/AArch64/speculation-barriers.txt
|
I think these should have Predicates set since not all CPUs support them.