docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vqdmlalh_laneq_s16

    vqdmlalh_laneq_s16(int, short, v128, int)

    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 Sd,Hn,Vm.H[lane]

    Declaration
    public static int vqdmlalh_laneq_s16(int a0, short a1, v128 a2, int a3)
    Parameters
    Type Name Description
    int a0

    Int32 a0

    short a1

    Int16 a1

    v128 a2

    128-bit vector a2

    int a3

    Lane index to a2. Must be an immediate in the range of [0..7]

    Returns
    Type Description
    int

    Int32

    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)