[oe-commits] [openembedded-core] 09/30: tune-cortexa57-cortexa53: add tunes for ARM Cortex-A53-Cortex-A57

git at git.openembedded.org git at git.openembedded.org
Mon Sep 16 08:54:57 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 7e0c9290a9971b92bcb313742f126ca7488d91c3
Author: Limeng <Meng.Li at windriver.com>
AuthorDate: Wed Sep 11 17:59:47 2019 +0800

    tune-cortexa57-cortexa53: add tunes for ARM Cortex-A53-Cortex-A57
    
    commit 3613b2780a6b5d5d70ea6802be5060a8214cbdb5 from
    git://github.com/renesas-rcar/meta-renesas
    
    The renesas rcar SoC H3/M3 is big.LITTLE architecture(cortex-a57.cortex-a53).
    In order to optimize the performance of the code running on SoC H3/M3,
    add a tune file for ARM Cortex-A53-Cortex-A57.
    Create this tune file by refering GCC doc, 3.18.5 ARM Options.
    
    Signed-off-by: Meng Li <Meng.Li at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/conf/machine/include/tune-cortexa57-cortexa53.inc | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/meta/conf/machine/include/tune-cortexa57-cortexa53.inc b/meta/conf/machine/include/tune-cortexa57-cortexa53.inc
new file mode 100644
index 0000000..d05e93f
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexa57-cortexa53.inc
@@ -0,0 +1,18 @@
+DEFAULTTUNE ?= "cortexa57-cortexa53"
+require conf/machine/include/arm/arch-armv8a.inc
+
+TUNEVALID[cortexa57-cortexa53] = "Enable big.LITTLE Cortex-A57.Cortex-A53 specific processor optimizations"
+TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a"
+
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", " -march=armv8-a", "" ,d)}"
+
+MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa57-cortexa53", "cortexa57-cortexa53:", "" ,d)}"
+
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa57-cortexa53", " -mtune=cortex-a57.cortex-a53", "", d)}"
+
+# Little Endian base configs
+AVAILTUNES += "cortexa57-cortexa53"
+ARMPKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53"
+TUNE_FEATURES_tune-cortexa57-cortexa53 = "${TUNE_FEATURES_tune-aarch64} cortexa57-cortexa53"
+PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa57-cortexa53"
+BASE_LIB_tune-cortexa57-cortexa53 = "lib64"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list