Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | Undeerstand Software Pipeline Feedback

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

Undeerstand Software Pipeline Feedback - wass...@gmail.com - Mar 27 17:54:59 2006

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





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: Undeerstand Software Pipeline Feedback - Abdul Rauf Sheikh - Mar 27 22:23:14 2006

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?iCSID=1224
Abdul
DSP Developer

----- Original Message ----- 
From: <w...@gmail.com>
To: <c...@yahoogroups.com>
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
>

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: Undeerstand Software Pipeline Feedback - wass...@gmail.com - Mar 28 11:59:29 2006

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?iCSID=1224
>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
>>

______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: Undeerstand Software Pipeline Feedback - wass...@gmail.com - Mar 29 16:01:56 2006

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





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )