| |||
| Home > NEON and VFP Programming > NEON and VFP pseudo-instructions > VMOV2 | |||
The VMOV2 pseudo-instruction generates an immediate
value and places it in every element of a NEON vector, without loading
a value from a literal pool. It always assembles to exactly two instructions.
VMOV2 can generate any 16-bit immediate value,
and a restricted range of 32-bit and 64-bit immediate values.
VMOV2{cond}.datatypeQd, #constant
VMOV2{cond}.datatypeDd, #constant
where:
datatypemust be one of:
I8, I16, I32,
or I64
S8, S16, S32,
or S64
U8, U16, U32,
or U64
F32.
condis an optional condition code.
Qd or Ddis the extension register to be loaded.
constantis an immediate value of the appropriate type for .datatype
VMOV2 typically assembles to a VMOV or VMVN instruction,
followed by a VBIC or VORR instruction.
Using the Assembler: