docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vqaddh_s16

    vqaddh_s16(short, short)

    Signed saturating Add. This instruction adds the values of corresponding elements of the two source SIMD&FP registers, places the results into a vector, and writes the vector to the destination SIMD&FP register.If overflow occurs with any of the results, those results are saturated. If saturation occurs, the cumulative saturation bit FPSR.QC is set.Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped.
    Equivalent instruction: SQADD Hd,Hn,Hm

    Declaration
    public static short vqaddh_s16(short a0, short a1)
    Parameters
    Type Name Description
    short a0

    Int16 a0

    short a1

    Int16 a1

    Returns
    Type Description
    short

    Int16

    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)