docs.unity.cn
    Show / Hide Table of Contents

    Method vget_lane_f32

    vget_lane_f32(v64, Int32)

    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 Sd,Vn.S[lane]

    Declaration
    public static float vget_lane_f32(v64 a0, int a1)
    Parameters
    Type Name Description
    v64 a0

    64-bit vector a0

    Int32 a1

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

    Returns
    Type Description
    Single

    Single

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use