Commit 633373c7 authored by steinbac's avatar steinbac

fixed typo in preprocessor names

parent 9f2e29c5
#ifndef COMPASS_CT_PREPROCESSOR_IMPL_H_
#define COMPASS_CT_PREPROCESSOR_IMPL_H_
#ifndef WIN32
#if defined __SSE2__ && defined __SSE2_MATH__
#define COMPASS_HAS_SSE2
#endif
#else
#if _M_IX86_FP >= 2
#define COMPASS_HAS_SSE2
#endif
#endif
#ifndef WIN32
#if defined __SSE3__ && defined __SSSE3__
#define COMPASS_HAS_SSE3
#endif
#if defined __SSE4_2__ && defined __SSE4_1__
#define COMPASS_HAS_SSE4
#endif
#if defined(__SSE2__) || defined(__SSE2_MATH__) // && __SSE2__ != 0 && __SSE2_MATH__ != 0
#define COMPASS_CT_HAS_SSE2 1
#endif
#if defined(__SSE3__) && defined(__SSSE3__)
#define COMPASS_CT_HAS_SSE3 1
#endif
#if defined(__SSE4_2__) && defined(__SSE4_1__)
#define COMPASS_CT_HAS_SSE4 1
#endif
#else
//TODO: try to warn users on Windows that we are enabling SSE3 + SSE4 upon assumption here
#define COMPASS_HAS_SSE3
#define COMPASS_HAS_SSE4
#if _M_IX86_FP >= 2
#define COMPASS_CT_HAS_SSE2 1
#define COMPASS_CT_HAS_SSE3 1
#define COMPASS_CT_HAS_SSE4 1
#endif
#endif
#include "detail/tags.hpp"
namespace compass {
......
......@@ -24,6 +24,4 @@ namespace compass {
};
//#include "ct/preprocessor_impl.hpp"
#endif /* DEFINITIONS_H */
......@@ -8,6 +8,7 @@
#include "detail/definitions.hpp"
#ifdef COMPASS_CT_ARCH_X86
#include "ct/preprocessor_impl.hpp"
#include "rt/x86_impl.hpp"
#include "rt/x86_sizes.hpp"
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment