ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS128 __attribute__((__always_inline__, __nodebug__, __target__("f16c"), __min_vector_width__(128))) |
#define | __DEFAULT_FN_ATTRS256 __attribute__((__always_inline__, __nodebug__, __target__("f16c"), __min_vector_width__(256))) |
#define | _cvtss_sh(a, imm) |
Converts a 32-bit single-precision float value to a 16-bit half-precision float value. More... | |
#define | _mm_cvtps_ph(a, imm) (__m128i)__builtin_ia32_vcvtps2ph((__v4sf)(__m128)(a), (imm)) |
Converts a 128-bit vector containing 32-bit float values into a 128-bit vector containing 16-bit half-precision float values. More... | |
#define | _mm256_cvtps_ph(a, imm) (__m128i)__builtin_ia32_vcvtps2ph256((__v8sf)(__m256)(a), (imm)) |
Converts a 256-bit vector of [8 x float] into a 128-bit vector containing 16-bit half-precision float values. More... | |
Functions | |
static __inline float __DEFAULT_FN_ATTRS128 | _cvtsh_ss (unsigned short __a) |
Converts a 16-bit half-precision float value into a 32-bit float value. More... | |
static __inline __m128 __DEFAULT_FN_ATTRS128 | _mm_cvtph_ps (__m128i __a) |
Converts a 128-bit vector containing 16-bit half-precision float values into a 128-bit vector containing 32-bit float values. More... | |
static __inline __m256 __DEFAULT_FN_ATTRS256 | _mm256_cvtph_ps (__m128i __a) |
Converts a 128-bit vector containing 16-bit half-precision float values into a 256-bit vector of [8 x float]. More... | |
#define __DEFAULT_FN_ATTRS128 __attribute__((__always_inline__, __nodebug__, __target__("f16c"), __min_vector_width__(128))) |
Definition at line 18 of file f16cintrin.h.
#define __DEFAULT_FN_ATTRS256 __attribute__((__always_inline__, __nodebug__, __target__("f16c"), __min_vector_width__(256))) |
Definition at line 20 of file f16cintrin.h.
#define _cvtss_sh | ( | a, | |
imm | |||
) |
Converts a 32-bit single-precision float value to a 16-bit half-precision float value.
This intrinsic corresponds to the VCVTPS2PH
instruction.
a | A 32-bit single-precision float value to be converted to a 16-bit half-precision float value. |
imm | An immediate value controlling rounding using bits [2:0]: 000: Nearest 001: Down 010: Up 011: Truncate 1XX: Use MXCSR.RC for rounding |
Definition at line 68 of file f16cintrin.h.
#define _mm256_cvtps_ph | ( | a, | |
imm | |||
) | (__m128i)__builtin_ia32_vcvtps2ph256((__v8sf)(__m256)(a), (imm)) |
Converts a 256-bit vector of [8 x float] into a 128-bit vector containing 16-bit half-precision float values.
This intrinsic corresponds to the VCVTPS2PH
instruction.
a | A 256-bit vector containing 32-bit single-precision float values to be converted to 16-bit half-precision float values. |
imm | An immediate value controlling rounding using bits [2:0]: 000: Nearest 001: Down 010: Up 011: Truncate 1XX: Use MXCSR.RC for rounding |
Definition at line 138 of file f16cintrin.h.
#define _mm_cvtps_ph | ( | a, | |
imm | |||
) | (__m128i)__builtin_ia32_vcvtps2ph((__v4sf)(__m128)(a), (imm)) |
Converts a 128-bit vector containing 32-bit float values into a 128-bit vector containing 16-bit half-precision float values.
This intrinsic corresponds to the VCVTPS2PH
instruction.
a | A 128-bit vector containing 32-bit float values. |
imm | An immediate value controlling rounding using bits [2:0]: 000: Nearest 001: Down 010: Up 011: Truncate 1XX: Use MXCSR.RC for rounding |
Definition at line 95 of file f16cintrin.h.
|
static |
Converts a 16-bit half-precision float value into a 32-bit float value.
This intrinsic corresponds to the VCVTPH2PS
instruction.
__a | A 16-bit half-precision float value. |
Definition at line 39 of file f16cintrin.h.
|
static |
Converts a 128-bit vector containing 16-bit half-precision float values into a 256-bit vector of [8 x float].
This intrinsic corresponds to the VCVTPH2PS
instruction.
__a | A 128-bit vector containing 16-bit half-precision float values to be converted to 32-bit single-precision float values. |
Definition at line 154 of file f16cintrin.h.
References __a.
|
static |
Converts a 128-bit vector containing 16-bit half-precision float values into a 128-bit vector containing 32-bit float values.
This intrinsic corresponds to the VCVTPH2PS
instruction.
__a | A 128-bit vector containing 16-bit half-precision float values. The lower 64 bits are used in the conversion. |
Definition at line 110 of file f16cintrin.h.
References __a.