sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
xmmintrin.h File Reference
#include <mmintrin.h>

Go to the source code of this file.

Macros

#define __DEFAULT_FN_ATTRS   __attribute__((__always_inline__, __nodebug__, __target__("sse")))
 
#define _mm_load_ps1(p)   _mm_load1_ps(p)
 
#define _MM_HINT_T0   3
 
#define _MM_HINT_T1   2
 
#define _MM_HINT_T2   1
 
#define _MM_HINT_NTA   0
 
#define _mm_prefetch(a, sel)   (__builtin_prefetch((void *)(a), 0, (sel)))
 
#define _mm_shuffle_pi16(a, n)
 
#define _mm_shuffle_ps(a, b, mask)
 
#define _MM_SHUFFLE(z, y, x, w)   (((z) << 6) | ((y) << 4) | ((x) << 2) | (w))
 
#define _MM_EXCEPT_INVALID   (0x0001)
 
#define _MM_EXCEPT_DENORM   (0x0002)
 
#define _MM_EXCEPT_DIV_ZERO   (0x0004)
 
#define _MM_EXCEPT_OVERFLOW   (0x0008)
 
#define _MM_EXCEPT_UNDERFLOW   (0x0010)
 
#define _MM_EXCEPT_INEXACT   (0x0020)
 
#define _MM_EXCEPT_MASK   (0x003f)
 
#define _MM_MASK_INVALID   (0x0080)
 
#define _MM_MASK_DENORM   (0x0100)
 
#define _MM_MASK_DIV_ZERO   (0x0200)
 
#define _MM_MASK_OVERFLOW   (0x0400)
 
#define _MM_MASK_UNDERFLOW   (0x0800)
 
#define _MM_MASK_INEXACT   (0x1000)
 
#define _MM_MASK_MASK   (0x1f80)
 
#define _MM_ROUND_NEAREST   (0x0000)
 
#define _MM_ROUND_DOWN   (0x2000)
 
#define _MM_ROUND_UP   (0x4000)
 
#define _MM_ROUND_TOWARD_ZERO   (0x6000)
 
#define _MM_ROUND_MASK   (0x6000)
 
#define _MM_FLUSH_ZERO_MASK   (0x8000)
 
#define _MM_FLUSH_ZERO_ON   (0x8000)
 
#define _MM_FLUSH_ZERO_OFF   (0x0000)
 
#define _MM_GET_EXCEPTION_MASK()   (_mm_getcsr() & _MM_MASK_MASK)
 
#define _MM_GET_EXCEPTION_STATE()   (_mm_getcsr() & _MM_EXCEPT_MASK)
 
#define _MM_GET_FLUSH_ZERO_MODE()   (_mm_getcsr() & _MM_FLUSH_ZERO_MASK)
 
#define _MM_GET_ROUNDING_MODE()   (_mm_getcsr() & _MM_ROUND_MASK)
 
#define _MM_SET_EXCEPTION_MASK(x)   (_mm_setcsr((_mm_getcsr() & ~_MM_MASK_MASK) | (x)))
 
#define _MM_SET_EXCEPTION_STATE(x)   (_mm_setcsr((_mm_getcsr() & ~_MM_EXCEPT_MASK) | (x)))
 
#define _MM_SET_FLUSH_ZERO_MODE(x)   (_mm_setcsr((_mm_getcsr() & ~_MM_FLUSH_ZERO_MASK) | (x)))
 
#define _MM_SET_ROUNDING_MODE(x)   (_mm_setcsr((_mm_getcsr() & ~_MM_ROUND_MASK) | (x)))
 
#define _MM_TRANSPOSE4_PS(row0, row1, row2, row3)
 
#define _m_pextrw   _mm_extract_pi16
 
#define _m_pinsrw   _mm_insert_pi16
 
#define _m_pmaxsw   _mm_max_pi16
 
#define _m_pmaxub   _mm_max_pu8
 
#define _m_pminsw   _mm_min_pi16
 
#define _m_pminub   _mm_min_pu8
 
#define _m_pmovmskb   _mm_movemask_pi8
 
#define _m_pmulhuw   _mm_mulhi_pu16
 
#define _m_pshufw   _mm_shuffle_pi16
 
#define _m_maskmovq   _mm_maskmove_si64
 
#define _m_pavgb   _mm_avg_pu8
 
#define _m_pavgw   _mm_avg_pu16
 
#define _m_psadbw   _mm_sad_pu8
 
#define _m_   _mm_
 
#define _m_   _mm_
 

Typedefs

typedef int __v4si __attribute__ ((__vector_size__(16)))
 

Macro Definition Documentation

