Gentoo Archives: gentoo-dev

From: Jan Matejka <yac@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New global use flags: 3dnowext, mmxext, ssse3, sse4_1, avx, avx2
Date: Thu, 19 Dec 2013 12:12:53
Message-Id: 20131219131144.761c6e40@deathstar
In Reply to: [gentoo-dev] New global use flags: 3dnowext, mmxext, ssse3, sse4_1, avx, avx2 by Matt Turner
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On Sun, 15 Dec 2013 15:34:13 -0800
5 Matt Turner <mattst88@g.o> wrote:
6
7 > And at the same time, clean up the descriptions of the other flags.
8 > The existing descriptions were clearly copy-and-pasted and contained
9 > things like "faster floating point optimization for SSSE3 capable
10 > chips" when SSSE3 didn't add any floating point instructions.
11 >
12 > 3dnow: Use the 3DNow! instruction set
13 > 3dnowext: Use the Enhanced 3DNow! instruction set
14 > mmx: Use the MMX instruction set
15 > mmxext: Use the Extended MMX instruction set (intersection of Enhanced
16 > 3DNow! and SSE instruction sets) (3dnowext or sse in cpuinfo)
17 > sse: Use the SSE instruction set
18 > sse2: Use the SSE2 instruction set
19 > sse3: Use the SSE3 instruction set (pni in cpuinfo)
20 > ssse3: Use the SSSE3 instruction set
21 > sse4_1: Use the SSE 4.1 instruction set
22 > avx: Use the AVX instruction set
23 > avx2: Use the AVX2 instruction set
24 >
25 > I'll make these changes in a few days.
26 >
27 > We don't seem to have a use of an sse4_2 USE flag anywhere yet,
28 > notably.
29 >
30 > Unfortunately we do have two uses of "sse4", which should be corrected
31 > to be more specific:
32 >
33 > media-libs/freeverb3
34 > net-misc/bfgminer
35 >
36
37
38 Is it possible to make this in a way so all the instruction set use
39 flags can be read from the use.desc by some simple epression?
40
41 Like 1. "is" prefix/postfix for Instruction Set or 2. include the
42 "\sinstruction set\s" in the description? or 3. have them listed in
43 special file for that or 4. whatever we can agree on is the proper way.
44
45 I'm asking because https://github.com/yaccz/cufd
46
47
48 - --
49 Jan Matějka | Gentoo Developer
50 https://gentoo.org | Gentoo Linux
51 GPG: A33E F5BC A9F6 DAFD 2021 6FB6 3EBF D45B EEB6 CA8B
52 -----BEGIN PGP SIGNATURE-----
53 Version: GnuPG v2.0.22 (GNU/Linux)
54
55 iQEcBAEBCgAGBQJSsuKDAAoJEIN+7RD5ejahBlkH+wRiFLAzxazKQ9a/jdpYOeJr
56 j4uY8Q9iAu/4xK3QMXscosaShrz5bW/XGAxRvfT0pqAe8APUrQTw5V+0cFX/yVJ1
57 2FQBSPgGXPKyq/AQQ6kPlwsQaCVaYxcWA5bOv+dxfVsEcSMYSQsGeX1BdK2S7wHN
58 h6upIw3qFWln75TLUcO52PHR9YNgWTYZvqJWmaLJDDXBDzcuJAVmLJLtf+ketiCK
59 SjNxZlUQpKQzgszb3dTUPeMSbpPuiCNRG9JFG/q8eXlrfLt9qygJvYpFn7OKmEem
60 8Bmc1LeERhDEvxCb+xAJDFF4UTHNOpj5H57EMmuakiIrEd4f+xMUK4lJtvRTpbU=
61 =25vk
62 -----END PGP SIGNATURE-----