This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33115] -march=native is not supported under x86 darwin
- From: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2007 21:39:10 -0000
- Subject: [Bug target/33115] -march=native is not supported under x86 darwin
- References: <bug-33115-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gmail dot com 2007-08-19 21:39 -------
Subject: Re: -march=native is not supported under x86 darwin
On 19 Aug 2007 21:12:22 -0000, dje at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> x86 darwin should be able to re-use the implementation from
> rs6000/driver-rs6000.c because the kernel interfaces to query the information
> are the same.
Well and i386/driver-i386.c uses inline-asm so it should able to use that also.
EXTRA_GCC_OBJS =driver-i386.o darwin-driver.o
We are able to compile driver-i386.c but just not use it.
The problem is that CC1_SPEC does not use %(cc1_cpu).
Thanks,
Andrew Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33115