Changeset 335


Ignore:
Timestamp:
Nov 16, 2009, 5:13:02 PM (10 years ago)
Author:
ksherdy
Message:

Include SSE version conditionally.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/sse_simd_t.h

    r334 r335  
    99
    1010#include <stdio.h>
     11
     12/*
     13  Replace the following SSE version specific include directives with the x86intrin.h meta intrinsic header. This header is available with GCC 4.4.X
     14*/
     15#ifdef __MMX__
     16#include <mmintrin.h>
     17#endif
     18
     19#ifdef __SSE__
     20#include <xmmintrin.h>
     21#endif
     22
     23#ifdef __SSE2__
     24#include <emmintrin.h>
     25#endif
     26
     27#ifdef __SSE3__
     28#include <pmmintrin.h>
     29#endif
     30
     31#ifdef __SSSE3__
     32#include <tmmintrin.h>
     33#endif
     34
     35#ifdef __SSE4a__
     36#include <ammintrin.h>
     37#endif
     38
     39#if defined (__SSE4_2__) || defined (__SSE4_1__)
     40#include <smmintrin.h>
     41#endif
    1142
    1243/*------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.