Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH] CPU_FLAGS_X86: Introduce 'sha' flag
Date: Thu, 18 Jul 2019 14:53:02
Message-Id: 20190718145247.29534-1-mgorny@gentoo.org
1 Introduce 'sha' flag that corresponds to SHA-NI instruction set.
2 This has two potential users, and is present in git version
3 of cpuid2cpuflags (pending release once the flag is added).
4
5 Signed-off-by: Michał Górny <mgorny@g.o>
6 ---
7 profiles/desc/cpu_flags_x86.desc | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10 diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc
11 index 35ca08b18700..d891398e7a60 100644
12 --- a/profiles/desc/cpu_flags_x86.desc
13 +++ b/profiles/desc/cpu_flags_x86.desc
14 @@ -1,4 +1,4 @@
15 -# Copyright 1999-2015 Gentoo Foundation.
16 +# Copyright 1999-2019 Gentoo Authors
17 # Distributed under the terms of the GNU General Public License v2
18
19 # Whenever the flag name does not correspond to /proc/cpuinfo flags,
20 @@ -19,6 +19,7 @@ mmxext - Use the Extended MMX instruction set (a subset of SSE) ([mmxext] or [ss
21 padlock - Use VIA padlock instructions ([phe] in cpuinfo)
22 pclmul - Use Carry-less Multiplication instructions ([pclmulqdq] in cpuinfo)
23 popcnt - Enable popcnt instruction support ([abm] or [popcnt] in cpuinfo)
24 +sha - Use the SHA-NI instruction set
25 sse - Use the SSE instruction set
26 sse2 - Use the SSE2 instruction set
27 sse3 - Use the SSE3 instruction set ([pni] in cpuinfo, NOT ssse3)
28 --
29 2.22.0

Replies