docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vqdmlal_n_s16

    vqdmlal_n_s16(v128, v64, short)

    Signed saturating Doubling Multiply-Add Long (by element). This instruction multiplies each vector element in the lower or upper half of the first source SIMD&FP register by the specified vector element of the second source SIMD&FP register, doubles the results, and accumulates the final results with the vector elements of the destination SIMD&FP register. The destination vector elements are twice as long as the elements that are multiplied.If overflow occurs with any of the results, those results are saturated. If saturation occurs, the cumulative saturation bit FPSR.QC is set.The SQDMLAL instruction extracts vector elements from the lower half of the first source register, while the SQDMLAL2 instruction extracts vector elements from the upper half of the first source register.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: SQDMLAL Vd.4S,Vn.4H,Vm.H[0]

    Declaration
    public static v128 vqdmlal_n_s16(v128 a0, v64 a1, short a2)
    Parameters
    Type Name Description
    v128 a0

    128-bit vector a0

    v64 a1

    64-bit vector a1

    short a2

    Int16 a2

    Returns
    Type Description
    v128

    128-bit vector

    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)