Multiply Signed 16 LSB x Signed 16 LSB

 

MPY

 

 

 

 

Multiply Signed 16 LSB y Signed 16 LSB

 

 

 

 

 

 

 

 

MPY

 

 

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

MPY (.unit) src1, src2, dst

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.unit = .M1 or .M2

 

 

 

 

 

 

 

 

 

 

 

 

 

Compatibility

 

 

C62x, C64x, C67x, and C67x+ CPU

 

 

 

 

 

 

 

 

 

 

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

29

28

27

23

22

18

17

13

12

11

7

6

5

4

3

2

1

0

creg

z

dst

src2

src1

x

op

0

0 0

0

0s

p

3 1555151 1

Opcode map field used...

For operand type...

Unit

Opfield

 

 

 

 

src1

slsb16

.M1, .M2

11001

src2

xslsb16

 

 

dst

sint

 

 

src1

scst5

.M1, .M2

11000

src2

xslsb16

 

 

dst

sint

 

 

 

 

 

 

Description

Execution

Pipeline

The src1 operand is multiplied by the src2 operand. The result is placed in dst. The source operands are signed by default.

if (cond)

lsb16(src1) lsb16(src2) dst

else nop

 

Pipeline

StageE1 E2

Read

src1, src2

Writtendst

Unit in use

.M

 

 

Instruction Type

Multiply (16 16)

Delay Slots

1

See Also

MPYU, MPYSU, MPYUS, SMPY

SPRU733

Instruction Set

3-143

Page 203
Image 203
Texas Instruments TMS320C67X/C67X+ DSP manual Multiply Signed 16 LSB y Signed 16 LSB, Mpy, MPYU, MPYSU, MPYUS, Smpy