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.

Thumb Instruction Set Encoding<br />

A6.3.16 Multiply, multiply accumulate, <strong>and</strong> absolute difference<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 1 1 0 op1 Ra 0 0 op2<br />

If, in the second halfword of the instruction, bits [7:6] != 0b00, the instruction is UNDEFINED.<br />

Table A6-27 shows the allocation of encodings in this space. Other encodings in this space are UNDEFINED.<br />

These encodings are all available in <strong>ARM</strong>v6T2 <strong>and</strong> above.<br />

Table A6-27 Multiply, multiply accumulate, <strong>and</strong> absolute difference operations<br />

op1 op2 Ra Instruction See<br />

000 00 not 1111 Multiply Accumulate MLA on page A8-190<br />

1111 Multiply MUL on page A8-212<br />

01 - Multiply <strong>and</strong> Subtract MLS on page A8-192<br />

001 - not 1111 Signed Multiply Accumulate (Halfwords) SMLABB, SMLABT, SMLATB,<br />

SMLATT on page A8-330<br />

1111 Signed Multiply (Halfwords) SMULBB, SMULBT, SMULTB,<br />

SMULTT on page A8-354<br />

010 0x not 1111 Signed Multiply Accumulate Dual SMLAD on page A8-332<br />

1111 Signed Dual Multiply Add SMUAD on page A8-352<br />

011 0x not 1111 Signed Multiply Accumulate (Word by halfword) SMLAWB, SMLAWT on<br />

page A8-340<br />

1111 Signed Multiply (Word by halfword) SMULWB, SMULWT on<br />

page A8-358<br />

100 0x not 1111 Signed Multiply Subtract Dual SMLSD on page A8-342<br />

1111 Signed Dual Multiply Subtract SMUSD on page A8-360<br />

101 0x not 1111 Signed Most Significant Word Multiply Accumulate SMMLA on page A8-346<br />

1111 Signed Most Significant Word Multiply SMMUL on page A8-350<br />

110 0x - Signed Most Significant Word Multiply Subtract SMMLS on page A8-348<br />

111 00 not 1111 Unsigned Sum of Absolute Differences USAD8 on page A8-500<br />

1111 Unsigned Sum of Absolute Differences, Accumulate USADA8 on page A8-502<br />

A6-38 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!