docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vhsubq_s8

    vhsubq_s8(v128, v128)

    Signed Halving Subtract. This instruction subtracts the elements in the vector in the second source SIMD&FP register from the corresponding elements in the vector in the first source SIMD&FP register, shifts each result right one bit, places each result into elements of a vector, and writes the vector to the destination SIMD&FP register.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: SHSUB Vd.16B,Vn.16B,Vm.16B

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

    128-bit vector a0

    v128 a1

    128-bit vector a1

    Returns
    Type Description
    v128

    128-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)