Visible to Intel only — GUID: GUID-7679FF37-257B-4F90-8668-5B3AA62587AD
Visible to Intel only — GUID: GUID-7679FF37-257B-4F90-8668-5B3AA62587AD
_mm_cvtps_ph()
Converts four single-precision floating point values to half-precision (16-bit) floating point values. The corresponding 3rd Generation Intel® Core™ Processor extension instruction is VCVTPS2PH.
Syntax
extern __m128i _mm_cvtps_ph(__m128 x, int imm); |
Arguments
- X
-
a vector containing four single-precision FP values
- Imm
-
a conversion control constant
Description
This intrinsic converts four single-precision floating point values to half-precision (16-bit) floating point values.
Returns
A vector containing eight half-precision (16-bit) floating point elements.