Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-05-16 05:09:24


Author: johnmaddock
Date: 2008-05-16 05:09:23 EDT (Fri, 16 May 2008)
New Revision: 45421
URL: http://svn.boost.org/trac/boost/changeset/45421

Log:
Don't test SSE2 primitives on non-Intel chips.
Text files modified:
   trunk/libs/type_traits/test/type_with_alignment_test.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/type_traits/test/type_with_alignment_test.cpp
==============================================================================
--- trunk/libs/type_traits/test/type_with_alignment_test.cpp (original)
+++ trunk/libs/type_traits/test/type_with_alignment_test.cpp 2008-05-16 05:09:23 EDT (Fri, 16 May 2008)
@@ -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 <xmmintrin.h>
 #endif
 struct __declspec(align(8)) a8 { char m[8]; };
@@ -87,7 +87,7 @@
 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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk