Re: [gentoo-user] -mtune for P4M (dothan)

2005-11-02 Thread Luca Botti

WRONG!

dothan is not a P4M, it is a Pentium-M, like the previous, 1mb 2nd level cache 
version.

So you should apply the pentium3 + sse options for gcc 3.3, or 
-march=pentium-m for gcc 3.4 and upper.

The pentium4m is just a cut-down version of pentium4.




Alle Tuesday 1 November 2005 16:09, Qian Qiao ha scritto:
 Hi,

 Trying to install gentoo on a notebook with a P4M (dothan), wondering
 what -mtune should I go for, the GCC manual says:

 pentium-m
 Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2
 instruction set support. Used by Centrino notebooks.

 pentium4, pentium4m
 Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support.

 So shall I choose pentium-m? or pentium4m?

 TIA

 -- Joe

 --
 There are 3 kinds of people in the world:
 Those who can count, and those who can't.
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] -mtune for P4M (dothan)

2005-11-02 Thread Patrick Watson
In other words:

pentium4m is for the mobile version of the Pentium 4; see
http://www.intel.com/products/processor/mobilepentium4/

Pentium-m is for the Pentium M series, a completely different processor from
the Pentium 4 series. See
http://www.intel.com/products/processor/pentiumm/index.htm

-Original Message-
From: Luca Botti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 02, 2005 7:45 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] -mtune for P4M (dothan)


WRONG!

dothan is not a P4M, it is a Pentium-M, like the previous, 1mb 2nd level
cache 
version.

So you should apply the pentium3 + sse options for gcc 3.3, or 
-march=pentium-m for gcc 3.4 and upper.

The pentium4m is just a cut-down version of pentium4.




Alle Tuesday 1 November 2005 16:09, Qian Qiao ha scritto:
 Hi,

 Trying to install gentoo on a notebook with a P4M (dothan), wondering
 what -mtune should I go for, the GCC manual says:

 pentium-m
 Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2
 instruction set support. Used by Centrino notebooks.

 pentium4, pentium4m
 Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support.

 So shall I choose pentium-m? or pentium4m?

 TIA

 -- Joe

 --
 There are 3 kinds of people in the world:
 Those who can count, and those who can't.
-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] -mtune for P4M (dothan)

2005-11-02 Thread Patrick Watson
Just noticed: it seems that Intel has two pages for their mobile version of
the Pentium 4. shrug This is the second one, and (guessing by the name) is
probably what the flag is really for:
http://www.intel.com/products/processor/pentium4-m/index.htm

-Original Message-
From: Patrick Watson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 02, 2005 8:36 AM
To: gentoo-user@lists.gentoo.org
Subject: RE: [gentoo-user] -mtune for P4M (dothan)

In other words:

pentium4m is for the mobile version of the Pentium 4; see
http://www.intel.com/products/processor/mobilepentium4/

Pentium-m is for the Pentium M series, a completely different processor from
the Pentium 4 series. See
http://www.intel.com/products/processor/pentiumm/index.htm

-Original Message-
From: Luca Botti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 02, 2005 7:45 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] -mtune for P4M (dothan)


WRONG!

dothan is not a P4M, it is a Pentium-M, like the previous, 1mb 2nd level
cache 
version.

So you should apply the pentium3 + sse options for gcc 3.3, or 
-march=pentium-m for gcc 3.4 and upper.

The pentium4m is just a cut-down version of pentium4.




Alle Tuesday 1 November 2005 16:09, Qian Qiao ha scritto:
 Hi,

 Trying to install gentoo on a notebook with a P4M (dothan), wondering
 what -mtune should I go for, the GCC manual says:

 pentium-m
 Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2
 instruction set support. Used by Centrino notebooks.

 pentium4, pentium4m
 Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support.

 So shall I choose pentium-m? or pentium4m?

 TIA

 -- Joe

 --
 There are 3 kinds of people in the world:
 Those who can count, and those who can't.
-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -mtune for P4M (dothan)

2005-11-02 Thread Qian Qiao
On 11/2/05, Patrick Watson [EMAIL PROTECTED] wrote:
 Just noticed: it seems that Intel has two pages for their mobile version of
 the Pentium 4. shrug This is the second one, and (guessing by the name) is
 probably what the flag is really for:
 http://www.intel.com/products/processor/pentium4-m/index.htm

