SSE4.2
[Native]


Native SSE4.2 Operations

SSP_FORCEINLINE int ssp_cmpestra_SSE4_2 (__m128i a, int la, __m128i b, int lb, const int mode)
SSP_FORCEINLINE int ssp_cmpestrc_SSE4_2 (__m128i a, int la, __m128i b, int lb, const int mode)
SSP_FORCEINLINE int ssp_cmpestri_SSE4_2 (__m128i a, int la, __m128i b, int lb, const int mode)
SSP_FORCEINLINE __m128i ssp_cmpestrm_SSE4_2 (__m128i a, int la, __m128i b, int lb, const int mode)
SSP_FORCEINLINE int ssp_cmpestro_SSE4_2 (__m128i a, int la, __m128i b, int lb, const int mode)
SSP_FORCEINLINE int ssp_cmpestrs_SSE4_2 (__m128i a, int la, __m128i b, int lb, const int mode)
SSP_FORCEINLINE int ssp_cmpestrz_SSE4_2 (__m128i a, int la, __m128i b, int lb, const int mode)
SSP_FORCEINLINE __m128i ssp_cmpgt_epi64_SSE4_2 (__m128i a, __m128i b)
SSP_FORCEINLINE int ssp_cmpistra_SSE4_2 (__m128i a, __m128i b, const int mode)
SSP_FORCEINLINE int ssp_cmpistrc_SSE4_2 (__m128i a, __m128i b, const int mode)
SSP_FORCEINLINE int ssp_cmpistri_SSE4_2 (__m128i a, __m128i b, const int mode)
SSP_FORCEINLINE __m128i ssp_cmpistrm_SSE4_2 (__m128i a, __m128i b, const int mode)
SSP_FORCEINLINE int ssp_cmpistro_SSE4_2 (__m128i a, __m128i b, const int mode)
SSP_FORCEINLINE int ssp_cmpistrs_SSE4_2 (__m128i a, __m128i b, const int mode)
SSP_FORCEINLINE int ssp_cmpistrz_SSE4_2 (__m128i a, __m128i b, const int mode)
SSP_FORCEINLINE unsigned int ssp_crc32_u16_SSE4_2 (unsigned int crc, unsigned short v)
SSP_FORCEINLINE unsigned int ssp_crc32_u32_SSE4_2 (unsigned int crc, unsigned int v)
SSP_FORCEINLINE unsigned int ssp_crc32_u8_SSE4_2 (unsigned int crc, unsigned char v)
SSP_FORCEINLINE int ssp_popcnt_u32_SSE4_2 (unsigned int a)

Function Documentation

SSP_FORCEINLINE int ssp_cmpestra_SSE4_2 ( __m128i  a,
int  la,
__m128i  b,
int  lb,
const int  mode 
)

Native implementation of _mm_cmpestra [SSE4.2]. (Searches MSDN)

Definition at line 17 of file SSEPlus_native_SSE4.2.h.

00018 {
00019     switch( mode & 0xFF )
00020     {
00021         CASE_256( _mm_cmpestra, a, la, b, lb );
00022     }
00023 }

SSP_FORCEINLINE int ssp_cmpestrc_SSE4_2 ( __m128i  a,
int  la,
__m128i  b,
int  lb,
const int  mode 
)

Native implementation of _mm_cmpestrc [SSE4.2]. (Searches MSDN)

Definition at line 25 of file SSEPlus_native_SSE4.2.h.

00026 {
00027     switch( mode & 0xFF )
00028     {
00029         CASE_256( _mm_cmpestrc, a, la, b, lb );
00030     }
00031 }

SSP_FORCEINLINE int ssp_cmpestri_SSE4_2 ( __m128i  a,
int  la,
__m128i  b,
int  lb,
const int  mode 
)

Native implementation of _mm_cmpestri [SSE4.2]. (Searches MSDN)

Definition at line 33 of file SSEPlus_native_SSE4.2.h.

00034 {
00035     switch( mode & 0xFF )
00036     {
00037         CASE_256( _mm_cmpestri, a, la, b, lb );
00038     }
00039 }

SSP_FORCEINLINE __m128i ssp_cmpestrm_SSE4_2 ( __m128i  a,
int  la,
__m128i  b,
int  lb,
const int  mode 
)

Definition at line 40 of file SSEPlus_native_SSE4.2.h.

00041 {
00042     switch( mode & 0xFF )
00043     {
00044         CASE_256( _mm_cmpestrm, a, la, b, lb );
00045     }
00046 }

SSP_FORCEINLINE int ssp_cmpestro_SSE4_2 ( __m128i  a,
int  la,
__m128i  b,
int  lb,
const int  mode 
)

Native implementation of _mm_cmpestro [SSE4.2]. (Searches MSDN)

Definition at line 48 of file SSEPlus_native_SSE4.2.h.

00049 {
00050     switch( mode & 0xFF )
00051     {
00052         CASE_256( _mm_cmpestro, a, la, b, lb );
00053     }
00054 }

SSP_FORCEINLINE int ssp_cmpestrs_SSE4_2 ( __m128i  a,
int  la,
__m128i  b,
int  lb,
const int  mode 
)

Native implementation of _mm_cmpestrs [SSE4.2]. (Searches MSDN)

Definition at line 56 of file SSEPlus_native_SSE4.2.h.

00057 {
00058     switch( mode & 0xFF)
00059     {
00060         CASE_256( _mm_cmpestrs, a, la, b, lb );
00061     }
00062 }

SSP_FORCEINLINE int ssp_cmpestrz_SSE4_2 ( __m128i  a,
int  la,
__m128i  b,
int  lb,
const int  mode 
)

