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.

how to understand some terminologys about software pipeline information?

 Searching for software pipeline schedule at ... ;*     

    ii = 9  Schedule found with 4 iterations in parallel

1.

ii = 9; I understanded ,it depended " Loop Carried Dependency Bound(^) ",but as to "4 iterations " ,I didn't know how to get the number "4",

what does "4 iterations " mean?

2.

 Total cycles (est.)         : 27 + trip_cnt * 9     ------- quoted from  .asm  file.

 the same, I didn't know  what did " trip_cnt " mean? and how to get it?

 

  • hongke zhang said:
    what does "4 iterations " mean?

    As described in this wiki article, a software pipelined loop overlaps some number of original source loops within it.  In this particular case, 4 iterations of the original source code loop overlap within the software pipeline loop.

    hongke zhang said:
    trip_cnt " mean? and how to get it?

    The trip count (trip_cnt for short) is number of times the loop iterates at run time.  In this particular case, it is used to show you how many CPU cycles are required to execute the loop.

    Thanks and regards,

    -George

  • thx,George:

    As you said, for example,  a loop like this :  for(i=0;i<100;i++)  { do something} ;   if the software pipelined loop has 4 iterations

    like the following pic:

    and this picture means “5 iterations” ???

    Was my opinion wrong or right?  

  • hongke zhang said:
    Was my opinion wrong or right?  

    You are correct.  -George