[PATCH] D55921: [AArch64] Add command-line option for SB
Diogo N. Sampaio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 20 05:02:21 PST 2018
dnsampaio created this revision.
dnsampaio added reviewers: pbarrio, olista01.
Herald added subscribers: llvm-commits, kristina, kristof.beyls, javed.absar.
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=68dfbb92ef5f013a315d652c88ede2082c16a88e
Repository:
rL LLVM
https://reviews.llvm.org/D55921
Files:
include/llvm/Support/AArch64TargetParser.def
include/llvm/Support/AArch64TargetParser.h
lib/Target/AArch64/AArch64.td
lib/Target/AArch64/AArch64InstrInfo.td
lib/Target/AArch64/AArch64Subtarget.h
test/MC/AArch64/armv8.5a-sb.s
test/MC/AArch64/armv8.5a-specctrl.s
test/MC/Disassembler/AArch64/armv8.5a-sb.txt
test/MC/Disassembler/AArch64/armv8.5a-specctrl.txt
unittests/Support/TargetParserTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55921.179042.patch
Type: text/x-patch
Size: 6814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181220/2c0e4802/attachment.bin>
More information about the llvm-commits
mailing list