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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Assembler syntax<br />

VUZP. , Encoded as Q = 1<br />

VUZP. , 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> VUZP instruction must be<br />

unconditional.<br />

The data size for the elements of the vectors. It must be one of:<br />

8 encoded as size = 0b00.<br />

16 encoded as size = 0b01.<br />

32 encoded as size = 0b10 for a quadword operation.<br />

Doubleword operation with = 32 is a pseudo-instruction.<br />

, The vectors for a quadword operation.<br />

, The vectors for a doubleword operation.<br />

Operation<br />

if ConditionPassed() then<br />

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

if quadword_operation then<br />

if d == m then<br />

Q[d>>1] = bits(128) UNKNOWN; Q[m>>1] = bits(128) UNKNOWN;<br />

else<br />

zipped_q = Q[m>>1]:Q[d>>1];<br />

for e = 0 to (128 DIV esize) - 1<br />

Elem[Q[d>>1],e,esize] = Elem[zipped_q,2*e,esize];<br />

Elem[Q[m>>1],e,esize] = Elem[zipped_q,2*e+1,esize];<br />

else<br />

if d == m then<br />

D[d] = bits(64) UNKNOWN; D[m] = bits(64) UNKNOWN;<br />

else<br />

zipped_d = D[m]:D[d];<br />

for e = 0 to (64 DIV esize) - 1<br />

Elem[D[d],e,esize] = Elem[zipped_d,2*e,esize];<br />

Elem[D[m],e,esize] = Elem[zipped_d,2*e+1,esize];<br />

Exceptions<br />

Undefined Instruction.<br />

Pseudo-instruction<br />

VUZP.32 , is a synonym for VTRN.32 , .<br />

For details see VTRN on page A8-800.<br />

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

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

Saved successfully!

Ooh no, something went wrong!