clang 20.0.0git
|
#include <emmintrin.h>
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS |
#define | _mm_loaddup_pd(dp) _mm_load1_pd(dp) |
Moves and duplicates one double-precision value to double-precision values stored in a 128-bit vector of [2 x double]. | |
Functions | |
static __inline__ __m128i __DEFAULT_FN_ATTRS | _mm_lddqu_si128 (__m128i_u const *__p) |
Loads data from an unaligned memory location to elements in a 128-bit vector. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_addsub_ps (__m128 __a, __m128 __b) |
Adds the even-indexed values and subtracts the odd-indexed values of two 128-bit vectors of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_hadd_ps (__m128 __a, __m128 __b) |
Horizontally adds the adjacent pairs of values contained in two 128-bit vectors of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_hsub_ps (__m128 __a, __m128 __b) |
Horizontally subtracts the adjacent pairs of values contained in two 128-bit vectors of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_movehdup_ps (__m128 __a) |
Moves and duplicates odd-indexed values from a 128-bit vector of [4 x float] to float values stored in a 128-bit vector of [4 x float]. | |
static __inline__ __m128 __DEFAULT_FN_ATTRS | _mm_moveldup_ps (__m128 __a) |
Duplicates even-indexed values from a 128-bit vector of [4 x float] to float values stored in a 128-bit vector of [4 x float]. | |
static __inline__ __m128d __DEFAULT_FN_ATTRS | _mm_addsub_pd (__m128d __a, __m128d __b) |
Adds the even-indexed values and subtracts the odd-indexed values of two 128-bit vectors of [2 x double]. | |
static __inline__ __m128d __DEFAULT_FN_ATTRS | _mm_hadd_pd (__m128d __a, __m128d __b) |
Horizontally adds the pairs of values contained in two 128-bit vectors of [2 x double]. | |
static __inline__ __m128d __DEFAULT_FN_ATTRS | _mm_hsub_pd (__m128d __a, __m128d __b) |
Horizontally subtracts the pairs of values contained in two 128-bit vectors of [2 x double]. | |
static __inline__ __m128d __DEFAULT_FN_ATTRS | _mm_movedup_pd (__m128d __a) |
Moves and duplicates the double-precision value in the lower bits of a 128-bit vector of [2 x double] to double-precision values stored in a 128-bit vector of [2 x double]. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_monitor (void const *__p, unsigned __extensions, unsigned __hints) |
Establishes a linear address memory range to be monitored and puts the processor in the monitor event pending state. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_mwait (unsigned __extensions, unsigned __hints) |
Used with the MONITOR instruction to wait while the processor is in the monitor event pending state. | |
#define __DEFAULT_FN_ATTRS |
Definition at line 25 of file pmmintrin.h.
#define _mm_loaddup_pd | ( | dp | ) | _mm_load1_pd(dp) |
Moves and duplicates one double-precision value to double-precision values stored in a 128-bit vector of [2 x double].
This intrinsic corresponds to the VMOVDDUP
instruction.
dp | A pointer to a double-precision value to be moved and duplicated. |
Definition at line 238 of file pmmintrin.h.
|
static |
Adds the even-indexed values and subtracts the odd-indexed values of two 128-bit vectors of [2 x double].
This intrinsic corresponds to the VADDSUBPD
instruction.
__a | A 128-bit vector of [2 x double] containing the left source operand. |
__b | A 128-bit vector of [2 x double] containing the right source operand. |
Definition at line 172 of file pmmintrin.h.
|
static |
Adds the even-indexed values and subtracts the odd-indexed values of two 128-bit vectors of [4 x float].
This intrinsic corresponds to the VADDSUBPS
instruction.
__a | A 128-bit vector of [4 x float] containing the left source operand. |
__b | A 128-bit vector of [4 x float] containing the right source operand. |
Definition at line 64 of file pmmintrin.h.
|
static |
Horizontally adds the pairs of values contained in two 128-bit vectors of [2 x double].
This intrinsic corresponds to the VHADDPD
instruction.
__a | A 128-bit vector of [2 x double] containing one of the source operands. The horizontal sum of the values is stored in the lower bits of the destination. |
__b | A 128-bit vector of [2 x double] containing one of the source operands. The horizontal sum of the values is stored in the upper bits of the destination. |
Definition at line 195 of file pmmintrin.h.
|
static |
Horizontally adds the adjacent pairs of values contained in two 128-bit vectors of [4 x float].
This intrinsic corresponds to the VHADDPS
instruction.
__a | A 128-bit vector of [4 x float] containing one of the source operands. The horizontal sums of the values are stored in the lower bits of the destination. |
__b | A 128-bit vector of [4 x float] containing one of the source operands. The horizontal sums of the values are stored in the upper bits of the destination. |
Definition at line 87 of file pmmintrin.h.
|
static |
Horizontally subtracts the pairs of values contained in two 128-bit vectors of [2 x double].
This intrinsic corresponds to the VHSUBPD
instruction.
__a | A 128-bit vector of [2 x double] containing one of the source operands. The horizontal difference of the values is stored in the lower bits of the destination. |
__b | A 128-bit vector of [2 x double] containing one of the source operands. The horizontal difference of the values is stored in the upper bits of the destination. |
Definition at line 218 of file pmmintrin.h.
|
static |
Horizontally subtracts the adjacent pairs of values contained in two 128-bit vectors of [4 x float].
This intrinsic corresponds to the VHSUBPS
instruction.
__a | A 128-bit vector of [4 x float] containing one of the source operands. The horizontal differences between the values are stored in the lower bits of the destination. |
__b | A 128-bit vector of [4 x float] containing one of the source operands. The horizontal differences between the values are stored in the upper bits of the destination. |
Definition at line 110 of file pmmintrin.h.
|
static |
Loads data from an unaligned memory location to elements in a 128-bit vector.
If the address of the data is not 16-byte aligned, the instruction may read two adjacent aligned blocks of memory to retrieve the requested data.
This intrinsic corresponds to the VLDDQU
instruction.
__p | A pointer to a 128-bit integer vector containing integer values. |
Definition at line 45 of file pmmintrin.h.
References __p.
|
static |
Establishes a linear address memory range to be monitored and puts the processor in the monitor event pending state.
Data stored in the monitored address range causes the processor to exit the pending state.
The MONITOR
instruction can be used in kernel mode, and in other modes if MSR C001_0015h[MonMwaitUserEn]
is set.
This intrinsic corresponds to the MONITOR
instruction.
__p | The memory range to be monitored. The size of the range is determined by CPUID function 0000_0005h. |
__extensions | Optional extensions for the monitoring state. |
__hints | Optional hints for the monitoring state. |
Definition at line 278 of file pmmintrin.h.
References __p.
|
static |
Moves and duplicates the double-precision value in the lower bits of a 128-bit vector of [2 x double] to double-precision values stored in a 128-bit vector of [2 x double].
This intrinsic corresponds to the VMOVDDUP
instruction.
__a | A 128-bit vector of [2 x double]. Bits [63:0] are written to bits [127:64] and [63:0] of the destination. |
Definition at line 254 of file pmmintrin.h.
References __a.
Referenced by _mm_mask_movedup_pd(), and _mm_maskz_movedup_pd().
|
static |
Moves and duplicates odd-indexed values from a 128-bit vector of [4 x float] to float values stored in a 128-bit vector of [4 x float].
This intrinsic corresponds to the VMOVSHDUP
instruction.
__a | A 128-bit vector of [4 x float]. Bits [127:96] of the source are written to bits [127:96] and [95:64] of the destination. Bits [63:32] of the source are written to bits [63:32] and [31:0] of the destination. |
Definition at line 132 of file pmmintrin.h.
References __a.
Referenced by _mm_mask_movehdup_ps(), and _mm_maskz_movehdup_ps().
|
static |
Duplicates even-indexed values from a 128-bit vector of [4 x float] to float values stored in a 128-bit vector of [4 x float].
This intrinsic corresponds to the VMOVSLDUP
instruction.
__a | A 128-bit vector of [4 x float] Bits [95:64] of the source are written to bits [127:96] and [95:64] of the destination. Bits [31:0] of the source are written to bits [63:32] and [31:0] of the destination. |
Definition at line 153 of file pmmintrin.h.
References __a.
Referenced by _mm_mask_moveldup_ps(), and _mm_maskz_moveldup_ps().
|
static |
Used with the MONITOR
instruction to wait while the processor is in the monitor event pending state.
Data stored in the monitored address range, or an interrupt, causes the processor to exit the pending state.
The MWAIT
instruction can be used in kernel mode, and in other modes if MSR C001_0015h[MonMwaitUserEn]
is set.
This intrinsic corresponds to the MWAIT
instruction.
__extensions | Optional extensions for the monitoring state, which can vary by processor. |
__hints | Optional hints for the monitoring state, which can vary by processor. |
Definition at line 300 of file pmmintrin.h.