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

Instruction Details<br />

VSWP{.} , Encoded as Q = 1, size = ’00’<br />

VSWP{.} , Encoded as Q = 0, size = ’00’<br />

where:<br />

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

unconditional.<br />

An optional data type. It is ignored by assemblers, <strong>and</strong> does not affect the encoding.<br />

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

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

Operation<br />

if ConditionPassed() then<br />

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

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

if d == m then<br />

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

else<br />

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

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

D[m+r] = tmp;<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-797

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

Saved successfully!

Ooh no, something went wrong!