Re: gcc -Os optimisation broken (RELENG_4)

2000-03-20 Thread Thomas Köllmann

David O'Brien wrote/schrieb (Saturday, March 18, 2000):

| On Sat, Mar 18, 2000 at 03:18:45AM +0100, Thomas Köllmann wrote:
|  | Perhaps this is a bit off topic, but can the pentium optimisations be
|  | used for AMD K6 processors?
|  
|  I did a `make world' yesterday with 
|  CFLAGS= -O2 -pipe -march=pentium
|  COPTFLAGS=  -O2 -pipe -march=pentium
| ..snip..
|  If it doesn't I'll probably try `-03 -pipe -march=pentium' come next
| 
| What are people hoping to get by doing this?  Are you actually doing a
| scientific performance evaluation between the various optimization
| options???  

This is just playing, the machine I was talking about has it's
backups in order and can afford downtime; I mentioned that already,
and I was only answering somebody's question. 

| Are are people just being macho, and thinking they are
| getting all this non-existent performance increase?  

You _are_ feeling strong about this, aren't you? :-)

| "-O" is the only globally safe optimization on FreeBSD.  -O2, etc..
| causes various problems for various people in various ports, and parts of
| /usr/src/.  If people are using these options just for fun, that is fine,

Yes, just for fun, David, just for fun.

| BUT if you experience *any* problems with compiling using -O2, etc..
| don't bug this list -- go bug the GCC people.

Are they a bunch of machos themselves? :-)

Thanks for your point of view.
Gruß
 - Thomas

-- 
Walking to the car, she takes his hand and puts it, for a moment,
lightly between her moving legs. Roger's heart grows erect, and comes.
That's really how it feels. -- Thomas Pynchon, Gravity's Rainbow
# PGP key sent on request / PGP key auf Wunsch per e-mail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: gcc -Os optimisation broken (RELENG_4)

2000-03-18 Thread Thomas Köllmann

I wrote/schrieb (Saturday, March 18, 2000):

| R Joseph Wright wrote/schrieb (Friday, March 17, 2000):
| 
| |  In contrast, I've been using -Os -march=pentium during the last three
| |  months for buildworld and the kernel. Never had problems whatsoever.
| | 
| | Perhaps this is a bit off topic, but can the pentium optimisations be used
| | for AMD K6 processors?
| 
| I did a `make world' yesterday with 
| CFLAGS= -O2 -pipe -march=pentium
| COPTFLAGS=  -O2 -pipe -march=pentium
| (inspired by recent mention of optimizing on this list) on my
| AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
| desktop machine. It still runs, but I'll have yet to see whether
| this will cause any suspicious behaviour. [...]

I've just learned that there is a `-march=k6' even though the man
page for gcc-2.95.1 does not mention it...

Gruß
 - Thomas

-- 
Den Wein, den listigen Tröster bat ich oft, | - Charles
Einmal das Schrecknis, das mich quält, zu stillen,  | Baudelaire,
Jedoch er schärft den Sinn, statt zu verhüllen  | Die Blutquelle
# PGP key sent on request / PGP key auf Wunsch per e-mail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: gcc -Os optimisation broken (RELENG_4)

2000-03-17 Thread Thomas Köllmann

R Joseph Wright wrote/schrieb (Friday, March 17, 2000):

|  In contrast, I've been using -Os -march=pentium during the last three
|  months for buildworld and the kernel. Never had problems whatsoever.
| 
| Perhaps this is a bit off topic, but can the pentium optimisations be used
| for AMD K6 processors?

I did a `make world' yesterday with 
CFLAGS= -O2 -pipe -march=pentium
COPTFLAGS=  -O2 -pipe -march=pentium
(inspired by recent mention of optimizing on this list) on my
AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
desktop machine. It still runs, but I'll have yet to see whether
this will cause any suspicious behaviour. 

If it doesn't I'll probably try `-03 -pipe -march=pentium' come next
`make world' time, but this all is about a machine that has it's
backup mechanisms (hopefully) and can afford a little downtime.

Gruß
 - Thomas

-- 
On the way downtown I stopped at a bar and had a couple of double
Scotches. They didn't do me any good. All they did was make me think of
Silver-Wig, and I never saw her again. -- Raymond Chandler, The Big Sleep
# PGP key sent on request / PGP key auf Wunsch per e-mail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message