Motorola DSP56305 Manuel d'utilisateur Page 80

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 112
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 79
Pipeline Interlocks
Address Generation Pipeline Interlocks
MOTOROLA Optimizing DSP56300/DSP56600 Applications 6-7
6.2 ADDRESS GENERATION PIPELINE
INTERLOCKS
There are sequences related to the Address Generation Unit that
cause the insertion of one, two or three pipeline interlock cycles.
These paragraphs describe what are these sequences and suggest
few ways to avoid them in the application.
6.2.1 What are the Address Generation Pipeline
Interlocks
There are two types of Address Generation pipeline interlock:
Tcc Interlock is caused by a Transfer On-Condition (Tcc)
instruction that specified one of the address registers as its
destination. If the following instruction specifies the same
address registers as its source operand, than the execution of
this instruction will be delayed by one instruction cycle.
Example:
Tcc A1,B r0,r1 ;Tcc instruction. R1 is
;conditional destination
move r1,x0 ;R1 is source operand
Address Generation Interlock is caused by a MOVE
instruction that uses one of the AGU registers R0–R7 for
address generation, while one of the three preceding
instructions used one of the register-set (Ri, Ni or Mi)
members as a destination register.
Example:
move #addr,R0 ;R0 is destination
move #offset,N0 ;N0 is destination
move X:(r0)+,y1 ;Instruction uses R0
Up to three interlock cycles are added to the execution of the
instruction that caused the interlock, depending on the distance (in
instruction words) between this instruction and the preceding
instruction that used one of the register set members (Ri, Ni or Mi)
as a destination register. In the example above, the distance is 0,
thus three interlock cycles will be added. In the next example, only
one interlock cycle will be added to the execution of the first MPY
Vue de la page 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 111 112

Commentaires sur ces manuels

Pas de commentaire