docs.unity3d.com
    Show / Hide Table of Contents

    Method vqrshrun_high_n_s16

    vqrshrun_high_n_s16(v64, v128, Int32)

    Signed saturating Rounded Shift Right Unsigned Narrow (immediate). This instruction reads each signed integer value in the vector of the source SIMD&FP register, right shifts each value by an immediate value, saturates the result to an unsigned integer value that is half the original width, places the final result into a vector, and writes the vector to the destination SIMD&FP register. The results are rounded. For truncated results, see SQSHRUN.The SQRSHRUN instruction writes the vector to the lower half of the destination register and clears the upper half, while the SQRSHRUN2 instruction writes the vector to the upper half of the destination register without affecting the other bits of the register.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: SQRSHRUN2 Vd.16B,Vn.8H,#n

    Declaration
    public static v128 vqrshrun_high_n_s16(v64 a0, v128 a1, Int32 a2)
    Parameters
    Type Name Description
    v64 a0

    64-bit vector a0

    v128 a1

    128-bit vector a1

    Int32 a2

    Int32 a2

    Returns
    Type Description
    v128

    128-bit vector

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023