ADDSP Add Two Single-Precision Floating-Point Values

 

 

 

Add Two Single-Precision Floating-Point Values

 

 

 

 

 

ADDSP

 

 

 

 

 

 

 

Syntax

 

 

 

 

ADDSP (.unit) src1, src2, dst

 

 

 

(C67x and C67x+ CPU)

 

 

 

 

 

 

.unit = .L1 or .L2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

or

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ADDSP (.unit) src1, src2, dst

 

 

 

(C67x+ CPU only)

 

 

 

 

 

 

 

 

.unit = .S1 or .S2

 

 

 

 

 

 

 

 

 

 

 

Compatibility

 

 

C67x and C67x+ CPU

 

 

 

 

 

 

 

 

 

 

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

29

28

27

23

22

18

17

13

12

11

5

4

3

2

1

0

creg

z

dst

src2

src1

x

op

1 1

0s

p

3 1555171 1

Opcode map field used...

For operand type...

Unit

Opfield

 

 

 

 

src1

sp

.L1, .L2

001 0000

src2

xsp

 

 

dst

sp

 

 

src1

sp

.S1, .S2

111 0000

src2

xsp

 

 

dst

sp

 

 

 

 

 

 

Description

src2 is added to src1. The result is placed in dst.

Execution

if (cond)

src1 + src2 dst

 

else

nop

3-60

Instruction Set

SPRU733

Page 120
Image 120
Texas Instruments TMS320C67X/C67X+ DSP manual Add Two Single-Precision Floating-Point Values, Addsp