From d1420c8e5a77b8f914abd8cd782cf36c1afa9d18 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 16 May 2008 09:09:23 +0000 Subject: [PATCH] Don't test SSE2 primitives on non-Intel chips. [SVN r45421] --- test/type_with_alignment_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/type_with_alignment_test.cpp b/test/type_with_alignment_test.cpp index 534803c..c8a9722 100644 --- a/test/type_with_alignment_test.cpp +++ b/test/type_with_alignment_test.cpp @@ -15,7 +15,7 @@ #endif #if defined(BOOST_MSVC) || (defined(BOOST_INTEL) && defined(_MSC_VER)) -#if _MSC_VER >= 1400 +#if (_MSC_VER >= 1400) && defined(_M_IX86) #include #endif struct __declspec(align(8)) a8 { char m[8]; }; @@ -87,7 +87,7 @@ TYPE_WITH_ALIGNMENT_TEST_EX(empty_UDT) TYPE_WITH_ALIGNMENT_TEST_EX(union_UDT) #if defined(BOOST_MSVC) || (defined(BOOST_INTEL) && defined(_MSC_VER)) -#if _MSC_VER >= 1400 +#if (_MSC_VER >= 1400) && defined(_M_IX86) TYPE_WITH_ALIGNMENT_TEST(__m128) TYPE_WITH_ALIGNMENT_TEST(__m64) #endif