docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vsra_n_s32

    vsra_n_s32(v64, v64, int)

    Signed Shift Right and Accumulate (immediate). This instruction reads each vector element in the source SIMD&FP register, right shifts each result by an immediate value, and accumulates the final results with the vector elements of the destination SIMD&FP register. All the values in this instruction are signed integer values. The results are truncated. For rounded results, see SRSRA.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: SSRA Vd.2S,Vn.2S,#n

    Declaration
    public static v64 vsra_n_s32(v64 a0, v64 a1, int a2)
    Parameters
    Type Name Description
    v64 a0

    64-bit vector a0

    v64 a1

    64-bit vector a1

    int a2

    Int32 a2

    Returns
    Type Description
    v64

    64-bit vector

    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)