Class X86.F16C | Burst | 1.3.9
docs.unity3d.com
    Show / Hide Table of Contents

    Class X86.F16C

    F16C intrinsics

    Inheritance
    Object
    X86.F16C
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023