1 |
On Thu, February 12, 2009 1:34 pm, Zhang Jun wrote: |
2 |
> thanks! |
3 |
> I'm new to gentoo, |
4 |
> I get the CFLAGS from gentoo-wiki( |
5 |
> http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD#Turion64_.2F_X2_.2F_Ultra |
6 |
> ) |
7 |
> and I am using 32bit linux. |
8 |
> |
9 |
> 2009/2/12 Joost Roeleveld <joost@××××××××.org>: |
10 |
>> On Thu, February 12, 2009 12:52 pm, Zhang Jun wrote: |
11 |
>>> Hi list, |
12 |
>>> |
13 |
>>> my laptop's cpu is AMD Turion64x2, I've installed both 32bits Debian |
14 |
>>> testing and Gentoo on it, |
15 |
>>> from Debian there is no SSE3 in /proc/cpuinfo, |
16 |
>>> and I used CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" on |
17 |
>>> gentoo, and I can not see SSE3 in cpuinfo also, |
18 |
>>> |
19 |
>>> I emerged x86info, and SSE3 is in its output: |
20 |
>>> |
21 |
>>> #x86info |
22 |
>>> x86info v1.21. Dave Jones 2001-2007 |
23 |
>>> Feedback to <davej@××××××.com>. |
24 |
>>> |
25 |
>>> Found 2 CPUs |
26 |
>>> -------------------------------------------------------------------------- |
27 |
>> <snipped output> |
28 |
>> |
29 |
>>> my question is: I can not see SSE3 in cpuinfo because I did not use |
30 |
>>> "-msse3" in CFLAGS ? |
31 |
>> |
32 |
>> Hi, |
33 |
>> |
34 |
>> I would suspect that for your CPU using "-march=athlon-fx" would be more |
35 |
>> beneficial as your CPU has the x86_64 instruction set as well? |
36 |
>> |
37 |
>> -- |
38 |
>> Joost |
39 |
>> |
40 |
|
41 |
Thank you for that link, I wasn't aware of it. |
42 |
Please, for future reference, try to avoid top-posting, it makes following |
43 |
conversations difficult. |
44 |
Try to keep your replies at the bottom of the email. |
45 |
|
46 |
According to that list, you need to add "-msse3" to your CFLAGS. Which |
47 |
makes sense as "-march=athlon-xp" is actually for an older CPU which |
48 |
didn't have sse3 support yet. |
49 |
|
50 |
-- |
51 |
Joost |