5.7.2. VBIC and VORR (immediate)

VBIC (Bit Clear immediate) takes each element of the destination vector, performs a bitwise AND Complement with an immediate constant, and returns the result into the destination vector.

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

See also the pseudo-instructions VAND and VORN (immediate).

Syntax

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

where:

op

must be either BIC or ORR.

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 source and result.

imm

is the immediate constant.

Immediate constants

You can either specify imm as a pattern which the assembler repeats to fill the destination register, or you can directly specify the immediate constant (that conforms to the pattern) in full. The pattern for imm depends on datatype as shown in Table 5.8:

Table 5.8. Patterns for immediate constant

I16I32

0x00XY

0x000000XY

0xXY00

0x0000XY00

0x00XY0000

0xXY000000


If you use the I8 or I64 datatypes, the assembler will convert it to either the I16 or I32 instruction to match the pattern of imm. If the immediate constant does not match any of the patterns in Table 5.8, the assembler generates an error.

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