docs.unity.cn
    Show / Hide Table of Contents

    Method vshrq_n_s32

    vshrq_n_s32(v128, Int32)

    Signed Shift Right (immediate). This instruction reads each vector element in the source SIMD&FP register, right shifts each result by an immediate value, places the final result into a vector, and writes the vector to the destination SIMD&FP register. All the values in this instruction are signed integer values. The results are truncated. For rounded results, see SRSHR.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: SSHR Vd.4S,Vn.4S,#n

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

    128-bit vector a0

    Int32 a1

    Int32 a1

    Returns
    Type Description
    v128

    128-bit vector

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