Re: [gentoo-user] CFlags for CPU

2011-07-28 Thread Helmut Jarausch
On 07/28/2011 11:51:29 AM, Kfir Lavi wrote: > On Thu, Jul 28, 2011 at 12:46 PM, Helmut Jarausch < > jarau...@igpm.rwth-aachen.de> wrote: > > > On 07/28/2011 11:40:40 AM, Kfir Lavi wrote: > > > My guess is that -msse4.2 imply also -msse1..4.1 > > > Can someone confirm this? > > > > I don't think so

Re: [gentoo-user] CFlags for CPU

2011-07-28 Thread Kfir Lavi
On Thu, Jul 28, 2011 at 12:46 PM, Helmut Jarausch < jarau...@igpm.rwth-aachen.de> wrote: > On 07/28/2011 11:40:40 AM, Kfir Lavi wrote: > > My guess is that -msse4.2 imply also -msse1..4.1 > > Can someone confirm this? > > I don't think so. It's part of the war Intel <-> AMD > > Helmut. > > Can y

Re: [gentoo-user] CFlags for CPU

2011-07-28 Thread Helmut Jarausch
On 07/28/2011 11:40:40 AM, Kfir Lavi wrote: > My guess is that -msse4.2 imply also -msse1..4.1 > Can someone confirm this? I don't think so. It's part of the war Intel <-> AMD Helmut.

Re: [gentoo-user] CFlags for CPU

2011-07-28 Thread Kfir Lavi
On Wed, Jul 27, 2011 at 9:32 PM, Mick wrote: > On Wednesday 27 Jul 2011 17:13:21 Kfir Lavi wrote: > > On Wed, Jul 27, 2011 at 5:34 PM, Kfir Lavi wrote: > > > On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson > > >> > > >> Another good trick I've found on the forums is to run: > > >> $ gcc -### -e

Re: [gentoo-user] CFlags for CPU

2011-07-27 Thread pk
On 2011-07-27 20:32, Mick wrote: > It seems that on my early i7, the -march=core2 does not have all the -msse* > flags enabled, while native does: Acc. to this there is a flag for i7, BUT... I'm not sure if current stable version accepts it: http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-

Re: [gentoo-user] CFlags for CPU

2011-07-27 Thread Mick
On Wednesday 27 Jul 2011 21:24:33 Mark Knecht wrote: > On Wed, Jul 27, 2011 at 11:32 AM, Mick wrote: > > On Wednesday 27 Jul 2011 17:13:21 Kfir Lavi wrote: > >> On Wed, Jul 27, 2011 at 5:34 PM, Kfir Lavi wrote: > >> > On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson > >> > > >> >> Another good t

Re: [gentoo-user] CFlags for CPU

2011-07-27 Thread Mark Knecht
On Wed, Jul 27, 2011 at 11:32 AM, Mick wrote: > On Wednesday 27 Jul 2011 17:13:21 Kfir Lavi wrote: >> On Wed, Jul 27, 2011 at 5:34 PM, Kfir Lavi wrote: >> > On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson >> >> >> >>  Another good trick I've found on the forums is to run: >> >> $ gcc -### -e -v -

Re: [gentoo-user] CFlags for CPU

2011-07-27 Thread Mick
On Wednesday 27 Jul 2011 17:13:21 Kfir Lavi wrote: > On Wed, Jul 27, 2011 at 5:34 PM, Kfir Lavi wrote: > > On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson > >> > >> Another good trick I've found on the forums is to run: > >> $ gcc -### -e -v -march=native /usr/include/stdlib.h > >> > >> The la

Re: [gentoo-user] CFlags for CPU

2011-07-27 Thread Kfir Lavi
On Wed, Jul 27, 2011 at 5:34 PM, Kfir Lavi wrote: > > > On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson wrote: > >> ** >> On 07/26/2011 12:22 PM, pk wrote: >> >> On 2011-07-26 22:36, Alokat wrote: >> >> >> model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz >> >> >> >> >> I gues

RE: [gentoo-user] CFlags for CPU

2011-07-27 Thread Pandu Poluan
-original message- Subject: Re: [gentoo-user] CFlags for CPU From: Andy Wilkinson Date: 2011-07-27 21:09 >Another good trick I've found on the forums is to run: > >$ gcc -### -e -v -march=native /usr/include/stdlib.h > >The last line of output will include the various CFLAGS

Re: [gentoo-user] CFlags for CPU

2011-07-27 Thread Kfir Lavi
On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson wrote: > ** > On 07/26/2011 12:22 PM, pk wrote: > > On 2011-07-26 22:36, Alokat wrote: > > > model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz > > > > > I guess *core2* is the right one? > > Yes, acc. > to:http://en.gentoo-wiki

Re: [gentoo-user] CFlags for CPU

2011-07-27 Thread Andy Wilkinson
On 07/26/2011 12:22 PM, pk wrote: > On 2011-07-26 22:36, Alokat wrote: > >> model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz > > >> I guess *core2* is the right one? > Yes, acc. to: > http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Core_2_Duo.2FQuad.2C_Xeon_51xx.2F53xx.2F54xx.2F3

Re: [gentoo-user] CFlags for CPU

2011-07-26 Thread Bill Kenworthy
On Tue, 2011-07-26 at 14:58 -0400, Michael Mol wrote: > On Tue, Jul 26, 2011 at 4:36 PM, Alokat wrote: > > Hi folks, > > > > I'm wondering what kind of cpu-type I should use? > > > > cat /proc/cpuinfo > [snip] > > model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz > > [snip] > > ..

Re: [gentoo-user] CFlags for CPU

2011-07-26 Thread Paul Hartman
On Tue, Jul 26, 2011 at 5:01 PM, Mick wrote: > On Tuesday 26 Jul 2011 20:02:05 Paul Hartman wrote: >> On Tue, Jul 26, 2011 at 3:36 PM, Alokat wrote: >> > I'm wondering what kind of cpu-type I should use? >> >> Hi, >> >> I think, in your case, core2 is the correct one. >> >> If you run this comman

Re: [gentoo-user] CFlags for CPU

2011-07-26 Thread Mick
On Tuesday 26 Jul 2011 20:02:05 Paul Hartman wrote: > On Tue, Jul 26, 2011 at 3:36 PM, Alokat wrote: > > I'm wondering what kind of cpu-type I should use? > > Hi, > > I think, in your case, core2 is the correct one. > > If you run this command: > gcc -Q --help=target -march=native > > gcc wil

Re: [gentoo-user] CFlags for CPU

2011-07-26 Thread pk
On 2011-07-26 22:36, Alokat wrote: > model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz > I guess *core2* is the right one? Yes, acc. to: http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Core_2_Duo.2FQuad.2C_Xeon_51xx.2F53xx.2F54xx.2F3360.2C_Pentium_Dual-Core_T23xx.2B.2FE.2C

Re: [gentoo-user] CFlags for CPU

2011-07-26 Thread Paul Hartman
On Tue, Jul 26, 2011 at 3:36 PM, Alokat wrote: > I'm wondering what kind of cpu-type I should use? Hi, I think, in your case, core2 is the correct one. If you run this command: gcc -Q --help=target -march=native gcc will tell you what it thinks are the best options for your CPU.

Re: [gentoo-user] CFlags for CPU

2011-07-26 Thread Alan McKinnon
On Tuesday 26 July 2011 20:36:14 Alokat did opine thusly: > Hi folks, > > I'm wondering what kind of cpu-type I should use? > > cat /proc/cpuinfo > .. > > processor : 1 > vendor_id : GenuineIntel > cpu family : 6 > model : 15 > model name : Intel(R) Co

Re: [gentoo-user] CFlags for CPU

2011-07-26 Thread Mark Knecht
On Tue, Jul 26, 2011 at 1:36 PM, Alokat wrote: > Hi folks, > > I'm wondering what kind of cpu-type I should use? > > cat /proc/cpuinfo > .. > > processor   : 1 > vendor_id   : GenuineIntel > cpu family  : 6 > model   : 15 > model name  : Intel(R) Core(TM)2 Duo C

Re: [gentoo-user] CFlags for CPU

2011-07-26 Thread Michael Mol
On Tue, Jul 26, 2011 at 4:36 PM, Alokat wrote: > Hi folks, > > I'm wondering what kind of cpu-type I should use? > > cat /proc/cpuinfo [snip] > model name  : Intel(R) Core(TM)2 Duo CPU L7100  @ 1.20GHz [snip] > .. > > After a short research on this website: > http://gcc.gnu.or

[gentoo-user] CFlags for CPU

2011-07-26 Thread Alokat
Hi folks, I'm wondering what kind of cpu-type I should use? cat /proc/cpuinfo .. processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz stepping: 11 cpu MHz : 1197.0