Reply by Bernhard Holzmayer●July 16, 20032003-07-16
keith <keith> wrote:
> Anyone know where to find assembly routines for SHARC to perform
> lattice-ladder filters? E.g. analysis (decimate) section:
>
Hello Keith,
I tried a modified SOS structure, at first in C (hand optimized),
then in assembler (as good as I could), then after a discussion with
compiler people from VDSP, I rewrote the C code so that it didn't
contain any of my usual optimizations any more, and I compared the
results:
worst performance had the C code which I optimized before
compilation.
The non-optimized code passed the internal optimization stage of the
compiler, and then performed pretty much the same as the assembly
code. The overall behaviour of the C coded solution was even better
in some situation.
It should be easy to write C code out of what you posted here.
Programme it straightforward, compile it with compiler optimization
activated and check if it meets your requirements.
If not, it should be very hard to solve this by translating it into
the assembly language.
just my 2c.
Bernhard
--
before sending to the above email-address:
replace deadspam.com by foerstergroup.de