diff options
author | lloyd <[email protected]> | 2009-10-29 08:33:45 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-10-29 08:33:45 +0000 |
commit | 5553c5cf54563280a4ffc94baab7b94a83cb0000 (patch) | |
tree | fbaf076c8f333b602bb7d7f17de2362049cacebb /src/utils/cpuid.cpp | |
parent | 077ad13c6f97ab79ecb585c0f584bb8963096098 (diff) |
Fix cpuid with icc (tested with 11.1)
Document SHA optimizations, AltiVec runtime checking, fixes for cpuid
for both icc and msvc.
Diffstat (limited to 'src/utils/cpuid.cpp')
-rw-r--r-- | src/utils/cpuid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp index 2d3b5d92c..448054c49 100644 --- a/src/utils/cpuid.cpp +++ b/src/utils/cpuid.cpp @@ -17,10 +17,10 @@ #include <intrin.h> #define CALL_CPUID(type, out) do { __cpuid((int*)out, type); } while(0) -#elif defined(BOTAN_BUILD_COMPILER_IS_ICC) +#elif defined(BOTAN_BUILD_COMPILER_IS_INTEL) #include <ia32intrin.h> - #define CALL_CPUID(type, out) do { __cpuid(out, type) } while(0); + #define CALL_CPUID(type, out) do { __cpuid(out, type); } while(0); #elif defined(BOTAN_BUILD_COMPILER_IS_GCC) |