docs.unity3d.com
    Show / Hide Table of Contents

    Method mm256_cvtps_ph

    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

    Vector a

    Int32 rounding

    Rounding mode

    Returns
    Type Description
    v128

    Vector

    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