docs.unity.cn
    Show / Hide Table of Contents

    Method vsqadds_u32

    vsqadds_u32(UInt32, Int32)

    Unsigned saturating Accumulate of Signed value. This instruction adds the signed integer values of the vector elements in the source SIMD&FP register to corresponding unsigned integer values of the vector elements in the destination SIMD&FP register, and accumulates the resulting unsigned integer values with the vector elements of 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: USQADD Sd,Sn

    Declaration
    public static uint vsqadds_u32(uint a0, int a1)
    Parameters
    Type Name Description
    UInt32 a0

    UInt32 a0

    Int32 a1

    Int32 a1

    Returns
    Type Description
    UInt32

    UInt32

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use