Add Two Unsigned Integers Without Saturation

 

ADDU

 

 

 

 

Add Two Unsigned Integers Without Saturation

 

 

 

 

 

 

ADDU

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

ADDU (.unit) src1, src2, dst

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.unit = .L1 or .L2

 

 

 

 

 

 

 

 

 

 

 

Compatibility

 

 

C62x, C64x, 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

0

s

p

3 1555171 1

Opcode map field used...

For operand type...

Unit

Opfield

 

 

 

 

src1

uint

.L1, .L2

010 1011

src2

xuint

 

 

dst

ulong

 

 

src1

xuint

.L1, .L2

010 1001

src2

ulong

 

 

dst

ulong

 

 

 

 

 

 

Description Execution

Pipeline

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

if (cond)

src1 + src2 dst else nop

Pipeline

E1

Stage

 

 

Read

src1, src2

Written

dst

Unit in use

.L

 

 

Instruction Type

Single-cycle

Delay Slots

0

See Also

ADD, SADD, SUBU

SPRU733

Instruction Set

3-63

Page 123
Image 123
Texas Instruments TMS320C67X/C67X+ DSP manual Add Two Unsigned Integers Without Saturation, Addu, ADD, SADD, Subu