Contents
x
3
TMS320C62x/C67x Fixed-Point Instruction Set
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Describes the assembly language instructions that are common to both the TMS320C62x and
TMS320C67x, including examples of each instruction. Provides information about addressing
modes, resource constraints, parallel operations, and conditional operations.
3.1
Instruction Operation and Execution Notations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2
Mapping Between Instructions and Functional Units
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3
TMS320C62x/C67x Opcode Map
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4
Delay Slots
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5
Parallel Operations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5.1
Example Parallel Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5.2
Branching Into the Middle of an Execute Packet
. . . . . . . . . . . . . . . . . . . . . . . .
3.6
Conditional Operations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7
Resource Constraints
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7.1
Constraints on Instructions Using the Same Functional Unit
. . . . . . . . . . . . . .
3.7.2
Constraints on Cross Paths (1X and 2X)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7.3
Constraints on Loads and Stores
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7.4
Constraints on Long (40-Bit) Data
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7.5
Constraints on Register Reads
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7.6
Constraints on Register Writes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.8
Addressing Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.8.1
Linear Addressing Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.8.2
Circular Addressing Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.8.3
Syntax for Load/Store Address Generation
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.9
Individual Instruction Descriptions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
TMS320C67x Floating-Point Instruction Set
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Describes the TMS320C67x floating-point instruction set, including examples of each
instruction. Provides information about addressing modes and resource constraints.
4.1
Instruction Operation and Execution Notations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2
Mapping Between Instructions and Functional Units
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3
Overview of IEEE Standard Single- and Double-Precision Formats
. . . . . . . . . . . . . . . .
4.4
Delay Slots
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.5
TMS320C67x Instruction Constraints
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.6
Individual Instruction Descriptions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
TMS320C62x Pipeline
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Describes phases, operation, and discontinuities for the TMS320C62x CPU pipeline.
5.1
Pipeline Operation Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.1
Fetch
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.2
Decode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.3
Execute
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.4
Summary of Pipeline Operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2
Pipeline Execution of Instruction Types
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2.1
Single-Cycle Instructions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .