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
Floating point DSP with GPL toolchain
Started by ●December 1, 2005
Reply by ●December 2, 20052005-12-02
giangiammy wrote:> 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