This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13753] [2.15 backport] Really fix AVX tests
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 08 May 2012 13:45:11 +0000
- Subject: [Bug libc/13753] [2.15 backport] Really fix AVX tests
- Auto-submitted: auto-generated
- References: <bug-13753-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13753
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aj at suse dot de
--- Comment #2 from Andreas Jaeger <aj at suse dot de> 2012-05-08 13:45:11 UTC ---
See bug #14059, you should add the following part from my patch as well (full
patch for review at http://sourceware.org/ml/libc-alpha/2012-05/msg00321.html):
2012-05-08 Jim Westfall <jwestfall@surrealistic.net>
[BZ #14059]
* sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
Disable FMA4 if AVX is disabled.
+ /* FMA4 depends on AVX support. */
+ if (__cpu_features.cpuid[COMMON_CPUID_INDEX_80000001].ecx & bit_FMA4
+ && (__cpu_features.cpuid[COMMON_CPUID_INDEX_1].ecx & bit_AVX) == 0)
+ __cpu_features.cpuid[COMMON_CPUID_INDEX_80000001].ecx &= ~bit_FMA4;
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.