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/simd/simd_altivec | |
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/simd/simd_altivec')
-rw-r--r-- | src/simd/simd_altivec/simd_altivec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simd/simd_altivec/simd_altivec.h b/src/simd/simd_altivec/simd_altivec.h index 4c412ddec..f675587bc 100644 --- a/src/simd/simd_altivec/simd_altivec.h +++ b/src/simd/simd_altivec/simd_altivec.h @@ -8,7 +8,7 @@ #ifndef BOTAN_SIMD_ALTIVEC_H__ #define BOTAN_SIMD_ALTIVEC_H__ -#if defined(BOTAN_TARGET_CPU_HAS_ALTIVEC) +#if defined(BOTAN_TARGET_SUPPORTS_ALTIVEC) #include <botan/loadstor.h> #include <botan/cpuid.h> |