Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cpu use flags
Date: Sun, 20 Apr 2008 18:19:00
Message-Id: 1208715519.8117.50.camel@NOTE_GENTOO64.PHHEIMNETZ
In Reply to: [gentoo-user] cpu use flags by Allan Gottlieb
1 On Sun, 2008-04-20 at 13:39 -0400, Allan Gottlieb wrote:
2 > I have an intel core2 duo (currently in 32 bit mode x86).
3 > Is there any reason why I should not set the following use flags.
4 >
5 > mmx, sse, sse2, ssse3
6 >
7 > The last one would be a local flag for mplayer.
8 >
9 > proc/cpu indicates I have this functionality.
10 >
11 > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
12 > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
13 > constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2
14 > ssse3 cx16 xtpr lahf_lm
15 >
16 > thanks,
17 > allan
18
19 As a use flag, you should set all you can. They all enable the use of
20 optimized code and the code I've seen from this was clever enough to
21 choose the best if several were available.
22
23 Please don't confuse this with the CFLAGS in your make.conf, there you
24 should only choose the latest and this should be automatically applied
25 by march=nocona (one exception are newer Athlons, because
26 march=k8/athlon64/opteron/athlon-fx only activates SSE2 but not SSE3).
27
28 By the way: Does anyone know why mmx2 (or was it mmxext?) isn't listed
29 in cpuinfo for Core2 processors? Since it's a subset of SSE it should
30 really be there, right?

Attachments

File name MIME type
signature.asc application/pgp-signature