Re: [Speex-dev] Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h?
Frank_wtal at web.de
Tue Jan 22 14:14:35 PST 2008
I encountered the problems even with older versions of speex, including 1.2beta2 and 1.1.12, too.
I had no time in the last weeks to investigate this issue further, sorry. Hopefully, I'm able to do some more test the next days, but I have no real idea how to proceed
Performance and quality seem to be o.k. for me if I deactivate the Blackfin optimizations inside the file "fixed_bfin.h".
Because I am not an expert on Blackfin architecture and assembler up to now, I think it would be helpful to start some discussion with David Rowe (his blog points me to the fact he has done a lot of optimizations for Blackfin?)? If I read old posts from this mailing list and David's Blog, it seems like there were people who were able to run speex on Blackfin without these problems?
Von: "Jean-Marc Valin" <jean-marc.valin at usherbrooke.ca>
Gesendet: 20.01.08 12:30:06
An: Frank Lorenz <Frank_wtal at web.de>
CC: speex-dev at xiph.org
Betreff: Re: [Speex-dev] Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h?
Just following up on this. Did were you able to figure out what causes
the problem? Also, does it happen with 1.2beta2?
Frank Lorenz a écrit :
> Hello everybody,
> I'm currently trying to run speex on the Blackfin (BF-537) STAMP
> evaluation board unter uCLinux. Using 1.2 beta 3, I encountered
> problems when activating the Blackfin assembler optimizations.
> Without optimizations for blackfin, i.e. calling ./configure
> --enable-fixed-point --host=bfin-uclinux everything seems to work
> fine. But when I add the --enable-blackfin-asm flag to the above
> call, a speech signal which has been passed through the codec is
> cleary disturbed (for me, it sounds like the long term prediction
> (voice pitch detection) fails -- the signal sounds like the speaker
> has a very ugly sore throat). I tried to deactivate each part of the
> optimizaitions inside the libspeex directory, one after another. Most
> of the "turn-offs" doesn't have any effect. When turning off the
> optimizations inside "fixed_bfin.h", there is a big improvement --
> the decoded speech sounds good again, only on some positions in my
> speech signal is a huge "click" which sounds like an overdrive caused
> by an instable filter. When trying to switch off the optimizations
> from "filters_bfin.h", my little program compiles but crashes on
> runtime, sometimes (not always reproducable) causing a kernel panic
> of uclinux. Error info is "Attempted misaligned instruction cache
> Does anybody know what happens here?
> best regards, Frank
> In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und
> gestalten! Nur 3,99 EUR/Monat!
> _______________________________________________ Speex-dev mailing
> list Speex-dev at xiph.org
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten!
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
More information about the Speex-dev