Method vqaddq_s16
vqaddq_s16(v128, v128)
Signed saturating Add. This instruction adds the values of corresponding elements of the two source SIMD&FP registers, places the results into a vector, and writes the vector to the destination SIMD&FP register.If overflow occurs with any of the results, those results are saturated. If saturation occurs, the cumulative saturation bit FPSR.QC is set.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: SQADD Vd.8H,Vn.8H,Vm.8H
Declaration
public static v128 vqaddq_s16(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 |