Gentoo Archives: gentoo-amd64

From: Fernando Boaglio <boaglio@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: 3200+ -> X2 4000+
Date: Wed, 11 Jul 2007 20:24:51
Message-Id: ab2953b00707111322v459088e8scd0497da0b6d21fc@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Re: 3200+ -> X2 4000+ by Thanasis
1 I found this helpful information:
2
3 If you have a newer Athlon64("Venice" or "San
4 Diego")/Athlon64-X2("Manchester" or "Toledo") (check for pni in cat
5 /proc/cpuinfo) you can also add -msse3 to your CFLAGS to enable SSE3
6 support. Any chip using the 90nm process except for the "Winchester"
7 class Athlon64 supports SSE3.
8
9 Also bear in mind that all Athlon64 X2 and Opteron 165, 170, 175, 180,
10 and 185 processors are dual-core CPUs so make sure that you use
11 MAKEOPTS="-j3" in your make.conf. This doesn't affect the code but
12 might reduce compile times.
13
14 All socket AM2 processors are SSE3 capable as well.
15
16 http://gentoo-wiki.com/Safe_Cflags#Athlon_64_X2_.28AMD.29
17
18 On 7/11/07, Thanasis <thanasis@××××××××××.org> wrote:
19 > on 07/11/2007 08:20 PM Hemmann, Volker Armin wrote the following:
20 > >> I don't see _any_such_flags_ in /etc/make.conf.example.
21 > >> I use:
22 > >> CFLAGS="-march=k8 -fomit-frame-pointer -pipe -O2"
23 > >> CXXFLAGS="${CFLAGS}"
24 > >>
25 > >> System: notebook AMILO Xa 1526 with AMD Turion(tm) 64 X2 Mobile
26 > >> Technology TL-56
27 > >>
28 > >> Am I missing something?
29 > >
30 > > if you have 'pni' in /proc/cpuinfo you should add -msse3.
31 > > -fomit-frame-pointer is useless/not needed on amd64-.
32 > I do.
33 >
34 > # cat /proc/cpuinfo
35 > processor : 0
36 > vendor_id : AuthenticAMD
37 > cpu family : 15
38 > model : 72
39 > model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56
40 > stepping : 2
41 > cpu MHz : 800.000
42 > cache size : 512 KB
43 > physical id : 0
44 > siblings : 2
45 > core id : 0
46 > cpu cores : 2
47 > fpu : yes
48 > fpu_exception : yes
49 > cpuid level : 1
50 > wp : yes
51 > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
52 > mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
53 > fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
54 > bogomips : 3611.22
55 > TLB size : 1024 4K pages
56 > clflush size : 64
57 > cache_alignment : 64
58 > address sizes : 40 bits physical, 48 bits virtual
59 > power management: ts fid vid ttp tm stc
60 >
61 > processor : 1
62 > vendor_id : AuthenticAMD
63 > cpu family : 15
64 > model : 72
65 > model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56
66 > stepping : 2
67 > cpu MHz : 800.000
68 > cache size : 512 KB
69 > physical id : 0
70 > siblings : 2
71 > core id : 1
72 > cpu cores : 2
73 > fpu : yes
74 > fpu_exception : yes
75 > cpuid level : 1
76 > wp : yes
77 > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
78 > mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
79 > fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
80 > bogomips : 1603.39
81 > TLB size : 1024 4K pages
82 > clflush size : 64
83 > cache_alignment : 64
84 > address sizes : 40 bits physical, 48 bits virtual
85 > power management: ts fid vid ttp tm stc
86 >
87 > *PS:
88 > 1) Should I add any other flags also, besides adding -msse3
89 > (CFLAGS="-march=k8 -msse3 -pipe -O2")
90 > 2) Just curious: Why is there such a big difference between the 2 CPUs'
91 > bogomips values reported?
92 >
93 >
94 > --
95 > gentoo-amd64@g.o mailing list
96 >
97 >
98
99
100
101 --
102 []'s
103 Fernando Boaglio
104 --
105 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Re: 3200+ -> X2 4000+ Piotr Pruszczak <p.pruszczak@××××××××.pl>