1 |
On 15/04/14 03:11, Walter Dnes wrote: |
2 |
[snip] |
3 |
> model name : AMD Athlon(tm) II P320 Dual-Core Processor |
4 |
|
5 |
This indicates a 64-bit processor. |
6 |
|
7 |
[snip] |
8 |
> 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 |
9 |
|
10 |
All these look plausible for an Athlon II. |
11 |
|
12 |
[snip] |
13 |
> * In "make menuconfig", I'm not sure which of 2 CPU options to select in |
14 |
> Processor type and features ---> |
15 |
> Processor family (*****************) ---> |
16 |
> |
17 |
> ( ) Athlon/Duron/K7 |
18 |
> ( ) Opteron/Athlon64/Hammer/K8 |
19 |
> |
20 |
> Which one do I go with? |
21 |
|
22 |
The second. |
23 |
|
24 |
K7 = 32-bit Athlon, etc. |
25 |
K8 = 64-bit Athlon II, etc. |
26 |
|
27 |
> * I believe that "pni" == "sse3" (with *TWO* "s") Is that correct? |
28 |
|
29 |
Yes: PNI = Prescott New Instructions, which became known as SSE3. |
30 |
|
31 |
> * The cpuinfo output shows "sse4a". Is that the same as the "sse4_1" |
32 |
> USE flag, or is it different |
33 |
|
34 |
It is different. See <http://en.wikipedia.org/wiki/SSE4> for details. |
35 |
|
36 |
The SSE4a instructions are specific to 64-bit AMD processors. AFAIAA, |
37 |
there is no USE flag to enable them under Gentoo. |
38 |
|
39 |
If you specify -march=k8 in your CFLAGS, you should get pretty decent |
40 |
object code from GCC. |
41 |
-- |
42 |
Regards, |
43 |
|
44 |
Dave [RLU #314465] |
45 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |
46 |
dwnoon@××××××××.com (David W Noon) |
47 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |