Use SSE2 intrinsics on x86

This commit is contained in:
Robert Beckebans 2015-06-24 11:27:54 +02:00
parent 9d4c468f08
commit 4fa4537978

View file

@ -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 <emmintrin.h>
#endif