Gentoo Archives: gentoo-user

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