docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vsqaddb_u8

    vsqaddb_u8(byte, sbyte)

    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 Bd,Bn

    Declaration
    public static byte vsqaddb_u8(byte a0, sbyte a1)
    Parameters
    Type Name Description
    byte a0

    Byte a0

    sbyte a1

    SByte a1

    Returns
    Type Description
    byte

    Byte

    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)