File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 88#if defined(__x86_64__ ) || defined(__i386__ ) || defined(_M_IX86 ) || defined(_M_X64 )
99#define HAVE_SIMD_X86 1
1010
11- // SSE4.2 support (Intel Core i7+, AMD Bulldozer+)
12- // Enabled automatically when compiler has -msse4.2 flag
13- #if defined(__SSE4_2__ )
14- #define HAVE_SIMD_SSE4_2 1
15- #include <nmmintrin.h>
16- #endif
17-
18- // SSE2 support (fallback for older x86_64 CPUs - all x86_64 CPUs support SSE2)
19- #if defined(__SSE2__ ) && !defined(HAVE_SIMD_SSE4_2 )
20- #define HAVE_SIMD_SSE2 1
21- #include <emmintrin.h>
22- #endif
11+ // SSE4.2 support (Intel Core i7+, AMD Bulldozer+)
12+ // Enabled automatically when compiler has -msse4.2 flag
13+ #if defined(__SSE4_2__ )
14+ #define HAVE_SIMD_SSE4_2 1
15+ #include <nmmintrin.h>
16+ #endif
17+
18+ // SSE2 support (fallback for older x86_64 CPUs - all x86_64 CPUs support SSE2)
19+ #if defined(__SSE2__ ) && !defined(HAVE_SIMD_SSE4_2 )
20+ #define HAVE_SIMD_SSE2 1
21+ #include <emmintrin.h>
22+ #endif
2323
2424#endif // x86/x86_64
2525
4444#define SIMD_TYPE "none"
4545#endif
4646
47- #endif /* OJ_SIMD_H */
47+ #endif /* OJ_SIMD_H */
You can’t perform that action at this time.
0 commit comments