Native implementation of _mm_cmpestrz [SSE4.2]. (Searches MSDN)

Definition at line 64 of file SSEPlus_native_SSE4.2.h.

00065 {
00066     switch( mode & 0xFF)
00067     {
00068         CASE_256( _mm_cmpestrz, a, la, b, lb );
00069     }
00070 }

SSP_FORCEINLINE __m128i ssp_cmpgt_epi64_SSE4_2 ( __m128i  a,
__m128i  b 
)

Definition at line 71 of file SSEPlus_native_SSE4.2.h.

00072 {
00073     return _mm_cmpgt_epi64 ( a, b );
00074 }

SSP_FORCEINLINE int ssp_cmpistra_SSE4_2 ( __m128i  a,
__m128i  b,
const int  mode 
)

Native implementation of _mm_cmpistra [SSE4.2]. (Searches MSDN)

Definition at line 76 of file SSEPlus_native_SSE4.2.h.

00077 {
00078     switch( mode & 0xFF)
00079     {
00080         CASE_256( _mm_cmpistra, a, b );
00081     }
00082 }

SSP_FORCEINLINE int ssp_cmpistrc_SSE4_2 ( __m128i  a,
__m128i  b,
const int  mode 
)

Native implementation of _mm_cmpistrc [SSE4.2]. (Searches MSDN)

Definition at line 84 of file SSEPlus_native_SSE4.2.h.

00085 {
00086     switch( mode & 0xFF)
00087     {
00088         CASE_256( _mm_cmpistrc, a, b );
00089     }
00090 }

SSP_FORCEINLINE int ssp_cmpistri_SSE4_2 ( __m128i  a,
__m128i  b,
const int  mode 
)

Native implementation of _mm_cmpistri [SSE4.2]. (Searches MSDN)

Definition at line 92 of file SSEPlus_native_SSE4.2.h.

00093 {
00094     switch( mode & 0xFF)
00095     {
00096         CASE_256( _mm_cmpistri, a, b );
00097     }
00098 }

SSP_FORCEINLINE __m128i ssp_cmpistrm_SSE4_2 ( __m128i  a,
__m128i  b,
const int  mode 
)

Definition at line 99 of file SSEPlus_native_SSE4.2.h.

00100 {
00101     switch( mode & 0xFF)
00102     {
00103         CASE_256( _mm_cmpistrm  , a, b );
00104     }
00105 }

SSP_FORCEINLINE int ssp_cmpistro_SSE4_2 ( __m128i  a,
__m128i  b,
const int  mode 
)

Native implementation of _mm_cmpistro [SSE4.2]. (Searches MSDN)

Definition at line 107 of file SSEPlus_native_SSE4.2.h.

00108 {
00109     switch( mode & 0xFF)
00110     {
00111         CASE_256( _mm_cmpistro, a, b );
00112     }
00113 }

SSP_FORCEINLINE int ssp_cmpistrs_SSE4_2 ( __m128i  a,
__m128i  b,
const int  mode 
)

Native implementation of _mm_cmpistrs [SSE4.2]. (Searches MSDN)

Definition at line 115 of file SSEPlus_native_SSE4.2.h.

00116 {
00117     switch( mode & 0xFF)
00118     {
00119         CASE_256( _mm_cmpistrs, a, b );
00120     }
00121 }

SSP_FORCEINLINE int ssp_cmpistrz_SSE4_2 ( __m128i  a,
__m128i  b,
const int  mode 
)

Native implementation of _mm_cmpistrz [SSE4.2]. (Searches MSDN)

Definition at line 123 of file SSEPlus_native_SSE4.2.h.

00124 {
00125     switch( mode & 0xFF)
00126     {
00127         CASE_256( _mm_cmpistrz, a, b );
00128     }
00129 }

SSP_FORCEINLINE unsigned int ssp_crc32_u16_SSE4_2 ( unsigned int  crc,
unsigned short  v 
)

Native implementation of _mm_crc32_u16 [SSE4.2]. (Searches MSDN)

Definition at line 132 of file SSEPlus_native_SSE4.2.h.

00133 {
00134     return _mm_crc32_u16( crc, v );
00135 }

SSP_FORCEINLINE unsigned int ssp_crc32_u32_SSE4_2 ( unsigned int  crc,
unsigned int  v 
)

Native implementation of _mm_crc32_u32 [SSE4.2]. (Searches MSDN)

Definition at line 138 of file SSEPlus_native_SSE4.2.h.

00139 {
00140     return _mm_crc32_u32( crc, v );
00141 }

SSP_FORCEINLINE unsigned int ssp_crc32_u8_SSE4_2 ( unsigned int  crc,
unsigned char  v 
)

Native implementation of _mm_crc32_u8 [SSE4.2]. (Searches MSDN)

Definition at line 151 of file SSEPlus_native_SSE4.2.h.

00151            {Native,_mm_crc32_u8} */ 
00152 SSP_FORCEINLINE unsigned int ssp_crc32_u8_SSE4_2 ( unsigned int crc, unsigned char    v )
00153 {
00154     return _mm_crc32_u8( crc, v );

SSP_FORCEINLINE int ssp_popcnt_u32_SSE4_2 ( unsigned int  a  ) 

Native implementation of _mm_popcnt_u32 [SSE4.2]. (Searches MSDN)

Definition at line 156 of file SSEPlus_native_SSE4.2.h.

00156            {Native,_mm_popcnt_u32} */ 
00157 SSP_FORCEINLINE int ssp_popcnt_u32_SSE4_2 ( unsigned int a     )
00158 {
00159     return _mm_popcnt_u32( a );


Generated on Wed May 21 13:44:12 2008 for "SSEPlus" by  doxygen 1.5.4