5.13.4. VAND and VORN (immediate)

VAND (Bitwise AND immediate) takes each element of the destination vector, performs a bitwise AND with an immediate constant, and returns the result into the destination vector.

VORN (Bitwise OR NOT immediate) takes each element of the destination vector, performs a bitwise OR Complement with an immediate constant, and returns the result into the destination vector.

Note

On disassembly, these pseudo-instructions are disassembled to the corresponding VBIC and VORR instructions, with the complementary immediate constants.

Syntax

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

where:

op

must be either VAND or VORN.

cond

is an optional condition code (see Condition codes).

datatype

must be either I8, I16, I32, or I64.

Qd or Dd

is the NEON register for the result.

imm

is the immediate constant.

Immediate constants

If datatype is I16, the immediate constant must have one of the following forms:

  • 0xFFXY

  • 0xXYFF.

If datatype is I32, the immediate constant must have one of the following forms:

  • 0xFFFFFFXY

  • 0xFFFFXYFF

  • 0xFFXYFFFF

  • 0xXYFFFFFF.

See VBIC and VORR (immediate) for more information.

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