SIMD ISAReturn TypeNameArgumentsInstruction Group
Heliummve_pred16_t[__arm_]vctp16q_m(uint32_t a, mve_pred16_t p)Predication / Create vector tail predicate
Description
Creates a predicate pattern in VPR.P0 such that any element numbered the value of Rn or greater is predicated. Any element numbered lower than the value of Rn is not predicated. If placed within a VPT block and a lane is predicated, the corresponding VPR.P0 pattern will also be predicated. The generated VPR.P0 pattern can be used by an ensuing predication instruction to apply tail predication on a vector register.
Results
Rd result
This intrinsic compiles to the following instructions:

VMSR P0,Rp

VPST

VCTPT.16 Rn

VMRS Rd,P0

Argument Preparation
a register: Rnp register: Rp
Architectures
MVE