docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vqshlh_n_u16

    vqshlh_n_u16(ushort, int)

    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,#n

    Declaration
    public static ushort vqshlh_n_u16(ushort a0, int a1)
    Parameters
    Type Name Description
    ushort a0

    UInt16 a0

    int a1

    Int32 a1

    Returns
    Type Description
    ushort

    UInt16

    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)