This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][i386] Add -march=native support for VIA nano CPUs
- From: "J. Mayer" <l_indien at magic dot fr>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 31 May 2016 13:46:16 +0200
- Subject: Re: [PATCH][i386] Add -march=native support for VIA nano CPUs
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4Y4ZM_WGAozF=NVaE-uabDufArq=KEi53=JVPzqFVHLMw at mail dot gmail dot com> <1464559768 dot 9217 dot 68 dot camel at magic dot fr> <CAFULd4a1N+p++7p94mjv6PGLW_v2uDedBmaV9wovf_oU6RsOCQ at mail dot gmail dot com>
On Tue, 2016-05-31 at 13:38 +0200, Uros Bizjak wrote:
> On Mon, May 30, 2016 at 12:09 AM, J. Mayer <l_indien@magic.fr> wrote:
> >
> > Hello,
> >
> > On Sun, 2016-05-29 at 21:12 +0200, Uros Bizjak wrote:
> > >
> > > Hello!
> > >
> > > >
> > > >
> > > > When trying to compile using -march=native on a VIA nano CPU,
> > > > gcc
> > > > selects "-march=core2" "-mtune=i386" then is unable to compile,
> > > > as
> > > > this
> > > > creates a conflicts between 32 bits and 64 bits compilation
> > > > modes,
> > > > as
> > > > show by the following test:
> > > [...]
> > >
> > > >
> > > >
> > > > --- gcc/config/i386/driver-i386.c.origÃÃ2015-02-02
> > > > 05:20:49.000000000
> > > > +0100
> > > > +++ gcc/config/i386/driver-i386.cÃÃÃÃÃÃÃ2015-08-23
> > > > 01:11:03.000000000
> > > > +0200
> > > > @@ -601,15 +601,20 @@
> > > > ÃÃÃÃÃÃÃÃÃÃswitch (family)
> > > > ÃÃÃÃÃÃÃÃÃÃÃÃ{
> > > > ÃÃÃÃÃÃÃÃÃÃÃÃcase 6:
> > > > -ÃÃÃÃÃÃÃÃÃÃÃÃÃif (model > 9)
> > > The patch was corrupted by your mailer. But - can you please open
> > > a
> > > bugreport, and refer reposted patch to this bugreport? This way,
> > > the
> > > problem (and the patch) won't get forgotten.
> > >
> > > Uros.
> > >
> > Sorry for that, might be because of UTF-8 encoding.
> > I already opened a bug many monthes ago, ID 67310:
> > <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67310>
> > I just updated the patch against current git repository, the only
> > difference between previous versions are diff offsets.
> Can you please test the patch that is attached to the bugreport?
>
> Thanks,
> Uros.
Yes, I've seen your patch and downloaded it, I'm now recompiling gcc
from patched git repository; I'll be busy in the hours to come, but
I'll make the test as soon as I can.
Jocelyn