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/x86_64.txt | |
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/x86_64.txt')
-rw-r--r-- | src/build-data/arch/x86_64.txt | 26 |
1 files changed, 14 insertions, 12 deletions
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> |