This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14059] HAS_FMA4 check needs to also check for AVX
- From: "carlos_odonell at mentor dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 17 May 2012 14:10:55 +0000
- Subject: [Bug libc/14059] HAS_FMA4 check needs to also check for AVX
- Auto-submitted: auto-generated
- References: <bug-14059-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14059
Carlos O'Donell <carlos_odonell at mentor dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |carlos_odonell at mentor
| |dot com
Resolution| |FIXED
AssignedTo|unassigned at sourceware |carlos_odonell at mentor
|dot org |dot com
--- Comment #7 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-05-17 14:10:55 UTC ---
Fixed with this commit:
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1a0994f5356214e8af8a1c1cc33fbf74a7ac8993
We've cleaned this up considerably, since technically FMA4 doesn't depend on
AVX, it just depends on YMM/XMM state being usable (saved and restored by the
OS) and the feature being present.
We also fix the AVX detection with this patch.
Tested on AVX-enabled and non-AVX-enabled hosts, and for good measure we now
have a regression test for this.
I'm going to backport this to 2.15.1 to fix the mess there, see BZ313753 for
the backport request.
--
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.