docs.unity.cn
    Show / Hide Table of Contents

    Class X86.F16C

    F16C intrinsics

    Inheritance
    Object
    X86.F16C
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Burst.Intrinsics
    Syntax
    public static class 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, 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:

    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, 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:

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use