docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vdupq_lane_s16

    vdupq_lane_s16(v64, int)

    Duplicate vector element to vector or scalar. This instruction duplicates the vector element at the specified element index in the source SIMD&FP register into a scalar or each element in a vector, and writes the result to the destination SIMD&FP 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: DUP Vd.8H,Vn.H[lane]

    Declaration
    public static v128 vdupq_lane_s16(v64 a0, int a1)
    Parameters
    Type Name Description
    v64 a0

    64-bit vector a0

    int a1

    Lane index to a0. Must be an immediate in the range of [0..3]

    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)