Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: Matt Turner <mattst88@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Review: desc/cpu_flags_x86.desc
Date: Sun, 18 Jan 2015 23:24:06
Message-Id: 20150119002350.44008880@pomiot.lan
In Reply to: Re: [gentoo-dev] Review: desc/cpu_flags_x86.desc by Matt Turner
1 Dnia 2015-01-18, o godz. 15:15:22
2 Matt Turner <mattst88@g.o> napisał(a):
3
4 > On Sun, Jan 18, 2015 at 12:44 PM, Michał Górny <mgorny@g.o> wrote:
5 > > Hello,
6 > >
7 > > I would like to commit the following flags as cpu_flags_x86_desc.
8 > > The list combines global USE flags with some local USE flags I've been
9 > > able to find.
10 > >
11 > >
12 > > 3dnow - Use the 3DNow! instruction set
13 > > 3dnowext - Use the Enhanced 3DNow! instruction set
14 > > aes-ni - Enable support for Intel's AES instruction set (aes in cpuinfo)
15 > > avx - Adds support for Advanced Vector Extensions instructions
16 > > avx2 - Adds support for Advanced Vector Extensions 2 instructions
17 > > fma - Use the Fused Multiply Add instruction set
18 >
19 > There are fma3 and fma4 instruction sets. We need to determine which
20 > one the packages that have this flag are actually using and name the
21 > flag appropriately.
22
23 Ok then:
24
25 fma3 - Use the Fused Multiply Add v3 instruction set
26 fma4 - Use the Fused Multiply Add v4 instruction set
27
28 > > mmx - Use the MMX instruction set
29 > > mmxext - Use the Extended MMX instruction set (intersection of Enhanced 3DNow! and SSE instruction sets) (3dnowext or sse in cpuinfo)
30 > > padlock - Use VIA padlock instructions
31 > > popcnt - Enable popcnt instruction support
32 > > sse - Use the SSE instruction set
33 > > sse2 - Use the SSE2 instruction set
34 > > sse3 - Use the SSE3 instruction set (pni in cpuinfo)
35 > > sse4 - Enable SSE4 instruction support
36 >
37 > We shouldn't have an sse4 USE flag. It's either one of the three
38 > below, but SSE4 by itself isn't a thing.
39
40 Ok. dev-libs/marisa has --enable for all *four* of them :). And some
41 totally crazy, broken --enable magic which looks very mismatched...
42
43 > > sse4_1 - Enable SSE4.1 instruction support
44 > > sse4_2 - Enable SSE4.2 instruction support
45 > > sse4a - Enable SSE4a instruction support
46 > > ssse3 - Use the SSSE3 instruction set
47
48 --
49 Best regards,
50 Michał Górny

Replies

Subject Author
Re: [gentoo-dev] Review: desc/cpu_flags_x86.desc Matt Turner <mattst88@g.o>