diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/utils/cpuid/cpuid_x86.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/utils/cpuid/cpuid_x86.cpp b/src/lib/utils/cpuid/cpuid_x86.cpp index 88c8a9d8f..7b99575ab 100644 --- a/src/lib/utils/cpuid/cpuid_x86.cpp +++ b/src/lib/utils/cpuid/cpuid_x86.cpp @@ -29,12 +29,9 @@ namespace { void invoke_cpuid(uint32_t type, uint32_t out[4]) { -#if defined(BOTAN_BUILD_COMPILER_IS_MSVC) +#if defined(BOTAN_BUILD_COMPILER_IS_MSVC) || defined(BOTAN_BUILD_COMPILER_IS_INTEL) __cpuid((int*)out, type); -#elif defined(BOTAN_BUILD_COMPILER_IS_INTEL) - __cpuid(out, type); - #elif defined(BOTAN_TARGET_ARCH_IS_X86_64) && defined(BOTAN_USE_GCC_INLINE_ASM) asm("cpuid\n\t" : "=a" (out[0]), "=b" (out[1]), "=c" (out[2]), "=d" (out[3]) |