1 |
On Mittwoch, 11. Juli 2007, Thanasis wrote: |
2 |
> on 07/11/2007 08:20 PM Hemmann, Volker Armin wrote the following: |
3 |
> >> I don't see _any_such_flags_ in /etc/make.conf.example. |
4 |
> >> I use: |
5 |
> >> CFLAGS="-march=k8 -fomit-frame-pointer -pipe -O2" |
6 |
> >> CXXFLAGS="${CFLAGS}" |
7 |
> >> |
8 |
> >> System: notebook AMILO Xa 1526 with AMD Turion(tm) 64 X2 Mobile |
9 |
> >> Technology TL-56 |
10 |
> >> |
11 |
> >> Am I missing something? |
12 |
> > |
13 |
> > if you have 'pni' in /proc/cpuinfo you should add -msse3. |
14 |
> > -fomit-frame-pointer is useless/not needed on amd64-. |
15 |
> |
16 |
> I do. |
17 |
> |
18 |
> # cat /proc/cpuinfo |
19 |
> processor : 0 |
20 |
> vendor_id : AuthenticAMD |
21 |
> cpu family : 15 |
22 |
> model : 72 |
23 |
> model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56 |
24 |
> stepping : 2 |
25 |
> cpu MHz : 800.000 |
26 |
> cache size : 512 KB |
27 |
> physical id : 0 |
28 |
> siblings : 2 |
29 |
> core id : 0 |
30 |
> cpu cores : 2 |
31 |
> fpu : yes |
32 |
> fpu_exception : yes |
33 |
> cpuid level : 1 |
34 |
> wp : yes |
35 |
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge |
36 |
> mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext |
37 |
> fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm |
38 |
> cr8_legacy bogomips : 3611.22 |
39 |
> TLB size : 1024 4K pages |
40 |
> clflush size : 64 |
41 |
> cache_alignment : 64 |
42 |
> address sizes : 40 bits physical, 48 bits virtual |
43 |
> power management: ts fid vid ttp tm stc |
44 |
> |
45 |
> processor : 1 |
46 |
> vendor_id : AuthenticAMD |
47 |
> cpu family : 15 |
48 |
> model : 72 |
49 |
> model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56 |
50 |
> stepping : 2 |
51 |
> cpu MHz : 800.000 |
52 |
> cache size : 512 KB |
53 |
> physical id : 0 |
54 |
> siblings : 2 |
55 |
> core id : 1 |
56 |
> cpu cores : 2 |
57 |
> fpu : yes |
58 |
> fpu_exception : yes |
59 |
> cpuid level : 1 |
60 |
> wp : yes |
61 |
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge |
62 |
> mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext |
63 |
> fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm |
64 |
> cr8_legacy bogomips : 1603.39 |
65 |
> TLB size : 1024 4K pages |
66 |
> clflush size : 64 |
67 |
> cache_alignment : 64 |
68 |
> address sizes : 40 bits physical, 48 bits virtual |
69 |
> power management: ts fid vid ttp tm stc |
70 |
> |
71 |
> *PS: |
72 |
> 1) Should I add any other flags also, besides adding -msse3 |
73 |
> (CFLAGS="-march=k8 -msse3 -pipe -O2") |
74 |
|
75 |
no. I experimented a lot with different flags in the past - and if there are |
76 |
differences they are so small that I missed them. When chasing bugs I had to |
77 |
recompile everything with safe flags, and nothing changed. Maybe the system |
78 |
is a little bit more stable now... |
79 |
|
80 |
|
81 |
> 2) Just curious: Why is there such a big difference between the 2 CPUs' |
82 |
> bogomips values reported? |
83 |
|
84 |
I really don't know ;) |
85 |
-- |
86 |
gentoo-amd64@g.o mailing list |