| |||
| Home > NEON and VFP Programming > NEON general data processing instructions > VMOV, VMVN (immediate) | |||
VMOV (Vector Move) and VMVN (Vector
Move Negative) immediate generate an immediate value into the destination
register.
Vop{cond}.datatypeQd, #imm
Vop{cond}.datatypeDd, #imm
where:
opmust be either MOV or MVN.
condis an optional condition code.
datatypemust be one of I8, I16, I32, I64,
or F32.
Qd or Ddis the NEON register for the result.
immis an immediate value of the type specified by .
This is replicated to fill the destination register.datatype
Table 19. Available immediate values
| datatype | VMOV | VMVN |
|---|---|---|
I8 | 0xXY | - |
I16 | 0x00XY, 0xXY00 | 0xFFXY, 0xXYFF |
I32 | 0x000000XY, 0x0000XY00, 0x00XY0000, 0xXY000000 | 0xFFFFFFXY, 0xFFFFXYFF, 0xFFXYFFFF, 0xXYFFFFFF |
0x0000XYFF, 0x00XYFFFF | 0xFFFFXY00, 0xFFXY0000 | |
I64 | byte masks, 0xGGHHJJKKLLMMNNPP [a] | - |
F32 | floating-point numbers [b] | - |
[a] Each of [b] Any
number that can be expressed as +/- | ||