diff options
author | Soby Mathew <soby.mathew@arm.com> | 2019-03-13 15:36:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 15:36:58 +0000 |
commit | ab15922ebd2db1783dbd4db571b582263f8d33ea (patch) | |
tree | d815e8149d182bae202b9b06e8411c19afc06940 /docs | |
parent | b9d20d0eda5e6b2c48c1003c02ed602146727852 (diff) | |
parent | fa6f774b285dc9ee4d312a955195a079fc4d2bb7 (diff) | |
download | platform_external_arm-trusted-firmware-ab15922ebd2db1783dbd4db571b582263f8d33ea.tar.gz platform_external_arm-trusted-firmware-ab15922ebd2db1783dbd4db571b582263f8d33ea.tar.bz2 platform_external_arm-trusted-firmware-ab15922ebd2db1783dbd4db571b582263f8d33ea.zip |
Merge pull request #1884 from AlexeiFedorov/af/set_march_to_arch_minor
Allow setting compiler's target architecture
Diffstat (limited to 'docs')
-rw-r--r-- | docs/firmware-design.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/firmware-design.rst b/docs/firmware-design.rst index 9e206dc0f..52520ea12 100644 --- a/docs/firmware-design.rst +++ b/docs/firmware-design.rst @@ -2521,7 +2521,7 @@ section lists the usage of Architecture Extensions, and build flags controlling them. In general, and unless individually mentioned, the build options -``ARM_ARCH_MAJOR`` and ``ARM_ARCH_MINOR`` selects the Architecture Extension to +``ARM_ARCH_MAJOR`` and ``ARM_ARCH_MINOR`` select the Architecture Extension to target when building TF-A. Subsequent Arm Architecture Extensions are backward compatible with previous versions. @@ -2570,6 +2570,10 @@ Armv8.3-A ``CTX_INCLUDE_PAUTH_REGS`` to 1. This enables pointer authentication in BL1, BL2, BL31, and the TSP if it is used. + If ``ARM_ARCH_MAJOR == 8`` and ``ARM_ARCH_MINOR >= 3`` the code footprint of + enabling PAuth is lower because the compiler will use the optimized + PAuth instructions rather than the backwards-compatible ones. + Armv7-A ~~~~~~~ |