diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-03-19 13:45:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-19 23:50:41 +0000 |
commit | 800c32096c4cddc34137a2f18d70e476d2a5a51a (patch) | |
tree | 65753b562711ebf7c8316f9c8b38f88f330951be | |
parent | 34fa190d957f19f69ede7af68f75e3beef3fc96a (diff) | |
download | poky-800c32096c4cddc34137a2f18d70e476d2a5a51a.tar.gz |
Remove the simd tune for armv8a
SIMD instructions are a mandatory part of armv8a
(they were optional in armv7a), and the gcc docs
also say that they are always enabled.
(From OE-Core rev: 02288c94e99e9dd444d8c1af186b6d89085b7b8b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv8a.inc | 6 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa32.inc | 4 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa35.inc | 4 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa53.inc | 4 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa72.inc | 2 |
5 files changed, 9 insertions, 11 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv8a.inc b/meta/conf/machine/include/arm/arch-armv8a.inc index 22064559be..44d0ca4557 100644 --- a/meta/conf/machine/include/arm/arch-armv8a.inc +++ b/meta/conf/machine/include/arm/arch-armv8a.inc | |||
@@ -2,8 +2,6 @@ DEFAULTTUNE ?= "armv8a-crc" | |||
2 | 2 | ||
3 | TUNEVALID[armv8a] = "Enable instructions for ARMv8-a" | 3 | TUNEVALID[armv8a] = "Enable instructions for ARMv8-a" |
4 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', ' -march=armv8-a', '', d)}" | 4 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', ' -march=armv8-a', '', d)}" |
5 | TUNEVALID[simd] = "Enable instructions for ARMv8-a Advanced SIMD and floating-point" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'simd', '+simd', '', d)}" | ||
7 | TUNEVALID[crc] = "Enable instructions for ARMv8-a Cyclic Redundancy Check (CRC)" | 5 | TUNEVALID[crc] = "Enable instructions for ARMv8-a Cyclic Redundancy Check (CRC)" |
8 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'crc', '+crc', '', d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'crc', '+crc', '', d)}" |
9 | TUNEVALID[crypto] = "Enable instructions for ARMv8-a cryptographic" | 7 | TUNEVALID[crypto] = "Enable instructions for ARMv8-a cryptographic" |
@@ -18,11 +16,11 @@ ARMPKGARCH_tune-armv8a ?= "armv8a" | |||
18 | ARMPKGARCH_tune-armv8a-crc ?= "armv8a" | 16 | ARMPKGARCH_tune-armv8a-crc ?= "armv8a" |
19 | ARMPKGARCH_tune-armv8a-crypto ?= "armv8a" | 17 | ARMPKGARCH_tune-armv8a-crypto ?= "armv8a" |
20 | ARMPKGARCH_tune-armv8a-crc-crypto ?= "armv8a" | 18 | ARMPKGARCH_tune-armv8a-crc-crypto ?= "armv8a" |
21 | TUNE_FEATURES_tune-armv8a = "aarch64 armv8a simd" | 19 | TUNE_FEATURES_tune-armv8a = "aarch64 armv8a" |
22 | TUNE_FEATURES_tune-armv8a-crc = "${TUNE_FEATURES_tune-armv8a} crc" | 20 | TUNE_FEATURES_tune-armv8a-crc = "${TUNE_FEATURES_tune-armv8a} crc" |
23 | TUNE_FEATURES_tune-armv8a-crypto = "${TUNE_FEATURES_tune-armv8a} crypto" | 21 | TUNE_FEATURES_tune-armv8a-crypto = "${TUNE_FEATURES_tune-armv8a} crypto" |
24 | TUNE_FEATURES_tune-armv8a-crc-crypto = "${TUNE_FEATURES_tune-armv8a-crc} crypto" | 22 | TUNE_FEATURES_tune-armv8a-crc-crypto = "${TUNE_FEATURES_tune-armv8a-crc} crypto" |
25 | PACKAGE_EXTRA_ARCHS_tune-armv8a = "aarch64 armv8a simd" | 23 | PACKAGE_EXTRA_ARCHS_tune-armv8a = "aarch64 armv8a" |
26 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crc = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crc" | 24 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crc = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crc" |
27 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crypto" | 25 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crypto" |
28 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} crypto" | 26 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} crypto" |
diff --git a/meta/conf/machine/include/tune-cortexa32.inc b/meta/conf/machine/include/tune-cortexa32.inc index 4bf7f774e1..9c948f1766 100644 --- a/meta/conf/machine/include/tune-cortexa32.inc +++ b/meta/conf/machine/include/tune-cortexa32.inc | |||
@@ -10,8 +10,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
10 | AVAILTUNES += "cortexa32 cortexa32-crypto" | 10 | AVAILTUNES += "cortexa32 cortexa32-crypto" |
11 | ARMPKGARCH_tune-cortexa32 = "cortexa32" | 11 | ARMPKGARCH_tune-cortexa32 = "cortexa32" |
12 | ARMPKGARCH_tune-cortexa32-crypto = "cortexa32" | 12 | ARMPKGARCH_tune-cortexa32-crypto = "cortexa32" |
13 | TUNE_FEATURES_tune-cortexa32 = "aarch64 cortexa32 simd crc" | 13 | TUNE_FEATURES_tune-cortexa32 = "aarch64 cortexa32 crc" |
14 | TUNE_FEATURES_tune-cortexa32-crypto = "aarch64 cortexa32 simd crc crypto" | 14 | TUNE_FEATURES_tune-cortexa32-crypto = "aarch64 cortexa32 crc crypto" |
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa32 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa32" | 15 | PACKAGE_EXTRA_ARCHS_tune-cortexa32 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa32" |
16 | PACKAGE_EXTRA_ARCHS_tune-cortexa32-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa32 cortexa32-crypto" | 16 | PACKAGE_EXTRA_ARCHS_tune-cortexa32-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa32 cortexa32-crypto" |
17 | BASE_LIB_tune-cortexa32 = "lib64" | 17 | BASE_LIB_tune-cortexa32 = "lib64" |
diff --git a/meta/conf/machine/include/tune-cortexa35.inc b/meta/conf/machine/include/tune-cortexa35.inc index 6ece810753..d6df6cd6bd 100644 --- a/meta/conf/machine/include/tune-cortexa35.inc +++ b/meta/conf/machine/include/tune-cortexa35.inc | |||
@@ -9,8 +9,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | AVAILTUNES += "cortexa35 cortexa35-crypto" | 9 | AVAILTUNES += "cortexa35 cortexa35-crypto" |
10 | ARMPKGARCH_tune-cortexa35 = "cortexa35" | 10 | ARMPKGARCH_tune-cortexa35 = "cortexa35" |
11 | ARMPKGARCH_tune-cortexa35-crypto = "cortexa35" | 11 | ARMPKGARCH_tune-cortexa35-crypto = "cortexa35" |
12 | TUNE_FEATURES_tune-cortexa35 = "aarch64 cortexa35 simd crc" | 12 | TUNE_FEATURES_tune-cortexa35 = "aarch64 cortexa35 crc" |
13 | TUNE_FEATURES_tune-cortexa35-crypto = "aarch64 cortexa35 simd crc crypto" | 13 | TUNE_FEATURES_tune-cortexa35-crypto = "aarch64 cortexa35 crc crypto" |
14 | PACKAGE_EXTRA_ARCHS_tune-cortexa35 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa35" | 14 | PACKAGE_EXTRA_ARCHS_tune-cortexa35 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa35" |
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa35 cortexa35-crypto" | 15 | PACKAGE_EXTRA_ARCHS_tune-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa35 cortexa35-crypto" |
16 | BASE_LIB_tune-cortexa35 = "lib64" | 16 | BASE_LIB_tune-cortexa35 = "lib64" |
diff --git a/meta/conf/machine/include/tune-cortexa53.inc b/meta/conf/machine/include/tune-cortexa53.inc index 9fb37ff639..6c0b443eaf 100644 --- a/meta/conf/machine/include/tune-cortexa53.inc +++ b/meta/conf/machine/include/tune-cortexa53.inc | |||
@@ -9,8 +9,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | AVAILTUNES += "cortexa53 cortexa53-crypto" | 9 | AVAILTUNES += "cortexa53 cortexa53-crypto" |
10 | ARMPKGARCH_tune-cortexa53 = "cortexa53" | 10 | ARMPKGARCH_tune-cortexa53 = "cortexa53" |
11 | ARMPKGARCH_tune-cortexa53-crypto = "cortexa53" | 11 | ARMPKGARCH_tune-cortexa53-crypto = "cortexa53" |
12 | TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 simd crc" | 12 | TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 crc" |
13 | TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 simd crc crypto" | 13 | TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 crc crypto" |
14 | PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53" | 14 | PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53" |
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" | 15 | PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" |
16 | BASE_LIB_tune-cortexa53 = "lib64" | 16 | BASE_LIB_tune-cortexa53 = "lib64" |
diff --git a/meta/conf/machine/include/tune-cortexa72.inc b/meta/conf/machine/include/tune-cortexa72.inc index 4c2306c4fd..00f7745a22 100644 --- a/meta/conf/machine/include/tune-cortexa72.inc +++ b/meta/conf/machine/include/tune-cortexa72.inc | |||
@@ -8,6 +8,6 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa72" | 9 | AVAILTUNES += "cortexa72" |
10 | ARMPKGARCH_tune-cortexa72 = "cortexa72" | 10 | ARMPKGARCH_tune-cortexa72 = "cortexa72" |
11 | TUNE_FEATURES_tune-cortexa72 = "aarch64 cortexa72 simd crc crypto" | 11 | TUNE_FEATURES_tune-cortexa72 = "aarch64 cortexa72 crc crypto" |
12 | PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72" | 12 | PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72" |
13 | BASE_LIB_tune-cortexa72 = "lib64" | 13 | BASE_LIB_tune-cortexa72 = "lib64" |