commit: 2b2e845e9e25a41eb4e777ffe0a11b2834ecb2e5 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon May 26 14:53:47 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed May 28 09:12:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b2e845e
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 <AT> gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/42265 Signed-off-by: Michał Górny <mgorny <AT> 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
