ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include <mmintrin.h>
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("sse"), __min_vector_width__(128))) |
#define | __DEFAULT_FN_ATTRS_MMX __attribute__((__always_inline__, __nodebug__, __target__("mmx,sse"), __min_vector_width__(64))) |
#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. More... | |
#define | _mm_extract_pi16(a, n) (int)__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. More... | |
#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. More... | |
#define | _mm_shuffle_pi16(a, n) (__m64)__builtin_ia32_pshufw((__v4hi)(__m64)(a), (n)) |
Shuffles the 4 16-bit integers from a 64-bit integer vector to the destination, as specified by the immediate value operand. More... | |
#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. More... | |
#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_ |
#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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_div_ps (__m128 __a, __m128 __b) |
Divides two 128-bit vectors of [4 x float]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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. More... | |
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]. More... | |
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. More... | |
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]. More... | |
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. More... | |
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]. More... | |
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]. More... | |
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 and returns the result of the comparison in the low-order bits of a vector [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison in the low-order bits of a vector of [4 x float]. More... | |
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. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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 and returns the result of the comparison. More... | |
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. More... | |
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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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]. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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]. More... | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_cvttss_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, truncating the result when it is inexact. More... | |
static __inline__ int __DEFAULT_FN_ATTRS | _mm_cvtt_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, truncating the result when it is inexact. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _mm_cvttps_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], truncating the result when it is inexact. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _mm_cvtt_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], truncating the result when it is inexact. More... | |
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. More... | |
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. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_load_ss (const float *__p) |
Constructs a 128-bit floating-point vector of [4 x float]. More... | |
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]. More... | |
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. More... | |
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. More... | |
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]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_undefined_ps (void) |
Create a 128-bit vector of [4 x float] with undefined values. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_set_ss (float __w) |
Constructs a 128-bit floating-point vector of [4 x float]. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_setzero_ps (void) |
Constructs a 128-bit floating-point vector of [4 x float] initialized to zero. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
static __inline__ void __DEFAULT_FN_ATTRS_MMX | _mm_stream_pi (__m64 *__p, __m64 __a) |
Stores a 64-bit integer in the specified aligned memory location. More... | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_stream_ps (float *__p, __m128 __a) |
Moves packed float values from a 128-bit vector of [4 x float] to a 128-bit aligned memory location. More... | |
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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ int __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ void __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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. More... | |
unsigned int | _mm_getcsr (void) |
Returns the contents of the MXCSR register as a 32-bit unsigned integer value. More... | |
void | _mm_setcsr (unsigned int __i) |
Sets the MXCSR register with the 32-bit unsigned integer value. More... | |
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]. More... | |
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]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_move_ss (__m128 __a, __m128 __b) |
Constructs a 128-bit floating-point vector of [4 x float]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_movehl_ps (__m128 __a, __m128 __b) |
Constructs a 128-bit floating-point vector of [4 x float]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_movelh_ps (__m128 __a, __m128 __b) |
Constructs a 128-bit floating-point vector of [4 x float]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_MMX | _mm_cvtpi16_ps (__m64 __a) |
Converts a 64-bit vector of [4 x i16] into a 128-bit vector of [4 x float]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_MMX | _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]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_MMX | _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]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_MMX | _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]. More... | |
static __inline__ __m128 __DEFAULT_FN_ATTRS_MMX | _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]. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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]. More... | |
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX | _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]. More... | |
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. More... | |
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("sse"), __min_vector_width__(128))) |
Definition at line 31 of file xmmintrin.h.
#define __DEFAULT_FN_ATTRS_MMX __attribute__((__always_inline__, __nodebug__, __target__("mmx,sse"), __min_vector_width__(64))) |
Definition at line 32 of file xmmintrin.h.
#define _m_ _mm_ |
Definition at line 2998 of file xmmintrin.h.
#define _m_ _mm_ |
Definition at line 2998 of file xmmintrin.h.
#define _m_maskmovq _mm_maskmove_si64 |
Definition at line 2993 of file xmmintrin.h.
#define _m_pavgb _mm_avg_pu8 |
Definition at line 2994 of file xmmintrin.h.
#define _m_pavgw _mm_avg_pu16 |
Definition at line 2995 of file xmmintrin.h.
#define _m_pextrw _mm_extract_pi16 |
Definition at line 2984 of file xmmintrin.h.
#define _m_pinsrw _mm_insert_pi16 |
Definition at line 2985 of file xmmintrin.h.
#define _m_pmaxsw _mm_max_pi16 |
Definition at line 2986 of file xmmintrin.h.
#define _m_pmaxub _mm_max_pu8 |
Definition at line 2987 of file xmmintrin.h.
#define _m_pminsw _mm_min_pi16 |
Definition at line 2988 of file xmmintrin.h.
#define _m_pminub _mm_min_pu8 |
Definition at line 2989 of file xmmintrin.h.
#define _m_pmovmskb _mm_movemask_pi8 |
Definition at line 2990 of file xmmintrin.h.
#define _m_pmulhuw _mm_mulhi_pu16 |
Definition at line 2991 of file xmmintrin.h.
#define _m_psadbw _mm_sad_pu8 |
Definition at line 2996 of file xmmintrin.h.
#define _m_pshufw _mm_shuffle_pi16 |
Definition at line 2992 of file xmmintrin.h.
#define _MM_ALIGN16 __attribute__((aligned(16))) |
Definition at line 2930 of file xmmintrin.h.
#define _MM_EXCEPT_DENORM (0x0002U) |
Definition at line 2935 of file xmmintrin.h.
#define _MM_EXCEPT_DIV_ZERO (0x0004U) |
Definition at line 2936 of file xmmintrin.h.
#define _MM_EXCEPT_INEXACT (0x0020U) |
Definition at line 2939 of file xmmintrin.h.
#define _MM_EXCEPT_INVALID (0x0001U) |
Definition at line 2934 of file xmmintrin.h.
#define _MM_EXCEPT_MASK (0x003fU) |
Definition at line 2940 of file xmmintrin.h.
#define _MM_EXCEPT_OVERFLOW (0x0008U) |
Definition at line 2937 of file xmmintrin.h.
#define _MM_EXCEPT_UNDERFLOW (0x0010U) |
Definition at line 2938 of file xmmintrin.h.
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 2183 of file xmmintrin.h.
#define _MM_FLUSH_ZERO_MASK (0x8000U) |
Definition at line 2956 of file xmmintrin.h.
#define _MM_FLUSH_ZERO_OFF (0x0000U) |
Definition at line 2958 of file xmmintrin.h.
#define _MM_FLUSH_ZERO_ON (0x8000U) |
Definition at line 2957 of file xmmintrin.h.
#define _MM_GET_EXCEPTION_MASK | ( | ) | (_mm_getcsr() & _MM_MASK_MASK) |
Definition at line 2960 of file xmmintrin.h.
#define _MM_GET_EXCEPTION_STATE | ( | ) | (_mm_getcsr() & _MM_EXCEPT_MASK) |
Definition at line 2961 of file xmmintrin.h.
#define _MM_GET_FLUSH_ZERO_MODE | ( | ) | (_mm_getcsr() & _MM_FLUSH_ZERO_MASK) |
Definition at line 2962 of file xmmintrin.h.
#define _MM_GET_ROUNDING_MODE | ( | ) | (_mm_getcsr() & _MM_ROUND_MASK) |
Definition at line 2963 of file xmmintrin.h.
#define _MM_HINT_ET0 7 |
Definition at line 2068 of file xmmintrin.h.
#define _MM_HINT_ET1 6 |
Definition at line 2069 of file xmmintrin.h.
#define _MM_HINT_NTA 0 |
Definition at line 2073 of file xmmintrin.h.
#define _MM_HINT_T0 3 |
Definition at line 2070 of file xmmintrin.h.
#define _MM_HINT_T1 2 |
Definition at line 2071 of file xmmintrin.h.
#define _MM_HINT_T2 1 |
Definition at line 2072 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 2214 of file xmmintrin.h.
#define _mm_load_ps1 | ( | p | ) | _mm_load1_ps(p) |
Definition at line 1709 of file xmmintrin.h.
#define _MM_MASK_DENORM (0x0100U) |
Definition at line 2943 of file xmmintrin.h.
#define _MM_MASK_DIV_ZERO (0x0200U) |
Definition at line 2944 of file xmmintrin.h.
#define _MM_MASK_INEXACT (0x1000U) |
Definition at line 2947 of file xmmintrin.h.
#define _MM_MASK_INVALID (0x0080U) |
Definition at line 2942 of file xmmintrin.h.
#define _MM_MASK_MASK (0x1f80U) |
Definition at line 2948 of file xmmintrin.h.
#define _MM_MASK_OVERFLOW (0x0400U) |
Definition at line 2945 of file xmmintrin.h.
#define _MM_MASK_UNDERFLOW (0x0800U) |
Definition at line 2946 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 2103 of file xmmintrin.h.
#define _MM_ROUND_DOWN (0x2000U) |
Definition at line 2951 of file xmmintrin.h.
#define _MM_ROUND_MASK (0x6000U) |
Definition at line 2954 of file xmmintrin.h.
#define _MM_ROUND_NEAREST (0x0000U) |
Definition at line 2950 of file xmmintrin.h.
#define _MM_ROUND_TOWARD_ZERO (0x6000U) |
Definition at line 2953 of file xmmintrin.h.
#define _MM_ROUND_UP (0x4000U) |
Definition at line 2952 of file xmmintrin.h.
#define _MM_SET_EXCEPTION_MASK | ( | x | ) | (_mm_setcsr((_mm_getcsr() & ~_MM_MASK_MASK) | (x))) |
Definition at line 2965 of file xmmintrin.h.
#define _MM_SET_EXCEPTION_STATE | ( | x | ) | (_mm_setcsr((_mm_getcsr() & ~_MM_EXCEPT_MASK) | (x))) |
Definition at line 2966 of file xmmintrin.h.
#define _MM_SET_FLUSH_ZERO_MODE | ( | x | ) | (_mm_setcsr((_mm_getcsr() & ~_MM_FLUSH_ZERO_MASK) | (x))) |
Definition at line 2967 of file xmmintrin.h.
#define _MM_SET_ROUNDING_MODE | ( | x | ) | (_mm_setcsr((_mm_getcsr() & ~_MM_ROUND_MASK) | (x))) |
Definition at line 2968 of file xmmintrin.h.
#define _MM_SHUFFLE | ( | z, | |
y, | |||
x, | |||
w | |||
) | (((z) << 6) | ((y) << 4) | ((x) << 2) | (w)) |
Definition at line 2932 of file xmmintrin.h.
#define _mm_shuffle_pi16 | ( | a, | |
n | |||
) | (__m64)__builtin_ia32_pshufw((__v4hi)(__m64)(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. |
Definition at line 2361 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. |
Definition at line 2603 of file xmmintrin.h.
#define _MM_TRANSPOSE4_PS | ( | row0, | |
row1, | |||
row2, | |||
row3 | |||
) |
Definition at line 2970 of file xmmintrin.h.
typedef unsigned int __v4su __attribute__((__vector_size__(16))) |
Definition at line 15 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 70 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 50 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 404 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 426 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 2426 of file xmmintrin.h.
|
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 2407 of file xmmintrin.h.
|
static |
Compares each of the corresponding 32-bit float values of the 128-bit vectors of [4 x float] for equality.
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 503 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands for equality and returns the result of the comparison in the low-order bits of a vector [4 x float].
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 485 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.
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 677 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 656 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.
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 632 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 611 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.
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 588 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 569 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.
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 545 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 526 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.
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 719 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands for inequality and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 700 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.
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 902 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 880 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.
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 855 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 833 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.
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 808 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 788 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.
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 763 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 743 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.
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 947 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 927 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.
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 992 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 and returns the result of the comparison in the low-order bits of a vector of [4 x float].
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 972 of file xmmintrin.h.
|
static |
Compares two 32-bit float values in the low-order bits of both operands for equality and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1016 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1113 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1089 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1065 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1041 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 1 is returned.
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 1137 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 1586 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].
This intrinsic corresponds to the CVTPS2PI
instruction.
__a | A 128-bit vector of [4 x float]. |
Definition at line 1374 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 1513 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.
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 1320 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 2729 of file xmmintrin.h.
References __a, __b, __c, _mm_cmpgt_pi16(), _mm_cvtpi32_ps(), _mm_movelh_ps(), _mm_setzero_ps(), _mm_setzero_si64(), _mm_unpackhi_pi16(), and _mm_unpacklo_pi16().
Referenced by _mm_cvtpi8_ps(), and _mm_cvtpu8_ps().
|
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 1563 of file xmmintrin.h.
Referenced by _mm_cvt_pi2ps(), _mm_cvtpi16_ps(), _mm_cvtpi32x2_ps(), and _mm_cvtpu16_ps().
|
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 2840 of file xmmintrin.h.
References __a, __b, __c, _mm_cvtpi32_ps(), _mm_movelh_ps(), and _mm_setzero_ps().
|
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 2788 of file xmmintrin.h.
References __a, __b, _mm_cmpgt_pi8(), _mm_cvtpi16_ps(), _mm_setzero_si64(), and _mm_unpacklo_pi8().
|
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 2869 of file xmmintrin.h.
References __a, __b, __c, _mm_cvtps_pi32(), _mm_movehl_ps(), and _mm_packs_pi32().
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].
This intrinsic corresponds to the CVTPS2PI
instruction.
__a | A 128-bit vector of [4 x float]. |
Definition at line 1358 of file xmmintrin.h.
References __a.
Referenced by _mm_cvt_ps2pi(), and _mm_cvtps_pi16().
|
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 2899 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 2759 of file xmmintrin.h.
References __a, __b, __c, _mm_cvtpi32_ps(), _mm_movelh_ps(), _mm_setzero_ps(), _mm_setzero_si64(), _mm_unpackhi_pi16(), and _mm_unpacklo_pi16().
|
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 2813 of file xmmintrin.h.
References __a, __b, _mm_cvtpi16_ps(), _mm_setzero_si64(), and _mm_unpacklo_pi8().
|
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 1490 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 1603 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.
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 1302 of file xmmintrin.h.
References __a.
Referenced by _mm_cvt_ss2si().
|
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], truncating the result when it is inexact.
This intrinsic corresponds to the CVTTPS2PI
instruction.
__a | A 128-bit vector of [4 x float]. |
Definition at line 1468 of file xmmintrin.h.
References __a, and _mm_cvttps_pi32().
|
static |
Converts a float value contained in the lower 32 bits of a vector of [4 x float] into a 32-bit integer, truncating the result when it is inexact.
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 1412 of file xmmintrin.h.
References __a, and _mm_cvttss_si32().
|
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], truncating the result when it is inexact.
This intrinsic corresponds to the CVTTPS2PI / VTTPS2PI
instructions.
__a | A 128-bit vector of [4 x float]. |
Definition at line 1451 of file xmmintrin.h.
References __a.
Referenced by _mm_cvtt_ps2pi().
|
static |
Converts a float value contained in the lower 32 bits of a vector of [4 x float] into a 32-bit integer, truncating the result when it is inexact.
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 1393 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 196 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 177 of file xmmintrin.h.
Referenced by _mm_mask_div_ss(), and _mm_maskz_div_ss().
unsigned int _mm_getcsr | ( | void | ) |
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 1700 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 1723 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 1678 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 1624 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 1651 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 1762 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 1740 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 2388 of file xmmintrin.h.
References __p.
|
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 2231 of file xmmintrin.h.
|
static |
Compares two 128-bit vectors of [4 x float] and returns the greater of each pair of values.
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 386 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 2250 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].
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 367 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 2269 of file xmmintrin.h.
|
static |
Compares two 128-bit vectors of [4 x float] and returns the lesser of each pair of values.
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 344 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 2288 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].
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 325 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 2668 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 2690 of file xmmintrin.h.
Referenced by _mm_cvtps_pi16().
|
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 2711 of file xmmintrin.h.
Referenced by _mm_cvtpi16_ps(), _mm_cvtpi32x2_ps(), and _mm_cvtpu16_ps().
|
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 2306 of file xmmintrin.h.
References __a.
|
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 2924 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 155 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 135 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 2325 of file xmmintrin.h.
|
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 444 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 266 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 249 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 302 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 285 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 2448 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 1814 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 1860 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 1833 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 1796 of file xmmintrin.h.
void _mm_setcsr | ( | unsigned int | __i | ) |
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 1888 of file xmmintrin.h.
|
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 1903 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_cvtpi16_ps(), _mm_cvtpi32x2_ps(), _mm_cvtpu16_ps(), _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 231 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 214 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 2023 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 2004 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 2043 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 1962 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 1920 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 1941 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 2062 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 1983 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 2120 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 2139 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 113 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 92 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1161 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1260 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1235 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1210 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 0 is returned.
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 1185 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 and returns the result of the comparison.
If either of the two lower 32-bit values is NaN, 1 is returned.
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 1284 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 1776 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 2624 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 2646 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 463 of file xmmintrin.h.
Referenced by _mm_mask_xor_ps(), and _mm_maskz_xor_ps().