|
clang
5.0.0
|
Go to the source code of this file.
Macros | |
| #define | __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("f16c"))) |
| #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) |
| Converts a 128-bit vector containing 32-bit float values into a 128-bit vector containing 16-bit half-precision float values. More... | |
Functions | |
| static __inline float __DEFAULT_FN_ATTRS | _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_ATTRS | _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... | |
| #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("f16c"))) |
Definition at line 32 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 75 of file f16cintrin.h.
| #define _mm_cvtps_ph | ( | 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 102 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 46 of file f16cintrin.h.
References v.
|
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 117 of file f16cintrin.h.
1.8.6