From e1ae1e4dc3d450e47693f3b190520b598f88fc60 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 18 Dec 2021 16:58:47 +0000 Subject: [PATCH] Fix selection logic in intel_intrinsics.hpp To correctly exclude msvc+arm. Fixes https://github.com/boostorg/multiprecision/issues/405 --- include/boost/multiprecision/cpp_int/intel_intrinsics.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp b/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp index fcfacef1..eb4624bb 100644 --- a/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp +++ b/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp @@ -31,9 +31,9 @@ #undef BOOST_MP_HAS_IMMINTRIN_H #endif -#if defined(BOOST_MSVC) && !defined(_M_IX86) && !defined(_M_ARM64) && !defined(_M_X64) +#if defined(BOOST_MSVC) && !defined(_M_IX86) && !defined(_M_X64) && !defined(_M_AMD64) // -// When targeting platforms such as ARM, msvc still has the INtel headers in it's include path +// When targeting platforms such as ARM, msvc still has the Intel headers in it's include path // even though they're not usable. See https://github.com/boostorg/multiprecision/issues/321 // #undef BOOST_MP_HAS_IMMINTRIN_H -- 2.34.1.windows.1