docs.unity3d.com
    目次を表示する/隠す

    Method vsubhn_s32

    vsubhn_s32(v128, v128)

    Subtract returning High Narrow. This instruction subtracts each vector element in the second source SIMD&FP register from the corresponding vector element in the first source SIMD&FP register, places the most significant half of the result into a vector, and writes the vector to the lower or upper half of the destination SIMD&FP register. All the values in this instruction are signed integer values.The results are truncated. For rounded results, see RSUBHN.The SUBHN instruction writes the vector to the lower half of the destination register and clears the upper half, while the SUBHN2 instruction writes the vector to the upper half of the destination register without affecting the other bits of the 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: SUBHN Vd.4H,Vn.4S,Vm.4S

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

    128-bit vector a0

    v128 a1

    128-bit vector a1

    Returns
    Type Description
    v64

    64-bit vector

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)