On 15/04/14 03:11, Walter Dnes wrote: [snip] > model name : AMD Athlon(tm) II P320 Dual-Core Processor
This indicates a 64-bit processor. [snip] > 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 > pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc > extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy > abm sse4a 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate npt lbrv > svm_lock nrip_save All these look plausible for an Athlon II. [snip] > * In "make menuconfig", I'm not sure which of 2 CPU options to select in > Processor type and features ---> > Processor family (*****************) ---> > > ( ) Athlon/Duron/K7 > ( ) Opteron/Athlon64/Hammer/K8 > > Which one do I go with? The second. K7 = 32-bit Athlon, etc. K8 = 64-bit Athlon II, etc. > * I believe that "pni" == "sse3" (with *TWO* "s") Is that correct? Yes: PNI = Prescott New Instructions, which became known as SSE3. > * The cpuinfo output shows "sse4a". Is that the same as the "sse4_1" > USE flag, or is it different It is different. See <http://en.wikipedia.org/wiki/SSE4> for details. The SSE4a instructions are specific to 64-bit AMD processors. AFAIAA, there is no USE flag to enable them under Gentoo. If you specify -march=k8 in your CFLAGS, you should get pretty decent object code from GCC. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*