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.

Advanced SIMD <strong>and</strong> VFP Instruction Encoding<br />

A7.7 Advanced SIMD element or structure load/store instructions<br />

The allocation of encodings in this space is shown in:<br />

Table A7-20 if L == 0, store instructions<br />

Table A7-21 on page A7-28 if L == 1, load instructions.<br />

Other encodings in this space are UNDEFINED.<br />

Thumb encoding<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 A L 0 B<br />

<strong>ARM</strong> encoding<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 A L 0 B<br />

The variable bits are in identical locations in the two encodings, after adjusting for the fact that the <strong>ARM</strong><br />

encoding is held in memory as a single word <strong>and</strong> the Thumb encoding is held as two consecutive halfwords.<br />

The <strong>ARM</strong> instructions can only executed unconditionally. The Thumb instructions can be executed<br />

conditionally by using the IT instruction. For details see IT on page A8-104.<br />

A B Instruction See<br />

0 0010<br />

011x<br />

1010<br />

0011<br />

100x<br />

Table A7-20 Element <strong>and</strong> structure store instructions (L == 0)<br />

Vector Store VST1 (multiple single elements) on page A8-768<br />

Vector Store VST2 (multiple 2-element structures) on page A8-772<br />

010x Vector Store VST3 (multiple 3-element structures) on page A8-776<br />

000x Vector Store VST4 (multiple 4-element structures) on page A8-780<br />

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

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

Saved successfully!

Ooh no, something went wrong!