Gurjeet- > i am started on optimization of G.723.1 Codec on 54x > processor.I am trying to optmize the ITU c-code for > G723.1.I am facing problem how to port the code to CCS > to begin with.Plz suggest some sequence to follow.Like > i should i convert the time crictical c-code to > assembly.Plz suggest hoe to begin with. I have posted your question on c54x Yahoo Group. -Jeff > --- Jeff Brower <> wrote: > > Rani Thayammal- > > > > > I am working on optimization of G.726 codec on > > C54x processor . > > > I am facing problem while loading long value (32 > > bit)from memory > > > . > > > DLD instruction need even adrress to load it > > correctly. > > > my code of laoding this value is given below > > > > > > LD *sp(3),16,A > > > OR *sp(4),A > > > but for laoding negative value > > > for example *sp(3)=>FFFF > > > *sp(4)=>FD40 > > > It is saturating to 0x7fffffff. > > > > > > It is not possible to keep all Long variables in > > even address . > > > > Why not? The C5xxx C compiler does this. It ANDs > > the stack pointer with 0xFFFE > > whenever necessary prior to placing long data on the > > stack. > > > > Jeff Brower > > system engineer > > Signalogic |
Re: path to optimizing ITU C-Code for G723.1
Started by ●June 29, 2003