Class X86.F16C
F16C intrinsics
Inherited Members
Namespace: Unity.Burst.Intrinsics
Syntax
public static class F16C
Properties
IsF16CSupported
Evaluates to true at compile time if F16C intrinsics are supported.
Burst ties F16C support to AVX2 support to simplify feature sets to support.
Declaration
public static bool IsF16CSupported { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
cvtph_ps(v128)
Convert packed half-precision (16-bit) floating-point elements in a to packed single-precision (32-bit) floating-point elements, and store the results in dst.
Declaration
public static v128 cvtph_ps(v128 a)
Parameters
Type | Name | Description |
---|---|---|
v128 | a |
Returns
Type | Description |
---|---|
v128 |
Remarks
**** vcvtph2ps xmm, xmm
cvtps_ph(v128, 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 cvtps_ph(v128 a, int rounding)
Parameters
Type | Name | Description |
---|---|---|
v128 | a | |
Int32 | rounding |
Returns
Type | Description |
---|---|
v128 |
Remarks
**** cvtps2ph xmm, xmm, imm
mm256_cvtph_ps(v128)
Convert packed half-precision (16-bit) floating-point elements in a to packed single-precision (32-bit) floating-point elements, and store the results in dst.
Declaration
public static v256 mm256_cvtph_ps(v128 a)
Parameters
Type | Name | Description |
---|---|---|
v128 | a |
Returns
Type | Description |
---|---|
v256 |
Remarks
**** vcvtph2ps ymm, xmm
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 | |
Int32 | rounding |
Returns
Type | Description |
---|---|
v128 |
Remarks
**** cvtps2ph xmm, ymm, imm