View Single Post
Old 07-16-2012, 09:40 AM   #214
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by knc1 View Post
All compiler directives, particular to TI's special compiler for their DSP devices.
So those would need to be translated into something that behaves the same on gcc.

Aside from that, the algorithm displayed by the source code should be of value.
Plus, for things like operations in a loop on an array of values, gcc will "auto-vectorize" and generate the required VFP code.
Not so with the TI dsp compiler, there the programmer gets to write it all out themselves.
So to summarise:

I can ditch the inline _nassertions,
I dont have to worry about the PRAGMAs as this is managed for me (it's the alignment requirement that was worrying me)

I am going to ditch the restrict as well for now then until I understand - how and whether I can get it going - seems to be core functionality - not sure what I'm doing wrong there : )

Yep: so basically - with enough knowledge to rewrite the DSPF_sp_fftSPxSP ASM sections this could be a goer of a project for the kindle.

Nice one, perhaps one day when my knowledge has expanded to encompass these skills I can make this a reality. In the interim I think I will have to go for something a little bit more "script-kiddie"

***The shame*** ; ) thanks very much

Last edited by twobob; 07-16-2012 at 09:58 AM. Reason: added conclusion.
twobob is offline   Reply With Quote