[PATCH] D54629: [AArch64] Add command-line option for SSBS
Pablo Barrio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 27 11:09:54 PST 2018
pbarrio added a comment.
Thank you for the review, Sam :)
FeatureSpecRestrict was really enabling two features, not one, both related to speculation restriction in the CPU. These features were the Software Context Number registers (SCXTNUM_ELx) and the Speculative Store Bypass Safe (SSBS) bit. We just added them into the same back-end feature initially because they are mandatory in 8.5 (i.e. no command line option required in 8.5). However, these security features are optional down to 8.0, so we want to allow them separately via a command-line option. This patch just spawns SSBS out of SpecRestrict.
Good point about the Clang patch. No changes inside clang itself (it picks up everything from tablegen directly) but I've added some testing. Now available for review at https://reviews.llvm.org/D54961. Feel free to point out there if I missed something.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54629/new/
https://reviews.llvm.org/D54629
More information about the llvm-commits
mailing list