[__arm_]vmaxvq_p[_u16]
SIMD ISA | Return Type | Name | Arguments | Instruction Group | |
---|---|---|---|---|---|
Helium | uint16_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 VPST VMAXVT.U16 Argument Preparation a register: Rdab register: Qmp register: Rp Architectures MVE |
Copyright © 1995-2025 Arm Limited (or its affiliates). All rights reserved.