Cross compilers; GDC/LDC
Manu
turkeyman at gmail.com
Mon Mar 4 05:34:53 PST 2013
MIPS-3D and DMX are allegedly common, but not in any device I own (although
I'd like to consider them in my work all the same).
Popular MIPS devices are:
Android
Ingenic XBurst is in many existing Android devices, and has its own
SIMD unit.
MIPS64 chips should be appearing in Android devices soon (which should
support MIPS-3D)
Google has a toolchain build script
Sony PSP
Has a custom (and AWESOME!) SIMD unit
Toolchain with vendor extensions is(/was) easy to build:
https://github.com/pspdev/psptoolchain
Sony PS2 is a very interesting research device, but it's old and
irrelevant now
The toolchain is quite hard to build :( (
https://github.com/ps2dev/ps2toolchain)
While I'm digging up the console build scripts, there are some other well
maintained scripts:
Sony PS3 - https://github.com/ps3dev/ps3toolchain
Builds PPE (PPC arch) and SPU (dedicated super-fast SIMD coprocessor,
best simd unit on earth!) toolchains
Nintendo WiiU, Wii, Gamecube - https://github.com/Vithon/devkitppcsh
PPC system, but with paired single unit instead of standard VMX
On 4 March 2013 20:54, Johannes Pfau <nospam at example.com> wrote:
> Am Mon, 4 Mar 2013 10:41:08 +1000
> schrieb Manu <turkeyman at gmail.com>:
>
> > ...it occurs to me that MIPS doesn't really have a single
> > standardised SIMD instruction set.
> >
> > There are a few extensions. I've worked on 3 popular MIPS devices;
> > they all have SIMD, but they are all different.
> > I'm not sure they are available as options in the standard GCC MIPS
> > arch. I think they are added via vendor patches.
> >
> > So don't sorry about MIPS I guess, it sounds like too much effort!
> > I'll hassle the vendors some time in the future...
> >
>
> Is MIPS ASE what you need? Standard gcc supports:
>
> MIPS DSP ASE rev1
> MIPS DSP ASE rev2
> MIPS SmartMIPS ASE
> MIPS Digital Media Extension
> MIPS-3D ASE
> (optional paired-single floating-point instructions)
> http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/MIPS-Options.html
>
> If you have vendor patches for gcc-4.7 I could integrate those. But we
> need either gcc 4.7 or 4.8 patches for gdc, crosstool-NG+gdc actually
> only works with 4.7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130304/d3629cf0/attachment-0001.html>
More information about the Digitalmars-d
mailing list