[PATCH][i386] Add -march=native support for VIA nano CPUs

Uros Bizjak ubizjak@gmail.com
Mon May 30 00:34:00 GMT 2016


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.



More information about the Gcc-patches mailing list