On Tue, 27 Mar 2018 06:49:22 +0200 Helmut Grohne wrote:

> From a Debian pov, this whole autodetection should be removed and
> replaced by a concious maintainer choice documented in debian/rules
> (as is done with sse for i386 already).

The correct thing to do would be to detect the available instructions
at runtime and then use the right code based on that. This can be
achieved using GCC FMV or glibc hwcaps or manual detection.

https://gcc.gnu.org/wiki/FunctionMultiVersioning
https://lwn.net/Articles/691932/
https://manpages.debian.org/stretch/manpages/ld.so.8.en.html#Hardware_capabilities

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to