From 5553c5cf54563280a4ffc94baab7b94a83cb0000 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 29 Oct 2009 08:33:45 +0000 Subject: Fix cpuid with icc (tested with 11.1) Document SHA optimizations, AltiVec runtime checking, fixes for cpuid for both icc and msvc. --- src/utils/cpuid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 #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 - #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) -- cgit v1.2.3