Hello all, I'm a novice at low level hardware programming, so this is a very basic question. To my knowledge, there are two routes that can be taken to compile code for the ADSP family of processors. These are the g21k route and the VisualDSP route. My understanding is that the key is that these compilers make use of some type of architecture descrption file (.ach files for g21k and .ldf files for VisualDSP) that tells the compiler (linker) on what platform the code will run. Are there any third party compilers that can be used in this manner for the ADSP processors? Or, is there a way to tell, say a Borland compiler, how to link code for an ADSP processor? Any information would be greatly appreciated. Also, please correct me if any of my assumptions are incorrect. Thank you Dan Roskey Zetetic Institute | |||||||
| |||||||
|
Third party compilers for ADSP family
Hi,
Can anyone give me typical performance
comparision of for Analog Devices Software Tools for ADSP-218x platform.
MIPS of a Cross compiled
assembly program Vs MIPS of Optimized Hand Written assembly
program?
Typical example : for any ITU series Speech
codecs.
Hari V
|
The compiler generated code is slower by ( upto) 5 times when compared to optimized handwritten assembly code. this has been observed for simple data manipulations.while some compilers for other DSPs provide much better optimization ( 1:3 as against 1:5 of ADSP218x). Also, there is no option for optimization in g21 cross compiler except for a simple one ("-msmall-code") which does optimize for program memory and not the speed and I have experienced lot of problems ( to be specific , the code simply doesn't work) with this optimization regarding structure accesses and "long" variables (on stack) inside nested for loops. Hari Krishna Vuppaladhadiam wrote: > > [eGroups] My Groups | adsp Main Page | Start a new group! > > Hi, Can anyone give me typical performance comparision of for Analog > Devices Software Tools for ADSP-218x platform. MIPS of a Cross > compiled assembly program Vs MIPS of Optimized Hand Written assembly > program? Typical example : for any ITU series Speech codecs. Hari V > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.egroups.com/group/adsp > > Other Groups: http://www.dsprelated.com > -- --o--*--@--*--o--*--o--*--7--#--5--o--*--o--*--@--*--o--*--7--#--5-- If our knowledge were represented by the radius of a circle, as we increase our knowledge the circle become larger. What's beyond the circle is the unknown, so that the more we know, there is more that is unknown, and it goes on that way. Bear Heart, The Wind is My Mother | |||||||
|
The next release of 218X compiler will have a -Os switch for generating
the smallest code size possible. Look at our web site often for VisualDSP updates. The next release of the compiler is not GNU. It is an ADI owned technology (read better). Brian > -------------------------------- > Brian Smith > Analog Devices, Inc. > Digital Signal Processing Group > Field Applications Engineer > Voice: 410-782-7991 > Fax: 410-782-7984 > Email: mailto: > Web: http://www.analog.com > FTP: http://ftp.analog.com > a > ---------------------------------- -----Original Message----- From: Hemanth [mailto:] Sent: Friday, September 15, 2000 2:29 AM To: Hari Krishna Vuppaladhadiam Cc: Subject: Re: [adsp] Third party compilers for ADSP family The compiler generated code is slower by ( upto) 5 times when compared to optimized handwritten assembly code. this has been observed for simple data manipulations.while some compilers for other DSPs provide much better optimization ( 1:3 as against 1:5 of ADSP218x). Also, there is no option for optimization in g21 cross compiler except for a simple one ("-msmall-code") which does optimize for program memory and not the speed and I have experienced lot of problems ( to be specific , the code simply doesn't work) with this optimization regarding structure accesses and "long" variables (on stack) inside nested for loops. Hari Krishna Vuppaladhadiam wrote: > > [eGroups] My Groups | adsp Main Page | Start a new group! > > Hi, Can anyone give me typical performance comparision of for Analog > Devices Software Tools for ADSP-218x platform. MIPS of a Cross > compiled assembly program Vs MIPS of Optimized Hand Written assembly > program? Typical example : for any ITU series Speech codecs. Hari V > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.egroups.com/group/adsp > > Other Groups: http://www.dsprelated.com > -- --o--*--@--*--o--*--o--*--7--#--5--o--*--o--*--@--*--o--*--7--#--5-- If our knowledge were represented by the radius of a circle, as we increase our knowledge the circle become larger. What's beyond the circle is the unknown, so that the more we know, there is more that is unknown, and it goes on that way. Bear Heart, The Wind is My Mother To Join: Send an email to To Post: Send an email to To Leave: Send an email to Archives: http://www.egroups.com/group/adsp Other Groups: http://www.dsprelated.com |