clang 20.0.0git
|
#include <mmintrin.h>
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS |
#define | __DEFAULT_FN_ATTRS_SSE2 |
#define | __trunc64(x) (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) |
#define | __zext128(x) |
#define | __anyext128(x) |
#define | __zeroupper64(x) |
#define | _mm_load_ps1(p) _mm_load1_ps(p) |
#define | _MM_HINT_ET0 7 |
#define | _MM_HINT_ET1 6 |
#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) |
Loads one cache line of data from the specified address to a location closer to the processor. | |
#define | _mm_extract_pi16(a, n) ((int)(unsigned short)__builtin_ia32_vec_ext_v4hi((__v4hi)a, (int)n)) |
Extracts 16-bit element from a 64-bit vector of [4 x i16] and returns it, as specified by the immediate integer operand. | |
#define | _mm_insert_pi16(a, d, n) ((__m64)__builtin_ia32_vec_set_v4hi((__v4hi)a, (int)d, (int)n)) |
Copies data from the 64-bit vector of [4 x i16] to the destination, and inserts the lower 16-bits of an integer operand at the 16-bit offset specified by the immediate operand n. | |
#define | _mm_shuffle_pi16(a, n) |
Shuffles the 4 16-bit integers from a 64-bit integer vector to the destination, as specified by the immediate value operand. | |
#define | _mm_shuffle_ps(a, b, mask) |
Selects 4 float values from the 128-bit operands of [4 x float], as specified by the immediate value operand. | |
#define | _CMP_EQ_OQ 0x00 /* Equal (ordered, non-signaling) */ |
#define | _CMP_LT_OS 0x01 /* Less-than (ordered, signaling) */ |
#define | _CMP_LE_OS 0x02 /* Less-than-or-equal (ordered, signaling) */ |
#define | _CMP_UNORD_Q 0x03 /* Unordered (non-signaling) */ |
#define | _CMP_NEQ_UQ 0x04 /* Not-equal (unordered, non-signaling) */ |
#define | _CMP_NLT_US 0x05 /* Not-less-than (unordered, signaling) */ |
#define | _CMP_NLE_US 0x06 /* Not-less-than-or-equal (unordered, signaling) */ |
#define | _CMP_ORD_Q 0x07 /* Ordered (non-signaling) */ |
#define | _mm_cmp_ps(a, b, c) ((__m128)__builtin_ia32_cmpps((__v4sf)(__m128)(a), (__v4sf)(__m128)(b), (c))) |
Compares each of the corresponding values of two 128-bit vectors of [4 x float], using the operation specified by the immediate integer operand. | |
#define | _mm_cmp_ss(a, b, c) ((__m128)__builtin_ia32_cmpss((__v4sf)(__m128)(a), (__v4sf)(__m128)(b), (c))) |
Compares each of the corresponding scalar values of two 128-bit vectors of [4 x float], using the operation specified by the immediate integer operand. | |
#define | _MM_ALIGN16 __attribute__((aligned(16))) |
#define | _MM_SHUFFLE(z, y, x, w) (((z) << 6) | ((y) << 4) | ((x) << 2) | (w)) |
#define | _MM_EXCEPT_INVALID (0x0001U) |
#define | _MM_EXCEPT_DENORM (0x0002U) |
#define | _MM_EXCEPT_DIV_ZERO (0x0004U) |
#define | _MM_EXCEPT_OVERFLOW (0x0008U) |
#define | _MM_EXCEPT_UNDERFLOW (0x0010U) |
#define | _MM_EXCEPT_INEXACT (0x0020U) |
#define | _MM_EXCEPT_MASK (0x003fU) |
#define | _MM_MASK_INVALID (0x0080U) |
#define | _MM_MASK_DENORM (0x0100U) |
#define | _MM_MASK_DIV_ZERO (0x0200U) |
#define | _MM_MASK_OVERFLOW (0x0400U) |
#define | _MM_MASK_UNDERFLOW (0x0800U) |
#define | _MM_MASK_INEXACT (0x1000U) |
#define | _MM_MASK_MASK (0x1f80U) |
#define | _MM_ROUND_NEAREST (0x0000U) |
#define | _MM_ROUND_DOWN (0x2000U) |
#define | _MM_ROUND_UP (0x4000U) |
#define | _MM_ROUND_TOWARD_ZERO (0x6000U) |
#define | _MM_ROUND_MASK (0x6000U) |
#define | _MM_FLUSH_ZERO_MASK (0x8000U) |
#define | _MM_FLUSH_ZERO_ON (0x8000U) |
#define | _MM_FLUSH_ZERO_OFF (0x0000U) |
#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_ |
Typedefs | |
typedef int __v4si | __attribute__((__vector_size__(16))) |
Functions | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_add_ss (__m128 __a, __m128 __b) |
Adds the 32-bit float values in the low-order bits of the operands. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_add_ps (__m128 __a, __m128 __b) |
Adds two 128-bit vectors of [4 x float], and returns the results of the addition. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_sub_ss (__m128 __a, __m128 __b) |
Subtracts the 32-bit float value in the low-order bits of the second operand from the corresponding value in the first operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_sub_ps (__m128 __a, __m128 __b) |
Subtracts each of the values of the second operand from the first operand, both of which are 128-bit vectors of [4 x float] and returns the results of the subtraction. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_mul_ss (__m128 __a, __m128 __b) |
Multiplies two 32-bit float values in the low-order bits of the operands. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_mul_ps (__m128 __a, __m128 __b) |
Multiplies two 128-bit vectors of [4 x float] and returns the results of the multiplication. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_div_ss (__m128 __a, __m128 __b) |
Divides the value in the low-order 32 bits of the first operand by the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_div_ps (__m128 __a, __m128 __b) |
Divides two 128-bit vectors of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_sqrt_ss (__m128 __a) |
Calculates the square root of the value stored in the low-order bits of a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_sqrt_ps (__m128 __a) |
Calculates the square roots of the values stored in a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_rcp_ss (__m128 __a) |
Calculates the approximate reciprocal of the value stored in the low-order bits of a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_rcp_ps (__m128 __a) |
Calculates the approximate reciprocals of the values stored in a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_rsqrt_ss (__m128 __a) |
Calculates the approximate reciprocal of the square root of the value stored in the low-order bits of a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_rsqrt_ps (__m128 __a) |
Calculates the approximate reciprocals of the square roots of the values stored in a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_min_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands and returns the lesser value in the low-order bits of the vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_min_ps (__m128 __a, __m128 __b) |
Compares two 128-bit vectors of [4 x float] and returns the lesser of each pair of values. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_max_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands and returns the greater value in the low-order bits of a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_max_ps (__m128 __a, __m128 __b) |
Compares two 128-bit vectors of [4 x float] and returns the greater of each pair of values. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_and_ps (__m128 __a, __m128 __b) |
Performs a bitwise AND of two 128-bit vectors of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_andnot_ps (__m128 __a, __m128 __b) |
Performs a bitwise AND of two 128-bit vectors of [4 x float], using the one's complement of the values contained in the first source operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_or_ps (__m128 __a, __m128 __b) |
Performs a bitwise OR of two 128-bit vectors of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_xor_ps (__m128 __a, __m128 __b) |
Performs a bitwise exclusive OR of two 128-bit vectors of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpeq_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands for equality. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpeq_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] for equality. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmplt_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is less than the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmplt_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are less than those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmple_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is less than or equal to the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmple_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are less than or equal to those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpgt_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is greater than the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpgt_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are greater than those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpge_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is greater than or equal to the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpge_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are greater than or equal to those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpneq_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands for inequality. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpneq_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] for inequality. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpnlt_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is not less than the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpnlt_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are not less than those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpnle_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is not less than or equal to the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpnle_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are not less than or equal to those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpngt_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is not greater than the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpngt_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are not greater than those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpnge_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is not greater than or equal to the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpnge_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are not greater than or equal to those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpord_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is ordered with respect to the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpord_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are ordered with respect to those in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpunord_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is unordered with respect to the corresponding value in the second operand. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cmpunord_ps (__m128 __a, __m128 __b) |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are unordered with respect to those in the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_comieq_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands for equality. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_comilt_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is less than the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_comile_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is less than or equal to the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_comigt_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is greater than the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_comige_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is greater than or equal to the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_comineq_ss (__m128 __a, __m128 __b) |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is not equal to the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_ucomieq_ss (__m128 __a, __m128 __b) |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine equality. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_ucomilt_ss (__m128 __a, __m128 __b) |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine if the first operand is less than the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_ucomile_ss (__m128 __a, __m128 __b) |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine if the first operand is less than or equal to the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_ucomigt_ss (__m128 __a, __m128 __b) |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine if the first operand is greater than the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_ucomige_ss (__m128 __a, __m128 __b) |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine if the first operand is greater than or equal to the second operand. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_ucomineq_ss (__m128 __a, __m128 __b) |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine inequality. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_cvtss_si32 (__m128 __a) |
Converts a float value contained in the lower 32 bits of a vector of [4 x float] into a 32-bit integer. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_cvt_ss2si (__m128 __a) |
Converts a float value contained in the lower 32 bits of a vector of [4 x float] into a 32-bit integer. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtps_pi32 (__m128 __a) |
Converts two low-order float values in a 128-bit vector of [4 x float] into a 64-bit vector of [2 x i32]. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvt_ps2pi (__m128 __a) |
Converts two low-order float values in a 128-bit vector of [4 x float] into a 64-bit vector of [2 x i32]. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_cvttss_si32 (__m128 __a) |
Converts the lower (first) element of a vector of [4 x float] into a signed truncated (rounded toward zero) 32-bit integer. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_cvtt_ss2si (__m128 __a) |
Converts the lower (first) element of a vector of [4 x float] into a signed truncated (rounded toward zero) 32-bit integer. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvttps_pi32 (__m128 __a) |
Converts the lower (first) two elements of a 128-bit vector of [4 x float] into two signed truncated (rounded toward zero) 32-bit integers, returned in a 64-bit vector of [2 x i32]. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtt_ps2pi (__m128 __a) |
Converts the lower (first) two elements of a 128-bit vector of [4 x float] into two signed truncated (rounded toward zero) 64-bit integers, returned in a 64-bit vector of [2 x i32]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cvtsi32_ss (__m128 __a, int __b) |
Converts a 32-bit signed integer value into a floating point value and writes it to the lower 32 bits of the destination. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_cvt_si2ss (__m128 __a, int __b) |
Converts a 32-bit signed integer value into a floating point value and writes it to the lower 32 bits of the destination. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtpi32_ps (__m128 __a, __m64 __b) |
Converts two elements of a 64-bit vector of [2 x i32] into two floating point values and writes them to the lower 64-bits of the destination. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvt_pi2ps (__m128 __a, __m64 __b) |
Converts two elements of a 64-bit vector of [2 x i32] into two floating point values and writes them to the lower 64-bits of the destination. | |
static __inline__ float __DEFAULT_FN_ATTRS | _mm_cvtss_f32 (__m128 __a) |
Extracts a float value contained in the lower 32 bits of a vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_loadh_pi (__m128 __a, const __m64 *__p) |
Loads two packed float values from the address __p into the high-order bits of a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_loadl_pi (__m128 __a, const __m64 *__p) |
Loads two packed float values from the address __p into the low-order bits of a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_load_ss (const float *__p) |
Constructs a 128-bit floating-point vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_load1_ps (const float *__p) |
Loads a 32-bit float value and duplicates it to all four vector elements of a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_load_ps (const float *__p) |
Loads a 128-bit floating-point vector of [4 x float] from an aligned memory location. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_loadu_ps (const float *__p) |
Loads a 128-bit floating-point vector of [4 x float] from an unaligned memory location. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_loadr_ps (const float *__p) |
Loads four packed float values, in reverse order, from an aligned memory location to 32-bit elements in a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_undefined_ps (void) |
Create a 128-bit vector of [4 x float] with undefined values. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_set_ss (float __w) |
Constructs a 128-bit floating-point vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_set1_ps (float __w) |
Constructs a 128-bit floating-point vector of [4 x float], with each of the four single-precision floating-point vector elements set to the specified single-precision floating-point value. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_set_ps1 (float __w) |
Constructs a 128-bit floating-point vector of [4 x float], with each of the four single-precision floating-point vector elements set to the specified single-precision floating-point value. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_set_ps (float __z, float __y, float __x, float __w) |
Constructs a 128-bit floating-point vector of [4 x float] initialized with the specified single-precision floating-point values. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_setr_ps (float __z, float __y, float __x, float __w) |
Constructs a 128-bit floating-point vector of [4 x float], initialized in reverse order with the specified 32-bit single-precision float-point values. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_setzero_ps (void) |
Constructs a 128-bit floating-point vector of [4 x float] initialized to zero. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_storeh_pi (__m64 *__p, __m128 __a) |
Stores the upper 64 bits of a 128-bit vector of [4 x float] to a memory location. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_storel_pi (__m64 *__p, __m128 __a) |
Stores the lower 64 bits of a 128-bit vector of [4 x float] to a memory location. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_store_ss (float *__p, __m128 __a) |
Stores the lower 32 bits of a 128-bit vector of [4 x float] to a memory location. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_storeu_ps (float *__p, __m128 __a) |
Stores a 128-bit vector of [4 x float] to an unaligned memory location. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_store_ps (float *__p, __m128 __a) |
Stores a 128-bit vector of [4 x float] into an aligned memory location. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_store1_ps (float *__p, __m128 __a) |
Stores the lower 32 bits of a 128-bit vector of [4 x float] into four contiguous elements in an aligned memory location. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_store_ps1 (float *__p, __m128 __a) |
Stores the lower 32 bits of a 128-bit vector of [4 x float] into four contiguous elements in an aligned memory location. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_storer_ps (float *__p, __m128 __a) |
Stores float values from a 128-bit vector of [4 x float] to an aligned memory location in reverse order. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_stream_pi (void *__p, __m64 __a) |
Stores a 64-bit integer in the specified aligned memory location. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_stream_ps (void *__p, __m128 __a) |
Moves packed float values from a 128-bit vector of [4 x float] to a 128-bit aligned memory location. | |
void | _mm_sfence (void) |
Forces strong memory ordering (serialization) between store instructions preceding this instruction and store instructions following this instruction, ensuring the system completes all previous stores before executing subsequent stores. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_max_pi16 (__m64 __a, __m64 __b) |
Compares each of the corresponding packed 16-bit integer values of the 64-bit integer vectors, and writes the greater value to the corresponding bits in the destination. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_max_pu8 (__m64 __a, __m64 __b) |
Compares each of the corresponding packed 8-bit unsigned integer values of the 64-bit integer vectors, and writes the greater value to the corresponding bits in the destination. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_min_pi16 (__m64 __a, __m64 __b) |
Compares each of the corresponding packed 16-bit integer values of the 64-bit integer vectors, and writes the lesser value to the corresponding bits in the destination. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_min_pu8 (__m64 __a, __m64 __b) |
Compares each of the corresponding packed 8-bit unsigned integer values of the 64-bit integer vectors, and writes the lesser value to the corresponding bits in the destination. | |
static __inline__ int __DEFAULT_FN_ATTRS_SSE2 | _mm_movemask_pi8 (__m64 __a) |
Takes the most significant bit from each 8-bit element in a 64-bit integer vector to create an 8-bit mask value. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_mulhi_pu16 (__m64 __a, __m64 __b) |
Multiplies packed 16-bit unsigned integer values and writes the high-order 16 bits of each 32-bit product to the corresponding bits in the destination. | |
static __inline__ void __DEFAULT_FN_ATTRS_SSE2 | _mm_maskmove_si64 (__m64 __d, __m64 __n, char *__p) |
Conditionally copies the values from each 8-bit element in the first 64-bit integer vector operand to the specified memory location, as specified by the most significant bit in the corresponding element in the second 64-bit integer vector operand. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_avg_pu8 (__m64 __a, __m64 __b) |
Computes the rounded averages of the packed unsigned 8-bit integer values and writes the averages to the corresponding bits in the destination. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_avg_pu16 (__m64 __a, __m64 __b) |
Computes the rounded averages of the packed unsigned 16-bit integer values and writes the averages to the corresponding bits in the destination. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_sad_pu8 (__m64 __a, __m64 __b) |
Subtracts the corresponding 8-bit unsigned integer values of the two 64-bit vector operands and computes the absolute value for each of the difference. | |
unsigned int | _mm_getcsr (void) |
Returns the contents of the MXCSR register as a 32-bit unsigned integer value. | |
void | _mm_setcsr (unsigned int __i) |
Sets the MXCSR register with the 32-bit unsigned integer value. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_unpackhi_ps (__m128 __a, __m128 __b) |
Unpacks the high-order (index 2,3) values from two 128-bit vectors of [4 x float] and interleaves them into a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_unpacklo_ps (__m128 __a, __m128 __b) |
Unpacks the low-order (index 0,1) values from two 128-bit vectors of [4 x float] and interleaves them into a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_move_ss (__m128 __a, __m128 __b) |
Constructs a 128-bit floating-point vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_movehl_ps (__m128 __a, __m128 __b) |
Constructs a 128-bit floating-point vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_movelh_ps (__m128 __a, __m128 __b) |
Constructs a 128-bit floating-point vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtpi16_ps (__m64 __a) |
Converts a 64-bit vector of [4 x i16] into a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtpu16_ps (__m64 __a) |
Converts a 64-bit vector of 16-bit unsigned integer values into a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtpi8_ps (__m64 __a) |
Converts the lower four 8-bit values from a 64-bit vector of [8 x i8] into a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtpu8_ps (__m64 __a) |
Converts the lower four unsigned 8-bit integer values from a 64-bit vector of [8 x u8] into a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtpi32x2_ps (__m64 __a, __m64 __b) |
Converts the two 32-bit signed integer values from each 64-bit vector operand of [2 x i32] into a 128-bit vector of [4 x float]. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtps_pi16 (__m128 __a) |
Converts each single-precision floating-point element of a 128-bit floating-point vector of [4 x float] into a 16-bit signed integer, and packs the results into a 64-bit integer vector of [4 x i16]. | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2 | _mm_cvtps_pi8 (__m128 __a) |
Converts each single-precision floating-point element of a 128-bit floating-point vector of [4 x float] into an 8-bit signed integer, and packs the results into the lower 32 bits of a 64-bit integer vector of [8 x i8]. | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_movemask_ps (__m128 __a) |
Extracts the sign bits from each single-precision floating-point element of a 128-bit floating-point vector of [4 x float] and returns the sign bits in bits [0:3] of the result. | |
#define __anyext128 | ( | x | ) |
Definition at line 56 of file xmmintrin.h.
#define __DEFAULT_FN_ATTRS |
Definition at line 43 of file xmmintrin.h.
#define __DEFAULT_FN_ATTRS_SSE2 |
Definition at line 46 of file xmmintrin.h.
#define __trunc64 | ( | x | ) | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) |
Definition at line 51 of file xmmintrin.h.
#define __zeroupper64 | ( | x | ) |
Definition at line 59 of file xmmintrin.h.
#define __zext128 | ( | x | ) |
Definition at line 53 of file xmmintrin.h.
#define _CMP_EQ_OQ 0x00 /* Equal (ordered, non-signaling) */ |
Definition at line 3057 of file xmmintrin.h.
#define _CMP_LE_OS 0x02 /* Less-than-or-equal (ordered, signaling) */ |
Definition at line 3059 of file xmmintrin.h.
#define _CMP_LT_OS 0x01 /* Less-than (ordered, signaling) */ |
Definition at line 3058 of file xmmintrin.h.
#define _CMP_NEQ_UQ 0x04 /* Not-equal (unordered, non-signaling) */ |
Definition at line 3061 of file xmmintrin.h.
#define _CMP_NLE_US 0x06 /* Not-less-than-or-equal (unordered, signaling) */ |
Definition at line 3063 of file xmmintrin.h.
#define _CMP_NLT_US 0x05 /* Not-less-than (unordered, signaling) */ |
Definition at line 3062 of file xmmintrin.h.
#define _CMP_ORD_Q 0x07 /* Ordered (non-signaling) */ |
Definition at line 3064 of file xmmintrin.h.
#define _CMP_UNORD_Q 0x03 /* Unordered (non-signaling) */ |
Definition at line 3060 of file xmmintrin.h.
#define _m_ _mm_ |
Definition at line 3203 of file xmmintrin.h.
#define _m_maskmovq _mm_maskmove_si64 |
Definition at line 3199 of file xmmintrin.h.
#define _m_pavgb _mm_avg_pu8 |
Definition at line 3200 of file xmmintrin.h.
#define _m_pavgw _mm_avg_pu16 |
Definition at line 3201 of file xmmintrin.h.
#define _m_pextrw _mm_extract_pi16 |
Definition at line 3190 of file xmmintrin.h.
#define _m_pinsrw _mm_insert_pi16 |
Definition at line 3191 of file xmmintrin.h.
#define _m_pmaxsw _mm_max_pi16 |
Definition at line 3192 of file xmmintrin.h.
#define _m_pmaxub _mm_max_pu8 |
Definition at line 3193 of file xmmintrin.h.
#define _m_pminsw _mm_min_pi16 |
Definition at line 3194 of file xmmintrin.h.
#define _m_pminub _mm_min_pu8 |
Definition at line 3195 of file xmmintrin.h.
#define _m_pmovmskb _mm_movemask_pi8 |
Definition at line 3196 of file xmmintrin.h.
#define _m_pmulhuw _mm_mulhi_pu16 |
Definition at line 3197 of file xmmintrin.h.
#define _m_psadbw _mm_sad_pu8 |
Definition at line 3202 of file xmmintrin.h.
#define _m_pshufw _mm_shuffle_pi16 |
Definition at line 3198 of file xmmintrin.h.
#define _MM_ALIGN16 __attribute__((aligned(16))) |
Definition at line 3136 of file xmmintrin.h.
#define _mm_cmp_ps | ( | a, | |
b, | |||
c | |||
) | ((__m128)__builtin_ia32_cmpps((__v4sf)(__m128)(a), (__v4sf)(__m128)(b), (c))) |
Compares each of the corresponding values of two 128-bit vectors of [4 x float], using the operation specified by the immediate integer operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, comparisons that are ordered return false, and comparisons that are unordered return true.
This intrinsic corresponds to the (V)CMPPS
instruction.
a | A 128-bit vector of [4 x float]. |
b | A 128-bit vector of [4 x float]. |
c | An immediate integer operand, with bits [4:0] specifying which comparison operation to use: 0x00: Equal (ordered, non-signaling) 0x01: Less-than (ordered, signaling) 0x02: Less-than-or-equal (ordered, signaling) 0x03: Unordered (non-signaling) 0x04: Not-equal (unordered, non-signaling) 0x05: Not-less-than (unordered, signaling) 0x06: Not-less-than-or-equal (unordered, signaling) 0x07: Ordered (non-signaling) |
Definition at line 3098 of file xmmintrin.h.
#define _mm_cmp_ss | ( | a, | |
b, | |||
c | |||
) | ((__m128)__builtin_ia32_cmpss((__v4sf)(__m128)(a), (__v4sf)(__m128)(b), (c))) |
Compares each of the corresponding scalar values of two 128-bit vectors of [4 x float], using the operation specified by the immediate integer operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, comparisons that are ordered return false, and comparisons that are unordered return true.
This intrinsic corresponds to the (V)CMPSS
instruction.
a | A 128-bit vector of [4 x float]. |
b | A 128-bit vector of [4 x float]. |
c | An immediate integer operand, with bits [4:0] specifying which comparison operation to use: 0x00: Equal (ordered, non-signaling) 0x01: Less-than (ordered, signaling) 0x02: Less-than-or-equal (ordered, signaling) 0x03: Unordered (non-signaling) 0x04: Not-equal (unordered, non-signaling) 0x05: Not-less-than (unordered, signaling) 0x06: Not-less-than-or-equal (unordered, signaling) 0x07: Ordered (non-signaling) |
Definition at line 3133 of file xmmintrin.h.
#define _MM_EXCEPT_DENORM (0x0002U) |
Definition at line 3141 of file xmmintrin.h.
#define _MM_EXCEPT_DIV_ZERO (0x0004U) |
Definition at line 3142 of file xmmintrin.h.
#define _MM_EXCEPT_INEXACT (0x0020U) |
Definition at line 3145 of file xmmintrin.h.
#define _MM_EXCEPT_INVALID (0x0001U) |
Definition at line 3140 of file xmmintrin.h.
#define _MM_EXCEPT_MASK (0x003fU) |
Definition at line 3146 of file xmmintrin.h.
#define _MM_EXCEPT_OVERFLOW (0x0008U) |
Definition at line 3143 of file xmmintrin.h.
#define _MM_EXCEPT_UNDERFLOW (0x0010U) |
Definition at line 3144 of file xmmintrin.h.
#define _mm_extract_pi16 | ( | a, | |
n | |||
) | ((int)(unsigned short)__builtin_ia32_vec_ext_v4hi((__v4hi)a, (int)n)) |
Extracts 16-bit element from a 64-bit vector of [4 x i16] and returns it, as specified by the immediate integer operand.
This intrinsic corresponds to the VPEXTRW / PEXTRW
instruction.
a | A 64-bit vector of [4 x i16]. |
n | An immediate integer operand that determines which bits are extracted: 0: Bits [15:0] are copied to the destination. 1: Bits [31:16] are copied to the destination. 2: Bits [47:32] are copied to the destination. 3: Bits [63:48] are copied to the destination. |
Definition at line 2322 of file xmmintrin.h.
#define _MM_FLUSH_ZERO_MASK (0x8000U) |
Definition at line 3162 of file xmmintrin.h.
#define _MM_FLUSH_ZERO_OFF (0x0000U) |
Definition at line 3164 of file xmmintrin.h.
#define _MM_FLUSH_ZERO_ON (0x8000U) |
Definition at line 3163 of file xmmintrin.h.
#define _MM_GET_EXCEPTION_MASK | ( | ) | (_mm_getcsr() & _MM_MASK_MASK) |
Definition at line 3166 of file xmmintrin.h.
#define _MM_GET_EXCEPTION_STATE | ( | ) | (_mm_getcsr() & _MM_EXCEPT_MASK) |
Definition at line 3167 of file xmmintrin.h.
#define _MM_GET_FLUSH_ZERO_MODE | ( | ) | (_mm_getcsr() & _MM_FLUSH_ZERO_MASK) |
Definition at line 3168 of file xmmintrin.h.
#define _MM_GET_ROUNDING_MODE | ( | ) | (_mm_getcsr() & _MM_ROUND_MASK) |
Definition at line 3169 of file xmmintrin.h.
#define _MM_HINT_ET0 7 |
Definition at line 2207 of file xmmintrin.h.
#define _MM_HINT_ET1 6 |
Definition at line 2208 of file xmmintrin.h.
#define _MM_HINT_NTA 0 |
Definition at line 2212 of file xmmintrin.h.
#define _MM_HINT_T0 3 |
Definition at line 2209 of file xmmintrin.h.
#define _MM_HINT_T1 2 |
Definition at line 2210 of file xmmintrin.h.
#define _MM_HINT_T2 1 |
Definition at line 2211 of file xmmintrin.h.
Copies data from the 64-bit vector of [4 x i16] to the destination, and inserts the lower 16-bits of an integer operand at the 16-bit offset specified by the immediate operand n.
This intrinsic corresponds to the PINSRW
instruction.
a | A 64-bit vector of [4 x i16]. |
d | An integer. The lower 16-bit value from this operand is written to the destination at the offset specified by operand n. |
n | An immediate integer operant that determines which the bits to be used in the destination. 0: Bits [15:0] are copied to the destination. 1: Bits [31:16] are copied to the destination. 2: Bits [47:32] are copied to the destination. 3: Bits [63:48] are copied to the destination. The remaining bits in the destination are copied from the corresponding bits in operand a. |
Definition at line 2353 of file xmmintrin.h.
#define _mm_load_ps1 | ( | p | ) | _mm_load1_ps(p) |
Definition at line 1848 of file xmmintrin.h.
#define _MM_MASK_DENORM (0x0100U) |
Definition at line 3149 of file xmmintrin.h.
#define _MM_MASK_DIV_ZERO (0x0200U) |
Definition at line 3150 of file xmmintrin.h.
#define _MM_MASK_INEXACT (0x1000U) |
Definition at line 3153 of file xmmintrin.h.
#define _MM_MASK_INVALID (0x0080U) |
Definition at line 3148 of file xmmintrin.h.
#define _MM_MASK_MASK (0x1f80U) |
Definition at line 3154 of file xmmintrin.h.
#define _MM_MASK_OVERFLOW (0x0400U) |
Definition at line 3151 of file xmmintrin.h.
#define _MM_MASK_UNDERFLOW (0x0800U) |
Definition at line 3152 of file xmmintrin.h.
#define _mm_prefetch | ( | a, | |
sel | |||
) |
Loads one cache line of data from the specified address to a location closer to the processor.
This intrinsic corresponds to the PREFETCHNTA
instruction.
a | A pointer to a memory location containing a cache line of data. |
sel | A predefined integer constant specifying the type of prefetch operation: _MM_HINT_NTA: Move data using the non-temporal access (NTA) hint. The PREFETCHNTA instruction will be generated. _MM_HINT_T0: Move data using the T0 hint. The PREFETCHT0 instruction will be generated. _MM_HINT_T1: Move data using the T1 hint. The PREFETCHT1 instruction will be generated. _MM_HINT_T2: Move data using the T2 hint. The PREFETCHT2 instruction will be generated. |
Definition at line 2242 of file xmmintrin.h.
#define _MM_ROUND_DOWN (0x2000U) |
Definition at line 3157 of file xmmintrin.h.
#define _MM_ROUND_MASK (0x6000U) |
Definition at line 3160 of file xmmintrin.h.
#define _MM_ROUND_NEAREST (0x0000U) |
Definition at line 3156 of file xmmintrin.h.
#define _MM_ROUND_TOWARD_ZERO (0x6000U) |
Definition at line 3159 of file xmmintrin.h.
#define _MM_ROUND_UP (0x4000U) |
Definition at line 3158 of file xmmintrin.h.
#define _MM_SET_EXCEPTION_MASK | ( | x | ) | (_mm_setcsr((_mm_getcsr() & ~_MM_MASK_MASK) | (x))) |
Definition at line 3171 of file xmmintrin.h.
#define _MM_SET_EXCEPTION_STATE | ( | x | ) | (_mm_setcsr((_mm_getcsr() & ~_MM_EXCEPT_MASK) | (x))) |
Definition at line 3172 of file xmmintrin.h.
#define _MM_SET_FLUSH_ZERO_MODE | ( | x | ) | (_mm_setcsr((_mm_getcsr() & ~_MM_FLUSH_ZERO_MASK) | (x))) |
Definition at line 3173 of file xmmintrin.h.
#define _MM_SET_ROUNDING_MODE | ( | x | ) | (_mm_setcsr((_mm_getcsr() & ~_MM_ROUND_MASK) | (x))) |
Definition at line 3174 of file xmmintrin.h.
#define _MM_SHUFFLE | ( | z, | |
y, | |||
x, | |||
w | |||
) | (((z) << 6) | ((y) << 4) | ((x) << 2) | (w)) |
Definition at line 3138 of file xmmintrin.h.
#define _mm_shuffle_pi16 | ( | a, | |
n | |||
) |
Shuffles the 4 16-bit integers from a 64-bit integer vector to the destination, as specified by the immediate value operand.
This intrinsic corresponds to the PSHUFW
instruction.
a | A 64-bit integer vector containing the values to be shuffled. |
n | An immediate value containing an 8-bit value specifying which elements to copy from a. The destinations within the 64-bit destination are assigned values as follows: Bits [1:0] are used to assign values to bits [15:0] in the destination. Bits [3:2] are used to assign values to bits [31:16] in the destination. Bits [5:4] are used to assign values to bits [47:32] in the destination. Bits [7:6] are used to assign values to bits [63:48] in the destination. Bit value assignments: 00: assigned from bits [15:0] of a. 01: assigned from bits [31:16] of a. 10: assigned from bits [47:32] of a. 11: assigned from bits [63:48] of a. Note: To generate a mask, you can use the _MM_SHUFFLE macro. _MM_SHUFFLE(b6, b4, b2, b0) can create an 8-bit mask of the form [b6, b4, b2, b0] . |
Definition at line 2504 of file xmmintrin.h.
#define _mm_shuffle_ps | ( | a, | |
b, | |||
mask | |||
) |
Selects 4 float values from the 128-bit operands of [4 x float], as specified by the immediate value operand.
This intrinsic corresponds to the VSHUFPS / SHUFPS
instruction.
a | A 128-bit vector of [4 x float]. |
b | A 128-bit vector of [4 x float]. |
mask | An immediate value containing an 8-bit value specifying which elements to copy from a and b. Bits [3:0] specify the values copied from operand a. Bits [7:4] specify the values copied from operand b. The destinations within the 128-bit destination are assigned values as follows: Bits [1:0] are used to assign values to bits [31:0] in the destination. Bits [3:2] are used to assign values to bits [63:32] in the destination. Bits [5:4] are used to assign values to bits [95:64] in the destination. Bits [7:6] are used to assign values to bits [127:96] in the destination. Bit value assignments: 00: Bits [31:0] copied from the specified operand. 01: Bits [63:32] copied from the specified operand. 10: Bits [95:64] copied from the specified operand. 11: Bits [127:96] copied from the specified operand. Note: To generate a mask, you can use the _MM_SHUFFLE macro. _MM_SHUFFLE(b6, b4, b2, b0) can create an 8-bit mask of the form [b6, b4, b2, b0] . |
Definition at line 2769 of file xmmintrin.h.
#define _MM_TRANSPOSE4_PS | ( | row0, | |
row1, | |||
row2, | |||
row3 | |||
) |
Definition at line 3176 of file xmmintrin.h.
Definition at line 19 of file xmmintrin.h.
|
static |
Adds two 128-bit vectors of [4 x float], and returns the results of the addition.
This intrinsic corresponds to the VADDPS / ADDPS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the source operands. |
__b | A 128-bit vector of [4 x float] containing one of the source operands. |
Definition at line 99 of file xmmintrin.h.
Referenced by _mm_mask_add_ps(), and _mm_maskz_add_ps().
|
static |
Adds the 32-bit float values in the low-order bits of the operands.
This intrinsic corresponds to the VADDSS / ADDSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the source operands. The lower 32 bits of this operand are used in the calculation. |
__b | A 128-bit vector of [4 x float] containing one of the source operands. The lower 32 bits of this operand are used in the calculation. |
Definition at line 79 of file xmmintrin.h.
Referenced by _mm_mask_add_ss(), and _mm_maskz_add_ss().
|
static |
Performs a bitwise AND of two 128-bit vectors of [4 x float].
This intrinsic corresponds to the VANDPS / ANDPS
instructions.
__a | A 128-bit vector containing one of the source operands. |
__b | A 128-bit vector containing one of the source operands. |
Definition at line 441 of file xmmintrin.h.
Referenced by _mm_mask_and_ps(), and _mm_maskz_and_ps().
|
static |
Performs a bitwise AND of two 128-bit vectors of [4 x float], using the one's complement of the values contained in the first source operand.
This intrinsic corresponds to the VANDNPS / ANDNPS
instructions.
__a | A 128-bit vector of [4 x float] containing the first source operand. The one's complement of this value is used in the bitwise AND. |
__b | A 128-bit vector of [4 x float] containing the second source operand. |
Definition at line 463 of file xmmintrin.h.
Referenced by _mm_mask_andnot_ps(), and _mm_maskz_andnot_ps().
|
static |
Computes the rounded averages of the packed unsigned 16-bit integer values and writes the averages to the corresponding bits in the destination.
This intrinsic corresponds to the PAVGW
instruction.
__a | A 64-bit integer vector containing one of the source operands. |
__b | A 64-bit integer vector containing one of the source operands. |
Definition at line 2587 of file xmmintrin.h.
References __a, __anyext128, __b, and __trunc64.
|
static |
Computes the rounded averages of the packed unsigned 8-bit integer values and writes the averages to the corresponding bits in the destination.
This intrinsic corresponds to the PAVGB
instruction.
__a | A 64-bit integer vector containing one of the source operands. |
__b | A 64-bit integer vector containing one of the source operands. |
Definition at line 2567 of file xmmintrin.h.
References __a, __anyext128, __b, and __trunc64.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] for equality.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPEQPS / CMPEQPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 546 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands for equality.
The comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector [4 x float]. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPEQSS / CMPEQSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 525 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are greater than or equal to those in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPLEPS / CMPLEPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 742 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is greater than or equal to the corresponding value in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPLESS / CMPLESS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 718 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are greater than those in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPLTPS / CMPLTPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 692 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is greater than the corresponding value in the second operand.
The comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPLTSS / CMPLTSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 668 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are less than or equal to those in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPLEPS / CMPLEPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 642 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is less than or equal to the corresponding value in the second operand.
The comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPLESS / CMPLESS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 620 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are less than those in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPLTPS / CMPLTPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 594 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is less than the corresponding value in the second operand.
The comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns false.
This intrinsic corresponds to the VCMPLTSS / CMPLTSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 572 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] for inequality.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNEQPS / CMPNEQPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 790 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands for inequality.
The comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNEQSS / CMPNEQSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 768 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are not greater than or equal to those in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNLEPS / CMPNLEPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 994 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is not greater than or equal to the corresponding value in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNLESS / CMPNLESS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 969 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are not greater than those in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNLTPS / CMPNLTPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 942 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is not greater than the corresponding value in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNLTSS / CMPNLTSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 917 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are not less than or equal to those in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNLEPS / CMPNLEPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 890 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is not less than or equal to the corresponding value in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNLESS / CMPNLESS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 867 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are not less than those in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNLTPS / CMPNLTPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 840 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is not less than the corresponding value in the second operand.
Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the low-order bits of a vector of [4 x float]. If either value in a comparison is NaN, returns true.
This intrinsic corresponds to the VCMPNLTSS / CMPNLTSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 817 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are ordered with respect to those in the second operand.
A pair of floating-point values are ordered with respect to each other if neither value is a NaN. Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
This intrinsic corresponds to the VCMPORDPS / CMPORDPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 1045 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is ordered with respect to the corresponding value in the second operand.
A pair of floating-point values are ordered with respect to each other if neither value is a NaN. Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
This intrinsic corresponds to the VCMPORDSS / CMPORDSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1021 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] to determine if the values in the first operand are unordered with respect to those in the second operand.
A pair of double-precision values are unordered with respect to each other if one or both values are NaN. Each comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
This intrinsic corresponds to the VCMPUNORDPS / CMPUNORDPS
instructions.
__a | A 128-bit vector of [4 x float]. |
__b | A 128-bit vector of [4 x float]. |
Definition at line 1096 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the value in the first operand is unordered with respect to the corresponding value in the second operand.
A pair of double-precision values are unordered with respect to each other if one or both values are NaN. Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
This intrinsic corresponds to the VCMPUNORDSS / CMPUNORDSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1072 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands for equality.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VCOMISS / COMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1120 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is greater than or equal to the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VCOMISS / COMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1217 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is greater than the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VCOMISS / COMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1193 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is less than or equal to the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VCOMISS / COMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1169 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is less than the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VCOMISS / COMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1145 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands to determine if the first operand is not equal to the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 1.
This intrinsic corresponds to the VCOMISS / COMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1241 of file xmmintrin.h.
|
static |
Converts two elements of a 64-bit vector of [2 x i32] into two floating point values and writes them to the lower 64-bits of the destination.
The remaining higher order elements of the destination are copied from the corresponding elements in the first operand.
This intrinsic corresponds to the CVTPI2PS
instruction.
__a | A 128-bit vector of [4 x float]. |
__b | A 64-bit vector of [2 x i32]. The elements in this vector are converted and written to the corresponding low-order elements in the destination. |
Definition at line 1725 of file xmmintrin.h.
References __a, __b, and _mm_cvtpi32_ps().
|
static |
Converts two low-order float values in a 128-bit vector of [4 x float] into a 64-bit vector of [2 x i32].
If a converted value does not fit in a 32-bit integer, raises a floating-point invalid exception. If the exception is masked, returns the most negative integer.
This intrinsic corresponds to the CVTPS2PI
instruction.
__a | A 128-bit vector of [4 x float]. |
Definition at line 1493 of file xmmintrin.h.
References __a, and _mm_cvtps_pi32().
|
static |
Converts a 32-bit signed integer value into a floating point value and writes it to the lower 32 bits of the destination.
The remaining higher order elements of the destination are copied from the corresponding elements in the first operand.
This intrinsic corresponds to the VCVTSI2SS / CVTSI2SS
instruction.
__a | A 128-bit vector of [4 x float]. |
__b | A 32-bit signed integer operand containing the value to be converted. |
Definition at line 1649 of file xmmintrin.h.
References __a, __b, and _mm_cvtsi32_ss().
|
static |
Converts a float value contained in the lower 32 bits of a vector of [4 x float] into a 32-bit integer.
If the converted value does not fit in a 32-bit integer, raises a floating-point invalid exception. If the exception is masked, returns the most negative integer.
This intrinsic corresponds to the VCVTSS2SI / CVTSS2SI
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the conversion. |
Definition at line 1427 of file xmmintrin.h.
References __a, and _mm_cvtss_si32().
|
static |
Converts a 64-bit vector of [4 x i16] into a 128-bit vector of [4 x float].
This intrinsic corresponds to the CVTPI2PS + COMPOSITE
instruction.
__a | A 64-bit vector of [4 x i16]. The elements of the destination are copied from the corresponding elements in this operand. |
Definition at line 2895 of file xmmintrin.h.
References __a.
|
static |
Converts two elements of a 64-bit vector of [2 x i32] into two floating point values and writes them to the lower 64-bits of the destination.
The remaining higher order elements of the destination are copied from the corresponding elements in the first operand.
This intrinsic corresponds to the CVTPI2PS
instruction.
__a | A 128-bit vector of [4 x float]. |
__b | A 64-bit vector of [2 x i32]. The elements in this vector are converted and written to the corresponding low-order elements in the destination. |
Definition at line 1699 of file xmmintrin.h.
References __a, __b, and __zext128.
Referenced by _mm_cvt_pi2ps().
|
static |
Converts the two 32-bit signed integer values from each 64-bit vector operand of [2 x i32] into a 128-bit vector of [4 x float].
This intrinsic corresponds to the CVTPI2PS + COMPOSITE
instruction.
__a | A 64-bit vector of [2 x i32]. The lower elements of the destination are copied from the elements in this operand. |
__b | A 64-bit vector of [2 x i32]. The upper elements of the destination are copied from the elements in this operand. |
Definition at line 2976 of file xmmintrin.h.
|
static |
Converts the lower four 8-bit values from a 64-bit vector of [8 x i8] into a 128-bit vector of [4 x float].
This intrinsic corresponds to the CVTPI2PS + COMPOSITE
instruction.
__a | A 64-bit vector of [8 x i8]. The elements of the destination are copied from the corresponding lower 4 elements in this operand. |
Definition at line 2931 of file xmmintrin.h.
References __a.
|
static |
Converts each single-precision floating-point element of a 128-bit floating-point vector of [4 x float] into a 16-bit signed integer, and packs the results into a 64-bit integer vector of [4 x i16].
If the floating-point element is NaN or infinity, or if the floating-point element is greater than 0x7FFFFFFF or less than -0x8000, it is converted to 0x8000. Otherwise if the floating-point element is greater than 0x7FFF, it is converted to 0x7FFF.
This intrinsic corresponds to the CVTPS2PI + COMPOSITE
instruction.
__a | A 128-bit floating-point vector of [4 x float]. |
Definition at line 3001 of file xmmintrin.h.
References __a, __trunc64, and _mm_setzero_ps().
Referenced by _mm_cvtps_pi8().
|
static |
Converts two low-order float values in a 128-bit vector of [4 x float] into a 64-bit vector of [2 x i32].
If a converted value does not fit in a 32-bit integer, raises a floating-point invalid exception. If the exception is masked, returns the most negative integer.
This intrinsic corresponds to the CVTPS2PI
instruction.
__a | A 128-bit vector of [4 x float]. |
Definition at line 1473 of file xmmintrin.h.
References __a, __trunc64, and __zeroupper64.
Referenced by _mm_cvt_ps2pi().
|
static |
Converts each single-precision floating-point element of a 128-bit floating-point vector of [4 x float] into an 8-bit signed integer, and packs the results into the lower 32 bits of a 64-bit integer vector of [8 x i8].
The upper 32 bits of the vector are set to 0.
If the floating-point element is NaN or infinity, or if the floating-point element is greater than 0x7FFFFFFF or less than -0x80, it is converted to 0x80. Otherwise if the floating-point element is greater than 0x7F, it is converted to 0x7F.
This intrinsic corresponds to the CVTPS2PI + COMPOSITE
instruction.
__a | 128-bit floating-point vector of [4 x float]. |
Definition at line 3026 of file xmmintrin.h.
References __a, __b, __c, _mm_cvtps_pi16(), _mm_packs_pi16(), and _mm_setzero_si64().
|
static |
Converts a 64-bit vector of 16-bit unsigned integer values into a 128-bit vector of [4 x float].
This intrinsic corresponds to the CVTPI2PS + COMPOSITE
instruction.
__a | A 64-bit vector of 16-bit unsigned integer values. The elements of the destination are copied from the corresponding elements in this operand. |
Definition at line 2913 of file xmmintrin.h.
References __a.
|
static |
Converts the lower four unsigned 8-bit integer values from a 64-bit vector of [8 x u8] into a 128-bit vector of [4 x float].
This intrinsic corresponds to the CVTPI2PS + COMPOSITE
instruction.
__a | A 64-bit vector of unsigned 8-bit integer values. The elements of the destination are copied from the corresponding lower 4 elements in this operand. |
Definition at line 2952 of file xmmintrin.h.
References __a.
|
static |
Converts a 32-bit signed integer value into a floating point value and writes it to the lower 32 bits of the destination.
The remaining higher order elements of the destination vector are copied from the corresponding elements in the first operand.
This intrinsic corresponds to the VCVTSI2SS / CVTSI2SS
instruction.
__a | A 128-bit vector of [4 x float]. |
__b | A 32-bit signed integer operand containing the value to be converted. |
Definition at line 1626 of file xmmintrin.h.
Referenced by _mm_cvt_si2ss().
|
static |
Extracts a float value contained in the lower 32 bits of a vector of [4 x float].
This intrinsic has no corresponding instruction.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the extraction. |
Definition at line 1742 of file xmmintrin.h.
References __a.
|
static |
Converts a float value contained in the lower 32 bits of a vector of [4 x float] into a 32-bit integer.
If the converted value does not fit in a 32-bit integer, raises a floating-point invalid exception. If the exception is masked, returns the most negative integer.
This intrinsic corresponds to the VCVTSS2SI / CVTSS2SI
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the conversion. |
Definition at line 1405 of file xmmintrin.h.
References __a.
Referenced by _mm_cvt_ss2si().
|
static |
Converts the lower (first) two elements of a 128-bit vector of [4 x float] into two signed truncated (rounded toward zero) 64-bit integers, returned in a 64-bit vector of [2 x i32].
If a converted value does not fit in a 32-bit integer, raises a floating-point invalid exception. If the exception is masked, returns the most negative integer.
This intrinsic corresponds to the CVTTPS2PI
instruction.
__a | A 128-bit vector of [4 x float]. |
Definition at line 1604 of file xmmintrin.h.
References __a, and _mm_cvttps_pi32().
|
static |
Converts the lower (first) element of a vector of [4 x float] into a signed truncated (rounded toward zero) 32-bit integer.
If the converted value does not fit in a 32-bit integer, raises a floating-point invalid exception. If the exception is masked, returns the most negative integer.
This intrinsic corresponds to the VCVTTSS2SI / CVTTSS2SI
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the conversion. |
Definition at line 1537 of file xmmintrin.h.
References __a, and _mm_cvttss_si32().
|
static |
Converts the lower (first) two elements of a 128-bit vector of [4 x float] into two signed truncated (rounded toward zero) 32-bit integers, returned in a 64-bit vector of [2 x i32].
If a converted value does not fit in a 32-bit integer, raises a floating-point invalid exception. If the exception is masked, returns the most negative integer.
This intrinsic corresponds to the CVTTPS2PI / VTTPS2PI
instructions.
__a | A 128-bit vector of [4 x float]. |
Definition at line 1583 of file xmmintrin.h.
References __a, __trunc64, and __zeroupper64.
Referenced by _mm_cvtt_ps2pi().
|
static |
Converts the lower (first) element of a vector of [4 x float] into a signed truncated (rounded toward zero) 32-bit integer.
If the converted value does not fit in a 32-bit integer, raises a floating-point invalid exception. If the exception is masked, returns the most negative integer.
This intrinsic corresponds to the VCVTTSS2SI / CVTTSS2SI
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the conversion. |
Definition at line 1515 of file xmmintrin.h.
References __a.
Referenced by _mm_cvtt_ss2si().
|
static |
Divides two 128-bit vectors of [4 x float].
This intrinsic corresponds to the VDIVPS / DIVPS
instructions.
__a | A 128-bit vector of [4 x float] containing the dividend. |
__b | A 128-bit vector of [4 x float] containing the divisor. |
Definition at line 225 of file xmmintrin.h.
Referenced by _mm_mask_div_ps(), and _mm_maskz_div_ps().
|
static |
Divides the value in the low-order 32 bits of the first operand by the corresponding value in the second operand.
This intrinsic corresponds to the VDIVSS / DIVSS
instructions.
__a | A 128-bit vector of [4 x float] containing the dividend. The lower 32 bits of this operand are used in the calculation. |
__b | A 128-bit vector of [4 x float] containing the divisor. The lower 32 bits of this operand are used in the calculation. |
Definition at line 206 of file xmmintrin.h.
Referenced by _mm_mask_div_ss(), and _mm_maskz_div_ss().
Returns the contents of the MXCSR register as a 32-bit unsigned integer value.
There are several groups of macros associated with this intrinsic, including:
For example, the following expression checks if an overflow exception has occurred:
The following expression gets the current rounding mode:
This intrinsic corresponds to the VSTMXCSR / STMXCSR
instruction.
|
static |
Loads a 32-bit float value and duplicates it to all four vector elements of a 128-bit vector of [4 x float].
This intrinsic corresponds to the VBROADCASTSS / MOVSS + shuffling
instruction.
__p | A pointer to a float value to be loaded and duplicated. |
Definition at line 1839 of file xmmintrin.h.
References __p.
|
static |
Loads a 128-bit floating-point vector of [4 x float] from an aligned memory location.
This intrinsic corresponds to the VMOVAPS / MOVAPS
instruction.
__p | A pointer to a 128-bit memory location. The address of the memory location has to be 128-bit aligned. |
Definition at line 1862 of file xmmintrin.h.
References __p.
Referenced by _mm_loadr_ps().
|
static |
Constructs a 128-bit floating-point vector of [4 x float].
The lower 32 bits of the vector are initialized with the single-precision floating-point value loaded from a specified memory location. The upper 96 bits are set to zero.
This intrinsic corresponds to the VMOVSS / MOVSS
instruction.
__p | A pointer to a 32-bit memory location containing a single-precision floating-point value. |
Definition at line 1817 of file xmmintrin.h.
References __p.
|
static |
Loads two packed float values from the address __p into the high-order bits of a 128-bit vector of [4 x float].
The low-order bits are copied from the low-order bits of the first operand.
This intrinsic corresponds to the VMOVHPD / MOVHPD
instruction.
__a | A 128-bit vector of [4 x float]. Bits [63:0] are written to bits [63:0] of the destination. |
__p | A pointer to two packed float values. Bits [63:0] are written to bits [127:64] of the destination. |
Definition at line 1763 of file xmmintrin.h.
|
static |
Loads two packed float values from the address __p into the low-order bits of a 128-bit vector of [4 x float].
The high-order bits are copied from the high-order bits of the first operand.
This intrinsic corresponds to the VMOVLPD / MOVLPD
instruction.
__a | A 128-bit vector of [4 x float]. Bits [127:64] are written to bits [127:64] of the destination. |
__p | A pointer to two packed float values. Bits [63:0] are written to bits [63:0] of the destination. |
Definition at line 1790 of file xmmintrin.h.
|
static |
Loads four packed float values, in reverse order, from an aligned memory location to 32-bit elements in a 128-bit vector of [4 x float].
This intrinsic corresponds to the VMOVAPS / MOVAPS + shuffling
instruction.
__p | A pointer to a 128-bit memory location. The address of the memory location has to be 128-bit aligned. |
Definition at line 1901 of file xmmintrin.h.
References __a, __p, and _mm_load_ps().
|
static |
Loads a 128-bit floating-point vector of [4 x float] from an unaligned memory location.
This intrinsic corresponds to the VMOVUPS / MOVUPS
instruction.
__p | A pointer to a 128-bit memory location. The address of the memory location does not have to be aligned. |
Definition at line 1879 of file xmmintrin.h.
Referenced by _mm256_broadcast_ps(), and _mm256_loadu2_m128().
|
static |
Conditionally copies the values from each 8-bit element in the first 64-bit integer vector operand to the specified memory location, as specified by the most significant bit in the corresponding element in the second 64-bit integer vector operand.
To minimize caching, the data is flagged as non-temporal (unlikely to be used again soon).
This intrinsic corresponds to the MASKMOVQ
instruction.
__d | A 64-bit integer vector containing the values with elements to be copied. |
__n | A 64-bit integer vector operand. The most significant bit from each 8-bit element determines whether the corresponding element in operand __d is copied. If the most significant bit of a given element is 1, the corresponding element in operand __d is copied. |
__p | A pointer to a 64-bit memory location that will receive the conditionally copied integer values. The address of the memory location does not have to be aligned. |
Definition at line 2533 of file xmmintrin.h.
References __anyext128, __p, and __zext128.
|
static |
Compares each of the corresponding packed 16-bit integer values of the 64-bit integer vectors, and writes the greater value to the corresponding bits in the destination.
This intrinsic corresponds to the PMAXSW
instruction.
__a | A 64-bit integer vector containing one of the source operands. |
__b | A 64-bit integer vector containing one of the source operands. |
Definition at line 2370 of file xmmintrin.h.
|
static |
Compares two 128-bit vectors of [4 x float] and returns the greater of each pair of values.
If either value in a comparison is NaN, returns the value from __b.
This intrinsic corresponds to the VMAXPS / MAXPS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. |
__b | A 128-bit vector of [4 x float] containing one of the operands. |
Definition at line 423 of file xmmintrin.h.
Referenced by _mm_mask_max_ps(), and _mm_maskz_max_ps().
|
static |
Compares each of the corresponding packed 8-bit unsigned integer values of the 64-bit integer vectors, and writes the greater value to the corresponding bits in the destination.
This intrinsic corresponds to the PMAXUB
instruction.
__a | A 64-bit integer vector containing one of the source operands. |
__b | A 64-bit integer vector containing one of the source operands. |
Definition at line 2389 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands and returns the greater value in the low-order bits of a 128-bit vector of [4 x float].
If either value in a comparison is NaN, returns the value from __b.
This intrinsic corresponds to the VMAXSS / MAXSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 402 of file xmmintrin.h.
|
static |
Compares each of the corresponding packed 16-bit integer values of the 64-bit integer vectors, and writes the lesser value to the corresponding bits in the destination.
This intrinsic corresponds to the PMINSW
instruction.
__a | A 64-bit integer vector containing one of the source operands. |
__b | A 64-bit integer vector containing one of the source operands. |
Definition at line 2408 of file xmmintrin.h.
|
static |
Compares two 128-bit vectors of [4 x float] and returns the lesser of each pair of values.
If either value in a comparison is NaN, returns the value from __b.
This intrinsic corresponds to the VMINPS / MINPS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. |
__b | A 128-bit vector of [4 x float] containing one of the operands. |
Definition at line 377 of file xmmintrin.h.
Referenced by _mm_mask_min_ps(), and _mm_maskz_min_ps().
|
static |
Compares each of the corresponding packed 8-bit unsigned integer values of the 64-bit integer vectors, and writes the lesser value to the corresponding bits in the destination.
This intrinsic corresponds to the PMINUB
instruction.
__a | A 64-bit integer vector containing one of the source operands. |
__b | A 64-bit integer vector containing one of the source operands. |
Definition at line 2427 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands and returns the lesser value in the low-order bits of the vector of [4 x float].
If either value in a comparison is NaN, returns the value from __b.
This intrinsic corresponds to the VMINSS / MINSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float] containing one of the operands. The lower 32 bits of this operand are used in the comparison. |
Definition at line 356 of file xmmintrin.h.
|
static |
Constructs a 128-bit floating-point vector of [4 x float].
The lower 32 bits are set to the lower 32 bits of the second parameter. The upper 96 bits are set to the upper 96 bits of the first parameter.
This intrinsic corresponds to the VBLENDPS / BLENDPS / MOVSS
instruction.
__a | A 128-bit floating-point vector of [4 x float]. The upper 96 bits are written to the upper 96 bits of the result. |
__b | A 128-bit floating-point vector of [4 x float]. The lower 32 bits are written to the lower 32 bits of the result. |
Definition at line 2834 of file xmmintrin.h.
Referenced by _mm_mask_move_ss(), and _mm_maskz_move_ss().
|
static |
Constructs a 128-bit floating-point vector of [4 x float].
The lower 64 bits are set to the upper 64 bits of the second parameter. The upper 64 bits are set to the upper 64 bits of the first parameter.
This intrinsic corresponds to the VUNPCKHPD / UNPCKHPD
instruction.
__a | A 128-bit floating-point vector of [4 x float]. The upper 64 bits are written to the upper 64 bits of the result. |
__b | A 128-bit floating-point vector of [4 x float]. The upper 64 bits are written to the lower 64 bits of the result. |
Definition at line 2856 of file xmmintrin.h.
|
static |
Constructs a 128-bit floating-point vector of [4 x float].
The lower 64 bits are set to the lower 64 bits of the first parameter. The upper 64 bits are set to the lower 64 bits of the second parameter.
This intrinsic corresponds to the VUNPCKLPD / UNPCKLPD
instruction.
__a | A 128-bit floating-point vector of [4 x float]. The lower 64 bits are written to the lower 64 bits of the result. |
__b | A 128-bit floating-point vector of [4 x float]. The lower 64 bits are written to the upper 64 bits of the result. |
Definition at line 2877 of file xmmintrin.h.
|
static |
Takes the most significant bit from each 8-bit element in a 64-bit integer vector to create an 8-bit mask value.
Zero-extends the value to 32-bit integer and writes it to the destination.
This intrinsic corresponds to the PMOVMSKB
instruction.
__a | A 64-bit integer vector containing the values with bits to be extracted. |
Definition at line 2445 of file xmmintrin.h.
|
static |
Extracts the sign bits from each single-precision floating-point element of a 128-bit floating-point vector of [4 x float] and returns the sign bits in bits [0:3] of the result.
Bits [31:4] of the result are set to zero.
This intrinsic corresponds to the VMOVMSKPS / MOVMSKPS
instruction.
__a | A 128-bit floating-point vector of [4 x float]. |
Definition at line 3051 of file xmmintrin.h.
References __a.
|
static |
Multiplies two 128-bit vectors of [4 x float] and returns the results of the multiplication.
This intrinsic corresponds to the VMULPS / MULPS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the source operands. |
__b | A 128-bit vector of [4 x float] containing one of the source operands. |
Definition at line 184 of file xmmintrin.h.
Referenced by _mm_mask_mul_ps(), and _mm_maskz_mul_ps().
|
static |
Multiplies two 32-bit float values in the low-order bits of the operands.
This intrinsic corresponds to the VMULSS / MULSS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the source operands. The lower 32 bits of this operand are used in the calculation. |
__b | A 128-bit vector of [4 x float] containing one of the source operands. The lower 32 bits of this operand are used in the calculation. |
Definition at line 164 of file xmmintrin.h.
Referenced by _mm_mask_mul_ss(), and _mm_maskz_mul_ss().
|
static |
Multiplies packed 16-bit unsigned integer values and writes the high-order 16 bits of each 32-bit product to the corresponding bits in the destination.
This intrinsic corresponds to the PMULHUW
instruction.
__a | A 64-bit integer vector containing one of the source operands. |
__b | A 64-bit integer vector containing one of the source operands. |
Definition at line 2464 of file xmmintrin.h.
References __a, __anyext128, __b, and __trunc64.
|
static |
Performs a bitwise OR of two 128-bit vectors of [4 x float].
This intrinsic corresponds to the VORPS / ORPS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the source operands. |
__b | A 128-bit vector of [4 x float] containing one of the source operands. |
Definition at line 481 of file xmmintrin.h.
Referenced by _mm_mask_or_ps(), and _mm_maskz_or_ps().
|
static |
Calculates the approximate reciprocals of the values stored in a 128-bit vector of [4 x float].
This intrinsic corresponds to the VRCPPS / RCPPS
instructions.
__a | A 128-bit vector of [4 x float]. |
Definition at line 295 of file xmmintrin.h.
References __a.
|
static |
Calculates the approximate reciprocal of the value stored in the low-order bits of a 128-bit vector of [4 x float].
This intrinsic corresponds to the VRCPSS / RCPSS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the calculation. |
Definition at line 278 of file xmmintrin.h.
References __a.
|
static |
Calculates the approximate reciprocals of the square roots of the values stored in a 128-bit vector of [4 x float].
This intrinsic corresponds to the VRSQRTPS / RSQRTPS
instructions.
__a | A 128-bit vector of [4 x float]. |
Definition at line 331 of file xmmintrin.h.
References __a.
|
static |
Calculates the approximate reciprocal of the square root of the value stored in the low-order bits of a 128-bit vector of [4 x float].
This intrinsic corresponds to the VRSQRTSS / RSQRTSS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the calculation. |
Definition at line 314 of file xmmintrin.h.
References __a.
|
static |
Subtracts the corresponding 8-bit unsigned integer values of the two 64-bit vector operands and computes the absolute value for each of the difference.
Then sum of the 8 absolute differences is written to the bits [15:0] of the destination; the remaining bits [63:16] are cleared.
This intrinsic corresponds to the PSADBW
instruction.
__a | A 64-bit integer vector containing one of the source operands. |
__b | A 64-bit integer vector containing one of the source operands. |
Definition at line 2610 of file xmmintrin.h.
|
static |
Constructs a 128-bit floating-point vector of [4 x float], with each of the four single-precision floating-point vector elements set to the specified single-precision floating-point value.
This intrinsic corresponds to the VPERMILPS / PERMILPS
instruction.
__w | A single-precision floating-point value used to initialize each vector element of the result. |
Definition at line 1953 of file xmmintrin.h.
Referenced by _mm_set_ps1().
|
static |
Constructs a 128-bit floating-point vector of [4 x float] initialized with the specified single-precision floating-point values.
This intrinsic is a utility function and does not correspond to a specific instruction.
__z | A single-precision floating-point value used to initialize bits [127:96] of the result. |
__y | A single-precision floating-point value used to initialize bits [95:64] of the result. |
__x | A single-precision floating-point value used to initialize bits [63:32] of the result. |
__w | A single-precision floating-point value used to initialize bits [31:0] of the result. |
Definition at line 1999 of file xmmintrin.h.
References __y.
|
static |
Constructs a 128-bit floating-point vector of [4 x float], with each of the four single-precision floating-point vector elements set to the specified single-precision floating-point value.
This intrinsic corresponds to the VPERMILPS / PERMILPS
instruction.
__w | A single-precision floating-point value used to initialize each vector element of the result. |
Definition at line 1972 of file xmmintrin.h.
References _mm_set1_ps().
|
static |
Constructs a 128-bit floating-point vector of [4 x float].
The lower 32 bits of the vector are initialized with the specified single-precision floating-point value. The upper 96 bits are set to zero.
This intrinsic corresponds to the VMOVSS / MOVSS
instruction.
__w | A single-precision floating-point value used to initialize the lower 32 bits of the result. |
Definition at line 1935 of file xmmintrin.h.
Sets the MXCSR register with the 32-bit unsigned integer value.
There are several groups of macros associated with this intrinsic, including:
For example, the following expression causes subsequent floating-point operations to round up: _mm_setcsr(_mm_getcsr() | _MM_ROUND_UP)
The following example sets the DAZ and FTZ flags:
This intrinsic corresponds to the VLDMXCSR / LDMXCSR
instruction.
__i | A 32-bit unsigned integer value to be written to the MXCSR register. |
|
static |
Constructs a 128-bit floating-point vector of [4 x float], initialized in reverse order with the specified 32-bit single-precision float-point values.
This intrinsic is a utility function and does not correspond to a specific instruction.
__z | A single-precision floating-point value used to initialize bits [31:0] of the result. |
__y | A single-precision floating-point value used to initialize bits [63:32] of the result. |
__x | A single-precision floating-point value used to initialize bits [95:64] of the result. |
__w | A single-precision floating-point value used to initialize bits [127:96] of the result. |
Definition at line 2027 of file xmmintrin.h.
References __y.
|
static |
Constructs a 128-bit floating-point vector of [4 x float] initialized to zero.
This intrinsic corresponds to the VXORPS / XORPS
instruction.
Definition at line 2042 of file xmmintrin.h.
Referenced by _mm256_maskz_cvtepi64_ps(), _mm256_maskz_cvtepu64_ps(), _mm256_maskz_cvtpd_ps(), _mm256_zextps128_ps256(), _mm512_zextps128_ps512(), _mm_cvtepi64_ps(), _mm_cvtepu64_ps(), _mm_cvtps_pi16(), _mm_getexp_ps(), _mm_getexp_ss(), _mm_mask_load_ss(), _mm_maskz_add_ps(), _mm_maskz_add_ss(), _mm_maskz_and_ps(), _mm_maskz_andnot_ps(), _mm_maskz_broadcastss_ps(), _mm_maskz_compress_ps(), _mm_maskz_cvtepi32_ps(), _mm_maskz_cvtepi64_ps(), _mm_maskz_cvtepu32_ps(), _mm_maskz_cvtepu64_ps(), _mm_maskz_cvtpd_ps(), _mm_maskz_cvtph_ps(), _mm_maskz_cvtsd_ss(), _mm_maskz_div_ps(), _mm_maskz_div_ss(), _mm_maskz_expand_ps(), _mm_maskz_expandloadu_ps(), _mm_maskz_fmadd_ps(), _mm_maskz_fmaddsub_ps(), _mm_maskz_fmsub_ps(), _mm_maskz_fmsubadd_ps(), _mm_maskz_fnmadd_ps(), _mm_maskz_fnmsub_ps(), _mm_maskz_getexp_ps(), _mm_maskz_getexp_ss(), _mm_maskz_load_ps(), _mm_maskz_load_ss(), _mm_maskz_loadu_ps(), _mm_maskz_max_ps(), _mm_maskz_max_ss(), _mm_maskz_min_ps(), _mm_maskz_min_ss(), _mm_maskz_mov_ps(), _mm_maskz_move_ss(), _mm_maskz_movehdup_ps(), _mm_maskz_moveldup_ps(), _mm_maskz_mul_ps(), _mm_maskz_mul_ss(), _mm_maskz_or_ps(), _mm_maskz_permutevar_ps(), _mm_maskz_permutex2var_ps(), _mm_maskz_rcp14_ps(), _mm_maskz_rcp14_ss(), _mm_maskz_rsqrt14_ps(), _mm_maskz_rsqrt14_ss(), _mm_maskz_scalef_ps(), _mm_maskz_scalef_ss(), _mm_maskz_sqrt_ps(), _mm_maskz_sqrt_ss(), _mm_maskz_sub_ps(), _mm_maskz_sub_ss(), _mm_maskz_unpackhi_ps(), _mm_maskz_unpacklo_ps(), _mm_maskz_xor_ps(), _mm_rcp14_ps(), _mm_rcp14_ss(), _mm_rsqrt14_ps(), _mm_rsqrt14_ss(), _mm_scalef_ps(), and _mm_scalef_ss().
void _mm_sfence | ( | void | ) |
Forces strong memory ordering (serialization) between store instructions preceding this instruction and store instructions following this instruction, ensuring the system completes all previous stores before executing subsequent stores.
This intrinsic corresponds to the SFENCE
instruction.
|
static |
Calculates the square roots of the values stored in a 128-bit vector of [4 x float].
This intrinsic corresponds to the VSQRTPS / SQRTPS
instructions.
__a | A 128-bit vector of [4 x float]. |
Definition at line 260 of file xmmintrin.h.
References __a.
Referenced by _mm_mask_sqrt_ps(), and _mm_maskz_sqrt_ps().
|
static |
Calculates the square root of the value stored in the low-order bits of a 128-bit vector of [4 x float].
This intrinsic corresponds to the VSQRTSS / SQRTSS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the calculation. |
Definition at line 243 of file xmmintrin.h.
References __a.
|
static |
Stores the lower 32 bits of a 128-bit vector of [4 x float] into four contiguous elements in an aligned memory location.
This intrinsic corresponds to VMOVAPS / MOVAPS + shuffling
instruction.
__p | A pointer to a 128-bit memory location. |
__a | A 128-bit vector of [4 x float] whose lower 32 bits are stored to each of the four contiguous elements pointed by __p. |
Definition at line 2162 of file xmmintrin.h.
References __a, __p, and _mm_store_ps().
Referenced by _mm_store_ps1().
|
static |
Stores a 128-bit vector of [4 x float] into an aligned memory location.
This intrinsic corresponds to the VMOVAPS / MOVAPS
instruction.
__p | A pointer to a 128-bit memory location. The address of the memory location has to be 16-byte aligned. |
__a | A 128-bit vector of [4 x float] containing the values to be stored. |
Definition at line 2143 of file xmmintrin.h.
Referenced by _mm_store1_ps(), and _mm_storer_ps().
|
static |
Stores the lower 32 bits of a 128-bit vector of [4 x float] into four contiguous elements in an aligned memory location.
This intrinsic corresponds to VMOVAPS / MOVAPS + shuffling
instruction.
__p | A pointer to a 128-bit memory location. |
__a | A 128-bit vector of [4 x float] whose lower 32 bits are stored to each of the four contiguous elements pointed by __p. |
Definition at line 2182 of file xmmintrin.h.
References __a, __p, and _mm_store1_ps().
|
static |
Stores the lower 32 bits of a 128-bit vector of [4 x float] to a memory location.
This intrinsic corresponds to the VMOVSS / MOVSS
instruction.
__p | A pointer to a 32-bit memory location. |
__a | A 128-bit vector of [4 x float] containing the value to be stored. |
Definition at line 2101 of file xmmintrin.h.
|
static |
Stores the upper 64 bits of a 128-bit vector of [4 x float] to a memory location.
This intrinsic corresponds to the VPEXTRQ / PEXTRQ
instruction.
__p | A pointer to a 64-bit memory location. |
__a | A 128-bit vector of [4 x float] containing the values to be stored. |
Definition at line 2059 of file xmmintrin.h.
|
static |
Stores the lower 64 bits of a 128-bit vector of [4 x float] to a memory location.
This intrinsic corresponds to the VMOVLPS / MOVLPS
instruction.
__p | A pointer to a memory location that will receive the float values. |
__a | A 128-bit vector of [4 x float] containing the values to be stored. |
Definition at line 2080 of file xmmintrin.h.
|
static |
Stores float values from a 128-bit vector of [4 x float] to an aligned memory location in reverse order.
This intrinsic corresponds to the VMOVAPS / MOVAPS + shuffling
instruction.
__p | A pointer to a 128-bit memory location. The address of the memory location has to be 128-bit aligned. |
__a | A 128-bit vector of [4 x float] containing the values to be stored. |
Definition at line 2201 of file xmmintrin.h.
References __a, __p, and _mm_store_ps().
|
static |
Stores a 128-bit vector of [4 x float] to an unaligned memory location.
This intrinsic corresponds to the VMOVUPS / MOVUPS
instruction.
__p | A pointer to a 128-bit memory location. The address of the memory location does not have to be aligned. |
__a | A 128-bit vector of [4 x float] containing the values to be stored. |
Definition at line 2122 of file xmmintrin.h.
Referenced by _mm256_storeu2_m128().
|
static |
Stores a 64-bit integer in the specified aligned memory location.
To minimize caching, the data is flagged as non-temporal (unlikely to be used again soon).
This intrinsic corresponds to the MOVNTQ
instruction.
__p | A pointer to an aligned memory location used to store the register value. |
__a | A 64-bit integer containing the value to be stored. |
Definition at line 2259 of file xmmintrin.h.
|
static |
Moves packed float values from a 128-bit vector of [4 x float] to a 128-bit aligned memory location.
To minimize caching, the data is flagged as non-temporal (unlikely to be used again soon).
This intrinsic corresponds to the VMOVNTPS / MOVNTPS
instruction.
__p | A pointer to a 128-bit aligned memory location that will receive the single-precision floating-point values. |
__a | A 128-bit vector of [4 x float] containing the values to be moved. |
Definition at line 2278 of file xmmintrin.h.
|
static |
Subtracts each of the values of the second operand from the first operand, both of which are 128-bit vectors of [4 x float] and returns the results of the subtraction.
This intrinsic corresponds to the VSUBPS / SUBPS
instructions.
__a | A 128-bit vector of [4 x float] containing the minuend. |
__b | A 128-bit vector of [4 x float] containing the subtrahend. |
Definition at line 142 of file xmmintrin.h.
Referenced by _mm_mask_sub_ps(), and _mm_maskz_sub_ps().
|
static |
Subtracts the 32-bit float value in the low-order bits of the second operand from the corresponding value in the first operand.
This intrinsic corresponds to the VSUBSS / SUBSS
instructions.
__a | A 128-bit vector of [4 x float] containing the minuend. The lower 32 bits of this operand are used in the calculation. |
__b | A 128-bit vector of [4 x float] containing the subtrahend. The lower 32 bits of this operand are used in the calculation. |
Definition at line 121 of file xmmintrin.h.
Referenced by _mm_mask_sub_ss(), and _mm_maskz_sub_ss().
|
static |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine equality.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VUCOMISS / UCOMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1264 of file xmmintrin.h.
|
static |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine if the first operand is greater than or equal to the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VUCOMISS / UCOMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1360 of file xmmintrin.h.
|
static |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine if the first operand is greater than the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VUCOMISS / UCOMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1336 of file xmmintrin.h.
|
static |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine if the first operand is less than or equal to the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VUCOMISS / UCOMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1312 of file xmmintrin.h.
|
static |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine if the first operand is less than the second operand.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VUCOMISS / UCOMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1288 of file xmmintrin.h.
|
static |
Performs an unordered comparison of two 32-bit float values using the low-order bits of both operands to determine inequality.
The comparison returns 0 for false, 1 for true. If either value in a comparison is NaN, returns 0.
This intrinsic corresponds to the VUCOMISS / UCOMISS
instructions.
__a | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
__b | A 128-bit vector of [4 x float]. The lower 32 bits of this operand are used in the comparison. |
Definition at line 1383 of file xmmintrin.h.
|
static |
Create a 128-bit vector of [4 x float] with undefined values.
This intrinsic has no corresponding instruction.
Definition at line 1915 of file xmmintrin.h.
|
static |
Unpacks the high-order (index 2,3) values from two 128-bit vectors of [4 x float] and interleaves them into a 128-bit vector of [4 x float].
This intrinsic corresponds to the VUNPCKHPS / UNPCKHPS
instruction.
__a | A 128-bit vector of [4 x float]. Bits [95:64] are written to bits [31:0] of the destination. Bits [127:96] are written to bits [95:64] of the destination. |
__b | A 128-bit vector of [4 x float]. Bits [95:64] are written to bits [63:32] of the destination. Bits [127:96] are written to bits [127:96] of the destination. |
Definition at line 2790 of file xmmintrin.h.
Referenced by _mm_mask_unpackhi_ps(), and _mm_maskz_unpackhi_ps().
|
static |
Unpacks the low-order (index 0,1) values from two 128-bit vectors of [4 x float] and interleaves them into a 128-bit vector of [4 x float].
This intrinsic corresponds to the VUNPCKLPS / UNPCKLPS
instruction.
__a | A 128-bit vector of [4 x float]. Bits [31:0] are written to bits [31:0] of the destination. Bits [63:32] are written to bits [95:64] of the destination. |
__b | A 128-bit vector of [4 x float]. Bits [31:0] are written to bits [63:32] of the destination. Bits [63:32] are written to bits [127:96] of the destination. |
Definition at line 2812 of file xmmintrin.h.
Referenced by _mm_mask_unpacklo_ps(), and _mm_maskz_unpacklo_ps().
|
static |
Performs a bitwise exclusive OR of two 128-bit vectors of [4 x float].
This intrinsic corresponds to the VXORPS / XORPS
instructions.
__a | A 128-bit vector of [4 x float] containing one of the source operands. |
__b | A 128-bit vector of [4 x float] containing one of the source operands. |
Definition at line 500 of file xmmintrin.h.
Referenced by _mm_mask_xor_ps(), and _mm_maskz_xor_ps().