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.

Instruction Details<br />

A8.6.396 VST3 (single 3-element structure from one lane)<br />

This instruction stores one 3-element structure to memory from corresponding elements of three registers.<br />

For details of the addressing mode see Advanced SIMD addressing mode on page A7-30.<br />

Encoding T1 / A1 Advanced SIMD<br />

VST3. , []{!}<br />

VST3. , [], <br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

1 1 1 1 1 0 0 1 1 D 0 0 Rn Vd size 1 0 index_align Rm<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

1 1 1 1 0 1 0 0 1 D 0 0 Rn Vd size 1 0 index_align Rm<br />

if size == ‘11’ then UNDEFINED;<br />

case size of<br />

when ‘00’<br />

if index_align != ‘0’ then UNDEFINED;<br />

ebytes = 1; esize = 8; index = UInt(index_align); inc = 1;<br />

when ‘01’<br />

if index_align != ‘0’ then UNDEFINED;<br />

ebytes = 2; esize = 16; index = UInt(index_align);<br />

inc = if index_align == ‘0’ then 1 else 2;<br />

when ‘10’<br />

if index_align != ‘00’ then UNDEFINED;<br />

ebytes = 4; esize = 32; index = UInt(index_align);<br />

inc = if index_align == ‘0’ then 1 else 2;<br />

d = UInt(D:Vd); d2 = d + inc; d3 = d2 + inc; n = UInt(Rn); m = UInt(Rm);<br />

wback = (m != 15); register_index = (m != 15 && m != 13);<br />

if d3 > 31 then UNPREDICTABLE;<br />

Assembler syntax<br />

VST3. , [] Rm = ’1111’<br />

VST3. , []! Rm = ’1101’<br />

VST3. , [], Rm = other values<br />

where:<br />

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

unconditional.<br />

The data size. It must be one of:<br />

8 encoded as size = 0b00<br />

16 encoded as size = 0b01<br />

32 encoded as size = 0b10.<br />

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

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

Saved successfully!

Ooh no, something went wrong!