Go to the documentation of this file.
22 #ifndef _BLAZE_SYSTEM_SSE_H_
23 #define _BLAZE_SYSTEM_SSE_H_
41 #if defined(__SSE__) || ( _M_IX86_FP > 0 )
42 # define BLAZE_SSE_MODE 1
44 # define BLAZE_SSE_MODE 0
58 #if defined(__SSE2__) || ( _M_IX86_FP > 1 )
59 # define BLAZE_SSE2_MODE 1
61 # define BLAZE_SSE2_MODE 0
76 # define BLAZE_SSE3_MODE 1
78 # define BLAZE_SSE3_MODE 0
92 #if defined(__SSSE3__)
93 # define BLAZE_SSSE3_MODE 1
95 # define BLAZE_SSSE3_MODE 0
109 #if defined(__SSE4_2__) || defined(__SSE4_1__)
110 # define BLAZE_SSE4_MODE 1
112 # define BLAZE_SSE4_MODE 0
127 # define BLAZE_AVX_MODE 1
129 # define BLAZE_AVX_MODE 0
144 # define BLAZE_MIC_MODE 1
146 # define BLAZE_MIC_MODE 0
159 #if BLAZE_MIC_MODE || BLAZE_AVX_MODE
160 # include <immintrin.h>
161 #elif BLAZE_SSE4_MODE
162 # include <smmintrin.h>
163 #elif BLAZE_SSSE3_MODE
164 # include <tmmintrin.h>
165 #elif BLAZE_SSE3_MODE
166 # include <pmmintrin.h>
167 #elif BLAZE_SSE2_MODE
168 # include <emmintrin.h>
170 # include <xmmintrin.h>