Text archives Help
- From: sparker@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r1026 - in trunk: . include
- Date: Sat, 29 Apr 2006 21:02:24 -0600 (MDT)
Author: sparker
Date: Sat Apr 29 21:02:23 2006
New Revision: 1026
Modified:
trunk/CMakeLists.txt
trunk/include/MantaSSE.h.CMakeTemplate
Log:
Look for emmintrin.h (which includes xmmintrin.h). This means we require
SSE2.
Modified: trunk/CMakeLists.txt
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt Sat Apr 29 21:02:23 2006
@@ -167,8 +167,8 @@
ENDIF (APPLE)
##################################################################
-# Check to see if the system supports SSE.
-FILE(WRITE ${CMAKE_BINARY_DIR}/test/sse_test.c "#include
<xmmintrin.h>\nstatic __m128 foo;\n\n")
+# Check to see if the system supports SSE2.
+FILE(WRITE ${CMAKE_BINARY_DIR}/test/sse_test.c "#include
<emmintrin.h>\nstatic __m128 foo;\n\n")
EXEC_PROGRAM(${CMAKE_C_COMPILER}
ARGS -c -o /dev/null ${CMAKE_BINARY_DIR}/test/sse_test.c
Modified: trunk/include/MantaSSE.h.CMakeTemplate
==============================================================================
--- trunk/include/MantaSSE.h.CMakeTemplate (original)
+++ trunk/include/MantaSSE.h.CMakeTemplate Sat Apr 29 21:02:23 2006
@@ -30,7 +30,7 @@
#define Manta_Manta_SSE_h
#if ${MANTA_SSE_DEF}
-#include <xmmintrin.h>
+#include <emmintrin.h>
#define MANTA_SSE 1
#endif
- [MANTA] r1026 - in trunk: . include, sparker, 04/29/2006
Archive powered by MHonArc 2.6.16.