aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/mp/mp_madd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/mp/mp_madd.h')
-rw-r--r--src/lib/math/mp/mp_madd.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/math/mp/mp_madd.h b/src/lib/math/mp/mp_madd.h
index 25659172b..531d6e663 100644
--- a/src/lib/math/mp/mp_madd.h
+++ b/src/lib/math/mp/mp_madd.h
@@ -30,16 +30,14 @@ namespace Botan {
#error BOTAN_MP_WORD_BITS must be 32 or 64
#endif
-#if defined(BOTAN_TARGET_ARCH_IS_X86_32) && (BOTAN_MP_WORD_BITS == 32)
+#if defined(BOTAN_USE_GCC_INLINE_ASM)
- #if defined(BOTAN_USE_GCC_INLINE_ASM)
+ #if defined(BOTAN_TARGET_ARCH_IS_X86_32) && (BOTAN_MP_WORD_BITS == 32)
#define BOTAN_MP_USE_X86_32_ASM
- #elif defined(BOTAN_BUILD_COMPILER_IS_MSVC)
- #define BOTAN_MP_USE_X86_32_MSVC_ASM
+ #elif defined(BOTAN_TARGET_ARCH_IS_X86_64) && (BOTAN_MP_WORD_BITS == 64)
+ #define BOTAN_MP_USE_X86_64_ASM
#endif
-#elif defined(BOTAN_TARGET_ARCH_IS_X86_64) && (BOTAN_MP_WORD_BITS == 64) && defined(BOTAN_USE_GCC_INLINE_ASM)
- #define BOTAN_MP_USE_X86_64_ASM
#endif
/*