Text archives Help
- From: bigler@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1982 - trunk/Core/Math
- Date: Wed, 9 Jan 2008 16:56:46 -0700 (MST)
Author: bigler
Date: Wed Jan 9 16:56:45 2008
New Revision: 1982
Modified:
trunk/Core/Math/SSEDefs.h
Log:
M SSEDefs.h
Use LL for the 64 bit integer literal. This may cause problems with
certain compilers. If so, do the following:
#include <stdint.h>
numberLL => INT64_C(number)
Modified: trunk/Core/Math/SSEDefs.h
==============================================================================
--- trunk/Core/Math/SSEDefs.h (original)
+++ trunk/Core/Math/SSEDefs.h Wed Jan 9 16:56:45 2008
@@ -92,8 +92,8 @@
static inline
__m128i _mm_set1_epi64x(long long val)
{
- const int high = (0xFFFFFFFF00000000L & val) >> 32 ;
- const int low = ( 0xFFFFFFFFL & val);
+ const int high = (0xFFFFFFFF00000000LL & val) >> 32 ;
+ const int low = ( 0xFFFFFFFFLL & val);
return _mm_set_epi32(high, low, high, low);
}
- [Manta] r1982 - trunk/Core/Math, bigler, 01/09/2008
Archive powered by MHonArc 2.6.16.