diff options
author | Bradley Smith <bradley.smith@arm.com> | 2016-01-25 11:24:47 +0000 |
---|---|---|
committer | Bradley Smith <bradley.smith@arm.com> | 2016-01-25 11:24:47 +0000 |
commit | fed3e4ac00a0f8e8d022cec6957d5629c142ea5a (patch) | |
tree | 4dcba6919ae3df0541750dc0e8f2443da709e9f5 /llvm/lib/Target/ARM/ARMSubtarget.h | |
parent | 655822ab7ec7c5acb45f2bf18662b6cd603b0397 (diff) | |
download | bcm5719-llvm-fed3e4ac00a0f8e8d022cec6957d5629c142ea5a.tar.gz bcm5719-llvm-fed3e4ac00a0f8e8d022cec6957d5629c142ea5a.zip |
[ARM] Add ARMv8-M security extension instructions to ARMv8-M Baseline/Mainline
This patch was originally committed as r257883, but was reverted due to windows
failures. The cause of these failures has been fixed under r258677, hence
re-committing the original patch.
llvm-svn: 258681
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h index d5f0b59a54b..efa3196503e 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.h +++ b/llvm/lib/Target/ARM/ARMSubtarget.h @@ -201,6 +201,9 @@ protected: /// HasTrustZone - if true, processor supports TrustZone security extensions bool HasTrustZone; + /// Has8MSecExt - if true, processor supports ARMv8-M Security Extensions + bool Has8MSecExt; + /// HasCrypto - if true, processor supports Cryptography extensions bool HasCrypto; @@ -366,6 +369,7 @@ public: bool isFPOnlySP() const { return FPOnlySP; } bool hasPerfMon() const { return HasPerfMon; } bool hasTrustZone() const { return HasTrustZone; } + bool has8MSecExt() const { return Has8MSecExt; } bool hasZeroCycleZeroing() const { return HasZeroCycleZeroing; } bool prefers32BitThumb() const { return Pref32BitThumb; } bool avoidCPSRPartialUpdate() const { return AvoidCPSRPartialUpdate; } |