docs.unity.cn
    Show / Hide Table of Contents

    Method vshl_u16

    vshl_u16(v64, v64)

    Unsigned Shift Left (register). This instruction takes each element in the vector of the first source SIMD&FP register, shifts each element by a value from the least significant byte of the corresponding element of the second source SIMD&FP register, places the results in a vector, and writes the vector to the destination SIMD&FP register.If the shift value is positive, the operation is a left shift. If the shift value is negative, it is a truncating right shift. For a rounding shift, see URSHL.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: USHL Vd.4H,Vn.4H,Vm.4H

    Declaration
    public static v64 vshl_u16(v64 a0, v64 a1)
    Parameters
    Type Name Description
    v64 a0

    64-bit vector a0

    v64 a1

    64-bit vector a1

    Returns
    Type Description
    v64

    64-bit vector

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