Method vhadd_s8
vhadd_s8(v64, v64)
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.8B,Vn.8B,Vm.8B
Declaration
public static v64 vhadd_s8(v64 a0, v64 a1)
Parameters
Type | Name | Description |
---|---|---|
v64 | a0 | 64-bit vector a0 |
v64 | a1 | 64-bit vector a1 |
Returns
Type | Description |
---|---|
v64 | 64-bit vector |