Add `bmi1` and `bmi2` flags to `CPU_FLAGS_X86`, as needed for
`sci-ml/ollama::guru`.

Signed-off-by: Michał Górny <mgo...@gentoo.org>
---
 profiles/desc/cpu_flags_x86.desc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc
index 6324e4a540e2..9fc7a47752f4 100644
--- a/profiles/desc/cpu_flags_x86.desc
+++ b/profiles/desc/cpu_flags_x86.desc
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Whenever the flag name does not correspond to /proc/cpuinfo flags,
@@ -28,6 +28,8 @@ avx512ifma - Use AVX-512 Integer Fused Multiply-Add 
instruction set
 avx512pf - Use AVX-512 prefetch instructions
 avx512vbmi - Use AVX-512 vector byte manipulation instructions
 avx512vl - Use AVX-512 vector-length instructions
+bmi1 - Enable the first group of advanced bit manipulation extensions (ANDN, 
BEXTR, BLSI, BLSMSK, BLSR, TZCNT)
+bmi2 - Enable the second group of advanced bit manipulation extensions (BZHI, 
MULX, PDEP, PEXT, RORX, SARX, SHLX, SHRX)
 f16c - Adds support for F16C instruction set for converting between 
half-precision and single-precision floats
 fma3 - Use the Fused Multiply Add 3 instruction set ([fma] in cpuinfo)
 fma4 - Use the Fused Multiply Add 4 instruction set

Reply via email to