00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifdef _MSC_VER
00024 # pragma once
00025 #endif // _MSC_VER
00026
00027 #ifndef _EXMAT_SIMD_SIMD_H
00028 #define _EXMAT_SIMD_SIMD_H
00029
00030 #include "../Config.h"
00031
00032
00033 #if EXMAT_ENABLE_SIMD
00034 # include "SIMDAlignment.h"
00035 # include "SIMDContainer.h"
00036 # include "SIMDExpression.h"
00037
00038 namespace exmat {
00039 namespace SIMD {
00040
00041 extern void AutoDetect();
00042
00043 #if EXMAT_ENABLE_SSE
00044 extern void EnableSSE(bool b);
00045 extern bool IsSSEEnabled();
00046 #endif // EXMAT_ENABLE_SSE
00047
00048 #if EXMAT_ENABLE_SSE2
00049 extern void EnableSSE2(bool b);
00050 extern bool IsSSE2Enabled();
00051 #endif // EXMAT_ENABLE_SSE2
00052
00053 };
00054 }
00055
00056 #endif // EXMAT_ENABLE_SIMD
00057
00058
00059 #endif // _EXMAT_SIMD_SIMD_H