10#if !defined __IMMINTRIN_H
11#error "Never use <f16cintrin.h> directly; include <immintrin.h> instead."
18#define __DEFAULT_FN_ATTRS128 \
19 __attribute__((__always_inline__, __nodebug__, __target__("f16c"), __min_vector_width__(128)))
20#define __DEFAULT_FN_ATTRS256 \
21 __attribute__((__always_inline__, __nodebug__, __target__("f16c"), __min_vector_width__(256)))
41 __v8hi
__v = {(short)
__a, 0, 0, 0, 0, 0, 0, 0};
42 __v4sf __r = __builtin_ia32_vcvtph2ps(
__v);
68#define _cvtss_sh(a, imm) __extension__ ({ \
69 (unsigned short)(((__v8hi)__builtin_ia32_vcvtps2ph((__v4sf){a, 0, 0, 0}, \
95#define _mm_cvtps_ph(a, imm) \
96 ((__m128i)__builtin_ia32_vcvtps2ph((__v4sf)(__m128)(a), (imm)))
112 return (__m128)__builtin_ia32_vcvtph2ps((__v8hi)
__a);
138#define _mm256_cvtps_ph(a, imm) \
139 ((__m128i)__builtin_ia32_vcvtps2ph256((__v8sf)(__m256)(a), (imm)))
156 return (__m256)__builtin_ia32_vcvtph2ps256((__v8hi)
__a);
159#undef __DEFAULT_FN_ATTRS128
160#undef __DEFAULT_FN_ATTRS256
static __inline__ void int __a
#define __DEFAULT_FN_ATTRS256
#define __DEFAULT_FN_ATTRS128
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 contain...
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...
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.
struct __storeu_i16 *__P __v