Lines Matching +full:128 +full:a
19 __attribute__((__always_inline__, __nodebug__, __target__("f16c"), __min_vector_width__(128)))
23 /* NOTE: Intel documents the 128-bit versions of these as being in emmintrin.h,
24 * but that's because icc can emulate these without f16c using a library call.
28 /// Converts a 16-bit half-precision float value into a 32-bit float
36 /// A 16-bit half-precision float value.
46 /// Converts a 32-bit single-precision float value to a 16-bit
52 /// unsigned short _cvtss_sh(float a, const int imm);
57 /// \param a
58 /// A 32-bit single-precision float value to be converted to a 16-bit
68 #define _cvtss_sh(a, imm) __extension__ ({ \ argument
69 (unsigned short)(((__v8hi)__builtin_ia32_vcvtps2ph((__v4sf){a, 0, 0, 0}, \
72 /// Converts a 128-bit vector containing 32-bit float values into a
73 /// 128-bit vector containing 16-bit half-precision float values.
78 /// __m128i _mm_cvtps_ph(__m128 a, const int imm);
83 /// \param a
84 /// A 128-bit vector containing 32-bit float values.
92 /// \returns A 128-bit vector containing converted 16-bit half-precision float
95 #define _mm_cvtps_ph(a, imm) \ argument
96 ((__m128i)__builtin_ia32_vcvtps2ph((__v4sf)(__m128)(a), (imm)))
98 /// Converts a 128-bit vector containing 16-bit half-precision float
99 /// values into a 128-bit vector containing 32-bit float values.
106 /// A 128-bit vector containing 16-bit half-precision float values. The lower
108 /// \returns A 128-bit vector of [4 x float] containing converted float values.
115 /// Converts a 256-bit vector of [8 x float] into a 128-bit vector
121 /// __m128i _mm256_cvtps_ph(__m256 a, const int imm);
126 /// \param a
127 /// A 256-bit vector containing 32-bit single-precision float values to be
136 /// \returns A 128-bit vector containing the converted 16-bit half-precision
138 #define _mm256_cvtps_ph(a, imm) \ argument
139 ((__m128i)__builtin_ia32_vcvtps2ph256((__v8sf)(__m256)(a), (imm)))
141 /// Converts a 128-bit vector containing 16-bit half-precision float
142 /// values into a 256-bit vector of [8 x float].
149 /// A 128-bit vector containing 16-bit half-precision float values to be
151 /// \returns A vector of [8 x float] containing the converted 32-bit