Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

Arm.Neon.vhadd_s32

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static v64 vhadd_s32(v64 a0, v64 a1);

Parameters

Parameter Description
a0 64-bit vector a0
a1 64-bit vector a1

Returns

v64 64-bit vector

Description

Signed Halving Add. This instruction adds corresponding signed integer values from the two source SIMD&FP registers, shifts each result right one bit, places the results into a vector, and writes the vector to the destination SIMD&FP register.The results are truncated. For rounded results, see SRHADD.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: SHADD Vd.2S,Vn.2S,Vm.2S