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.

The Instruction Sets<br />

A4.13 Advanced SIMD data-processing operations<br />

Advanced SIMD data-processing operations process registers containing vectors of elements of the same<br />

type packed together, enabling the same operation to be performed on multiple items in parallel.<br />

Instructions operate on vectors held in 64-bit or 128-bit registers. Figure A4-2 shows an operation on two<br />

64-bit oper<strong>and</strong> vectors, generating a 64-bit vector result.<br />

Note<br />

Figure A4-2 <strong>and</strong> other similar figures show 64-bit vectors that consist of four 16-bit elements, <strong>and</strong> 128-bit<br />

vectors that consist of four 32-bit elements. Other element sizes produce similar figures, but with one, two,<br />

eight, or sixteen operations performed in parallel instead of four.<br />

Figure A4-2 Advanced SIMD instruction operating on 64-bit registers<br />

Many Advanced SIMD instructions have variants that produce vectors of elements double the size of the<br />

inputs. In this case, the number of elements in the result vector is the same as the number of elements in the<br />

oper<strong>and</strong> vectors, but each element, <strong>and</strong> the whole vector, is double the size.<br />

Figure A4-3 shows an example of an Advanced SIMD instruction operating on 64-bit registers, <strong>and</strong><br />

generating a 128-bit result.<br />

Figure A4-3 Advanced SIMD instruction producing wider result<br />

There are also Advanced SIMD instructions that have variants that produce vectors containing elements half<br />

the size of the inputs. Figure A4-4 on page A4-31 shows an example of an Advanced SIMD instruction<br />

operating on one 128-bit register, <strong>and</strong> generating a 64-bit result.<br />

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

Op<br />

Op<br />

Op<br />

Op<br />

Op<br />

Op<br />

Dn<br />

Op<br />

Dm<br />

Op<br />

Dn<br />

Dm<br />

Dd<br />

Qd

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

Saved successfully!

Ooh no, something went wrong!