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.392 VST1 (single element from one lane)<br />

This instruction stores one element to memory from one element of a register. For details of the addressing<br />

mode see Advanced SIMD addressing mode on page A7-30.<br />

Encoding T1 / A1 Advanced SIMD<br />

VST1. , [{@}]{!}<br />

VST1. , [{@}], <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 0 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 0 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); alignment = 1;<br />

when ‘01’<br />

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

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

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

when ‘10’<br />

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

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

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

alignment = if index_align == ‘00’ then 1 else 4;<br />

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

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

Assembler syntax<br />

VST1. , [{@}] Rm = ’1111’<br />

VST1. , [{@}]! Rm = ’1101’<br />

VST1. , [{@}], Rm = other values<br />

where:<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7. An <strong>ARM</strong> VST1 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-770 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!