This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C2000: Instruction Cycle question

Guru 20045 points


Hello,

Why does the TMS320C28X CPU and Instruction Set Reference Guide give the number of cycles for when an instruction is repeated?  Why not just give the cycles for the instruction?

Stephen 

  • stevenh said:

    Hello,

    Why does the TMS320C28X CPU and Instruction Set Reference Guide give the number of cycles for when an instruction is repeated?  Why not just give the cycles for the instruction?

    Stephen 

    The number of cycles for a repeated instruction may not be the same as a single instruction.  Take QMACL as an example.  For a single instruction it is 2 cycles.  If it is repeated the overhead goes down to 1 cycle for each repeat (N+2).  Listing 2 cycles only would not capture this fact.

  • Hello Lori,

    Thanks for the reply.

    Ok. I only looked at one instruction that has N+1 cycles for repeat.

    Stephen