disable avx instructions at runtime

Mike Frysinger vapier@gentoo.org
Sun Mar 10 21:26:00 GMT 2013


On Sunday 10 March 2013 09:18:18 tim wrote:
> i'm using a debugger, that does not support avx instructions (at least
> the back-in-time functionality doesn't). unfortunately, glibc/libm uses
> some sort of runtime dispatching to provide an avx-implementation for
> mathematical functions like sin or cos.

yes, it uses cpuid to detect support.  there were bugs though in the 
implementation in older releases that caused it to get used when it shouldn't.  
try using glibc-2.17.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-help/attachments/20130310/c057d5b8/attachment.sig>


More information about the Libc-help mailing list