VMOV, VMVN (immediate)

VMOV (Vector Move) and VMVN (Vector Move Negative) immediate generate an immediate value into the destination register.

Show/hideSyntax

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 datatype. This is replicated to fill the destination register.

Table 19. Available immediate values

datatypeVMOVVMVN
I80xXY-
I160x00XY, 0xXY000xFFXY, 0xXYFF
I320x000000XY, 0x0000XY00, 0x00XY0000, 0xXY0000000xFFFFFFXY, 0xFFFFXYFF, 0xFFXYFFFF, 0xXYFFFFFF
0x0000XYFF, 0x00XYFFFF0xFFFFXY00, 0xFFXY0000
I64byte masks, 0xGGHHJJKKLLMMNNPP [a]-
F32floating-point numbers [b]-

[a] Each of 0xGG, 0xHH, 0xJJ, 0xKK, 0xLL, 0xMM, 0xNN, and 0xPP must be either 0x00 or 0xFF.

[b] Any number that can be expressed as +/-n * 2-r, where n and r are integers, 16 <= n <= 31, 0 <= r <= 7.


Show/hideSee also

Reference:
Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0489E
Non-ConfidentialID071611