ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include <emmintrin.h>
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("sse3"), __min_vector_width__(128))) |
#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]. More... | |
Functions | |
static __inline__ __m128i __DEFAULT_FN_ATTRS | _mm_lddqu_si128 (__m128i const *__p) |
Loads data from an unaligned memory location to elements in a 128-bit vector. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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]. More... | |
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. More... | |
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. More... | |
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("sse3"), __min_vector_width__(128))) |
Definition at line 16 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 227 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 161 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 53 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 184 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 76 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 207 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 99 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 34 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.
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 264 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 243 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 121 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 142 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 causes the processor to exit the pending state.
This intrinsic corresponds to the MWAIT
instruction.
__extensions | Optional extensions for the monitoring state, which may vary by processor. |
__hints | Optional hints for the monitoring state, which may vary by processor. |
Definition at line 283 of file pmmintrin.h.