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.

Instruction Details<br />

The registers containing the structure. Encoded with D:Vd = . It must be one of:<br />

{, } Single-spaced registers, see Table A8-6.<br />

{, } Double-spaced registers, see Table A8-6.<br />

This is not available if == 8.<br />

Contains the base address for the access.<br />

The alignment. It can be one of:<br />

16 2-byte alignment, available only if is 8<br />

32 4-byte alignment, available only if is 16<br />

64 8-byte alignment, available only if is 32<br />

omitted St<strong>and</strong>ard alignment, see Unaligned data access on page A3-5.<br />

! If present, specifies writeback.<br />

Contains an address offset applied after the access.<br />

For more information about , !, <strong>and</strong> see Advanced SIMD addressing mode on page A7-30.<br />

Operation<br />

if ConditionPassed() then<br />

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

address = R[n]; if (address MOD alignment) != 0 then GenerateAlignmentException();<br />

if wback then R[n] = R[n] + (if register_index then R[m] else 2*ebytes);<br />

Elem[D[d],index,esize] = MemU[address,ebytes];<br />

Elem[D[d2],index,esize] = MemU[address+ebytes,ebytes];<br />

Exceptions<br />

Undefined Instruction, Data Abort.<br />

Table A8-6 Encoding of index, alignment, <strong>and</strong> register spacing<br />

== 8 == 16 == 32<br />

Index index_align[3:1] = x index_align[3:2] = x index_align[3] = x<br />

Single-spacing - index_align[1] = 0 index_align[2] = 0<br />

Double-spacing - index_align[1] = 1 index_align[2] = 1<br />

omitted index_align[0] = 0 index_align[0] = 0 index_align[1:0] = ’00’<br />

== 16 index_align[0] = 1 - -<br />

== 32 - index_align[0] = 1 -<br />

== 64 - - index_align[1:0] = ’01’<br />

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

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

Saved successfully!

Ooh no, something went wrong!