1 |
Ühel kenal päeval, T, 02.08.2016 kell 15:25, kirjutas Michał Górny: |
2 |
> On Mon, 1 Aug 2016 17:15:41 -0400 |
3 |
> Mike Gilbert <floppym@g.o> wrote: |
4 |
> |
5 |
> > On Mon, Aug 1, 2016 at 5:08 PM, David Seifert <soap@g.o> |
6 |
> > wrote: |
7 |
> > > Dear friends, |
8 |
> > > while version bumping sci-libs/fftw, I've noticed our |
9 |
> > > CPU_FLAGS_X86 |
10 |
> > > list could be expanded a bit: |
11 |
> > > |
12 |
> > > avx512 - introduced with Skylake and Knights Landing |
13 |
> > |
14 |
> > According to Wikipedia, "AVX-512 consists of multiple extensions |
15 |
> > not |
16 |
> > all meant to be supported by all processors implementing them." |
17 |
> > |
18 |
> > https://en.wikipedia.org/wiki/AVX-512 |
19 |
> > |
20 |
> > https://en.wikipedia.org/wiki/CPUID#EAX.3D7.2C_ECX.3D0:_Extended_Fe |
21 |
> > atures |
22 |
> |
23 |
> Also https://bugs.gentoo.org/show_bug.cgi?id=588628. |
24 |
|
25 |
Do we actually want to be fast in adding these things, or do we want to |
26 |
wait for any actual consumers to be possible to start consuming it |
27 |
right away? Like with all these different variants, will consumers |
28 |
actually group the variants in the same way and will we be able to map |
29 |
things cleanly in ebuilds in the future? |
30 |
Though I guess there are already potential consumers out there that |
31 |
people have already looked at and I've just not kept up with IRC or |
32 |
something :) |
33 |
|
34 |
Also, how are they exposed in cpuinfo, do we have first patches |
35 |
for cpuid2cpuflags? Since what kernel version are they exposed in |
36 |
cpuinfo, is it a flag for each CPUID capability? What variants do each |
37 |
CPU implementing any expose, maybe all CPUs doing e.g avx512f all also |
38 |
do avx512dq - perhaps all consumers would make such assumptions and |
39 |
assume things based on real world CPUs? Or maybe all consumers of some |
40 |
of the variants will always do runtime detection themselves and we |
41 |
won't even use that flag in an IUSE ever? |
42 |
|
43 |
tl;dr: Concerned about prematurely adding things without knowing of |
44 |
consumer examples |
45 |
|
46 |
|
47 |
Mart |