Reply by wass...@gmail.com March 29, 20062006-03-29
Hi abdul,

I finally found the tutorial you mentioned but it doesn't solve my problem.
I'm trying to understand how the optimizer works (I must write .sa functions that are optimal or go writing .asm by myself if it's necessary).
I think that the best approach is begining with the feedback.

can you pleaz explain to me what does collapsed prolog/epilog mean?
Epilog not removed
>;* Collapsed epilog stages : 0
>;*
>;* Prolog not entirely removed
>;* Collapsed prolog stages : 4
>;*
>;* Minimum required memory pad : 0 bytes
>;*
>;* Minimum safe trip count : 5

I have also a problem with comments the optimizer appends on each line
the numbers between || and < , >

And finally how the optimizer discover live too long variables and is there
a way to make it split some specified variables?

thank you for your time
Reply by wass...@gmail.com March 28, 20062006-03-28
hi abdul,
thank you but I haven't found any tutorial at that link...maybe it's no longer free..can you pleaz help me with this sample?

Epilog not removed
;* Collapsed epilog stages : 0
;*
;* Prolog not entirely removed
;* Collapsed prolog stages : 4
;*
;* Minimum required memory pad : 0 bytes
;*
;* Minimum safe trip count : 5

I think that collapsed stges has to do with the way the optimizer starts its loop kernel iterations very early compensating them with conditional instructions on the loop kernel(that is, when I tried to schedule my instructions by myself I always write too long prologs)
Can somebody tell me if I'm wrong and what the number 4 means here

Is there a way to make the minimum safe trip count decreaz?

[!A1] MV .D2X A3,B7 ; |65| <1,10>
|| DOTPU4 .M2 B1,B6,B17 ; |52| <1,10>
|| [ B0] BDEC .S2 Loop_y,B0 ; |75| <1,10>

what does the comments mean? (the numbers between || aren't the line number I'm sure)
thank you so much

wassym
Hi Wassym,
>
>When I was trying to learn these concepts, I found some free online courses
>on TI's web site, they were very helpful.
>Try the following link,
>http://training.ti.com/courses/coursedescription.asp?iCSID24
>Abdul
>DSP Developer
>
>----- Original Message -----
>From:
>To:
>Sent: Monday, March 27, 2006 2:50 PM
>Subject: [c6x] Undeerstand Software Pipeline Feedback
>> Hi everybody,
>>
>> I'm a novice in using C64x and I need some help understanding the .asm the
>> optimizer generates. I've found some hints on spru198 but I still don't
>> understand some concepts such as collapsing prologs or epilogs, the
>> minimum safe trip count and how to modify it and the comments on .asm
>> files
>> can somebody take some time to explain those to me or guide me to the
>> right readings.
>>
>> Thanks
>>
>> Wassym
>>
Reply by Abdul Rauf Sheikh March 27, 20062006-03-27
Hi Wassym,

When I was trying to learn these concepts, I found some free online courses
on TI's web site, they were very helpful.
Try the following link,
http://training.ti.com/courses/coursedescription.asp?iCSID24
Abdul
DSP Developer

----- Original Message -----
From:
To:
Sent: Monday, March 27, 2006 2:50 PM
Subject: [c6x] Undeerstand Software Pipeline Feedback
> Hi everybody,
>
> I'm a novice in using C64x and I need some help understanding the .asm the
> optimizer generates. I've found some hints on spru198 but I still don't
> understand some concepts such as collapsing prologs or epilogs, the
> minimum safe trip count and how to modify it and the comments on .asm
> files
> can somebody take some time to explain those to me or guide me to the
> right readings.
>
> Thanks
>
> Wassym
>
Reply by wass...@gmail.com March 27, 20062006-03-27
Hi everybody,

I'm a novice in using C64x and I need some help understanding the .asm the optimizer generates. I've found some hints on spru198 but I still don't understand some concepts such as collapsing prologs or epilogs, the minimum safe trip count and how to modify it and the comments on .asm files
can somebody take some time to explain those to me or guide me to the right readings.

Thanks

Wassym