Re: Compiler Flags problem with core2 CPU

2010-03-03 Thread Aaron Lewis
[r...@meilk /usr/src/sys/i386/compile/AARON]# make CC='cc' make -f ../../../dev/aic7xxx/aicasm/Makefile MAKESRCPATH=../../../dev/aic7xxx/aicasm Warning: Object directory not changed from original /usr/src/sys/i386/compile/AARON cc -O2 -pipe -march=i686 -ffast-math -mfpmath=sse -O3 -nostdinc

Re: Compiler Flags problem with core2 CPU

2010-03-03 Thread Giorgos Keramidas
On Tue, 2 Mar 2010 23:26:20 +0200, Dan Naumov dan.nau...@gmail.com wrote: See the section 3.17.14 Intel 386 and AMD x86-64 Options in the gcc Info manual. It contains a full list of the supported CPU-TYPE values for the -mtune=CPU-TYPE option. The -march=CPU-TYPE option accepts the same CPU

Re: Compiler Flags problem with core2 CPU

2010-03-03 Thread Chuck Swiger
Aaron Lewis wrote: [r...@meilk /usr/src/sys/i386/compile/AARON]# make CC='cc' make -f ../../../dev/aic7xxx/aicasm/Makefile MAKESRCPATH=../../../dev/aic7xxx/aicasm Warning: Object directory not changed from original /usr/src/sys/i386/compile/AARON cc -O2 -pipe -march=i686 -ffast-math

Re: Compiler Flags problem with core2 CPU

2010-03-02 Thread Giorgos Keramidas
On Sun, 28 Feb 2010 20:38:45 +0800, Aaron Lewis aaron.lewis1...@gmail.com wrote: Hi, I gonna recompile kernel for my core2 CPU , so i'd like to pass some flags to gcc. Kinds of -march=core2 , i tried to modify /etc/make.conf e.gCFLAGS += -march=core2 -O20 -ffast-math

Re: Compiler Flags problem with core2 CPU

2010-03-02 Thread Giorgos Keramidas
On Sun, 28 Feb 2010 22:37:27 +0800, Aaron Lewis aaron.lewis1...@gmail.com wrote: Paul B Mahol wrote: On 2/28/10, Aaron Lewis aaron.lewis1...@gmail.com wrote: Hi, I gonna recompile kernel for my core2 CPU , so i'd like to pass some flags to gcc. Kinds of -march=core2 , i tried to modify

RE: Compiler Flags problem with core2 CPU

2010-03-02 Thread Dan Naumov
See the section 3.17.14 Intel 386 and AMD x86-64 Options in the gcc Info manual. It contains a full list of the supported CPU-TYPE values for the -mtune=CPU-TYPE option. The -march=CPU-TYPE option accepts the same CPU types: `-march=CPU-TYPE' Generate instructions for the machine

Re: Compiler Flags problem with core2 CPU

2010-03-02 Thread ill...@gmail.com
On 28 February 2010 07:38, Aaron Lewis aaron.lewis1...@gmail.com wrote: Hi,   I gonna recompile kernel for my core2 CPU , so i'd like to pass some flags to gcc.   Kinds of -march=core2 , i tried to modify /etc/make.conf     e.g    CFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse   But it

Re: Compiler Flags problem with core2 CPU

2010-03-01 Thread James Phillips
Date: Sun, 28 Feb 2010 22:37:27 +0800 From: Aaron Lewis aaron.lewis1...@gmail.com Subject: Re: Compiler Flags problem with core2 CPU To: Paul B Mahol one...@gmail.com Cc: freebsd-questions@freebsd.org Message-ID: 4b8a7fa7.1070...@gmail.com Content-Type: text/plain; charset=ISO-8859-1

Re: Compiler Flags problem with core2 CPU

2010-02-28 Thread Paul B Mahol
On 2/28/10, Aaron Lewis aaron.lewis1...@gmail.com wrote: Hi, I gonna recompile kernel for my core2 CPU , so i'd like to pass some flags to gcc. Kinds of -march=core2 , i tried to modify /etc/make.conf e.gCFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse But it fails

Re: Compiler Flags problem with core2 CPU

2010-02-28 Thread Aaron Lewis
Really ? It's bad to use custom flags to compile kernel , why do you think so ? I'd like to know more about this : ) So setting optimize compiler flags is only useful for userland stuff ? Paul B Mahol wrote: On 2/28/10, Aaron Lewis aaron.lewis1...@gmail.com wrote: Hi, I gonna

Re: Compiler Flags problem with core2 CPU

2010-02-28 Thread Paul B Mahol
Do not top post. On 2/28/10, Aaron Lewis aaron.lewis1...@gmail.com wrote: Really ? It's bad to use custom flags to compile kernel , why do you think so ? I'd like to know more about this : ) Use google. So setting optimize compiler flags is only useful for userland stuff ? Paul B Mahol