5.8.5. VMOV, VMVN (immediate)

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

Syntax

Vop{cond}.datatype Qd, #imm
Vop{cond}.datatype Dd, #imm

where:

op

must be either MOV or MVN.

cond

is an optional condition code (see Condition codes).

datatype

must be one of I8, I16, I32, I64, or F32.

Qd or Dd

is the NEON register for the result.

imm

is a constant of the type specified by datatype. This is replicated to fill the destination register.

Table 5.9. Available constants

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.


Copyright © 2002-2010 ARM. All rights reserved.ARM DUI 0204J
Non-ConfidentialID101213