1 |
On Donnerstag 12 Februar 2009, Zhang Jun wrote: |
2 |
> Hi list, |
3 |
> |
4 |
> my laptop's cpu is AMD Turion64x2, I've installed both 32bits Debian |
5 |
> testing and Gentoo on it, |
6 |
> from Debian there is no SSE3 in /proc/cpuinfo, |
7 |
|
8 |
I am sure there is. But it is called 'pni' - its original name. |
9 |
|
10 |
|
11 |
> and I used CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" on |
12 |
> gentoo, and I can not see SSE3 in cpuinfo also, |
13 |
> |
14 |
> I emerged x86info, and SSE3 is in its output: |
15 |
> |
16 |
> #x86info |
17 |
> x86info v1.21. Dave Jones 2001-2007 |
18 |
> Feedback to <davej@××××××.com>. |
19 |
> |
20 |
> Found 2 CPUs |
21 |
> -------------------------------------------------------------------------- |
22 |
> CPU #1 |
23 |
> Family: 15 Model: 72 Stepping: 2 |
24 |
> CPU Model : Turion 64 X2 (BH-F2) |
25 |
> Processor name string: AMD Turion(tm) 64 X2 Mobile Technology TL-52 |
26 |
> |
27 |
> Feature flags: |
28 |
> fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat |
29 |
> pse36 clflsh mmx fxsr sse sse2 ht sse3 cmpxchg16b |
30 |
> Extended feature flags: |
31 |
> fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat |
32 |
> pse36 nx mmxext mmx fxsr ffxsr rdtscp lm 3dnowext 3dnow lahf/sahf |
33 |
> CmpLegacy svm ExtApicSpace LockMovCr0 |
34 |
> |
35 |
> SVM: revision 1, 64 ASIDs |
36 |
> Address Size: 48 bits virtual, 40 bits physical |
37 |
> The physical package has 2 of 2 possible cores implemented. |
38 |
> ... |
39 |
> ... |
40 |
> |
41 |
> |
42 |
> my question is: I can not see SSE3 in cpuinfo because I did not use |
43 |
> "-msse3" in CFLAGS ? |
44 |
|
45 |
no. Because it is called 'pni'. |
46 |
|
47 |
How about this cflags: |
48 |
march=k8-sse3 -O2 -msse3 (in case march gets filtered) -pipe |
49 |
? |
50 |
on amd64 fomit-frame-pointer isn't needed anymore. |