# vmaxq_u16(v128, v128)

> Unsigned Maximum (vector). This instruction compares corresponding elements in the vectors in the two source SIMD&FP registers, places the larger of each pair of unsigned integer values into a vector, and writes the vector to the destination SIMD&FP 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: UMAX Vd.8H,Vn.8H,Vm.8H

## Definition

* **Type:** Method
* **Namespace:** [Unity.Burst.Intrinsics](/engine/6000.7/script-reference/unity/burst/intrinsics.md)
* **Assembly:** UnityEngine.BurstModule

```csharp
public static v128 vmaxq_u16(v128 a0, v128 a1)
```

### Parameters

**** (\[v128]\(/engine/6000.7/script-reference/unity/burst/intrinsics/v128)): 128-bit vector a0**** (\[v128]\(/engine/6000.7/script-reference/unity/burst/intrinsics/v128)): 128-bit vector a1

### Returns

| Type                                                                   | Description    |
| ---------------------------------------------------------------------- | -------------- |
| [v128](/engine/6000.7/script-reference/unity/burst/intrinsics/v128.md) | 128-bit vector |
