[PATCH] D55990: [ARM] Add command-line option for SB

Diogo N. Sampaio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 21 02:07:37 PST 2018


dnsampaio created this revision.
dnsampaio added reviewers: pbarrio, javed.absar, t.p.northover, samparker.
Herald added subscribers: llvm-commits, kristina, kristof.beyls.

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

This patch also removes the FeatureSB from the previous FeatureSpecRestrict.

Similar patch upstream in GNU binutils:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=7fadb25d6faf2665305016ceb4aeaeeb86015569

and GCC
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=2e148a35710c1890a185a1d4cdb79848b2727eae


Repository:
  rL LLVM

https://reviews.llvm.org/D55990

Files:
  include/llvm/Support/ARMTargetParser.def
  include/llvm/Support/ARMTargetParser.h
  lib/Target/ARM/ARM.td
  lib/Target/ARM/ARMInstrInfo.td
  lib/Target/ARM/ARMInstrThumb2.td
  lib/Target/ARM/ARMSubtarget.h
  test/MC/ARM/armv8.5a-sb.s
  test/MC/ARM/armv8.5a-specctrl.s
  test/MC/Disassembler/ARM/armv8.5a-sb-thumb.txt
  test/MC/Disassembler/ARM/armv8.5a-sb.txt
  test/MC/Disassembler/ARM/armv8.5a-specctrl-thumb.txt
  test/MC/Disassembler/ARM/armv8.5a-specctrl.txt
  unittests/Support/TargetParserTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55990.179251.patch
Type: text/x-patch
Size: 8805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181221/ad7cf560/attachment.bin>


More information about the llvm-commits mailing list