docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method mm256_cvtps_ph

    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:

    Declaration
    public static v128 mm256_cvtps_ph(v256 a, int rounding)
    Parameters
    Type Name Description
    v256 a

    Vector a

    int rounding

    Rounding mode

    Returns
    Type Description
    v128

    Vector

    Remarks

    **** cvtps2ph xmm, ymm, imm

    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)