This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Support -march=native on IRIX
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Jul 2011 19:08:36 +0100
- Subject: Re: Support -march=native on IRIX
- References: <ydd62mnd6rk.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> Here's the last of my patches to support -march=native, this time for
> IRIX. It uses the getenvent(3) family of functions since /proc/cpuinfo
> is Linux-only. The patch itself is pretty straight forward, the basic
> approach has been tested in a separate program, and the code compiles :-)
> I'm waiting for another bootstrap to complete to fully test it.
>
> Prompted by rth's response to my Tru64 UNIX/Alpha patch, I had another
> look at using mfc0 $reg, $15 to access the PRId register directly, but
> unfortunately that is a privileged operation, just as on SPARC.
>
> Ok for mainline if the bootstrap passes?
Yeah, looks good, thanks.
Richard