12.14 VBIC (immediate)

Vector Bit Clear immediate.

Syntax

VBIC{cond}.datatype Qd, #imm

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

imm

is the immediate value.

Operation

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

Immediate values

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

Table 12-3 Patterns for immediate value in VBIC (immediate)

I16 I32

0x00XY

0x000000XY

0xXY00

0x0000XY00

 

0x00XY0000

 

0xXY000000

If you use the I8 or I64 datatypes, the assembler converts it to either the I16 or I32 instruction to match the pattern of imm. If the immediate value does not match any of the patterns in the preceding table, the assembler generates an error.

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