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 />

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

VEXT. {,} , , # 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> VEXT instruction must<br />

be unconditional.<br />

Size of the operation. The value can be:<br />

8, 16, or 32 for doubleword operations<br />

8, 16, 32, or 64 for quadword operations.<br />

If the value is 16, 32, or 64, the syntax is a pseudo-instruction for a VEXT instruction<br />

specifying the equivalent number of bytes. The following examples show how an<br />

assembler treats values greater than 8:<br />

VEXT.16 D0,D1,#x is treated as VEXT.8 D0,D1,#(x*2)<br />

VEXT.32 D0,D1,#x is treated as VEXT.8 D0,D1,#(x*4)<br />

VEXT.64 Q0,Q1,#x is treated as VEXT.8 Q0,Q1,#(x*8).<br />

, , The destination vector <strong>and</strong> the oper<strong>and</strong> vectors, for a quadword operation.<br />

, , The destination vector <strong>and</strong> the oper<strong>and</strong> vectors, for a doubleword operation.<br />

The location of the extracted result in the concatenation of the oper<strong>and</strong>s, as a<br />

number of bytes from the least significant end, in the range 0-7 for a doubleword<br />

operation or 0-15 for a quadword operation.<br />

Operation<br />

if ConditionPassed() then<br />

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

if quadword_operation then<br />

Q[d] = (Q[m]:Q[n]);<br />

else<br />

D[d] = (D[m]:D[n]);<br />

Exceptions<br />

Undefined Instruction.<br />

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

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

Saved successfully!

Ooh no, something went wrong!