docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vqrshls_s32

    vqrshls_s32(int, int)

    Signed saturating Rounding Shift Left (register). This instruction takes each vector element in the first source SIMD&FP register, shifts it by a value from the least significant byte of the corresponding vector element of the second source SIMD&FP register, places the results into a vector, and writes the vector to the destination SIMD&FP register.If the shift value is positive, the operation is a left shift. Otherwise, it is a right shift. The results are rounded. For truncated results, see SQSHL.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: SQRSHL Sd,Sn,Sm

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

    Int32 a0

    int a1

    Int32 a1

    Returns
    Type Description
    int

    Int32

    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)