I found this helpful information: If you have a newer Athlon64("Venice" or "San Diego")/Athlon64-X2("Manchester" or "Toledo") (check for pni in cat /proc/cpuinfo) you can also add -msse3 to your CFLAGS to enable SSE3 support. Any chip using the 90nm process except for the "Winchester" class Athlon64 supports SSE3.
Also bear in mind that all Athlon64 X2 and Opteron 165, 170, 175, 180, and 185 processors are dual-core CPUs so make sure that you use MAKEOPTS="-j3" in your make.conf. This doesn't affect the code but might reduce compile times. All socket AM2 processors are SSE3 capable as well. http://gentoo-wiki.com/Safe_Cflags#Athlon_64_X2_.28AMD.29 On 7/11/07, Thanasis <[EMAIL PROTECTED]> wrote:
on 07/11/2007 08:20 PM Hemmann, Volker Armin wrote the following: >> I don't see _any_such_flags_ in /etc/make.conf.example. >> I use: >> CFLAGS="-march=k8 -fomit-frame-pointer -pipe -O2" >> CXXFLAGS="${CFLAGS}" >> >> System: notebook AMILO Xa 1526 with AMD Turion(tm) 64 X2 Mobile >> Technology TL-56 >> >> Am I missing something? > > if you have 'pni' in /proc/cpuinfo you should add -msse3. > -fomit-frame-pointer is useless/not needed on amd64-. I do. # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 72 model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56 stepping : 2 cpu MHz : 800.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 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 cr8_legacy bogomips : 3611.22 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 72 model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56 stepping : 2 cpu MHz : 800.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 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 cr8_legacy bogomips : 1603.39 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc *PS: 1) Should I add any other flags also, besides adding -msse3 (CFLAGS="-march=k8 -msse3 -pipe -O2") 2) Just curious: Why is there such a big difference between the 2 CPUs' bogomips values reported? -- [EMAIL PROTECTED] mailing list
-- []'s Fernando Boaglio -- [EMAIL PROTECTED] mailing list