This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SPE configuration in GCC
> So, it sounds like you would consider a patch which modified rs6000.h,
> so long as all the OS header files for which particular variants were
> inappropriate then zero'd the macros. This certainly isn't a 4.0
> change, so I'll put in my possible-changes-to-implement-for-4.1 queue,
> if you're agreed with the idea in principle.
>
> I'm working with a customer which is distributing cross compilers to
> GNU/Linux. They are supporting both SPE/E500 and "traditional" PowerPC.
BTW, there is a powerpc-linux that has SPE, so you could argue for
allowing e500 functionality for the Linux compiler. Right now we have
a separate triplet (powerpc-unknown-linux-gnuspe) for it.
> They use different kernels and different GLIBC builds, for these
> environments. However, they would like to use a single compiler. I
> think this is a valid scenario where one wants a single compiler that
> can do both SPE/E500 GNU/Linux and traditional GNU/Linux. So, if you
> don't think the change I'm suggesting is appropriate for GNU/Linux, then
> I'll just make a separate configuration header for this customer.
>
> Thanks,
>
> --
> Mark Mitchell
> CodeSourcery, LLC
> mark@codesourcery.com
> (916) 791-8304