docs.unity.cn
    Show / Hide Table of Contents

    Method vqshlh_u16

    vqshlh_u16(UInt16, Int16)

    Unsigned saturating Shift Left (immediate). This instruction takes each vector element in the source SIMD&FP register, shifts it by an immediate value, places the results in a vector, and writes the vector to the destination SIMD&FP register. The results are truncated. For rounded results, see UQRSHL.If overflow occurs with any of the results, those results are saturated. If saturation occurs, the cumulative saturation bit FPSR.QC is set.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: UQSHL Hd,Hn,Hm

    Declaration
    public static ushort vqshlh_u16(ushort a0, short a1)
    Parameters
    Type Name Description
    UInt16 a0

    UInt16 a0

    Int16 a1

    Int16 a1

    Returns
    Type Description
    UInt16

    UInt16

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, August 23, 2022
    Terms of use