diff options
-rw-r--r-- | openEMS/FDTD/engine_multithread.cpp | 3 | ||||
-rw-r--r-- | openEMS/FDTD/engine_sse.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/openEMS/FDTD/engine_multithread.cpp b/openEMS/FDTD/engine_multithread.cpp index 7370198..7ebe0d7 100644 --- a/openEMS/FDTD/engine_multithread.cpp +++ b/openEMS/FDTD/engine_multithread.cpp @@ -32,7 +32,10 @@ #include "boost/date_time/posix_time/posix_time.hpp" #include "boost/date_time/gregorian/gregorian.hpp" #include <iomanip> + +#ifndef SSE_CORRECT_DENORMALS #include <xmmintrin.h> +#endif //! \brief construct an Engine_Multithread instance //! it's the responsibility of the caller to free the returned pointer diff --git a/openEMS/FDTD/engine_sse.cpp b/openEMS/FDTD/engine_sse.cpp index 660e6d6..2e06685 100644 --- a/openEMS/FDTD/engine_sse.cpp +++ b/openEMS/FDTD/engine_sse.cpp @@ -15,7 +15,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef SSE_CORRECT_DENORMALS #include <xmmintrin.h> +#endif + #include "engine_sse.h" //! \brief construct an Engine_sse instance |