Gentoo Archives: gentoo-dev

From: Michael Marineau <marineam@g.o>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] MPlayer cpu USE flags zaniness
Date: Sun, 27 Mar 2005 06:58:35
Message-Id: 42465998.3050006@gentoo.org
In Reply to: [gentoo-dev] MPlayer cpu USE flags zaniness by Chris White
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Chris White wrote:
5 > My God.. I love this part:
6 >
7 > Ok, so I had some users complain about mmx2 being showed as enabled
8 > in mplayer despite the lack of mmxext in /proc/cpuinfo. Therefore I
9 > decided to get upstream help. Here's what we got...:
10 >
11 > mmx2 = sse
12 > sse = mmx2
13 >
14 > but in mplayer's configure script:
15 >
16 > mmx2 = sse's integer logic
17 > sse = sse's floating point stuff
18 >
19 > so mmx2 is NOT a flag for mmx2 support.. it's a flag for integer portion
20 > of sse...
21 >
22 > ok, so at this point I'm confused as to how to approach this. What
23 > about AMD? Do they use mmxext for stuff like that.. or sse2 extensions
24 > (as someone mentioned). My plan is to have sse USE flag enable mmx2
25 > only (since it's "the best") and disable sse (since it's the same thing
26 > but "worse"). However, that only takes care of intel.. what about AMD
27 > processors though? They deal with all this stuff differently.
28 > Recomendations are welcome at this point.. I'm going to get some asprin...
29 >
30 What's the point of a use flag if you purposfully use the sse useflag to
31 do something different? this sort of thing would make more sense:
32
33 sse = sse's integer logic
34 sse = sse's floating point stuff
35 mmx2 = mmx2
36
37 then if both mmx2 and sse are set, then just use mmx2 and disable sse as
38 both are hardly needed. but I'm a little confused, if the mplayer
39 config script uses mmx2 to enaple part of sse, is there something else
40 that enables real mmx2?
41
42 - --
43 Michael Marineau
44 marineam@×××××××××.edu
45 Oregon State University
46 -----BEGIN PGP SIGNATURE-----
47 Version: GnuPG v1.2.6 (GNU/Linux)
48
49 iD8DBQFCRlmYiP+LossGzjARAjVBAKDGgcN9z/ccAuevOZUWzIeroGvrxACdEPYk
50 02ta3WyorgPwhHqg6ANzIUw=
51 =VrPu
52 -----END PGP SIGNATURE-----
53 --
54 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] MPlayer cpu USE flags zaniness Chris White <chriswhite@g.o>