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.

A4.4.3 Multiply instructions<br />

The Instruction Sets<br />

These instructions can operate on signed or unsigned quantities. In some types of operation, the results are<br />

same whether the oper<strong>and</strong>s are signed or unsigned.<br />

Table A4-4 summarizes the multiply instructions where there is no distinction between signed <strong>and</strong><br />

unsigned quantities.<br />

The least significant 32 bits of the result are used. More significant bits are discarded.<br />

Table A4-5 summarizes the signed multiply instructions.<br />

Table A4-6 on page A4-12 summarizes the unsigned multiply instructions.<br />

Table A4-4 General multiply instructions<br />

Instruction See Operation (number of bits)<br />

Multiply Accumulate MLA on page A8-190 32 = 32 + 32 x 32<br />

Multiply <strong>and</strong> Subtract MLS on page A8-192 32 = 32 – 32 x 32<br />

Multiply MUL on page A8-212 32 = 32 x 32<br />

Table A4-5 Signed multiply instructions<br />

Instruction See Operation (number of bits)<br />

Signed Multiply Accumulate (halfwords) SMLABB, SMLABT,<br />

SMLATB, SMLATT on<br />

page A8-330<br />

32 = 32 + 16 x 16<br />

Signed Multiply Accumulate Dual SMLAD on page A8-332 32 = 32 + 16 x 16 + 16 x 16<br />

Signed Multiply Accumulate Long SMLAL on page A8-334 64 = 64 + 32 x 32<br />

Signed Multiply Accumulate Long (halfwords) SMLALBB, SMLALBT,<br />

SMLALTB, SMLALTT on<br />

page A8-336<br />

64 = 64 + 16 x 16<br />

Signed Multiply Accumulate Long Dual SMLALD on page A8-338 64 = 64 + 16 x 16 + 16 x 16<br />

Signed Multiply Accumulate (word by<br />

halfword)<br />

SMLAWB, SMLAWT on<br />

page A8-340<br />

32 = 32 + 32 x 16 a<br />

Signed Multiply Subtract Dual SMLSD on page A8-342 32 = 32 + 16 x 16 – 16 x 16<br />

Signed Multiply Subtract Long Dual SMLSLD on page A8-344 64 = 64 + 16 x 16 – 16 x 16<br />

Signed Most Significant Word Multiply<br />

Accumulate<br />

SMMLA on page A8-346 32 = 32 + 32 x 32 b<br />

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

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

Saved successfully!

Ooh no, something went wrong!