Mail Archives: pgcc/1999/03/06/17:40:41
Message-ID: | <002001be6821$f9ecae80$0217a8c0@straylight.millennium.rose>
|
From: | "Allan Hsu" <animate2 AT underworld DOT net>
|
To: | <pgcc AT delorie DOT com>
|
Subject: | Re: How well do the -mcpu=amdk6 -march=amdk6 options work
|
Date: | Sat, 6 Mar 1999 17:37:53 -0500
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.72.3155.0
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3155.0
|
Reply-To: | pgcc AT delorie DOT com
|
In order to get srpms to compile with different optimizations, you need to
edit/create /etc/rpmrc. I use this line on my pII-300:
optflags: i386 -O6 -march=pentiumpro
btw, I think -march=cpublegh implies -mcpu=cpublegh, so your -mcpu=amdk6 may
be redundant.
-yt.
-----Original Message-----
From: Steve Bergman <steve AT netplus DOT net>
To: pgcc AT delorie DOT com <pgcc AT delorie DOT com>
Date: Saturday, March 06, 1999 12:25 PM
Subject: How well do the -mcpu=amdk6 -march=amdk6 options work
>Hi,
>
>First of all, Thank You, pgcc/egcs developers. I appreciate your efforts.
>
>I am a long time amdk6 owner having had a K6/233 and now a K6-2/300 and
about to
>get a K6-3/400-450. I have tried pgcc off and on for a year or so and have
>always been disappointed by the results I get on my chip. For example,
today I
>downloaded and compiled egcs-1.1.1/pgcc-1.1.1 and recompiled gzip with it,
using
>-mcpu=amdk6, -march=amdk6. The result is larger and very slightly *slower*
than
>the stock redhat rpm. This is about what I have found in past attempts.
Am I
>missing something? Anyone with K6 optimization ideas need someone to help
test?
>
>Also, what is the best way to lock the compiler into amdk6 optimization.
If I
>can get a speed up, I would like to recompile all the SRPM's in my RH5.2
>distribution with PGCC, but the RPMS all have -m486 build in. For now, I
have
>hard coded ix86_arch_string and ix86_cpu_string in gcc/config/i386/i386.c
but is
>there a better way?
>
>Thanks for any information or assistance,
>Steve
>
>
>----------
>If this had been a real emergency, we would all have fled in terror,
>and you would not have been notified.
>
- Raw text -