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.317 VLD4 (single 4-element structure to one lane)<br />

This instruction loads one 4-element structure from memory into corresponding elements of four registers.<br />

Elements of the registers that are not loaded are unchanged. For details of the addressing mode see Advanced<br />

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

Encoding T1 / A1 Advanced SIMD<br />

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

VLD4. , [{@}], <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 1 0 Rn Vd size 1 1 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 1 0 Rn Vd size 1 1 index_align Rm<br />

if size == ‘11’ then SEE VLD4 (single 4-element structure to all lanes);<br />

case size of<br />

when ‘00’<br />

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

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

when ‘01’<br />

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

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

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

when ‘10’<br />

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

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

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

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

Assembler syntax<br />

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

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

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

where:<br />

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