Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56653 - trunk/boost/math/special_functions/detail
From: kbelco_at_[hidden]
Date: 2009-10-08 13:52:10


Author: noel_belcourt
Date: 2009-10-08 13:52:10 EDT (Thu, 08 Oct 2009)
New Revision: 56653
URL: http://svn.boost.org/trac/boost/changeset/56653

Log:
Add PGI macro to get proper alignment.

Text files modified:
   trunk/boost/math/special_functions/detail/lanczos_sse2.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/special_functions/detail/lanczos_sse2.hpp
==============================================================================
--- trunk/boost/math/special_functions/detail/lanczos_sse2.hpp (original)
+++ trunk/boost/math/special_functions/detail/lanczos_sse2.hpp 2009-10-08 13:52:10 EDT (Thu, 08 Oct 2009)
@@ -12,7 +12,7 @@
 
 #include <emmintrin.h>
 
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__PGI)
 #define ALIGN16 __attribute__((aligned(16)))
 #else
 #define ALIGN16 __declspec(align(16))


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