Contents

SPINT (Convert Single-Precision Floating-Point Value to Integer) . . . . . . . . . . . . . . . 3-228

SPTRUNC (Convert Single-Precision Floating-Point Value to

Integer With Truncation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-230SSHL (Shift Left With Saturation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-232SSUB (Subtract Two Signed Integers With Saturation) . . . . . . . . . . . . . . . . . . . . . . . . . 3-234

STB (Store Byte to Memory With a 5-Bit Unsigned Constant Offset or

Register Offset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-236STB (Store Byte to Memory With a 15-Bit Unsigned Constant Offset) . . . . . . . . . . . . 3-238

STH (Store Halfword to Memory With a 5-Bit Unsigned Constant Offset or

Register Offset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-240STH (Store Halfword to Memory With a 15-Bit Unsigned Constant Offset) . . . . . . . . 3-243

STW (Store Word to Memory With a 5-Bit Unsigned Constant Offset or

Register Offset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-245STW (Store Word to Memory With a 15-Bit Unsigned Constant Offset) . . . . . . . . . . 3-247SUB (Subtract Two Signed Integers Without Saturation) . . . . . . . . . . . . . . . . . . . . . . . 3-249SUBAB (Subtract Using Byte Addressing Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-253SUBAH (Subtract Using Halfword Addressing Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . 3-255SUBAW (Subtract Using Word Addressing Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-256SUBC (Subtract Conditionally and Shift—Used for Division) . . . . . . . . . . . . . . . . . . . . 3-258SUBDP (Subtract Two Double-Precision Floating-Point Values) . . . . . . . . . . . . . . . . . 3-260SUBSP (Subtract Two Single-Precision Floating-Point Values) . . . . . . . . . . . . . . . . . . 3-263SUBU (Subtract Two Unsigned Integers Without Saturation) . . . . . . . . . . . . . . . . . . . 3-266SUB2 (Subtract Two 16-Bit Integers on Upper and Lower Register Halves) . . . . . . . 3-268XOR (Bitwise Exclusive OR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-270ZERO (Zero a Register) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-272

4 Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1

Describes phases, operation, and discontinuities for the TMS320C67x CPU pipeline.

4.1 Pipeline Operation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2

4.1.1 Fetch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2

4.1.2 Decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3

4.1.3 Execute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5

4.1.4 Pipeline Operation Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6

4.2 Pipeline Execution of Instruction Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12

4.2.1 Single-Cycle Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16

4.2.2 16 y 16-Bit Multiply Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17

4.2.3 Store Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18

4.2.4 Load Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20

4.2.5 Branch Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22

4.2.6 Two-Cycle DP Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24

4.2.7 Four-Cycle Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25

4.2.8 INTDP Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-26

4.2.9 DP Compare Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27

4.2.10 ADDDP/SUBDP Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28

SPRU733

Contents

ix

Page 9
Image 9
Texas Instruments TMS320C67X/C67X+ DSP manual Pipeline