Hmmm, it looks like dothan should be a pentium-m. Thanks to everybody replied.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -mtune for P4M (dothan)

2005-11-02 Thread Qian Qiao
After going through the GCC docs, i've decided to use: -march=pentium3
-mmmx -msse -msse2.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -mtune for P4M (dothan)

2005-11-02 Thread Luca Botti
i would suggest the move to gcc3.4.

Apart from architecture support, you will get an ABI C++ compatibility with 
gcc4.




Alle Wednesday 2 November 2005 14:35, Qian Qiao ha scritto:
 After going through the GCC docs, i've decided to use: -march=pentium3
 -mmmx -msse -msse2.

 -- Joe

 --
 There are 3 kinds of people in the world:
 Those who can count, and those who can't.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -mtune for P4M (dothan)

2005-11-02 Thread Richard Fish

Qian Qiao wrote:


After going through the GCC docs, i've decided to use: -march=pentium3
-mmmx -msse -msse2.
 



I don't really recommend that.  A few things may have compile errors if 
you globally use -mmmx, -msse, and -msse2.  Instead, I suggest you set 
the mmx and sse USE flags, and let portage add those CFLAGS for those 
packages where it actually makes a difference and is supported.


Also, don't forget -fomit-frame-pointer and -pipe.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -mtune for P4M (dothan)

2005-11-02 Thread Qian Qiao
On 11/2/05, Richard Fish [EMAIL PROTECTED] wrote:
 Qian Qiao wrote:

 After going through the GCC docs, i've decided to use: -march=pentium3
 -mmmx -msse -msse2.
 
 

 I don't really recommend that.  A few things may have compile errors if
 you globally use -mmmx, -msse, and -msse2.  Instead, I suggest you set
 the mmx and sse USE flags, and let portage add those CFLAGS for those
 packages where it actually makes a difference and is supported.

Thx for the tip, i've taken them out, and added use flags accordingly.

 Also, don't forget -fomit-frame-pointer and -pipe.

I've got those 2 flags already. :)

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -mtune for P4M (dothan)

2005-11-01 Thread Ryan Viljoen
 Hi,

 Trying to install gentoo on a notebook with a P4M (dothan), wondering
 what -mtune should I go for, the GCC manual says:

 pentium-m
 Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2
 instruction set support. Used by Centrino notebooks.

 pentium4, pentium4m
 Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support.


This is what I use with my notebook (Intel 1.5GHz Centrino):
CFLAGS=-O3 -pipe -march=pentium-m -mcpu=i686 -fomit-frame-pointer
-mtune=pentium-m
which seems to work fine.

I am however curious about pentium4m though.

--
When you say I wrote a program that crashed Windows, people just
stare at you blankly and say Hey, I got those with the system, for
free. - Linus Torvalds, 1995

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -mtune for P4M (dothan)

2005-11-01 Thread Bill Roberts
On 16:53 Tue 01 Nov , Ryan Viljoen wrote:
  Hi,
 
  Trying to install gentoo on a notebook with a P4M (dothan), wondering
  what -mtune should I go for, the GCC manual says:
 
  pentium-m
  Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2
  instruction set support. Used by Centrino notebooks.
 
  pentium4, pentium4m
  Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support.
 
 
 This is what I use with my notebook (Intel 1.5GHz Centrino):
 CFLAGS=-O3 -pipe -march=pentium-m -mcpu=i686 -fomit-frame-pointer
 -mtune=pentium-m
 which seems to work fine.
 
 I am however curious about pentium4m though.
 
I am using pentium4 with a Centrino 1.86 and it works fine. I mentioned
that here before, and someone congratulated me for being smart.

In fact, I chose pentium4 out of an abundance of ignorance. I have
googled the subject to death, and found nothing suggesting that pentium4
or pentium4m should be used with this processor, except an indication
that the dothan is pentium3 based, with some pentium4 tweaks. No
indication as to which CFLAG to use, except the gcc documentation, which
seems to point to pentium3 or pentium-m.

I am planning on sticking with the pentium4 flag, on the theory of If it
ain't broke, don't fix it, until I get some definitive guidance, or until
I need to do a recompile.

Any cflag guru's out there?? 

Bill Roberts


pgpoEugoP4wIK.pgp
Description: PGP signature