[PATCH] D29019: [ARM] Add the AEK_SEC feature to ARMv8-M architecture.

Sanne Wouda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 05:12:41 PST 2017


sanwou01 created this revision.
Herald added subscribers: rengolin, aemerson.

ARMv8-M Baseline and Mainline have the TrustZone feature.


https://reviews.llvm.org/D29019

Files:
  include/llvm/Support/ARMTargetParser.def


Index: include/llvm/Support/ARMTargetParser.def
===================================================================
--- include/llvm/Support/ARMTargetParser.def
+++ include/llvm/Support/ARMTargetParser.def
@@ -99,9 +99,9 @@
           (ARM::AEK_MP | ARM::AEK_VIRT | ARM::AEK_HWDIVARM | ARM::AEK_HWDIV |
            ARM::AEK_DSP | ARM::AEK_CRC))
 ARM_ARCH("armv8-m.base", AK_ARMV8MBaseline, "8-M.Baseline", "v8m.base",
-          ARMBuildAttrs::CPUArch::v8_M_Base, FK_NONE, ARM::AEK_HWDIV)
+          ARMBuildAttrs::CPUArch::v8_M_Base, FK_NONE, ARM::AEK_SEC | ARM::AEK_HWDIV)
 ARM_ARCH("armv8-m.main", AK_ARMV8MMainline, "8-M.Mainline", "v8m.main",
-          ARMBuildAttrs::CPUArch::v8_M_Main, FK_FPV5_D16, ARM::AEK_HWDIV)
+          ARMBuildAttrs::CPUArch::v8_M_Main, FK_FPV5_D16, ARM::AEK_SEC | ARM::AEK_HWDIV)
 // Non-standard Arch names.
 ARM_ARCH("iwmmxt", AK_IWMMXT, "iwmmxt", "", ARMBuildAttrs::CPUArch::v5TE,
           FK_NONE, ARM::AEK_NONE)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29019.85360.patch
Type: text/x-patch
Size: 952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/4dec043d/attachment.bin>


More information about the llvm-commits mailing list