Cross compilers; GDC/LDC

Johannes Pfau nospam at example.com
Mon Mar 4 02:54:15 PST 2013


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


More information about the Digitalmars-d mailing list