Get the latest tech news
Fedora 42 Looks To Ship Optimized Executables For Different x86_64 Capabilities
Fedora Linux has already supported making use of glibc HWCAPs for allowing libraries to be built for different x86_64 micro-architecture feature levels for performance-sensitive code where it can pay off when leveraging AVX/AVX2 or other newer Intel/AMD CPU instruction set extensions
Fedora Linux has already supported making use of glibc HWCAPs for allowing libraries to be built for different x86_64 micro-architecture feature levels for performance-sensitive code where it can pay off when leveraging AVX/AVX2 or other newer Intel/AMD CPU instruction set extensions. We implement the same change in Fedora in a way that is scoped more narrowly, and thus vastly cheaper in the sense of development effort, code compilation time, storage and distribution overhead, but should provide the same performance and energy benefits." It will still be up to the Fedora packager/developer to evaluate the performance merits and determine for their package(s) if they want to resort to providing optimized executables for different x86_64 micro-architecture feature levels.
Or read this on Phoronix