docs.unity.cn
    Show / Hide Table of Contents

    Method vqaddh_s16

    vqaddh_s16(Int16, Int16)

    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
    Int16 a0

    Int16 a0

    Int16 a1

    Int16 a1

    Returns
    Type Description
    Int16

    Int16

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, August 23, 2022
    Terms of use