From 4fa4537978ac646f3de8562e9d38019f96d91ec3 Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Wed, 24 Jun 2015 11:27:54 +0200 Subject: [PATCH] Use SSE2 intrinsics on x86 --- neo/idlib/sys/sys_intrinsics.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neo/idlib/sys/sys_intrinsics.h b/neo/idlib/sys/sys_intrinsics.h index eab03980..975b1314 100644 --- a/neo/idlib/sys/sys_intrinsics.h +++ b/neo/idlib/sys/sys_intrinsics.h @@ -29,6 +29,12 @@ If you have questions concerning this license or the applicable additional terms #ifndef __SYS_INTRIINSICS_H__ #define __SYS_INTRIINSICS_H__ +#if !defined(USE_INTRINSICS) +#if defined(WIN32) || defined(__i386__) || defined(__x86_64__) +#define USE_INTRINSICS +#endif +#endif + #if defined(USE_INTRINSICS) #include #endif