diff options
author | Limeng <Meng.Li@windriver.com> | 2019-09-11 17:59:47 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-16 23:02:44 +0100 |
commit | 1edc497a80fb967c5ccf5293b4f746645260b780 (patch) | |
tree | a4f83af18336fffd2a24e42a7803114fccc142d7 /meta | |
parent | 6606a86979f596877b60184a81d7bfc3f06c1751 (diff) | |
download | poky-1edc497a80fb967c5ccf5293b4f746645260b780.tar.gz |
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.
(From OE-Core rev: 7e0c9290a9971b92bcb313742f126ca7488d91c3)
Signed-off-by: Meng Li <Meng.Li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/machine/include/tune-cortexa57-cortexa53.inc | 18 |
1 files changed, 18 insertions, 0 deletions
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 0000000000..d05e93f51e --- /dev/null +++ b/meta/conf/machine/include/tune-cortexa57-cortexa53.inc | |||
@@ -0,0 +1,18 @@ | |||
1 | DEFAULTTUNE ?= "cortexa57-cortexa53" | ||
2 | require conf/machine/include/arm/arch-armv8a.inc | ||
3 | |||
4 | TUNEVALID[cortexa57-cortexa53] = "Enable big.LITTLE Cortex-A57.Cortex-A53 specific processor optimizations" | ||
5 | TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a" | ||
6 | |||
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", " -march=armv8-a", "" ,d)}" | ||
8 | |||
9 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa57-cortexa53", "cortexa57-cortexa53:", "" ,d)}" | ||
10 | |||
11 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa57-cortexa53", " -mtune=cortex-a57.cortex-a53", "", d)}" | ||
12 | |||
13 | # Little Endian base configs | ||
14 | AVAILTUNES += "cortexa57-cortexa53" | ||
15 | ARMPKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53" | ||
16 | TUNE_FEATURES_tune-cortexa57-cortexa53 = "${TUNE_FEATURES_tune-aarch64} cortexa57-cortexa53" | ||
17 | PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa57-cortexa53" | ||
18 | BASE_LIB_tune-cortexa57-cortexa53 = "lib64" | ||