Documentation

Unity Engine


Unity Engine


vrhaddq_u8(v128, v128)

Unsigned Rounding Halving Add. This instruction adds corresponding unsigned 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 rounded. For truncated results, see UHADD.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: URHADD Vd.16B,Vn.16B,Vm.16B
Read time 1 minuteLast updated a month ago

Definition

public static v128 vrhaddq_u8(v128 a0, v128 a1)

Parameters

128-bit vector a0

128-bit vector a1

Returns

Type

Description

v128128-bit vector