Skip to contentSkip to conversation

[2.4] [2.5] [i386] Add support for GCC 3.1

PATCH [email protected] 4 participants 5 messages May 26, 2002 – May 29, 2002

lore
Share & tools
lore
#0 lore raw

Another processor config could be CONFIG_K62. gcc-3.1 -march=k6-2 benchmarks a little better than -march=k6. Adding CONFIG_XF86_USE_3DNOW=y seems to help a little too.

Based on grepping gcc-3.1 src, it appears:
k6-3 == k6-2
athlon-tbird == athlon
athlon-xp == athlon-4 == athlon-mp

Signature · 1 line
Randy Hron
#1 lore raw
Quoted 4 lines · On Sun, 2002-05-26 at 21:02, [email protected] wrote:

Another processor config could be CONFIG_K62. gcc-3.1 -march=k6-2 benchmarks a little better than -march=k6. Adding CONFIG_XF86_USE_3DNOW=y seems to help a little too.

Make sure you benchmark FPU intensive use when testing USE_3DNOW. I've seen several situations where it looks marginally better until you actually measure two things - memory bandwidth available to user programs, and also FPU performance, especially of FPU heavy apps that schedule a lot (eg Quake)

#2 lore raw
In reply to [email protected]
Quoted 1 line · On Sun, May 26, 2002 at 04:02:17PM -0400, [email protected] wrote:

athlon-xp == athlon-4 == athlon-mp

Not quite...

Quoted 1 line

From gcc/config/i386/i386.c ..

   if (!ix86_arch_string)
                   ix86_arch_string = TARGET_64BIT ? "athlon-4" : "i386";

Discussion with Jan Hubicka reveals that this should be checking for "opteron", but as this was the closest match, it's not equivalent to athlon-xp or athlon-mp in current gcc.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
#3 lore raw
In reply to [email protected]
Quoted 7 lines · On Sun, 26 May 2002 [email protected] wrote:

Another processor config could be CONFIG_K62. gcc-3.1 -march=k6-2 benchmarks a little better than -march=k6. Adding CONFIG_XF86_USE_3DNOW=y seems to help a little too.

Based on grepping gcc-3.1 src, it appears:
k6-3 == k6-2

IIRC (not looking at the datasheets) there were some pretty nice improvements made to the core in the K6 to K6-2 update (not just and upclock and downsize, real changes(isn't this when they added MMX too?)).

However, the K6-3 is simply a K6-2 with the addition of a 256K L2 cache on die at full cpu clock. It was a great improvement performance wise for many uses (think 256K L2 @ 450Mhz, and then a 2M L3 on the mainboard) though.

Signature · 1 line
I route, therefore you are.
#4 lore raw
In reply to [email protected]
Quoted 5 lines · Christopher E. Brown
Quoted 1 line

k6-3 == k6-2

IIRC (not looking at the datasheets) there were some pretty nice improvements made to the core in the K6 to K6-2 update (not just and upclock and downsize, real changes(isn't this when they added MMX too?)).

original k6 had mmx. k6-2 brought 3dnow.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs