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

2016-05-31 Thread J. Mayer
On Tue, 2016-05-31 at 13:38 +0200, Uros Bizjak wrote: > On Mon, May 30, 2016 at 12:09 AM, J. Mayer 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

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

2016-05-31 Thread Uros Bizjak
On Mon, May 30, 2016 at 12:09 AM, J. Mayer 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 >> > creat

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

2016-05-29 Thread J. Mayer
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,

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

2016-05-29 Thread Uros Bizjak
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.ori

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

2016-05-29 Thread J. Mayer
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: # echo 'int main(){return 0;}' > test.c && gcc -march=native -