summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-03-19 13:45:36 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-19 23:50:41 +0000
commit800c32096c4cddc34137a2f18d70e476d2a5a51a (patch)
tree65753b562711ebf7c8316f9c8b38f88f330951be
parent34fa190d957f19f69ede7af68f75e3beef3fc96a (diff)
downloadpoky-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.inc6
-rw-r--r--meta/conf/machine/include/tune-cortexa32.inc4
-rw-r--r--meta/conf/machine/include/tune-cortexa35.inc4
-rw-r--r--meta/conf/machine/include/tune-cortexa53.inc4
-rw-r--r--meta/conf/machine/include/tune-cortexa72.inc2
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
3TUNEVALID[armv8a] = "Enable instructions for ARMv8-a" 3TUNEVALID[armv8a] = "Enable instructions for ARMv8-a"
4TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', ' -march=armv8-a', '', d)}" 4TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', ' -march=armv8-a', '', d)}"
5TUNEVALID[simd] = "Enable instructions for ARMv8-a Advanced SIMD and floating-point"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'simd', '+simd', '', d)}"
7TUNEVALID[crc] = "Enable instructions for ARMv8-a Cyclic Redundancy Check (CRC)" 5TUNEVALID[crc] = "Enable instructions for ARMv8-a Cyclic Redundancy Check (CRC)"
8TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'crc', '+crc', '', d)}" 6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'crc', '+crc', '', d)}"
9TUNEVALID[crypto] = "Enable instructions for ARMv8-a cryptographic" 7TUNEVALID[crypto] = "Enable instructions for ARMv8-a cryptographic"
@@ -18,11 +16,11 @@ ARMPKGARCH_tune-armv8a ?= "armv8a"
18ARMPKGARCH_tune-armv8a-crc ?= "armv8a" 16ARMPKGARCH_tune-armv8a-crc ?= "armv8a"
19ARMPKGARCH_tune-armv8a-crypto ?= "armv8a" 17ARMPKGARCH_tune-armv8a-crypto ?= "armv8a"
20ARMPKGARCH_tune-armv8a-crc-crypto ?= "armv8a" 18ARMPKGARCH_tune-armv8a-crc-crypto ?= "armv8a"
21TUNE_FEATURES_tune-armv8a = "aarch64 armv8a simd" 19TUNE_FEATURES_tune-armv8a = "aarch64 armv8a"
22TUNE_FEATURES_tune-armv8a-crc = "${TUNE_FEATURES_tune-armv8a} crc" 20TUNE_FEATURES_tune-armv8a-crc = "${TUNE_FEATURES_tune-armv8a} crc"
23TUNE_FEATURES_tune-armv8a-crypto = "${TUNE_FEATURES_tune-armv8a} crypto" 21TUNE_FEATURES_tune-armv8a-crypto = "${TUNE_FEATURES_tune-armv8a} crypto"
24TUNE_FEATURES_tune-armv8a-crc-crypto = "${TUNE_FEATURES_tune-armv8a-crc} crypto" 22TUNE_FEATURES_tune-armv8a-crc-crypto = "${TUNE_FEATURES_tune-armv8a-crc} crypto"
25PACKAGE_EXTRA_ARCHS_tune-armv8a = "aarch64 armv8a simd" 23PACKAGE_EXTRA_ARCHS_tune-armv8a = "aarch64 armv8a"
26PACKAGE_EXTRA_ARCHS_tune-armv8a-crc = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crc" 24PACKAGE_EXTRA_ARCHS_tune-armv8a-crc = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crc"
27PACKAGE_EXTRA_ARCHS_tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crypto" 25PACKAGE_EXTRA_ARCHS_tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crypto"
28PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} crypto" 26PACKAGE_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
10AVAILTUNES += "cortexa32 cortexa32-crypto" 10AVAILTUNES += "cortexa32 cortexa32-crypto"
11ARMPKGARCH_tune-cortexa32 = "cortexa32" 11ARMPKGARCH_tune-cortexa32 = "cortexa32"
12ARMPKGARCH_tune-cortexa32-crypto = "cortexa32" 12ARMPKGARCH_tune-cortexa32-crypto = "cortexa32"
13TUNE_FEATURES_tune-cortexa32 = "aarch64 cortexa32 simd crc" 13TUNE_FEATURES_tune-cortexa32 = "aarch64 cortexa32 crc"
14TUNE_FEATURES_tune-cortexa32-crypto = "aarch64 cortexa32 simd crc crypto" 14TUNE_FEATURES_tune-cortexa32-crypto = "aarch64 cortexa32 crc crypto"
15PACKAGE_EXTRA_ARCHS_tune-cortexa32 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa32" 15PACKAGE_EXTRA_ARCHS_tune-cortexa32 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa32"
16PACKAGE_EXTRA_ARCHS_tune-cortexa32-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa32 cortexa32-crypto" 16PACKAGE_EXTRA_ARCHS_tune-cortexa32-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa32 cortexa32-crypto"
17BASE_LIB_tune-cortexa32 = "lib64" 17BASE_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
9AVAILTUNES += "cortexa35 cortexa35-crypto" 9AVAILTUNES += "cortexa35 cortexa35-crypto"
10ARMPKGARCH_tune-cortexa35 = "cortexa35" 10ARMPKGARCH_tune-cortexa35 = "cortexa35"
11ARMPKGARCH_tune-cortexa35-crypto = "cortexa35" 11ARMPKGARCH_tune-cortexa35-crypto = "cortexa35"
12TUNE_FEATURES_tune-cortexa35 = "aarch64 cortexa35 simd crc" 12TUNE_FEATURES_tune-cortexa35 = "aarch64 cortexa35 crc"
13TUNE_FEATURES_tune-cortexa35-crypto = "aarch64 cortexa35 simd crc crypto" 13TUNE_FEATURES_tune-cortexa35-crypto = "aarch64 cortexa35 crc crypto"
14PACKAGE_EXTRA_ARCHS_tune-cortexa35 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa35" 14PACKAGE_EXTRA_ARCHS_tune-cortexa35 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa35"
15PACKAGE_EXTRA_ARCHS_tune-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa35 cortexa35-crypto" 15PACKAGE_EXTRA_ARCHS_tune-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa35 cortexa35-crypto"
16BASE_LIB_tune-cortexa35 = "lib64" 16BASE_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
9AVAILTUNES += "cortexa53 cortexa53-crypto" 9AVAILTUNES += "cortexa53 cortexa53-crypto"
10ARMPKGARCH_tune-cortexa53 = "cortexa53" 10ARMPKGARCH_tune-cortexa53 = "cortexa53"
11ARMPKGARCH_tune-cortexa53-crypto = "cortexa53" 11ARMPKGARCH_tune-cortexa53-crypto = "cortexa53"
12TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 simd crc" 12TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 crc"
13TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 simd crc crypto" 13TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 crc crypto"
14PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53" 14PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53"
15PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" 15PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto"
16BASE_LIB_tune-cortexa53 = "lib64" 16BASE_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
9AVAILTUNES += "cortexa72" 9AVAILTUNES += "cortexa72"
10ARMPKGARCH_tune-cortexa72 = "cortexa72" 10ARMPKGARCH_tune-cortexa72 = "cortexa72"
11TUNE_FEATURES_tune-cortexa72 = "aarch64 cortexa72 simd crc crypto" 11TUNE_FEATURES_tune-cortexa72 = "aarch64 cortexa72 crc crypto"
12PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72" 12PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72"
13BASE_LIB_tune-cortexa72 = "lib64" 13BASE_LIB_tune-cortexa72 = "lib64"