Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 1/2] profiles/desc/cpu_flags_x86.desc: add avx512dq and avx512vl.
Date: Thu, 02 Apr 2020 13:11:56
Message-Id: 20200402131123.9102-2-mjo@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/2] New x86 CPU flags and a package to use them. by Michael Orlitzky
1 These two flags are already supported by cpuid2cpuflags, but so far no
2 package in ::gentoo uses them. The forthcoming sci-libs/fflas-ffpack
3 will use them, however, and -- given that they're CPU flags whose names
4 are fixed -- it seems most sensible to add them globally right away.
5
6 Bug: https://bugs.gentoo.org/715678
7 ---
8 profiles/desc/cpu_flags_x86.desc | 2 ++
9 1 file changed, 2 insertions(+)
10
11 diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc
12 index d891398e7a6..156b677e5a4 100644
13 --- a/profiles/desc/cpu_flags_x86.desc
14 +++ b/profiles/desc/cpu_flags_x86.desc
15 @@ -10,7 +10,9 @@
16 aes - Enable support for Intel's AES instruction set (AES-NI)
17 avx - Adds support for Advanced Vector Extensions instructions
18 avx2 - Adds support for Advanced Vector Extensions 2 instructions
19 +avx512dq - Use AVX-512 double- and quad-word instructions
20 avx512f - Adds support for AVX-512 Foundation instructions
21 +avx512vl - Use AVX-512 vector-length instructions
22 f16c - Adds support for F16C instruction set for converting between half-precision and single-precision floats
23 fma3 - Use the Fused Multiply Add 3 instruction set ([fma] in cpuinfo)
24 fma4 - Use the Fused Multiply Add 4 instruction set
25 --
26 2.24.1