Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkSIMD.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 
00011 #ifndef __mitkSIMD_h
00012 #define __mitkSIMD_h
00013 
00014 #include "mitkSIMDConfig.h"
00015 #include "mitkGlobal.h"
00016 
00017 #ifdef USE_SIMD
00018 
00019 #include <xmmintrin.h>  //SSE include file
00020 
00021 class CheckSIMDSupport
00022 {
00023 public:
00024     bool hasMMX;
00025     bool hasSSE;
00026     bool hasSSE2;
00027     bool has3DNow;
00028     CheckSIMDSupport();
00029     ~CheckSIMDSupport();
00030     
00031 };
00032 
00033 bool g_IsMMXSupported();
00034 bool g_IsSSESupported();
00035 bool g_IsSSE2Supported();
00036 bool g_Is3DNowSupported();
00037 
00038 #endif // USE_SIMD
00039 
00040 #endif
00041 

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3