Displaying 20 results from an estimated 1000 matches similar to: "Blackfin inline assembler and VisualDSP++ toolchain"
2007 Jun 13
2
Blackfin inline assembler and VisualDSP++ toolchain
Hi Jean-Marc
I'm trying to integrate your speex codec on our custom Blackfin board. The board is not uCLinux compatible and there is no chance that it will ever be.
I am using ADI-supplied VisualDSP++ IDE and corresponding toolchain. As long as I am compiling "C"-only version of the library everything is fine. VisualDSP++ produces working library. There is only one not so minor
2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
-----Original Message-----
From: Robin Getz [mailto:rgetz@blackfin.uclinux.org]
Sent: Saturday, June 16, 2007 12:11 AM
To: Michael Shatz
Cc: speex-dev@xiph.org
Subject: Re: [Speex-dev] Blackfin inline assembler and VisualDSP++
toolchain
>On Wed 13 Jun 2007 12:37, Michael Shatz pondered:
>>
>> Hi Jean-Marc
>>
>> I'm trying to integrate your speex codec on our
2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
-----Original Message-----
From: Jean-Marc Valin [mailto:jean-marc.valin@usherbrooke.ca]
Sent: Thursday, June 14, 2007 11:17 PM
To: Michael Shatz
Cc: speex-dev@xiph.org
Subject: Re: [Speex-dev] Blackfin inline assembler and VisualDSP++
toolchain
Michael Shatz a ?crit :
>>> Actually, you're the first I know using the VisualDSP++ toolchain
>>> :-)
>>
>> I guess
2008 Feb 19
2
VisualDSP++ with enabled BFIN_ASM
Hi
I'm trying to integrate your speex codec on our custom Blackfin board and without uCLinux. I am using ADI-supplied VisualDSP++ IDE and corresponding toolchain. My question is: Is there anybody who ported speex with enabled BFIN_ASM to VisualDSP++ ?
Best Regards,
Stefan Voss
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Jun 21
0
Blackfin inline assembler and VisualDSP++ toolchain
>-----Original Message-----
>From: Robin Getz [mailto:rgetz@blackfin.uclinux.org]
>Sent: Tuesday, June 19, 2007 9:35 PM
>
>
>On Tue 19 Jun 2007 13:00, Michael Shatz pondered:
>> Robin Getz wrote:
>> >I never met any hardware that gcc could not run code on. toolchains have
>> >nothing do with embedded OSes.
>>
>> That's true. Add some
2005 Oct 04
2
Compiling libspeex for Blackfin
Hi Jean,
First, I would like to thank for the prompt reply.
Basically, what I have to do is to run a speex coder/decoder on a
Blackfin processor, on top of the microC/OS II kernel. I wish I could
use uclinux, since I'm familiar with Linux, but this doesn't depend on
me.
You said that the assembly code is written for gcc, not for
VisualDSP++. Furthermore, in the link you sent me, the
2007 Jun 21
0
Blackfin inline assembler and VisualDSP++ toolchain
From: Jim Crichton [mailto:jim.crichton@comcast.net]
Sent: Tuesday, June 19, 2007 10:47 PM
>
>For TI DSPs, I used a private memory array rather than the C stack, and a
>debug patch in stack_alloc.h to measure the scratch usage:
>
>#if 1
>extern char *spxGlobalScratchFree;
>#define ALLOC(var, size, type) (var = PUSH(stack, size, type),
2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
-----Original Message-----
From: Jean-Marc Valin [mailto:jean-marc.valin@usherbrooke.ca]
Sent: Tuesday, June 19, 2007 6:38 PM
To: Michael Shatz
Cc: speex-dev@xiph.org
Subject: Re: [Speex-dev] Blackfin inline assembler and VisualDSP++
toolchain
>> Yes, data footprint in the new version is quite manageable. Still I would
>> wish better documentation for speex_alloc_scratch().
>
2005 Sep 29
2
Compiling libspeex for Blackfin
Hi all,
I'm trying to run speex on the Blackfin processor. I'm not familiar
with programming/compiling/linking at all, but I guess the first thing
I need is libspeex compiled for Blackfin, so that my program can use
the library functions. I've downloaded the source files (version
1.1.10) from www.speex.org and I've been trying to compile libspeex
from within VisualDSP++, but it
2008 Feb 22
1
VisualDSP++ with enabled BFIN_ASM
Robin Getz a ?crit :
> On Tue 19 Feb 2008 11:14, Voss, Stefan, AEAV22 pondered:
>> I'm trying to integrate your speex codec on our custom Blackfin board and
>> without uCLinux. I am using ADI-supplied VisualDSP++ IDE and corresponding
>> toolchain. My question is: Is there anybody who ported speex with enabled
>> BFIN_ASM to VisualDSP++ ?
>
> Nope - two
2006 Jan 18
2
Errors in speex lib with Blackfin
Hello!
I'v downloaded speex lib 1.1.11.1.
I am trying to port speex lib to Blackfin processor.
I am using VisualDSP++ 4.0.
If I am compiling source codes with using floating point everything
ok.
When I am compiling with FIXED_POINT defined everything's ok and code
works about two times faster.
But when I am defining BFIN_ASM I am getting several compiling errors
in Blackfin assembler
2008 Feb 05
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Hi,
I just started to examine the DIV32_16 function (Blackfin ASM version), and wondered why the return value of the function inside 'fixed_bfin.h' is of type 'spx_word16_t', but the local variable 'res' which is returned by this function is of type 'spx_word32_t'. Is this a trick of optimization or a bug?
(Same question for PDIV32_16 and MAX16, too!)
best
2008 Feb 08
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Hi,
I tried to figure out what the problem is -- but it seems to be totally different from what I expected.
My status at the moment is:
- computing results for "generic" and "Blackfin ASM" versions of the DIV32_16 function are the same, there is no "algorithmic bug"
- Instead, there seems some sort of memory corruption:
When I comment out the DIV32_16 function
2008 Feb 12
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Hi,
when I compile with FIXED_DEBUG enabled, I get an error -- both when make tries to build testenc.o and when I try to link my app against the speex lib:
lorenz@panelmaker:~/Blackfin/tests/speex_loopthrough$ make
bfin-uclinux-gcc -c -g -I/home/lorenz/include -o main.o main.c
bfin-uclinux-gcc -gl -elf2flt -L/home/lorenz/lib -o speex_through main.o -lspeex_debug -lspeexdsp -lm
2008 Feb 22
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Hi Jean-Marc,
after some problems with getting svn to work here I finally made it. Problem is, you write that I cannot use libspeex and libspeexdsp at the same time now -- because I use a "live" system (mic-in -> speex_enc -> speex_dec -> headphone out) and I can run the AD1836 audio codec on 48 kHz only, I cannot use my program now (because I use speex resampling...)
So I
2008 Mar 05
1
Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
Jean-Marc, Frank,
I have stumbled across a similar situation regarding optimization.
I seem to have a similar setup as Frank does with a fixed 48khz in and out. The wideband mode and ultra-wideband modes are really what I?m looking for.
I have a test application that reads audio, downsample to 16kHz (or 32kHz), speex encode, speex decode, upsample back to 48kHz, and playback.
If I remove
2009 Apr 24
2
[PATCH] Blackfin: cleanup astat/cc/hardware loop asm clobbers
Most asm statements clobber ASTAT bits (shifts, maxes, etc...) but do
declare the register as clobbered. Same thing with CC in a few places.
Some places make an attempt at clobbering some hardware loop registers,
but it's very incomplete compared with how many asm statements actually
use hardware loops.
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
libspeex/bfin.h
2006 Jan 18
0
Errors in speex lib with Blackfin
> I am trying to port speex lib to Blackfin processor.
> I am using VisualDSP++ 4.0.
I've never used VisualDSP++ 4.0. All the development on Blackfin has
been done with gcc, which may explain some problems with the inline asm.
Does VisualDSP++ support a syntax close to what gcc uses (with
constraints) or more like the MS compilers.
> If I am compiling source codes with using
2007 May 14
1
problem on blackfin
Hello,
I'm using speex provided with the Blackfin SDK on a BF533 EZ-KIT LITE
In this version of speex, the program is used in wide band with a sampling
rate of 16KHZ
But i want to use it in narrow band mode with a sampling rate of 8KHZ
In AudDriverFuncs_AD1836.c file, i see that the supported sample rate are
48000, 24000 and 16000 --> I don't understand because in the readme file it
2008 Jan 07
1
Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h?
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