Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amd64 -march cflags
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
jeffroman
Apprentice
Apprentice


Joined: 15 Jul 2003
Posts: 183
Location: Louisville, Kentucky

PostPosted: Thu Jul 15, 2004 2:54 pm    Post subject: amd64 -march cflags Reply with quote

ive seen a few...

opteron
k8
athlon64

what are the differences between these, and who should use what?
_________________
Thunder k8w, 2 Opteron 244s, 2GB Corsair, Audigy 2 Platinum eX, 6800 GT OC, 3Ware 9500S-4LP
Back to top
View user's profile Send private message
Andysan
n00b
n00b


Joined: 20 Jun 2004
Posts: 22
Location: Berlin - Germany

PostPosted: Thu Jul 15, 2004 3:52 pm    Post subject: Reply with quote

http://www.gentoo.org/proj/en/base/amd64/technotes.xml?part=2&chap=3

Quote:
The name of the CPU is "k8", but you don't need to put it as a -march=k8 since there is only one x86-64 CPU out there anyways. GCC version before 3.4 will not recognize -march=k8 and will FAIL if it is set.

...

Note: -march=k8 equals -march=athlon64 equals -march=opteron.
Back to top
View user's profile Send private message
jeffroman
Apprentice
Apprentice


Joined: 15 Jul 2003
Posts: 183
Location: Louisville, Kentucky

PostPosted: Thu Jul 15, 2004 7:28 pm    Post subject: Reply with quote

so there isnt any compiler differences for athlon64 and opteron? these architectures are definately different right? or just not to the degree that gcc cares?
_________________
Thunder k8w, 2 Opteron 244s, 2GB Corsair, Audigy 2 Platinum eX, 6800 GT OC, 3Ware 9500S-4LP
Back to top
View user's profile Send private message
wolfger
Apprentice
Apprentice


Joined: 09 Jun 2003
Posts: 254
Location: New Baltimore, MI

PostPosted: Thu Jul 15, 2004 8:09 pm    Post subject: Reply with quote

According to Tom's Hardware http://www.tomshardware.com, here is the difference:
Quote:
The Athlon64 FX is AMD's flagship desktop processor.Technically, the CPU core is nothing more than an Opteron with half the L2 cache and without multiprocessor support. Nor is the Athlon64 suitable for multi-processor operations. This close relationship results in an equal balance of pros and cons.

Another difference betweeen the regular 64 and the 64FX is:
Quote:
It also has a two-channel memory interface that can control DDR400 DIMMs.

and there's the obligatory swipe at Intel:
Quote:
Its performance values are impressive; a system with Athlon64 FX (2.2GHz) leaves the Pentium 4 with 3.2 GHz and HyperThreading in its dust in practically every benchmark.


So with that as the only point of reference I could easily find, I would have to say that from a compiler standpoint, these 3 chips should all be identical... Different cache sizes, and dual-channel vs. single-channel memory interface should not affect code.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum