Floating point DSP with GPL toolchain
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Floating point DSP with GPL toolchain

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP
Author Message
giangiammy
Guest





Posted: Thu Dec 01, 2005 5:16 pm    Post subject: Floating point DSP with GPL toolchain Reply with quote

Hi all,

For a project, I need to use a DSP with floating point
capbilities, using a GPL toolchain.

A good DSP with all the feature I need would be the
ADSP 21262, but the GPL toolchain has not a
complete support of his features, and it would a pity
to underuse it!

Does anyone has experience in using a floating
point DSP with GPL developing environment on
Linux?

thanks
giammy
Back to top
Jim Thomas
Guest





Posted: Fri Dec 02, 2005 5:16 pm    Post subject: Re: Floating point DSP with GPL toolchain Reply with quote

giangiammy wrote:
Quote:
Hi all,

For a project, I need to use a DSP with floating point
capbilities, using a GPL toolchain.

A good DSP with all the feature I need would be the
ADSP 21262, but the GPL toolchain has not a
complete support of his features, and it would a pity
to underuse it!

Does anyone has experience in using a floating
point DSP with GPL developing environment on
Linux?


Again, if you want to take advantage of SIMD, you should use assembly.
I typically write C-callable assembly functions when I need the speed,
GPL or otherwise.

You get the best of both worlds this way. C for control and complicated
general-purpose stuff, and assembly for processing samples (my asm
functions always work on a block of samples rather than on a single
sample). So instead of this:

for(i=0; i<SIZE; i++)
{
*out++ = asm_function(*in++);
}

I write

asm_function(out, in, SIZE);

It's not that hard to write the asm functions.

--
Jim Thomas Principal Applications Engineer Bittware, Inc
jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536
When you know how things work, the world is one big sandbox. - Avins
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB