sketchbook
|
#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))) |
#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_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_pi16 | ( | a, | |
n | |||
) |
#define _mm_shuffle_ps | ( | a, | |
b, | |||
mask | |||
) |
#define _MM_TRANSPOSE4_PS | ( | row0, | |
row1, | |||
row2, | |||
row3 | |||
) |
typedef float __m128 __attribute__((__vector_size__(16))) |