[PATCH] D54629: [AArch64] Add command-line option for SSBS

Pablo Barrio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 16 05:20:52 PST 2018


pbarrio created this revision.
pbarrio added reviewers: olista01, samparker, aemerson.
Herald added subscribers: kristina, kristof.beyls, javed.absar.

SSBS (Speculative Store Bypass Safe) is only mandatory from 8.5
onwards but is optional from Armv8.0-A. This patch adds a command
line option to enable SSBS, as it was previously only possible to
enable by selecting -march=armv8.5-a.

Similar patch upstream in GNU binutils:
https://sourceware.org/ml/binutils/2018-09/msg00274.html


Repository:
  rL LLVM

https://reviews.llvm.org/D54629

Files:
  include/llvm/Support/AArch64TargetParser.def
  include/llvm/Support/TargetParser.h
  lib/Target/AArch64/AArch64.td
  lib/Target/AArch64/AArch64Subtarget.h
  lib/Target/AArch64/AArch64SystemOperands.td
  test/MC/AArch64/armv8.5a-specrestrict-error.s
  test/MC/AArch64/armv8.5a-specrestrict.s
  test/MC/AArch64/armv8.5a-ssbs-error.s
  test/MC/AArch64/armv8.5a-ssbs.s
  test/MC/Disassembler/AArch64/armv8.5a-specrestrict.txt
  test/MC/Disassembler/AArch64/armv8.5a-ssbs.txt
  unittests/Support/TargetParserTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54629.174357.patch
Type: text/x-patch
Size: 8946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181116/572b2f85/attachment.bin>


More information about the llvm-commits mailing list