Add more tunes for new ARM processors Cortex-A15 and Cortex-A7
cover Add more tunes for new ARM processors Cortex-A15 and Cortex-A7
[Temporarily add these patches to meta-ti]
The patchset adds 2 more standard tune files for the new ARM MPCore (multicore) processors Cortex-A15 and Cortex-A7, as per:
http://www.arm.com/products/processors/cortex-a/cortex-a15.php
http://www.arm.com/products/processors/cortex-a/cortex-a7.php
This patchset was previously submitted to oe-core, but was not accepted (yet) for the following reasons:
1. Richard is currently busy with the 1.3 release and wants to take some time off right after that.
2. Martin submitted a slight rework for the tune framework few days earlier, which is also not accepted yet, and that change will break old-style tune files.
Here's the corresponding discussion:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/28850
Denys Dmytriyenko (2):
tune-cortexa15: add tunes for ARM Cortex-A15
tune-cortexa7: add tunes for ARM Cortex-A7
meta/conf/machine/include/tune-cortexa15.inc | 24 ++++++++++++++++++++++++ meta/conf/machine/include/tune-cortexa7.inc | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 meta/conf/machine/include/tune-cortexa15.inc create mode 100644 meta/conf/machine/include/tune-cortexa7.inc
Signature · 1 line
1.7.12.4
PATCH 1/2 tune-cortexa15: add tunes for ARM Cortex-A15
http://www.arm.com/products/processors/cortex-a/cortex-a15.php
--- meta/conf/machine/include/tune-cortexa15.inc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/conf/machine/include/tune-cortexa15.inc
meta/conf/machine/include/tune-cortexa15.inc new file +24 -0
@@ -0,0 +1,24 @@ +DEFAULTTUNE ?= "cortexa15-neon" + +require conf/machine/include/arm/arch-armv7a.inc + +TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa15", "-mtune=cortex-a15", "", d)}" + +# Little Endian base configs +AVAILTUNES += "cortexa15 cortexa15t cortexa15-neon" +TUNE_FEATURES_tune-cortexa15 = "${TUNE_FEATURES_tune-armv7a} cortexa15" +TUNE_FEATURES_tune-cortexa15t = "${TUNE_FEATURES_tune-armv7at} cortexa15" +TUNE_FEATURES_tune-cortexa15-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa15" +PACKAGE_EXTRA_ARCHS_tune-cortexa15 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}" +PACKAGE_EXTRA_ARCHS_tune-cortexa15t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" +PACKAGE_EXTRA_ARCHS_tune-cortexa15-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon}" + +# VFP Tunes +AVAILTUNES += "cortexa15hf cortexa15thf cortexa15hf-neon" +TUNE_FEATURES_tune-cortexa15hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa15" +TUNE_FEATURES_tune-cortexa15thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa15" +TUNE_FEATURES_tune-cortexa15hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa15" +PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}" +PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}" +PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}"
Signature · 1 line
1.7.12.4
PATCH 2/2 tune-cortexa7: add tunes for ARM Cortex-A7
In reply to Denys Dmytriyenkohttp://www.arm.com/products/processors/cortex-a/cortex-a7.php
--- meta/conf/machine/include/tune-cortexa7.inc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/conf/machine/include/tune-cortexa7.inc
meta/conf/machine/include/tune-cortexa7.inc new file +24 -0
@@ -0,0 +1,24 @@ +DEFAULTTUNE ?= "cortexa7-neon" + +require conf/machine/include/arm/arch-armv7a.inc + +TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa7", "-mtune=cortex-a7", "", d)}" + +# Little Endian base configs +AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon" +TUNE_FEATURES_tune-cortexa7 = "${TUNE_FEATURES_tune-armv7a} cortexa7" +TUNE_FEATURES_tune-cortexa7t = "${TUNE_FEATURES_tune-armv7at} cortexa7" +TUNE_FEATURES_tune-cortexa7-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa7" +PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}" +PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" +PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon}" + +# VFP Tunes +AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon" +TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7" +TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7" +TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" +PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}" +PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}" +PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}"
Signature · 1 line
1.7.12.4