Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-05 Thread Bachelier Vincent
Ok, I have found the solution

CFLAGS += -march=k8

and use pkgtools.conf for certain application that doesn't support it.
gcc32 gcc33 fr-openoffice ...

doesn't the nvidia driver works on amd64 version of freebsd ?

ok see ya

Le Mon, Apr 04, 2005 at 06:54:00AM -0500, Conrad J. Sabatier a écrit:
 From: Conrad J. Sabatier [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 To: Bachelier Vincent [EMAIL PROTECTED]
 Date: Mon, 4 Apr 2005 06:54:00 -0500
 Subject: Re: AMD64 optimization on FreeBSD 5.4 i386
 
 On Mon, 4 Apr 2005 09:35:32 +0200, Bachelier Vincent
 [EMAIL PROTECTED] wrote:
 
  Hi, I have a AMD64 and use FreeBSD 5.4 i386.
 
 Why aren't you using the amd64 version of FreeBSD?
 
  I have set CPUTYPE=k8 to optimize a little for my computer.
  I have seen they set march=athlon-mp when it compile something.
 
 I you were running amd64, you could use CPUTYPE=athlon64.
 
  Ok, I have see they is a difference between march=k8 and
  march=athlon-mp
  
  Have a idea ?
 
 Yes, download the ISO for amd64 and install it.  :-)
 
  Does I compile with march=k8 under cflags ?
  for example: CFLAGS=-O2 -march=k8 -pipe
   CXXFLAGS=$CFLAGS
 
 I think the CXXFLAGS setting is unnecessary, as this will happen by
 default.
 
  Well, what do you think ?
 
 I think you should be running amd64.  :-)
 
  could I optimize more than CPUTYPE=k8 ?
 
 Yes.  See above.  :-)
 
 Seriously, though, the amd64 version of FreeBSD is quite stable and
 usable, and would allow you to take full advantage of your machine's
 64-bit architecture.  Why settle for less?
 
 -- 
 Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas 

-- 
Vincent Bachelier [EMAIL PROTECTED]
Language: Francais / English
Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux

Citation (fortune):

The trouble with being punctual is that people think you have nothing
more important to do.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Bachelier Vincent
Hi, I have a AMD64 and use FreeBSD 5.4 i386.
I have set CPUTYPE=k8 to optimize a little for my computer.
I have seen they set march=athlon-mp when it compile something.

Ok, I have see they is a difference between march=k8 and march=athlon-mp

Have a idea ?
Does I compile with march=k8 under cflags ?
for example: CFLAGS=-O2 -march=k8 -pipe
 CXXFLAGS=$CFLAGS

Well, what do you think ?
could I optimize more than CPUTYPE=k8 ?
ok see ya
-- 
Vincent Bachelier [EMAIL PROTECTED]
Language: Francais / English
Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux

Citation (fortune):

we will invent new lullabies, new songs, new acts of love,
we will cry over things we used to laugh 
our new wisdom will bring tears to eyes of gentile
creatures from other planets who were afraid of us till then 
in the end a summer with wild winds 
new friends will be.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Dick Hoogendijk
On 04 Apr Bachelier Vincent wrote:
 Does I compile with march=k8 under cflags ?
 for example: CFLAGS=-O2 -march=k8 -pipe
CXXFLAGS=$CFLAGS
 
 Well, what do you think ?
 could I optimize more than CPUTYPE=k8 ?
 ok see ya

Don't have an answer to /your/ question, but mine is related (I think).
Is it still advisable to have -O -pipe in /etc/make.conf?
I have a duron 800. Does the -O2 flag give more errors or is it better
than using the -O?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Andrew P.
Dick Hoogendijk wrote:
On 04 Apr Bachelier Vincent wrote:
Does I compile with march=k8 under cflags ?
for example: CFLAGS=-O2 -march=k8 -pipe
 CXXFLAGS=$CFLAGS
Well, what do you think ?
could I optimize more than CPUTYPE=k8 ?

Don't have an answer to /your/ question, but mine is related (I think).
Is it still advisable to have -O -pipe in /etc/make.conf?
I have a duron 800. Does the -O2 flag give more errors or is it better
than using the -O? 

To quote the Handbook:
``The optimization -O2 is much slower, and
the optimization difference between -O and
-O2 is normally negligible.''
The only reason one would want to use -O2
would be perfectionism, I think :)
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Conrad J. Sabatier
On Mon, 4 Apr 2005 09:35:32 +0200, Bachelier Vincent
[EMAIL PROTECTED] wrote:

 Hi, I have a AMD64 and use FreeBSD 5.4 i386.

Why aren't you using the amd64 version of FreeBSD?

 I have set CPUTYPE=k8 to optimize a little for my computer.
 I have seen they set march=athlon-mp when it compile something.

I you were running amd64, you could use CPUTYPE=athlon64.

 Ok, I have see they is a difference between march=k8 and
 march=athlon-mp
 
 Have a idea ?

Yes, download the ISO for amd64 and install it.  :-)

 Does I compile with march=k8 under cflags ?
 for example: CFLAGS=-O2 -march=k8 -pipe
CXXFLAGS=$CFLAGS

I think the CXXFLAGS setting is unnecessary, as this will happen by
default.

 Well, what do you think ?

I think you should be running amd64.  :-)

 could I optimize more than CPUTYPE=k8 ?

Yes.  See above.  :-)

Seriously, though, the amd64 version of FreeBSD is quite stable and
usable, and would allow you to take full advantage of your machine's
64-bit architecture.  Why settle for less?

-- 
Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AMD64 optimization on FreeBSD 5.4 i386

2005-04-04 Thread Conrad J. Sabatier
On Mon, 4 Apr 2005 10:13:51 +0200, Dick Hoogendijk [EMAIL PROTECTED]
wrote:
 
 Don't have an answer to /your/ question, but mine is related (I
 think). Is it still advisable to have -O -pipe in /etc/make.conf?
 I have a duron 800. Does the -O2 flag give more errors or is it
 better than using the -O?

-O2 is still iffy for certain architectures, but I believe it's OK
now for i386.  Go for it.  :-)

-- 
Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]