docs.unity3d.com
    Show / Hide Table of Contents

    Class X86.F16C

    F16C intrinsics

    Inheritance
    Object
    X86.F16C
    Namespace: Unity.Burst.Intrinsics
    Syntax
    public static class F16C : object

    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 © 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