Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

[gentoo-user] march=k8 for AthlonX2?

Mark Knecht

2008-05-02

Replies:

Author LoginPost Reply
Sorry about all the noise today. I guess it goes with building a new
architecture for the first time.

I am going to run 32-bit Gentoo on an AMD64 dual processor laptop.
Would I be making a reasonably good setting using this in make.conf?

CFLAGS="-O2 -march=k8 -pipe"
CXXFLAGS="-O2 -march=k8 -pipe"

I referenced this page to try to decide:

http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html

My single processor AND64 Gentoo machine uses k8. Not sure if I should
change anything for a dual processor.

If someone is running a machine like that and can provide a complete
make.conf file that would be great.

Thanks,
Mark


laptop1 linux # cat /proc/cpuinfo
processor     : 0
vendor_id     : AuthenticAMD
cpu family    : 15
model       : 104
model name    : AMD Athlon(tm) 64 X2 Dual Core Processor TK-53
stepping     : 1
cpu MHz      : 1700.000
cache size    : 256 KB
physical id   : 0
siblings     : 2
core id      : 0
cpu cores     : 2
fdiv_bug     : no
hlt_bug      : no
f00f_bug     : no
coma_bug     : no
fpu         : yes
fpu_exception  : yes
cpuid level   : 1
wp         : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm
extapic cr8_legacy 3dnowprefetch ts fid vid ttp tm stc 100mhzsteps
bogomips     : 3418.67
clflush size   : 64

processor     : 1
vendor_id     : AuthenticAMD
cpu family    : 15
model       : 104
model name    : AMD Athlon(tm) 64 X2 Dual Core Processor TK-53
stepping     : 1
cpu MHz      : 1700.000
cache size    : 256 KB
physical id   : 0
siblings     : 2
core id      : 1
cpu cores     : 2
fdiv_bug     : no
hlt_bug      : no
f00f_bug     : no
coma_bug     : no
fpu         : yes
fpu_exception  : yes
cpuid level   : 1
wp         : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm
extapic cr8_legacy 3dnowprefetch ts fid vid ttp tm stc 100mhzsteps
bogomips     : 3415.56
clflush size   : 64

laptop1 linux #
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.