Introduce 'sha' flag that corresponds to SHA-NI instruction set.
This has two potential users, and is present in git version
of cpuid2cpuflags (pending release once the flag is added).

Signed-off-by: Michał Górny <[email protected]>
---
 profiles/desc/cpu_flags_x86.desc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc
index 35ca08b18700..d891398e7a60 100644
--- a/profiles/desc/cpu_flags_x86.desc
+++ b/profiles/desc/cpu_flags_x86.desc
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation.
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Whenever the flag name does not correspond to /proc/cpuinfo flags,
@@ -19,6 +19,7 @@ mmxext - Use the Extended MMX instruction set (a subset of 
SSE) ([mmxext] or [ss
 padlock - Use VIA padlock instructions ([phe] in cpuinfo)
 pclmul - Use Carry-less Multiplication instructions ([pclmulqdq] in cpuinfo)
 popcnt - Enable popcnt instruction support ([abm] or [popcnt] in cpuinfo)
+sha - Use the SHA-NI instruction set
 sse - Use the SSE instruction set
 sse2 - Use the SSE2 instruction set
 sse3 - Use the SSE3 instruction set ([pni] in cpuinfo, NOT ssse3)
-- 
2.22.0


Reply via email to