| |||
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
}.datatype
Qd
, #imm
Vop
{cond
}.datatype
Dd
, #imm
where:
op
must be either MOV
or MVN
.
cond
is an optional condition code.
datatype
must be one of I8
, I16
, I32
, I64
,
or F32
.
Qd
or Dd
is the NEON register for the result.
imm
is 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 +/- |