SIMD ISAReturn TypeNameArgumentsInstruction Group
Heliumuint16_t[__arm_]vmaxvq_p[_u16](uint16_t a, uint16x8_t b, mve_pred16_t p)Vector arithmetic / Maximum
Description
Find the maximum value of the elements in a vector register. Store the maximum value in the general-purpose destination register only if it is larger than the starting value of the general-purpose destination register. The general-purpose register is read as the same width as the vector elements. The result of the operation is sign-extended to 32 bits before being stored back. The absolute variant of the instruction compares the absolute value of signed vector elements and treats the value in the general-purpose register as unsigned.
Results
Rda result
This intrinsic compiles to the following instructions:

VMSR P0,Rp

VPST

VMAXVT.U16 Rda,Qm

Argument Preparation
a register: Rdab register: Qmp register: Rp
Architectures
MVE