Method mm256_cvtps_ph
mm256_cvtps_ph(v256, Int32)
Convert packed single-precision (32-bit) floating-point elements in a to packed half-precision (16-bit) floating-point elements, and store the results in dst.
Rounding is done according to the rounding parameter, which can be one of:
Declaration
public static v128 mm256_cvtps_ph(v256 a, int rounding)
Parameters
| Type | Name | Description |
|---|---|---|
| v256 | a | Vector a |
| Int32 | rounding | Rounding mode |
Returns
| Type | Description |
|---|---|
| v128 | Vector |
Remarks
**** cvtps2ph xmm, ymm, imm