This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Support -mcpu=native on Tru64 UNIX
- From: Richard Henderson <rth at redhat 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 07:54:20 -0700
- Subject: Re: Support -mcpu=native on Tru64 UNIX
- References: <ydd4o28djgw.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On 07/27/2011 04:57 AM, Rainer Orth wrote:
> The following patch does so for -mcpu=native/-mtune=native on Tru64
> UNIX, using getsysinfo(2). A non-bootstrap C-only build is currently
> running, the options above work as expected.
I hadn't realized that the =native detection wasn't being done
via __builtin_implver and __builtin_amask. Seems to me that
we should just use that and eliminate all the OS-specific stuff.
r~