docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Burst.dll
    Syntax
    public static class X86.F16C

    Properties

    Name Description
    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.

    Methods

    Name Description
    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.

    cvtps_ph(v128, int)

    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:

    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.

    mm256_cvtps_ph(v256, int)

    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:

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)