profiles/desc: Add bmi* to CPU_FLAGS_X86

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

Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/42265
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-05-28 11:12:52 +02:00
parent 90cb9a37b1
commit 2b2e845e9e
+3 -1
View File
@@ -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