diff options
author | lloyd <[email protected]> | 2013-04-17 16:06:56 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-04-17 16:06:56 +0000 |
commit | 77f0c643c0a575842fda1891f68bebc4bb8d2697 (patch) | |
tree | d066a4075efd5450e25780392f6b32e7f85a2c9a /src/build-data/arch | |
parent | f1d38d7a08b3939148b3426d00244bad89d23948 (diff) |
Always include modules requiring ISA extensions as long as the
compiler and target platform might support it. For instance the AES
SSSE3 code is now always in any x86 build, with just that specific
file being compiled with -mssse3. Since we'll only call that code if
cpuid confirms it works at runtime, we don't have portability issues,
and it can be safely included in generic builds (eg for distributions).
Tweak how machine specific compiler flags are generated to be a bit
easier to maintain.
Diffstat (limited to 'src/build-data/arch')
-rw-r--r-- | src/build-data/arch/arm.txt | 7 | ||||
-rw-r--r-- | src/build-data/arch/ppc32.txt | 6 | ||||
-rw-r--r-- | src/build-data/arch/ppc64.txt | 6 | ||||
-rw-r--r-- | src/build-data/arch/x86_32.txt | 14 | ||||
-rw-r--r-- | src/build-data/arch/x86_64.txt | 26 |
5 files changed, 33 insertions, 26 deletions
diff --git a/src/build-data/arch/arm.txt b/src/build-data/arch/arm.txt index b822fe130..627ccf25c 100644 --- a/src/build-data/arch/arm.txt +++ b/src/build-data/arch/arm.txt @@ -38,6 +38,7 @@ cortex-a8 -> armv7-a cortex-a9 -> armv7-a </submodel_aliases> -<isa_extn> -neon:armv7-a -</isa_extn> +<isa_extensions> +neon +</isa_extensions> + diff --git a/src/build-data/arch/ppc32.txt b/src/build-data/arch/ppc32.txt index e33c8ff24..2f4ca6723 100644 --- a/src/build-data/arch/ppc32.txt +++ b/src/build-data/arch/ppc32.txt @@ -25,6 +25,6 @@ g4 -> ppc7450 powerpcspe -> e500v2 # for Debian </submodel_aliases> -<isa_extn> -altivec:ppc7400,ppc7450 -</isa_extn> +<isa_extensions> +altivec +</isa_extensions> diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt index 954d9181e..07436c19d 100644 --- a/src/build-data/arch/ppc64.txt +++ b/src/build-data/arch/ppc64.txt @@ -24,6 +24,6 @@ cellppu cellbroadbandengine -> cellppu </submodel_aliases> -<isa_extn> -altivec:cellppu,ppc970,power6,power7 -</isa_extn> +<isa_extensions> +altivec +</isa_extensions> diff --git a/src/build-data/arch/x86_32.txt b/src/build-data/arch/x86_32.txt index 482a53057..4562050af 100644 --- a/src/build-data/arch/x86_32.txt +++ b/src/build-data/arch/x86_32.txt @@ -61,8 +61,12 @@ intelcput2600 -> prescott intelcput2700 -> prescott </submodel_aliases> -<isa_extn> -sse2:pentium4,prescott,pentium-m,atom32 -ssse3:atom32 -movbe:atom32 -</isa_extn> +<isa_extensions> +sse2 +ssse3 +sse4.1 +sse4.2 +avx2 +aes-ni +clmul +</isa_extensions> diff --git a/src/build-data/arch/x86_64.txt b/src/build-data/arch/x86_64.txt index 8d74a193e..608249101 100644 --- a/src/build-data/arch/x86_64.txt +++ b/src/build-data/arch/x86_64.txt @@ -12,12 +12,11 @@ x64 <submodels> k8 -k10 +barcelona atom nocona core2 -nehalem -westmere +corei7 sandybridge ivybridge </submodels> @@ -27,18 +26,21 @@ core2duo -> core2 intelcore2 -> core2 intelcore2duo -> core2 +nehalem -> corei7 +westmere -> corei7 + sledgehammer -> k8 opteron -> k8 amdopteron -> k8 athlon64 -> k8 -barcelona -> k10 - -corei5cpum520 -> westmere -corei7cpu860 -> nehalem </submodel_aliases> -<isa_extn> -sse2:all -ssse3:core2,nehalem,westmere,atom,sandybridge,ivybridge -aes-ni:westmere,sandybridge,ivybridge -</isa_extn> +<isa_extensions> +sse2 +ssse3 +sse4.1 +sse4.2 +avx2 +aes-ni +clmul +</isa_extensions> |