mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
30c6893d5cafcd2d91da8b96b4b5fa8661a79187
Add CPU_FLAGS_* for amd64, arm, arm64, ppc64 and x86 to explicitly control minimal CPU intrinsic use. According to upstream, this should grant some performance benefit compared to the default use of dynamic dispatching based on CPU detection at runtime. Since upstream is heavily chaining flags one upon another, we respect upstream chains by stopping when a dependent flag is missing. Presumably, this should be less confusing than implicitly enabling it, and more user friendly than REQUIRED_USE. Also add USE=cpudetection to make it possible to disable dynamic dispatch for CPUs with more instruction sets. This should especially be useful when we are deliberately disabling some instruction sets to test NumPy without them. Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/43190 Closes: https://github.com/gentoo/gentoo/pull/43190 Signed-off-by: Michał Górny <mgorny@gentoo.org>
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
97.9%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%