05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Assembler syntax<br />

VORR. {,} , # Encoded as Q = 1<br />

VORR. {,} , #> Encoded as Q = 0<br />

where:<br />

Instruction Details<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7. An <strong>ARM</strong> VORR instruction must be<br />

unconditional.<br />

The data type used for . It can be either I16 or I32.<br />

I8, I64, <strong>and</strong> F32 are also permitted, but the resulting syntax is a pseudo-instruction.<br />

The destination vector for a quadword operation.<br />

The destination vector for a doubleword operation.<br />

A constant of the type specified by . This constant is replicated enough times to fill the<br />

destination register. For example, VORR.I32 D0,#10 ORs 0x0000000A0000000A into D0.<br />

For details of the range of constants available, <strong>and</strong> the encoding of <strong>and</strong> , see One register <strong>and</strong> a<br />

modified immediate value on page A7-21.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations(); CheckAdvSIMDEnabled();<br />

for r = 0 to regs-1<br />

D[d+r] = D[d+r] OR imm64;<br />

Exceptions<br />

Undefined Instruction.<br />

Pseudo-instructions<br />

VORN can be used, with a range of constants that are the bitwise inverse of the available constants for VORR.<br />

This is assembled as the equivalent VORR instruction. Disassembly produces the VORR form.<br />

One register <strong>and</strong> a modified immediate value on page A7-21 describes pseudo-instructions with a<br />

combination of <strong>and</strong> that is not supported by hardware, but that generates the same destination<br />

register value as a different combination that is supported by hardware.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. A8-679

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!