Forums

G.726 optimization

Started by mayank agarwal January 3, 2006
Hi all,
what are the steps towards optimizing the G.726
speech codec C code on C64x processor.Is it necessary
to implement the functions
in hand coded assembly to achieve efficient MIPS.

Thanks and Regards,
Mayank Agarwal
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com



Hi Mayank,
 
Maximum out of the optimization on C64x with C code only comes from variable declarations, simple intrisincs usage,usage of proper pragmas and restructuring the computational loops.
Like try to use
  1. int instead of char, short if possible.
  2. used keyword restrict with pointers.
  3. pragmas like MUST_ITERATE(10,40,4)
Much more techniques have been throughly presented int he following two documents: spru425a, spru198g.
Hope you find the above techniques and the material usefull.
 
Thanks & regards,
Venugopala Krishna

On 1/3/06, mayank agarwal <m...@yahoo.com> wrote:
Hi all,
what are the steps towards optimizing the G.726
speech codec C code on C64x processor.Is it necessary
to implement the functions
in hand coded assembly to achieve efficient MIPS.

Thanks and Regards,
Mayank Agarwal
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com