Compare for Less Than, Unsigned Integers CMPLTU

Pipeline

 

 

 

 

 

 

Pipeline

E1

 

 

 

 

 

 

Stage

 

 

 

 

 

 

 

 

 

Read

src1, src2

 

 

 

Written

dst

 

 

 

Unit in use

.L

 

 

 

 

 

 

 

Instruction Type

Single-cycle

 

 

 

Delay Slots

0

 

 

 

See Also

 

CMPGTU, CMPLT, CMPLTDP, CMPLTSP

 

Example 1

CMPLTU .L1

A1,A2,A3

 

 

 

Before instruction

1 cycle after instruction

A1 0000 289Ah

A2 FFFF F35Eh

A3 xxxx xxxxh

Unsigned 32-bit integer

10394A1

4294964062A2

A3

0000 289Ah

FFFFF35Eh

0000 0001h

true

Example 2

CMPLTU .L1 14,A1,A2

 

 

 

Before instruction

 

 

A1

 

15

 

 

0000 000Fh

A1

 

 

 

 

 

A2

xxxx xxxxh

 

A2

 

 

 

 

 

Unsigned 32-bit integer

1 cycle after instruction

0000 000Fh

 

0000 0001h

true

Example 3

CMPLTU .L1 A1,A5:A4,A2

Before instruction

1 cycle after instruction

 

A1

003B

8260h

 

 

 

 

 

 

 

A2

xxxx xxxxh

 

 

 

 

 

 

 

A5:A4

0000 0000h

003A

0002h

 

 

 

 

Unsigned 32-bit integer

Unsigned 40-bit (long) integer

3900000

A1

 

A2

3801090

A5:A4

003B 8260h

 

 

 

 

 

 

 

 

 

 

0000

0000h

false

 

 

 

 

 

 

 

 

 

0000

0000h

003A

0002h

 

 

 

 

SPRU733

Instruction Set

3-103

Page 163
Image 163
Texas Instruments TMS320C67X/C67X+ DSP manual Instruction Type Single-cycle Delay Slots See Also Example