On Thu, Mar 5, 2020 at 2:54 PM Mathieu Malaterre wrote: > Could someone please point me to an example d/control where > sse4.2-support is used ?
Use of this is usually a workaround for flaws in the software, it is much better to fix the software instead. The right way to support SSE 4.2 is to choose at runtime which code to run based on the CPU capabilities. Options for that include Function Multi-Versioning to run the function that uses SSE 4.2 (preferred), using hwcaps to load the right library (glibc doesn't do this for SSE 4.2 yet) or something more manual. https://lwn.net/Articles/691932/ https://manpages.debian.org/unstable/manpages/ld.so.8.en.html#Hardware_capabilities -- bye, pabs https://wiki.debian.org/PaulWise