12.12 VAND (immediate)

Vector bitwise AND immediate pseudo-instruction.

Syntax

VAND{cond}.datatype Qd, #imm

VAND{cond}.datatype Dd, #imm

where:

cond

is an optional condition code.

datatype

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

Qd or Dd

is the NEON register for the result.

imm

is the immediate value.

Operation

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

Note:

On disassembly, this pseudo-instruction is disassembled to a corresponding VBIC instruction, with the complementary immediate value.

Immediate values

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

  • 0xFFXY.

  • 0xXYFF.

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

  • 0xFFFFFFXY.

  • 0xFFFFXYFF.

  • 0xFFXYFFFF.

  • 0xXYFFFFFF.

Non-ConfidentialPDF file icon PDF versionARM DUI0473M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.