Jim Thomas
Guest
|
Posted:
Fri Dec 02, 2005 5:17 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
abariska@student.ethz.ch wrote:
| Quote: | I just thought of three things: First, the above construct doesn't work
(the multiple use of INSTR1 and INSTR2 will generate errors), second
enabling and disabling SIMD can be achieved much simpler (define PEYEN
and you're done), and thirdly, adding SIMD support will be the least of
your problems. The major problem is how you can fool the linker into
generating a memory image of the 212xx instead of the 2106x. There
might be a chance with the "nomemcheck" switch of the linker ...
|
You're right. I wouldn't fret too much over the lack of compiler
support for SIMD. Even with VisualDSP, when I want SIMD, I resort to
assembly. The bigger issue is the memory map and linker. I fiddled
with g21k back in the day to try to get it to support the 21065.
There's an architecture file parser (g21k used .ach files intead of the
..ldr files used by VisualDSP) that is absolute spaghetti (there's some
Italian for you!)
Most of the time I spent on it was in trying to clean up the existing
code rather than adding 21065 support, and then I ran out of enthusiasm.
It would probably be well worth the time to track down the Beastrider
offerings.
--
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 |
|