docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vset_lane_u16

    vset_lane_u16(ushort, v64, int)

    Insert vector element from another vector element. This instruction copies the vector element of the source SIMD&FP register to the specified vector element of the destination SIMD&FP register.This instruction can insert data into individual elements within a SIMD&FP register without clearing the remaining bits to zero.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: MOV Vd.H[lane],Rn

    Declaration
    public static v64 vset_lane_u16(ushort a0, v64 a1, int a2)
    Parameters
    Type Name Description
    ushort a0

    UInt16 a0

    v64 a1

    64-bit vector a1

    int a2

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

    Returns
    Type Description
    v64

    64-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)