[CELT-dev] Porting CELt to the C5505

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Dec 17 04:02:59 PST 2009


Hi Tony,

What do you mean by "create an alloca.h" doesn't the compiler have one? 
If not, then you might as well create a definition for the VARDECL() and 
ALLOC() macros (see stack_alloc.h). I would be interested in merging bac 
the changes. The best way to do that is to send a patch. Ideally, the 
arch-dependent changes should be clearly separated from the 
arch-dependent code (within #ifdef or separate file).

Cheers,

	Jean-Marc


On 17/12/09 03:14, Cave, Tony wrote:
> Jean-Marc, Thank you for the tips. I think I have solved the stack
> issue (I noticed the C99 array issue and avoided this). I will
> probably create an alloca.h (I think this is the correct thing to
> do). I am happy to feed back any work I do, if you want me to do this
> what is the process?
>
> Tony.
>
>
> Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL.
> Registered in England&  Wales under company number 00574102
>
> ----- Original Message -----
>
> From: Jean-Marc Valin<jean-marc.valin at usherbrooke.ca> To: Cave, Tony
> Cc: celt-dev at xiph.org<celt-dev at xiph.org> Sent: Thu Dec 17 03:18:43
> 2009Subject: Re: [CELT-dev] Porting CELt to the C5505
>
> Hi,
>
> There's are already some C55-specific optimisations in the code. You
> can enable them by defining CONFIG_TI_C55X and ENABLE_TI_DSPLIB. As
> for the stack allocation, it's just a fallback for compilers that
> don't support C99 arrays and have a broken alloca() -- it's always
> best not to use it. Still, can you tell me what problem you are
> seeing with it?
>
> Cheers,
>
> Jean-Marc
>
> On 16/12/09 05:38, Cave, Tony wrote:
>> Hi,
>>
>> I am an applications engineer for Texas Instruments in the UK. I
>> am trying to port the CELT codec to the C5505, this has HW
>> accelerated FFT engine
>> (http://focus.ti.com/docs/prod/folders/print/tms320vc5505.html).
>>
>> I am having problems with the stack allocation. Do you have any
>> reference code that compiles for the C55x under CCS (code composer
>> studio)?
>>
>> *******************************
>>
>> Tony Cave
>>
>> Senior Embedded Processor FAE
>>
>> Texas Instruments Limited
>>
>> 3000 Aviator way
>>
>> Manchester
>>
>> M22 5TG
>>
>> Mb: +44-7917-183293
>>
>> *******************************
>>
>> Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4
>> 7YL. Registered in England&  Wales under company number 00574102
>>
>>
>>
>> _______________________________________________ celt-dev mailing
>> list celt-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/celt-dev
>
>
>



More information about the celt-dev mailing list