#define __DEFAULT_FN_ATTRS   __attribute__((__always_inline__, __nodebug__, __target__("sse")))
#define _m_   _mm_
#define _m_   _mm_
#define _m_maskmovq   _mm_maskmove_si64
#define _m_pavgb   _mm_avg_pu8
#define _m_pavgw   _mm_avg_pu16
#define _m_pextrw   _mm_extract_pi16
#define _m_pinsrw   _mm_insert_pi16
#define _m_pmaxsw   _mm_max_pi16
#define _m_pmaxub   _mm_max_pu8
#define _m_pminsw   _mm_min_pi16
#define _m_pminub   _mm_min_pu8
#define _m_pmovmskb   _mm_movemask_pi8
#define _m_pmulhuw   _mm_mulhi_pu16
#define _m_psadbw   _mm_sad_pu8
#define _m_pshufw   _mm_shuffle_pi16
#define _MM_EXCEPT_DENORM   (0x0002)
#define _MM_EXCEPT_DIV_ZERO   (0x0004)
#define _MM_EXCEPT_INEXACT   (0x0020)
#define _MM_EXCEPT_INVALID   (0x0001)
#define _MM_EXCEPT_MASK   (0x003f)
#define _MM_EXCEPT_OVERFLOW   (0x0008)
#define _MM_EXCEPT_UNDERFLOW   (0x0010)
#define _MM_FLUSH_ZERO_MASK   (0x8000)
#define _MM_FLUSH_ZERO_OFF   (0x0000)
#define _MM_FLUSH_ZERO_ON   (0x8000)
#define _MM_GET_EXCEPTION_MASK ( )    (_mm_getcsr() & _MM_MASK_MASK)
#define _MM_GET_EXCEPTION_STATE ( )    (_mm_getcsr() & _MM_EXCEPT_MASK)
#define _MM_GET_FLUSH_ZERO_MODE ( )    (_mm_getcsr() & _MM_FLUSH_ZERO_MASK)
#define _MM_GET_ROUNDING_MODE ( )    (_mm_getcsr() & _MM_ROUND_MASK)
#define _MM_HINT_NTA   0
#define _MM_HINT_T0   3
#define _MM_HINT_T1   2
#define _MM_HINT_T2   1
#define _mm_load_ps1 (   p)    _mm_load1_ps(p)
#define _MM_MASK_DENORM   (0x0100)
#define _MM_MASK_DIV_ZERO   (0x0200)
#define _MM_MASK_INEXACT   (0x1000)
#define _MM_MASK_INVALID   (0x0080)
#define _MM_MASK_MASK   (0x1f80)
#define _MM_MASK_OVERFLOW   (0x0400)
#define _MM_MASK_UNDERFLOW   (0x0800)
#define _mm_prefetch (   a,
  sel 
)    (__builtin_prefetch((void *)(a), 0, (sel)))
#define _MM_ROUND_DOWN   (0x2000)
#define _MM_ROUND_MASK   (0x6000)
#define _MM_ROUND_NEAREST   (0x0000)
#define _MM_ROUND_TOWARD_ZERO   (0x6000)
#define _MM_ROUND_UP   (0x4000)
#define _MM_SET_EXCEPTION_MASK (   x)    (_mm_setcsr((_mm_getcsr() & ~_MM_MASK_MASK) | (x)))
#define _MM_SET_EXCEPTION_STATE (   x)    (_mm_setcsr((_mm_getcsr() & ~_MM_EXCEPT_MASK) | (x)))
#define _MM_SET_FLUSH_ZERO_MODE (   x)    (_mm_setcsr((_mm_getcsr() & ~_MM_FLUSH_ZERO_MASK) | (x)))
#define _MM_SET_ROUNDING_MODE (   x)    (_mm_setcsr((_mm_getcsr() & ~_MM_ROUND_MASK) | (x)))
#define _MM_SHUFFLE (   z,
  y,
  x,
 
)    (((z) << 6) | ((y) << 4) | ((x) << 2) | (w))
#define _mm_shuffle_pi16 (   a,
  n 
)
Value:
__extension__ ({ \
(__m64)__builtin_ia32_pshufw((__v4hi)(__m64)(a), (n)); })
float n
Definition: OWGeneric_SensorStation.ino:147
#define _mm_shuffle_ps (   a,
  b,
  mask 
)
Value:
__extension__ ({ \
(__m128)__builtin_shufflevector((__v4sf)(__m128)(a), (__v4sf)(__m128)(b), \
(mask) & 0x3, ((mask) & 0xc) >> 2, \
(((mask) & 0x30) >> 4) + 4, \
(((mask) & 0xc0) >> 6) + 4); })
int32_t int16_t b
Definition: IMU.cpp:172
#define _MM_TRANSPOSE4_PS (   row0,
  row1,
  row2,
  row3 
)
Value:
do { \
__m128 tmp3, tmp2, tmp1, tmp0; \
tmp0 = _mm_unpacklo_ps((row0), (row1)); \
tmp2 = _mm_unpacklo_ps((row2), (row3)); \
tmp1 = _mm_unpackhi_ps((row0), (row1)); \
tmp3 = _mm_unpackhi_ps((row2), (row3)); \
(row0) = _mm_movelh_ps(tmp0, tmp2); \
(row1) = _mm_movehl_ps(tmp2, tmp0); \
(row2) = _mm_movelh_ps(tmp1, tmp3); \
(row3) = _mm_movehl_ps(tmp3, tmp1); \
} while (0)

Typedef Documentation

typedef float __m128 __attribute__((__vector_size__(16)))