VORR (immediate)

Vector Bitwise OR (immediate) performs a bitwise OR between a register value and an immediate value, and returns the result into the destination vector.

Depending on settings in the CPACR, NSACR, and HCPTR registers, and the Security state and PE mode in which the instruction is executed, an attempt to execute the instruction might be undefined, or trapped to Hyp mode. For more information see Enabling Advanced SIMD and floating-point support.

This instruction is used by the pseudo-instruction VORN (immediate).

It has encodings from the following instruction sets: A32 ( A1 and A2 ) and T32 ( T1 and T2 ) .

A1

313029282726252423222120191817161514131211109876543210
1111001i1D000imm3Vd0xx10Q01imm4
cmode

Encoding for the 64-bit SIMD vector variant

Applies when (Q == 0)

VORR{<c>}{<q>}.I32 {<Dd>,} <Dd>, #<imm>

Encoding for the 128-bit SIMD vector variant

Applies when (Q == 1)

VORR{<c>}{<q>}.I32 {<Qd>,} <Qd>, #<imm>

Decode for all variants of this encoding

if cmode<0> == '0' || cmode<3:2> == '11' then SEE "VMOV (immediate)"; if Q == '1' && Vd<0> == '1' then UNDEFINED; constant imm64 = AdvSIMDExpandImm('0', cmode, i:imm3:imm4); constant d = UInt(D:Vd); constant regs = if Q == '0' then 1 else 2;

A2

313029282726252423222120191817161514131211109876543210
1111001i1D000imm3Vd10x10Q01imm4
cmode

Encoding for the 64-bit SIMD vector variant

Applies when (Q == 0)

VORR{<c>}{<q>}.I16 {<Dd>,} <Dd>, #<imm>

Encoding for the 128-bit SIMD vector variant

Applies when (Q == 1)

VORR{<c>}{<q>}.I16 {<Qd>,} <Qd>, #<imm>

Decode for all variants of this encoding

if cmode<0> == '0' || cmode<3:2> == '11' then SEE "VMOV (immediate)"; if Q == '1' && Vd<0> == '1' then UNDEFINED; constant imm64 = AdvSIMDExpandImm('0', cmode, i:imm3:imm4); constant d = UInt(D:Vd); constant regs = if Q == '0' then 1 else 2;

T1

15141312111098765432101514131211109876543210
111i11111D000imm3Vd0xx10Q01imm4
cmode

Encoding for the 64-bit SIMD vector variant

Applies when (Q == 0)

VORR{<c>}{<q>}.I32 {<Dd>,} <Dd>, #<imm>

Encoding for the 128-bit SIMD vector variant

Applies when (Q == 1)

VORR{<c>}{<q>}.I32 {<Qd>,} <Qd>, #<imm>

Decode for all variants of this encoding

if cmode<0> == '0' || cmode<3:2> == '11' then SEE "VMOV (immediate)"; if Q == '1' && Vd<0> == '1' then UNDEFINED; constant imm64 = AdvSIMDExpandImm('0', cmode, i:imm3:imm4); constant d = UInt(D:Vd); constant regs = if Q == '0' then 1 else 2;

T2

15141312111098765432101514131211109876543210
111i11111D000imm3Vd10x10Q01imm4
cmode

Encoding for the 64-bit SIMD vector variant

Applies when (Q == 0)

VORR{<c>}{<q>}.I16 {<Dd>,} <Dd>, #<imm>

Encoding for the 128-bit SIMD vector variant

Applies when (Q == 1)

VORR{<c>}{<q>}.I16 {<Qd>,} <Qd>, #<imm>

Decode for all variants of this encoding

if cmode<0> == '0' || cmode<3:2> == '11' then SEE "VMOV (immediate)"; if Q == '1' && Vd<0> == '1' then UNDEFINED; constant imm64 = AdvSIMDExpandImm('0', cmode, i:imm3:imm4); constant d = UInt(D:Vd); constant regs = if Q == '0' then 1 else 2;

Assembler Symbols

<c>

For encoding A1 and A2: see Standard assembler syntax fields. This encoding must be unconditional.

For encoding T1 and T2: see Standard assembler syntax fields.

<q>

See Standard assembler syntax fields.

<Qd>

Is the 128-bit name of the SIMD&FP destination register, encoded in the "D:Vd" field as <Qd>*2.

<Dd>

Is the 64-bit name of the SIMD&FP destination register, encoded in the "D:Vd" field.

<imm>

Is a constant of the specified type that is replicated to fill the destination register. For details of the range of constants available and the encoding of <imm>, see Modified immediate constants in T32 and A32 Advanced SIMD instructions.

The I8, I64, and F32 data types are permitted as pseudo-instructions, if the immediate can be represented by this instruction, and are encoded using a permitted encoding of the I16 or I32 data type.

Operation

if ConditionPassed() then EncodingSpecificOperations(); CheckAdvSIMDEnabled(); for r = 0 to regs-1 D[d+r] = D[d+r] OR imm64;

Operational information

If CPSR.DIT is 1 and this instruction passes its condition execution check:


Internal version only: isa v01_32, pseudocode v2024-12_rel ; Build timestamp: 2024-12-16T10:54

Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.