diff options
author | Denys Dmytriyenko <denys@ti.com> | 2013-04-10 17:07:20 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2013-04-10 17:07:20 -0400 |
commit | 8f7d03e4a1e87c5b32c413f50e362280d8e6928a (patch) | |
tree | d0722ec34fcc05f21d7481025114849ec74e796a | |
parent | aefef7fe953297263fd897d47b111fe2826a0ea2 (diff) | |
download | meta-ti-8f7d03e4a1e87c5b32c413f50e362280d8e6928a.tar.gz |
tune-cortexa{7,8,9,15}: update tunes from oe-core/master with fixes
Specifically interested in hardfp+thumb+neon
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r-- | conf/machine/include/tune-cortexa15.inc | 4 | ||||
-rw-r--r-- | conf/machine/include/tune-cortexa7.inc | 4 | ||||
-rw-r--r-- | conf/machine/include/tune-cortexa8.inc | 36 | ||||
-rw-r--r-- | conf/machine/include/tune-cortexa9.inc | 36 |
4 files changed, 76 insertions, 4 deletions
diff --git a/conf/machine/include/tune-cortexa15.inc b/conf/machine/include/tune-cortexa15.inc index a9a8d0d7..282c54e0 100644 --- a/conf/machine/include/tune-cortexa15.inc +++ b/conf/machine/include/tune-cortexa15.inc | |||
@@ -29,8 +29,8 @@ ARMPKGARCH_tune-cortexa15thf-neon = "cortexa15" | |||
29 | TUNE_FEATURES_tune-cortexa15hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa15" | 29 | TUNE_FEATURES_tune-cortexa15hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa15" |
30 | TUNE_FEATURES_tune-cortexa15thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa15" | 30 | TUNE_FEATURES_tune-cortexa15thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa15" |
31 | TUNE_FEATURES_tune-cortexa15hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa15" | 31 | TUNE_FEATURES_tune-cortexa15hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa15" |
32 | TUNE_FEATURES_tune-cortexa15thf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa15" | 32 | TUNE_FEATURES_tune-cortexa15thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa15" |
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa15hf-vfp" | 33 | PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa15hf-vfp" |
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa15hf-vfp cortexa15t2hf-vfp" | 34 | PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa15hf-vfp cortexa15t2hf-vfp" |
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon" | 35 | PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon" |
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa15thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon cortexa15t2-vfp cortexa15t2hf-vfp-neon" | 36 | PACKAGE_EXTRA_ARCHS_tune-cortexa15thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon cortexa15t2hf-vfp cortexa15t2hf-vfp-neon" |
diff --git a/conf/machine/include/tune-cortexa7.inc b/conf/machine/include/tune-cortexa7.inc index d04aed3d..9898e8ec 100644 --- a/conf/machine/include/tune-cortexa7.inc +++ b/conf/machine/include/tune-cortexa7.inc | |||
@@ -29,8 +29,8 @@ ARMPKGARCH_tune-cortexa7thf-neon = "cortexa7" | |||
29 | TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7" | 29 | TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7" |
30 | TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7" | 30 | TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7" |
31 | TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" | 31 | TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" |
32 | TUNE_FEATURES_tune-cortexa7thf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" | 32 | TUNE_FEATURES_tune-cortexa7thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa7" |
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa7hf-vfp" | 33 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa7hf-vfp" |
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa7hf-vfp cortexa7t2hf-vfp" | 34 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa7hf-vfp cortexa7t2hf-vfp" |
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon" | 35 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon" |
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon cortexa7t2-vfp cortexa7t2hf-vfp-neon" | 36 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon cortexa7t2hf-vfp cortexa7t2hf-vfp-neon" |
diff --git a/conf/machine/include/tune-cortexa8.inc b/conf/machine/include/tune-cortexa8.inc new file mode 100644 index 00000000..36894e4e --- /dev/null +++ b/conf/machine/include/tune-cortexa8.inc | |||
@@ -0,0 +1,36 @@ | |||
1 | DEFAULTTUNE ?= "armv7a-neon" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations" | ||
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa8", "-mtune=cortex-a8", "", d)}" | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "cortexa8 cortexa8t cortexa8-neon cortexa8t-neon" | ||
10 | ARMPKGARCH_tune-cortexa8 = "cortexa8" | ||
11 | ARMPKGARCH_tune-cortexa8t = "cortexa8" | ||
12 | ARMPKGARCH_tune-cortexa8-neon = "cortexa8" | ||
13 | ARMPKGARCH_tune-cortexa8t-neon = "cortexa8" | ||
14 | TUNE_FEATURES_tune-cortexa8 = "${TUNE_FEATURES_tune-armv7a} cortexa8" | ||
15 | TUNE_FEATURES_tune-cortexa8t = "${TUNE_FEATURES_tune-armv7at} cortexa8" | ||
16 | TUNE_FEATURES_tune-cortexa8-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa8" | ||
17 | TUNE_FEATURES_tune-cortexa8t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa8" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-cortexa8 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa8-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa8t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa8-vfp cortexa8t2-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa8-vfp cortexa8-vfp-neon" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-cortexa8t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa8-vfp cortexa8-vfp-neon cortexa8t2-vfp cortexa8t2-vfp-neon" | ||
22 | |||
23 | # VFP Tunes | ||
24 | AVAILTUNES += "cortexa8hf cortexa8thf cortexa8hf-neon cortexa8thf-neon" | ||
25 | ARMPKGARCH_tune-cortexa8hf = "cortexa8" | ||
26 | ARMPKGARCH_tune-cortexa8thf = "cortexa8" | ||
27 | ARMPKGARCH_tune-cortexa8hf-neon = "cortexa8" | ||
28 | ARMPKGARCH_tune-cortexa8thf-neon = "cortexa8" | ||
29 | TUNE_FEATURES_tune-cortexa8hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa8" | ||
30 | TUNE_FEATURES_tune-cortexa8thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa8" | ||
31 | TUNE_FEATURES_tune-cortexa8hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa8" | ||
32 | TUNE_FEATURES_tune-cortexa8thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa8" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa8hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa8hf-vfp" | ||
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa8thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa8hf-vfp cortexa8t2hf-vfp" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa8hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa8hf-vfp cortexa8hf-vfp-neon" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa8hf-vfp cortexa8hf-vfp-neon cortexa8t2hf-vfp cortexa8t2hf-vfp-neon" | ||
diff --git a/conf/machine/include/tune-cortexa9.inc b/conf/machine/include/tune-cortexa9.inc new file mode 100644 index 00000000..bac87188 --- /dev/null +++ b/conf/machine/include/tune-cortexa9.inc | |||
@@ -0,0 +1,36 @@ | |||
1 | DEFAULTTUNE ?= "armv7a-neon" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexa9] = "Enable Cortex-A9 specific processor optimizations" | ||
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa9", "-mtune=cortex-a9", "", d)}" | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "cortexa9 cortexa9t cortexa9-neon cortexa9t-neon" | ||
10 | ARMPKGARCH_tune-cortexa9 = "cortexa9" | ||
11 | ARMPKGARCH_tune-cortexa9t = "cortexa9" | ||
12 | ARMPKGARCH_tune-cortexa9-neon = "cortexa9" | ||
13 | ARMPKGARCH_tune-cortexa9t-neon = "cortexa9" | ||
14 | TUNE_FEATURES_tune-cortexa9 = "${TUNE_FEATURES_tune-armv7a} cortexa9" | ||
15 | TUNE_FEATURES_tune-cortexa9t = "${TUNE_FEATURES_tune-armv7at} cortexa9" | ||
16 | TUNE_FEATURES_tune-cortexa9-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa9" | ||
17 | TUNE_FEATURES_tune-cortexa9t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa9" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-cortexa9 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa9-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa9t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa9-vfp cortexa9t2-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa9-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa9-vfp cortexa9-vfp-neon" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-cortexa9t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa9-vfp cortexa9-vfp-neon cortexa9t2-vfp cortexa9t2-vfp-neon" | ||
22 | |||
23 | # VFP Tunes | ||
24 | AVAILTUNES += "cortexa9hf cortexa9thf cortexa9hf-neon cortexa9thf-neon" | ||
25 | ARMPKGARCH_tune-cortexa9hf = "cortexa9" | ||
26 | ARMPKGARCH_tune-cortexa9thf = "cortexa9" | ||
27 | ARMPKGARCH_tune-cortexa9hf-neon = "cortexa9" | ||
28 | ARMPKGARCH_tune-cortexa9thf-neon = "cortexa9" | ||
29 | TUNE_FEATURES_tune-cortexa9hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa9" | ||
30 | TUNE_FEATURES_tune-cortexa9thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa9" | ||
31 | TUNE_FEATURES_tune-cortexa9hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa9" | ||
32 | TUNE_FEATURES_tune-cortexa9thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa9" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa9hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa9hf-vfp" | ||
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa9thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa9hf-vfp cortexa9t2hf-vfp" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa9hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa9hf-vfp cortexa9hf-vfp-neon" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa9thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa9hf-vfp cortexa9hf-vfp-neon cortexa9t2hf-vfp cortexa9t2hf-vfp-neon" | ||